@qlik/api 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytics/change-stores.d.ts +40 -76
- package/analytics/change-stores.js +9 -10
- package/analytics.d.ts +1 -2
- package/analytics.js +5 -6
- package/api-keys.d.ts +46 -100
- package/api-keys.js +3 -4
- package/apps.d.ts +334 -461
- package/apps.js +74 -6
- package/assistants.d.ts +172 -337
- package/assistants.js +3 -4
- package/audits.d.ts +41 -85
- package/audits.js +3 -4
- package/auth-types.d.ts +110 -1
- package/auth-types.js +22 -1
- package/auth.d.ts +1 -2
- package/auth.js +1 -1
- package/automation-connections.d.ts +44 -95
- package/automation-connections.js +3 -4
- package/automation-connectors.d.ts +10 -20
- package/automation-connectors.js +3 -4
- package/automations.d.ts +54 -112
- package/automations.js +3 -4
- package/automl-deployments.d.ts +17 -36
- package/automl-deployments.js +3 -4
- package/automl-predictions.d.ts +12 -24
- package/automl-predictions.js +3 -4
- package/banners.d.ts +8 -14
- package/banners.js +3 -4
- package/brands.d.ts +19 -39
- package/brands.js +3 -4
- package/chunks/auth-B8lJw7rm.js +31 -0
- package/chunks/{interceptors-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
- package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
- package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
- package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
- package/chunks/platform-types-CECrZkOF.d.ts +29 -0
- package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
- package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
- package/chunks/{qix-chunk-entrypoint-WAS4NVTf.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
- package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
- package/collections.d.ts +67 -144
- package/collections.js +3 -4
- package/conditions.d.ts +87 -190
- package/conditions.js +3 -4
- package/consumption.d.ts +35 -72
- package/consumption.js +3 -4
- package/core/ip-policies.d.ts +43 -93
- package/core/ip-policies.js +5 -6
- package/core.d.ts +1 -2
- package/core.js +5 -6
- package/csp-origins.d.ts +42 -85
- package/csp-origins.js +3 -4
- package/csrf-token.d.ts +6 -11
- package/csrf-token.js +3 -4
- package/data-alerts.d.ts +152 -325
- package/data-alerts.js +3 -4
- package/data-assets.d.ts +16 -31
- package/data-assets.js +3 -4
- package/data-connections.d.ts +123 -257
- package/data-connections.js +3 -4
- package/data-credentials.d.ts +36 -76
- package/data-credentials.js +3 -4
- package/data-files.d.ts +60 -121
- package/data-files.js +3 -4
- package/data-governance/data-products.d.ts +429 -0
- package/data-governance/data-products.js +212 -0
- package/data-governance.d.ts +13 -0
- package/data-governance.js +12 -0
- package/data-qualities.d.ts +11 -25
- package/data-qualities.js +3 -4
- package/data-sets.d.ts +28 -57
- package/data-sets.js +3 -4
- package/data-sources.d.ts +45 -97
- package/data-sources.js +3 -4
- package/data-stores.d.ts +53 -107
- package/data-stores.js +3 -4
- package/dcaas.d.ts +32 -67
- package/dcaas.js +3 -4
- package/di-projects.d.ts +111 -136
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +29 -63
- package/direct-access-agents.js +3 -4
- package/encryption.d.ts +28 -59
- package/encryption.js +3 -4
- package/extensions.d.ts +35 -73
- package/extensions.js +3 -4
- package/global-types.d.ts +139 -1
- package/glossaries.d.ts +75 -158
- package/glossaries.js +3 -4
- package/groups.d.ts +58 -125
- package/groups.js +3 -4
- package/identity-providers.d.ts +148 -324
- package/identity-providers.js +3 -4
- package/index.d.ts +18 -4
- package/index.js +64 -19
- package/interceptors.d.ts +2 -3
- package/interceptors.js +104 -2
- package/invoke-fetch-types.d.ts +97 -1
- package/items.d.ts +85 -181
- package/items.js +3 -4
- package/knowledgebases.d.ts +137 -270
- package/knowledgebases.js +3 -4
- package/licenses.d.ts +71 -153
- package/licenses.js +3 -4
- package/lineage-graphs.d.ts +39 -85
- package/lineage-graphs.js +3 -4
- package/ml.d.ts +290 -621
- package/ml.js +3 -4
- package/notes.d.ts +9 -18
- package/notes.js +3 -4
- package/notifications.d.ts +14 -30
- package/notifications.js +3 -4
- package/oauth-clients.d.ts +98 -159
- package/oauth-clients.js +4 -5
- package/oauth-tokens.d.ts +16 -33
- package/oauth-tokens.js +3 -4
- package/package.json +6 -4
- package/qix.d.ts +46 -2
- package/qix.js +2 -3
- package/questions.d.ts +53 -110
- package/questions.js +3 -4
- package/quotas.d.ts +13 -26
- package/quotas.js +3 -4
- package/reload-tasks.d.ts +23 -46
- package/reload-tasks.js +3 -4
- package/reloads.d.ts +26 -52
- package/reloads.js +3 -4
- package/report-templates.d.ts +30 -63
- package/report-templates.js +3 -4
- package/reports.d.ts +111 -238
- package/reports.js +3 -4
- package/roles.d.ts +36 -77
- package/roles.js +3 -4
- package/sharing-tasks.d.ts +201 -427
- package/sharing-tasks.js +3 -4
- package/spaces.d.ts +71 -157
- package/spaces.js +3 -4
- package/tasks.d.ts +76 -164
- package/tasks.js +3 -4
- package/temp-contents.d.ts +17 -35
- package/temp-contents.js +3 -4
- package/tenant-settings.d.ts +298 -0
- package/tenant-settings.js +107 -0
- package/tenants.d.ts +31 -67
- package/tenants.js +3 -4
- package/themes.d.ts +27 -55
- package/themes.js +3 -4
- package/transports.d.ts +46 -106
- package/transports.js +3 -4
- package/ui-config.d.ts +8 -17
- package/ui-config.js +3 -4
- package/users.d.ts +80 -170
- package/users.js +3 -4
- package/web-integrations.d.ts +38 -83
- package/web-integrations.js +3 -4
- package/web-notifications.d.ts +14 -29
- package/web-notifications.js +3 -4
- package/webhooks.d.ts +77 -162
- package/webhooks.js +3 -4
- package/chunks/auth-BowS4SUR.js +0 -28
- package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
- package/chunks/auth-types-h43TVDpB.js +0 -24
- package/chunks/global-types-CEVAJebk.js +0 -1
- /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
- /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
- /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
- /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/core/ip-policies.d.ts
CHANGED
|
@@ -1,36 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "../invoke-fetch-types.js";
|
|
2
|
+
import "../chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/core/ip-policies.d.ts
|
|
5
5
|
declare namespace ip_policies_d_exports {
|
|
6
6
|
export { CreateIPPolicy, CreateIpPolicyHttpError, CreateIpPolicyHttpResponse, DeleteIpPolicyHttpError, DeleteIpPolicyHttpResponse, Error, Errors, GetIpPoliciesHttpError, GetIpPoliciesHttpResponse, GetIpPolicyHttpError, GetIpPolicyHttpResponse, IPPolicyListItem, IPPolicyResource, IpPoliciesAPI, JSONPatch, JSONPatchArray, Link, Links, ListIPPoliciesResult, PatchIpPolicyHttpError, PatchIpPolicyHttpResponse, clearCache, createIpPolicy, ipPoliciesExport as default, deleteIpPolicy, getIpPolicies, getIpPolicy, patchIpPolicy };
|
|
7
7
|
}
|
|
8
8
|
type CreateIPPolicy = {
|
|
9
|
-
/** An array of allowed IP IPv4 addresses, either as plain IP addresses, or as CIDR ranges. */
|
|
10
|
-
|
|
11
|
-
/** Indicates whether the IP policy is enabled. */
|
|
12
|
-
enabled?: boolean;
|
|
13
|
-
/** The descriptive name for the IP policy. */
|
|
9
|
+
/** An array of allowed IP IPv4 addresses, either as plain IP addresses, or as CIDR ranges. */allowedIps: string[]; /** Indicates whether the IP policy is enabled. */
|
|
10
|
+
enabled?: boolean; /** The descriptive name for the IP policy. */
|
|
14
11
|
name?: string;
|
|
15
12
|
};
|
|
16
13
|
/**
|
|
17
14
|
* An error object describing the error.
|
|
18
15
|
*/
|
|
19
16
|
type Error = {
|
|
20
|
-
/** The error code. */
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
detail?: string;
|
|
24
|
-
/** Additional properties relating to the error. */
|
|
25
|
-
meta?: unknown;
|
|
26
|
-
/** References to the source of the error. */
|
|
17
|
+
/** The error code. */code: string; /** A human-readable explanation specific to this occurrence of the problem. */
|
|
18
|
+
detail?: string; /** Additional properties relating to the error. */
|
|
19
|
+
meta?: unknown; /** References to the source of the error. */
|
|
27
20
|
source?: {
|
|
28
|
-
/** The URI query parameter that caused the error. */
|
|
29
|
-
parameter?: string;
|
|
30
|
-
/** A JSON Pointer to the property that caused the error. */
|
|
21
|
+
/** The URI query parameter that caused the error. */parameter?: string; /** A JSON Pointer to the property that caused the error. */
|
|
31
22
|
pointer?: string;
|
|
32
|
-
};
|
|
33
|
-
/** Summary of the problem. */
|
|
23
|
+
}; /** Summary of the problem. */
|
|
34
24
|
title: string;
|
|
35
25
|
};
|
|
36
26
|
/**
|
|
@@ -47,72 +37,43 @@ type Error = {
|
|
|
47
37
|
* }
|
|
48
38
|
*/
|
|
49
39
|
type Errors = {
|
|
50
|
-
/** An array of errors related to the operation. */
|
|
51
|
-
errors?: Error[];
|
|
52
|
-
/** A unique identifier for tracing the error. */
|
|
40
|
+
/** An array of errors related to the operation. */errors?: Error[]; /** A unique identifier for tracing the error. */
|
|
53
41
|
traceId?: string;
|
|
54
42
|
};
|
|
55
43
|
type IPPolicyListItem = {
|
|
56
|
-
/** An array of allowed IP addresses. */
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
|
|
64
|
-
/** Indicates whether the IP policy can be
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
enabled?: boolean;
|
|
68
|
-
/** The unique identifier for the IP policy. */
|
|
69
|
-
readonly id: string;
|
|
70
|
-
/** The descriptive name for the IP policy. */
|
|
71
|
-
name?: string;
|
|
72
|
-
/** The tenant unique identifier associated with the given IP policy. */
|
|
73
|
-
tenantId?: string;
|
|
74
|
-
/** Indicates whether the IP policy can be enabled/disabled. */
|
|
75
|
-
toggleable?: boolean;
|
|
76
|
-
/** The timestamp for when the resource was last updated. */
|
|
77
|
-
updatedAt?: string;
|
|
78
|
-
/** The user ID of the user who last updated the IP policy. */
|
|
44
|
+
/** An array of allowed IP addresses. */allowedIps?: string[]; /** The timestamp for when the resource was created. */
|
|
45
|
+
createdAt?: string; /** The user ID of the user who created the IP policy. */
|
|
46
|
+
createdBy?: string; /** Indicates whether the IP policy can be deleted. */
|
|
47
|
+
deletable?: boolean; /** Indicates whether the IP policy can be updated. */
|
|
48
|
+
editable?: boolean; /** Indicates whether the IP policy is enabled. */
|
|
49
|
+
enabled?: boolean; /** The unique identifier for the IP policy. */
|
|
50
|
+
readonly id: string; /** The descriptive name for the IP policy. */
|
|
51
|
+
name?: string; /** The tenant unique identifier associated with the given IP policy. */
|
|
52
|
+
tenantId?: string; /** Indicates whether the IP policy can be enabled/disabled. */
|
|
53
|
+
toggleable?: boolean; /** The timestamp for when the resource was last updated. */
|
|
54
|
+
updatedAt?: string; /** The user ID of the user who last updated the IP policy. */
|
|
79
55
|
updatedBy?: string;
|
|
80
56
|
};
|
|
81
57
|
type IPPolicyResource = {
|
|
82
|
-
/** An array of allowed public IPv4 addresses. */
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
|
|
90
|
-
/** Indicates whether the IP policy can be
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
enabled: boolean;
|
|
94
|
-
/** The unique identifier for the IP policy. */
|
|
95
|
-
readonly id: string;
|
|
96
|
-
/** The descriptive name for the IP policy. */
|
|
97
|
-
name: string;
|
|
98
|
-
/** The tenant unique identifier associated with the given IP policy. */
|
|
99
|
-
tenantId: string;
|
|
100
|
-
/** Indicates whether the IP policy can be enabled/disabled.. */
|
|
101
|
-
toggleable: boolean;
|
|
102
|
-
/** The timestamp for when the IP policy was last updated. */
|
|
103
|
-
updatedAt: string;
|
|
104
|
-
/** The user ID of the user who last updated the IP policy. */
|
|
58
|
+
/** An array of allowed public IPv4 addresses. */allowedIps: string[]; /** The timestamp for when the IP policy was created. */
|
|
59
|
+
createdAt: string; /** The user ID of the user who created the IP policy. */
|
|
60
|
+
createdBy: string; /** Indicates whether the IP policy can be deleted. */
|
|
61
|
+
deletable: boolean; /** Indicates whether the IP policy can be updated. */
|
|
62
|
+
editable: boolean; /** Indicates whether the IP policy is enabled. */
|
|
63
|
+
enabled: boolean; /** The unique identifier for the IP policy. */
|
|
64
|
+
readonly id: string; /** The descriptive name for the IP policy. */
|
|
65
|
+
name: string; /** The tenant unique identifier associated with the given IP policy. */
|
|
66
|
+
tenantId: string; /** Indicates whether the IP policy can be enabled/disabled.. */
|
|
67
|
+
toggleable: boolean; /** The timestamp for when the IP policy was last updated. */
|
|
68
|
+
updatedAt: string; /** The user ID of the user who last updated the IP policy. */
|
|
105
69
|
updatedBy: string;
|
|
106
70
|
};
|
|
107
71
|
/**
|
|
108
72
|
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
109
73
|
*/
|
|
110
74
|
type JSONPatch = {
|
|
111
|
-
/** The operation to be performed. */
|
|
112
|
-
|
|
113
|
-
/** A JSON Pointer. */
|
|
114
|
-
path: "/enabled" | "/name" | "/allowedIps";
|
|
115
|
-
/** The value to be used for this operation. */
|
|
75
|
+
/** The operation to be performed. */op: "replace"; /** A JSON Pointer. */
|
|
76
|
+
path: "/enabled" | "/name" | "/allowedIps"; /** The value to be used for this operation. */
|
|
116
77
|
value: string | boolean | string[];
|
|
117
78
|
};
|
|
118
79
|
/**
|
|
@@ -150,19 +111,13 @@ type Link = {
|
|
|
150
111
|
* Contains pagination links. self is a link to the current results page, next is a link to the next results page and prev is a link to the previous results page
|
|
151
112
|
*/
|
|
152
113
|
type Links = {
|
|
153
|
-
/** A link */
|
|
154
|
-
|
|
155
|
-
/** A link */
|
|
156
|
-
prev?: Link;
|
|
157
|
-
/** A link */
|
|
114
|
+
/** A link */next?: Link; /** A link */
|
|
115
|
+
prev?: Link; /** A link */
|
|
158
116
|
self: Link;
|
|
159
117
|
};
|
|
160
118
|
type ListIPPoliciesResult = {
|
|
161
|
-
/** An array of IP policies. */
|
|
162
|
-
|
|
163
|
-
/** Contains pagination links. self is a link to the current results page, next is a link to the next results page and prev is a link to the previous results page */
|
|
164
|
-
links: Links;
|
|
165
|
-
/** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
|
|
119
|
+
/** An array of IP policies. */data: IPPolicyListItem[]; /** Contains pagination links. self is a link to the current results page, next is a link to the next results page and prev is a link to the previous results page */
|
|
120
|
+
links: Links; /** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
|
|
166
121
|
totalResults?: number;
|
|
167
122
|
};
|
|
168
123
|
/**
|
|
@@ -172,8 +127,7 @@ type ListIPPoliciesResult = {
|
|
|
172
127
|
* @throws GetIpPoliciesHttpError
|
|
173
128
|
*/
|
|
174
129
|
declare function getIpPolicies(query: {
|
|
175
|
-
/** A comma-separated list of fields to limit in the response. */
|
|
176
|
-
fields?: string;
|
|
130
|
+
/** A comma-separated list of fields to limit in the response. */fields?: string;
|
|
177
131
|
/** 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.
|
|
178
132
|
*
|
|
179
133
|
* field "enabled" supports following operators: eq
|
|
@@ -183,14 +137,10 @@ declare function getIpPolicies(query: {
|
|
|
183
137
|
* field "name" supports following operators: eq, co
|
|
184
138
|
*
|
|
185
139
|
* field "tenantId" supports following operators: eq */
|
|
186
|
-
filter?: string;
|
|
187
|
-
/** The
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
page?: string;
|
|
191
|
-
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
192
|
-
sort?: "enabled" | "+enabled" | "-enabled" | "createdAt" | "+createdAt" | "-createdAt" | "updatedAt" | "+updatedAt" | "-updatedAt" | "name" | "+name" | "-name";
|
|
193
|
-
/** Determines whether to return a count of the total records matched in the query. Defaults to false. */
|
|
140
|
+
filter?: string; /** The number of IP policies to retrieve. */
|
|
141
|
+
limit?: number; /** The page cursor. Takes precedence over other parameters. */
|
|
142
|
+
page?: string; /** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
143
|
+
sort?: "enabled" | "+enabled" | "-enabled" | "createdAt" | "+createdAt" | "-createdAt" | "updatedAt" | "+updatedAt" | "-updatedAt" | "name" | "+name" | "-name"; /** Determines whether to return a count of the total records matched in the query. Defaults to false. */
|
|
194
144
|
totalResults?: boolean;
|
|
195
145
|
}, options?: ApiCallOptions): Promise<GetIpPoliciesHttpResponse>;
|
|
196
146
|
type GetIpPoliciesHttpResponse = {
|
package/core/ip-policies.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as __exportAll } from "../chunks/chunk-
|
|
2
|
-
import "../chunks/public-runtime-modules-
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-
|
|
1
|
+
import { t as __exportAll } from "../chunks/chunk-BdHzlgOL.js";
|
|
2
|
+
import "../chunks/public-runtime-modules-2KfyI2qM.js";
|
|
3
|
+
import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-DMAi6Fg3.js";
|
|
4
4
|
|
|
5
5
|
//#region src/public/rest/core/ip-policies.ts
|
|
6
6
|
var ip_policies_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
clearCache: () => clearCache,
|
|
8
8
|
createIpPolicy: () => createIpPolicy,
|
|
9
|
-
default: () =>
|
|
9
|
+
default: () => ipPoliciesExport,
|
|
10
10
|
deleteIpPolicy: () => deleteIpPolicy,
|
|
11
11
|
getIpPolicies: () => getIpPolicies,
|
|
12
12
|
getIpPolicy: () => getIpPolicy,
|
|
@@ -103,7 +103,6 @@ const ipPoliciesExport = {
|
|
|
103
103
|
patchIpPolicy,
|
|
104
104
|
clearCache
|
|
105
105
|
};
|
|
106
|
-
var ip_policies_default = ipPoliciesExport;
|
|
107
106
|
|
|
108
107
|
//#endregion
|
|
109
|
-
export { clearCache, createIpPolicy,
|
|
108
|
+
export { clearCache, createIpPolicy, ipPoliciesExport as default, deleteIpPolicy, getIpPolicies, getIpPolicy, patchIpPolicy, ip_policies_exports as t };
|
package/core.d.ts
CHANGED
package/core.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
3
|
-
import
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
|
+
import ipPoliciesExport, { t as ip_policies_exports } from "./core/ip-policies.js";
|
|
4
4
|
|
|
5
5
|
//#region src/public/rest/core.ts
|
|
6
6
|
/**
|
|
7
7
|
* Functions for the core api
|
|
8
8
|
*/
|
|
9
|
-
const coreExport = { ipPolicies:
|
|
10
|
-
var core_default = coreExport;
|
|
9
|
+
const coreExport = { ipPolicies: ipPoliciesExport };
|
|
11
10
|
|
|
12
11
|
//#endregion
|
|
13
|
-
export {
|
|
12
|
+
export { coreExport as default, ip_policies_exports as ipPolicies };
|
package/csp-origins.d.ts
CHANGED
|
@@ -1,47 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/csp-origins.d.ts
|
|
5
5
|
type CSPEntry = {
|
|
6
|
-
/** The CSP entry's unique identifier. */
|
|
7
|
-
id?: string;
|
|
6
|
+
/** The CSP entry's unique identifier. */id?: string;
|
|
8
7
|
} & CSPEntryContent;
|
|
9
8
|
type CSPEntryContent = {
|
|
10
|
-
/** Defines the valid sources for loading web workers and nested browsing contexts using elements such as frame and iFrame. */
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/** Specifies valid sources for
|
|
25
|
-
|
|
26
|
-
/** Specifies valid sources for
|
|
27
|
-
frameSrc?: boolean;
|
|
28
|
-
/** Specifies valid sources of images and favicons. */
|
|
29
|
-
imgSrc?: boolean;
|
|
30
|
-
/** Specifies valid sources for loading media using the audio and video elements. */
|
|
31
|
-
mediaSrc?: boolean;
|
|
32
|
-
/** The UTC timestamp when the CSP entry was last modified. */
|
|
33
|
-
readonly modifiedDate?: string;
|
|
34
|
-
/** The name for this entry. */
|
|
35
|
-
name?: string;
|
|
36
|
-
/** Specifies valid sources for the object, embed, and applet elements. */
|
|
37
|
-
objectSrc?: boolean;
|
|
38
|
-
/** The origin that the CSP directives should be applied to. */
|
|
39
|
-
origin: string;
|
|
40
|
-
/** Specifies valid sources for JavaScript. */
|
|
41
|
-
scriptSrc?: boolean;
|
|
42
|
-
/** Specifies valid sources for stylesheets. */
|
|
43
|
-
styleSrc?: boolean;
|
|
44
|
-
/** Specifies valid sources for Worker, SharedWorker, or ServiceWorker scripts. */
|
|
9
|
+
/** Defines the valid sources for loading web workers and nested browsing contexts using elements such as frame and iFrame. */childSrc?: boolean; /** Restricts the URLs that can be loaded using script interfaces. */
|
|
10
|
+
connectSrc?: boolean; /** Restricts the URLs that can be connected to websockets (all sources will be prefixed with 'wss://'). */
|
|
11
|
+
connectSrcWSS?: boolean; /** The UTC timestamp when the CSP entry was created. */
|
|
12
|
+
readonly createdDate?: string; /** The reason for adding this origin to the Content Security Policy. */
|
|
13
|
+
description?: string; /** Specifies valid sources for loading fonts. */
|
|
14
|
+
fontSrc?: boolean; /** Allow forms to be submitted to the origin. */
|
|
15
|
+
formAction?: boolean; /** Specifies valid sources for embedding the resource using frame, iFrame, object, embed and applet. */
|
|
16
|
+
frameAncestors?: boolean; /** Specifies valid sources for loading nested browsing contexts using elements such as frame and iFrame. */
|
|
17
|
+
frameSrc?: boolean; /** Specifies valid sources of images and favicons. */
|
|
18
|
+
imgSrc?: boolean; /** Specifies valid sources for loading media using the audio and video elements. */
|
|
19
|
+
mediaSrc?: boolean; /** The UTC timestamp when the CSP entry was last modified. */
|
|
20
|
+
readonly modifiedDate?: string; /** The name for this entry. */
|
|
21
|
+
name?: string; /** Specifies valid sources for the object, embed, and applet elements. */
|
|
22
|
+
objectSrc?: boolean; /** The origin that the CSP directives should be applied to. */
|
|
23
|
+
origin: string; /** Specifies valid sources for JavaScript. */
|
|
24
|
+
scriptSrc?: boolean; /** Specifies valid sources for stylesheets. */
|
|
25
|
+
styleSrc?: boolean; /** Specifies valid sources for Worker, SharedWorker, or ServiceWorker scripts. */
|
|
45
26
|
workerSrc?: boolean;
|
|
46
27
|
};
|
|
47
28
|
type CSPEntryList = {
|
|
@@ -53,23 +34,18 @@ type CSPEntryList = {
|
|
|
53
34
|
};
|
|
54
35
|
};
|
|
55
36
|
type CSPHeader = {
|
|
56
|
-
/** The compiled CSP header. */
|
|
57
|
-
"Content-Security-Policy"?: string;
|
|
37
|
+
/** The compiled CSP header. */"Content-Security-Policy"?: string;
|
|
58
38
|
};
|
|
59
39
|
type Error = {
|
|
60
|
-
/** The unique code for the error. */
|
|
61
|
-
|
|
62
|
-
/** May be used to provide additional details. */
|
|
63
|
-
detail?: string;
|
|
64
|
-
/** A summary of what went wrong. */
|
|
40
|
+
/** The unique code for the error. */code: string; /** May be used to provide additional details. */
|
|
41
|
+
detail?: string; /** A summary of what went wrong. */
|
|
65
42
|
title: string;
|
|
66
43
|
};
|
|
67
44
|
type ErrorResponse = {
|
|
68
45
|
errors?: Error[];
|
|
69
46
|
};
|
|
70
47
|
type Link = {
|
|
71
|
-
/** URL to a resource request. */
|
|
72
|
-
href: string;
|
|
48
|
+
/** URL to a resource request. */href: string;
|
|
73
49
|
};
|
|
74
50
|
/**
|
|
75
51
|
* Retrieves all content security policies for a tenant.
|
|
@@ -78,43 +54,24 @@ type Link = {
|
|
|
78
54
|
* @throws GetCSPEntriesHttpError
|
|
79
55
|
*/
|
|
80
56
|
declare function getCSPEntries(query: {
|
|
81
|
-
/** Filter resources by directive 'childSrc', true/false. */
|
|
82
|
-
|
|
83
|
-
/** Filter resources by directive '
|
|
84
|
-
|
|
85
|
-
/** Filter resources by directive '
|
|
86
|
-
|
|
87
|
-
/** Filter resources by directive '
|
|
88
|
-
|
|
89
|
-
/** Filter resources by directive '
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
|
|
93
|
-
/** Filter resources by
|
|
94
|
-
|
|
95
|
-
/** Filter resources by directive '
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
/** Filter resources by directive 'mediaSrc', true/false. */
|
|
100
|
-
mediaSrc?: boolean;
|
|
101
|
-
/** Filter resources by name (wildcard and case insensitive). */
|
|
102
|
-
name?: string;
|
|
103
|
-
/** Cursor to the next page. */
|
|
104
|
-
next?: string;
|
|
105
|
-
/** Filter resources by directive 'objectSrc', true/false. */
|
|
106
|
-
objectSrc?: boolean;
|
|
107
|
-
/** Filter resources by origin (wildcard and case insensitive). */
|
|
108
|
-
origin?: string;
|
|
109
|
-
/** Cursor to previous next page. */
|
|
110
|
-
prev?: string;
|
|
111
|
-
/** Filter resources by directive 'scriptSrc', true/false. */
|
|
112
|
-
scriptSrc?: boolean;
|
|
113
|
-
/** Field to sort by, prefix with -/+ to indicate order. */
|
|
114
|
-
sort?: "name" | "-name" | "origin" | "-origin" | "createdDate" | "-createdDate" | "modifiedDate" | "-modifiedDate";
|
|
115
|
-
/** Filter resources by directive 'styleSrc', true/false. */
|
|
116
|
-
styleSrc?: boolean;
|
|
117
|
-
/** Filter resources by directive 'workerSrc', true/false. */
|
|
57
|
+
/** Filter resources by directive 'childSrc', true/false. */childSrc?: boolean; /** Filter resources by directive 'connectSrc', true/false. */
|
|
58
|
+
connectSrc?: boolean; /** Filter resources by directive 'connectSrcWSS', true/false. */
|
|
59
|
+
connectSrcWSS?: boolean; /** Filter resources by directive 'fontSrc', true/false. */
|
|
60
|
+
fontSrc?: boolean; /** Filter resources by directive 'formAction', true/false. */
|
|
61
|
+
formAction?: boolean; /** Filter resources by directive 'frameAncestors', true/false. */
|
|
62
|
+
frameAncestors?: boolean; /** Filter resources by directive 'frameSrc', true/false. */
|
|
63
|
+
frameSrc?: boolean; /** Filter resources by directive 'imgSrc', true/false. */
|
|
64
|
+
imgSrc?: boolean; /** Maximum number of CSP-Origins to retrieve. */
|
|
65
|
+
limit?: number; /** Filter resources by directive 'mediaSrc', true/false. */
|
|
66
|
+
mediaSrc?: boolean; /** Filter resources by name (wildcard and case insensitive). */
|
|
67
|
+
name?: string; /** Cursor to the next page. */
|
|
68
|
+
next?: string; /** Filter resources by directive 'objectSrc', true/false. */
|
|
69
|
+
objectSrc?: boolean; /** Filter resources by origin (wildcard and case insensitive). */
|
|
70
|
+
origin?: string; /** Cursor to previous next page. */
|
|
71
|
+
prev?: string; /** Filter resources by directive 'scriptSrc', true/false. */
|
|
72
|
+
scriptSrc?: boolean; /** Field to sort by, prefix with -/+ to indicate order. */
|
|
73
|
+
sort?: "name" | "-name" | "origin" | "-origin" | "createdDate" | "-createdDate" | "modifiedDate" | "-modifiedDate"; /** Filter resources by directive 'styleSrc', true/false. */
|
|
74
|
+
styleSrc?: boolean; /** Filter resources by directive 'workerSrc', true/false. */
|
|
118
75
|
workerSrc?: boolean;
|
|
119
76
|
}, options?: ApiCallOptions): Promise<GetCSPEntriesHttpResponse>;
|
|
120
77
|
type GetCSPEntriesHttpResponse = {
|
package/csp-origins.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/csp-origins.ts
|
|
5
5
|
/**
|
|
@@ -106,7 +106,6 @@ const cspOriginsExport = {
|
|
|
106
106
|
updateCSPEntry,
|
|
107
107
|
clearCache
|
|
108
108
|
};
|
|
109
|
-
var csp_origins_default = cspOriginsExport;
|
|
110
109
|
|
|
111
110
|
//#endregion
|
|
112
|
-
export { clearCache, createCSPEntry,
|
|
111
|
+
export { clearCache, createCSPEntry, cspOriginsExport as default, deleteCSPEntry, getCSPEntries, getCSPEntry, getCSPHeader, updateCSPEntry };
|
package/csrf-token.d.ts
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/csrf-token.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* An error object.
|
|
7
7
|
*/
|
|
8
8
|
type Error = {
|
|
9
|
-
/** The error code. */
|
|
10
|
-
|
|
11
|
-
/** The
|
|
12
|
-
|
|
13
|
-
/** Non-standard information about the error */
|
|
14
|
-
meta?: unknown;
|
|
15
|
-
/** The http status code. */
|
|
16
|
-
status?: string;
|
|
17
|
-
/** The error title. */
|
|
9
|
+
/** The error code. */code: string; /** The detailed error message */
|
|
10
|
+
detail?: string; /** Non-standard information about the error */
|
|
11
|
+
meta?: unknown; /** The http status code. */
|
|
12
|
+
status?: string; /** The error title. */
|
|
18
13
|
title: string;
|
|
19
14
|
};
|
|
20
15
|
/**
|
package/csrf-token.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/csrf-token.ts
|
|
5
5
|
/**
|
|
@@ -27,7 +27,6 @@ const csrfTokenExport = {
|
|
|
27
27
|
getCsrfToken,
|
|
28
28
|
clearCache
|
|
29
29
|
};
|
|
30
|
-
var csrf_token_default = csrfTokenExport;
|
|
31
30
|
|
|
32
31
|
//#endregion
|
|
33
|
-
export { clearCache,
|
|
32
|
+
export { clearCache, csrfTokenExport as default, getCsrfToken };
|