@qlik/api 2.3.1 → 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.
Files changed (167) hide show
  1. package/analytics/change-stores.d.ts +40 -76
  2. package/analytics/change-stores.js +9 -10
  3. package/analytics.d.ts +1 -2
  4. package/analytics.js +5 -6
  5. package/api-keys.d.ts +46 -100
  6. package/api-keys.js +3 -4
  7. package/apps.d.ts +334 -461
  8. package/apps.js +74 -6
  9. package/assistants.d.ts +172 -337
  10. package/assistants.js +3 -4
  11. package/audits.d.ts +41 -85
  12. package/audits.js +3 -4
  13. package/auth-types.d.ts +110 -1
  14. package/auth-types.js +22 -1
  15. package/auth.d.ts +1 -2
  16. package/auth.js +1 -1
  17. package/automation-connections.d.ts +44 -95
  18. package/automation-connections.js +3 -4
  19. package/automation-connectors.d.ts +10 -20
  20. package/automation-connectors.js +3 -4
  21. package/automations.d.ts +54 -112
  22. package/automations.js +3 -4
  23. package/automl-deployments.d.ts +17 -36
  24. package/automl-deployments.js +3 -4
  25. package/automl-predictions.d.ts +12 -24
  26. package/automl-predictions.js +3 -4
  27. package/banners.d.ts +8 -14
  28. package/banners.js +3 -4
  29. package/brands.d.ts +19 -39
  30. package/brands.js +3 -4
  31. package/chunks/auth-B8lJw7rm.js +31 -0
  32. package/chunks/{interceptors-2VSXImC9.js → boot-interceptors-DqRxTczb.js} +50 -150
  33. package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
  34. package/chunks/{invoke-fetch-CckTK7bh.js → invoke-fetch-DMAi6Fg3.js} +3 -3
  35. package/chunks/{invoke-fetch-D9lpiAb-.js → invoke-fetch-pMN6iqup.js} +2 -3
  36. package/chunks/platform-types-CECrZkOF.d.ts +29 -0
  37. package/chunks/{public-runtime-modules-BqxAMJ9M.js → public-runtime-modules-2KfyI2qM.js} +5 -5
  38. package/chunks/{qix-DpvHvpx7.js → qix-BdNrIA4s.js} +19 -20
  39. package/chunks/{qix-chunk-entrypoint-BXZPnE6J.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
  40. package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
  41. package/collections.d.ts +67 -144
  42. package/collections.js +3 -4
  43. package/conditions.d.ts +87 -190
  44. package/conditions.js +3 -4
  45. package/consumption.d.ts +35 -72
  46. package/consumption.js +3 -4
  47. package/core/ip-policies.d.ts +43 -93
  48. package/core/ip-policies.js +5 -6
  49. package/core.d.ts +1 -2
  50. package/core.js +5 -6
  51. package/csp-origins.d.ts +42 -85
  52. package/csp-origins.js +3 -4
  53. package/csrf-token.d.ts +6 -11
  54. package/csrf-token.js +3 -4
  55. package/data-alerts.d.ts +152 -325
  56. package/data-alerts.js +3 -4
  57. package/data-assets.d.ts +16 -31
  58. package/data-assets.js +3 -4
  59. package/data-connections.d.ts +123 -257
  60. package/data-connections.js +3 -4
  61. package/data-credentials.d.ts +36 -76
  62. package/data-credentials.js +3 -4
  63. package/data-files.d.ts +60 -121
  64. package/data-files.js +3 -4
  65. package/data-governance/data-products.d.ts +429 -0
  66. package/data-governance/data-products.js +212 -0
  67. package/data-governance.d.ts +13 -0
  68. package/data-governance.js +12 -0
  69. package/data-qualities.d.ts +11 -25
  70. package/data-qualities.js +3 -4
  71. package/data-sets.d.ts +28 -57
  72. package/data-sets.js +3 -4
  73. package/data-sources.d.ts +45 -97
  74. package/data-sources.js +3 -4
  75. package/data-stores.d.ts +53 -107
  76. package/data-stores.js +3 -4
  77. package/dcaas.d.ts +32 -67
  78. package/dcaas.js +3 -4
  79. package/di-projects.d.ts +111 -136
  80. package/di-projects.js +25 -4
  81. package/direct-access-agents.d.ts +29 -63
  82. package/direct-access-agents.js +3 -4
  83. package/encryption.d.ts +28 -59
  84. package/encryption.js +3 -4
  85. package/extensions.d.ts +35 -73
  86. package/extensions.js +3 -4
  87. package/global-types.d.ts +139 -1
  88. package/glossaries.d.ts +75 -158
  89. package/glossaries.js +3 -4
  90. package/groups.d.ts +58 -125
  91. package/groups.js +3 -4
  92. package/identity-providers.d.ts +148 -324
  93. package/identity-providers.js +3 -4
  94. package/index.d.ts +18 -4
  95. package/index.js +64 -19
  96. package/interceptors.d.ts +2 -3
  97. package/interceptors.js +104 -2
  98. package/invoke-fetch-types.d.ts +97 -1
  99. package/items.d.ts +85 -181
  100. package/items.js +3 -4
  101. package/knowledgebases.d.ts +137 -270
  102. package/knowledgebases.js +3 -4
  103. package/licenses.d.ts +71 -153
  104. package/licenses.js +3 -4
  105. package/lineage-graphs.d.ts +39 -85
  106. package/lineage-graphs.js +3 -4
  107. package/ml.d.ts +290 -621
  108. package/ml.js +3 -4
  109. package/notes.d.ts +9 -18
  110. package/notes.js +3 -4
  111. package/notifications.d.ts +14 -30
  112. package/notifications.js +3 -4
  113. package/oauth-clients.d.ts +98 -159
  114. package/oauth-clients.js +4 -5
  115. package/oauth-tokens.d.ts +16 -33
  116. package/oauth-tokens.js +3 -4
  117. package/package.json +6 -3
  118. package/qix.d.ts +46 -2
  119. package/qix.js +2 -3
  120. package/questions.d.ts +53 -110
  121. package/questions.js +3 -4
  122. package/quotas.d.ts +13 -26
  123. package/quotas.js +3 -4
  124. package/reload-tasks.d.ts +23 -46
  125. package/reload-tasks.js +3 -4
  126. package/reloads.d.ts +26 -52
  127. package/reloads.js +3 -4
  128. package/report-templates.d.ts +30 -63
  129. package/report-templates.js +3 -4
  130. package/reports.d.ts +111 -238
  131. package/reports.js +3 -4
  132. package/roles.d.ts +36 -77
  133. package/roles.js +3 -4
  134. package/sharing-tasks.d.ts +201 -427
  135. package/sharing-tasks.js +3 -4
  136. package/spaces.d.ts +71 -157
  137. package/spaces.js +3 -4
  138. package/tasks.d.ts +76 -164
  139. package/tasks.js +3 -4
  140. package/temp-contents.d.ts +17 -35
  141. package/temp-contents.js +3 -4
  142. package/tenant-settings.d.ts +298 -0
  143. package/tenant-settings.js +107 -0
  144. package/tenants.d.ts +31 -67
  145. package/tenants.js +3 -4
  146. package/themes.d.ts +27 -55
  147. package/themes.js +3 -4
  148. package/transports.d.ts +46 -106
  149. package/transports.js +3 -4
  150. package/ui-config.d.ts +8 -17
  151. package/ui-config.js +3 -4
  152. package/users.d.ts +80 -170
  153. package/users.js +3 -4
  154. package/web-integrations.d.ts +38 -83
  155. package/web-integrations.js +3 -4
  156. package/web-notifications.d.ts +14 -29
  157. package/web-notifications.js +3 -4
  158. package/webhooks.d.ts +77 -162
  159. package/webhooks.js +3 -4
  160. package/chunks/auth-XusKk8IA.js +0 -32
  161. package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
  162. package/chunks/auth-types-h43TVDpB.js +0 -24
  163. package/chunks/global-types-CEVAJebk.js +0 -1
  164. /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
  165. /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
  166. /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
  167. /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
@@ -1,36 +1,26 @@
1
- import { y as ApiCallOptions } from "../chunks/auth-types-YrlH_R9f.js";
2
- import "../chunks/invoke-fetch-C1Z0RJYU.js";
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
- allowedIps: string[];
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
- code: string;
22
- /** A human-readable explanation specific to this occurrence of the problem. */
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
- allowedIps?: string[];
58
- /** The timestamp for when the resource was created. */
59
- createdAt?: string;
60
- /** The user ID of the user who created the IP policy. */
61
- createdBy?: string;
62
- /** Indicates whether the IP policy can be deleted. */
63
- deletable?: boolean;
64
- /** Indicates whether the IP policy can be updated. */
65
- editable?: boolean;
66
- /** Indicates whether the IP policy is enabled. */
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
- allowedIps: string[];
84
- /** The timestamp for when the IP policy was created. */
85
- createdAt: string;
86
- /** The user ID of the user who created the IP policy. */
87
- createdBy: string;
88
- /** Indicates whether the IP policy can be deleted. */
89
- deletable: boolean;
90
- /** Indicates whether the IP policy can be updated. */
91
- editable: boolean;
92
- /** Indicates whether the IP policy is enabled. */
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
- op: "replace";
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
- next?: Link;
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
- data: IPPolicyListItem[];
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 number of IP policies to retrieve. */
188
- limit?: number;
189
- /** The page cursor. Takes precedence over other parameters. */
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 = {
@@ -1,12 +1,12 @@
1
- import { t as __exportAll } from "../chunks/chunk-D3vHIbds.js";
2
- import "../chunks/public-runtime-modules-BqxAMJ9M.js";
3
- import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-CckTK7bh.js";
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: () => ip_policies_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, ip_policies_default as default, deleteIpPolicy, getIpPolicies, getIpPolicy, patchIpPolicy, ip_policies_exports as t };
108
+ export { clearCache, createIpPolicy, ipPoliciesExport as default, deleteIpPolicy, getIpPolicies, getIpPolicy, patchIpPolicy, ip_policies_exports as t };
package/core.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import "./chunks/invoke-fetch-DFc3yzaj.js";
3
2
  import ipPoliciesExport, { t as ip_policies_d_exports } from "./core/ip-policies.js";
4
3
 
5
4
  //#region src/public/rest/core.d.ts
package/core.js CHANGED
@@ -1,13 +1,12 @@
1
- import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
- import "./chunks/invoke-fetch-CckTK7bh.js";
3
- import ip_policies_default, { t as ip_policies_exports } from "./core/ip-policies.js";
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: ip_policies_default };
10
- var core_default = coreExport;
9
+ const coreExport = { ipPolicies: ipPoliciesExport };
11
10
 
12
11
  //#endregion
13
- export { core_default as default, ip_policies_exports as ipPolicies };
12
+ export { coreExport as default, ip_policies_exports as ipPolicies };
package/csp-origins.d.ts CHANGED
@@ -1,47 +1,28 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
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
- childSrc?: boolean;
12
- /** Restricts the URLs that can be loaded using script interfaces. */
13
- connectSrc?: boolean;
14
- /** Restricts the URLs that can be connected to websockets (all sources will be prefixed with 'wss://'). */
15
- connectSrcWSS?: boolean;
16
- /** The UTC timestamp when the CSP entry was created. */
17
- readonly createdDate?: string;
18
- /** The reason for adding this origin to the Content Security Policy. */
19
- description?: string;
20
- /** Specifies valid sources for loading fonts. */
21
- fontSrc?: boolean;
22
- /** Allow forms to be submitted to the origin. */
23
- formAction?: boolean;
24
- /** Specifies valid sources for embedding the resource using frame, iFrame, object, embed and applet. */
25
- frameAncestors?: boolean;
26
- /** Specifies valid sources for loading nested browsing contexts using elements such as frame and iFrame. */
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
- code: string;
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
- childSrc?: boolean;
83
- /** Filter resources by directive 'connectSrc', true/false. */
84
- connectSrc?: boolean;
85
- /** Filter resources by directive 'connectSrcWSS', true/false. */
86
- connectSrcWSS?: boolean;
87
- /** Filter resources by directive 'fontSrc', true/false. */
88
- fontSrc?: boolean;
89
- /** Filter resources by directive 'formAction', true/false. */
90
- formAction?: boolean;
91
- /** Filter resources by directive 'frameAncestors', true/false. */
92
- frameAncestors?: boolean;
93
- /** Filter resources by directive 'frameSrc', true/false. */
94
- frameSrc?: boolean;
95
- /** Filter resources by directive 'imgSrc', true/false. */
96
- imgSrc?: boolean;
97
- /** Maximum number of CSP-Origins to retrieve. */
98
- limit?: number;
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-BqxAMJ9M.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
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, csp_origins_default as default, deleteCSPEntry, getCSPEntries, getCSPEntry, getCSPHeader, updateCSPEntry };
111
+ export { clearCache, createCSPEntry, cspOriginsExport as default, deleteCSPEntry, getCSPEntries, getCSPEntry, getCSPHeader, updateCSPEntry };
package/csrf-token.d.ts CHANGED
@@ -1,20 +1,15 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
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
- code: string;
11
- /** The detailed error message */
12
- detail?: string;
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-BqxAMJ9M.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
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, csrf_token_default as default, getCsrfToken };
32
+ export { clearCache, csrfTokenExport as default, getCsrfToken };