@qlik/api 2.2.0 → 2.3.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 (231) hide show
  1. package/analytics/change-stores.d.ts +386 -0
  2. package/analytics/change-stores.js +123 -0
  3. package/analytics.d.ts +14 -0
  4. package/analytics.js +13 -0
  5. package/api-keys.d.ts +362 -3
  6. package/api-keys.js +2 -3
  7. package/apps.d.ts +2673 -3
  8. package/apps.js +2 -3
  9. package/assistants.d.ts +1370 -3
  10. package/assistants.js +2 -3
  11. package/audits.d.ts +318 -3
  12. package/audits.js +4 -4
  13. package/auth-types.d.ts +1 -1
  14. package/auth-types.js +1 -2
  15. package/auth.d.ts +94 -2
  16. package/auth.js +63 -3
  17. package/automation-connections.d.ts +366 -3
  18. package/automation-connections.js +2 -3
  19. package/automation-connectors.d.ts +84 -3
  20. package/automation-connectors.js +2 -3
  21. package/automations.d.ts +805 -3
  22. package/automations.js +2 -3
  23. package/automl-deployments.d.ts +101 -3
  24. package/automl-deployments.js +2 -3
  25. package/automl-predictions.d.ts +238 -3
  26. package/automl-predictions.js +2 -3
  27. package/banners.d.ts +184 -3
  28. package/banners.js +2 -3
  29. package/brands.d.ts +670 -3
  30. package/brands.js +2 -3
  31. package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
  32. package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
  33. package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
  34. package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
  41. package/collections.d.ts +582 -3
  42. package/collections.js +2 -3
  43. package/conditions.d.ts +662 -3
  44. package/conditions.js +2 -3
  45. package/consumption.d.ts +182 -3
  46. package/consumption.js +2 -3
  47. package/core/ip-policies.d.ts +328 -4
  48. package/core/ip-policies.js +108 -5
  49. package/core.d.ts +13 -4
  50. package/core.js +3 -4
  51. package/csp-origins.d.ts +273 -3
  52. package/csp-origins.js +2 -3
  53. package/csrf-token.d.ts +62 -3
  54. package/csrf-token.js +2 -3
  55. package/data-alerts.d.ts +1004 -3
  56. package/data-alerts.js +2 -3
  57. package/data-assets.d.ts +207 -3
  58. package/data-assets.js +2 -3
  59. package/data-connections.d.ts +678 -3
  60. package/data-connections.js +2 -3
  61. package/data-credentials.d.ts +292 -3
  62. package/data-credentials.js +2 -3
  63. package/data-files.d.ts +860 -3
  64. package/data-files.js +2 -3
  65. package/data-qualities.d.ts +175 -3
  66. package/data-qualities.js +2 -3
  67. package/data-sets.d.ts +424 -3
  68. package/data-sets.js +2 -3
  69. package/data-sources.d.ts +348 -3
  70. package/data-sources.js +2 -3
  71. package/data-stores.d.ts +537 -3
  72. package/data-stores.js +2 -3
  73. package/dcaas.d.ts +192 -3
  74. package/dcaas.js +2 -3
  75. package/di-projects.d.ts +812 -4
  76. package/di-projects.js +25 -4
  77. package/direct-access-agents.d.ts +710 -4
  78. package/direct-access-agents.js +37 -5
  79. package/docs/authentication.md +1 -1
  80. package/encryption.d.ts +372 -3
  81. package/encryption.js +2 -3
  82. package/extensions.d.ts +295 -3
  83. package/extensions.js +2 -3
  84. package/global-types.d.ts +1 -1
  85. package/global-types.js +0 -2
  86. package/glossaries.d.ts +1223 -3
  87. package/glossaries.js +2 -3
  88. package/groups.d.ts +510 -3
  89. package/groups.js +2 -3
  90. package/identity-providers.d.ts +711 -3
  91. package/identity-providers.js +2 -3
  92. package/index.d.ts +78 -69
  93. package/index.js +28 -10
  94. package/interceptors.d.ts +52 -3
  95. package/interceptors.js +1 -2
  96. package/invoke-fetch-types.d.ts +1 -1
  97. package/items.d.ts +536 -3
  98. package/items.js +2 -3
  99. package/knowledgebases.d.ts +976 -3
  100. package/knowledgebases.js +2 -3
  101. package/licenses.d.ts +663 -3
  102. package/licenses.js +2 -3
  103. package/lineage-graphs.d.ts +704 -3
  104. package/lineage-graphs.js +2 -3
  105. package/ml.d.ts +2808 -3
  106. package/ml.js +2 -3
  107. package/notes.d.ts +110 -3
  108. package/notes.js +2 -3
  109. package/notifications.d.ts +98 -3
  110. package/notifications.js +2 -3
  111. package/oauth-callback.iife.js +1151 -0
  112. package/oauth-clients.d.ts +562 -3
  113. package/oauth-clients.js +2 -3
  114. package/oauth-tokens.d.ts +126 -3
  115. package/oauth-tokens.js +2 -3
  116. package/package.json +6 -4
  117. package/qix.d.ts +3 -3
  118. package/qix.js +38 -3
  119. package/questions.d.ts +364 -3
  120. package/questions.js +2 -3
  121. package/quotas.d.ts +112 -3
  122. package/quotas.js +2 -3
  123. package/reload-tasks.d.ts +249 -3
  124. package/reload-tasks.js +2 -3
  125. package/reloads.d.ts +260 -3
  126. package/reloads.js +2 -3
  127. package/report-templates.d.ts +287 -3
  128. package/report-templates.js +2 -3
  129. package/reports.d.ts +863 -3
  130. package/reports.js +2 -3
  131. package/roles.d.ts +312 -3
  132. package/roles.js +2 -3
  133. package/sharing-tasks.d.ts +1164 -3
  134. package/sharing-tasks.js +2 -3
  135. package/spaces.d.ts +779 -3
  136. package/spaces.js +2 -3
  137. package/tasks.d.ts +564 -3
  138. package/tasks.js +2 -3
  139. package/temp-contents.d.ts +167 -3
  140. package/temp-contents.js +2 -3
  141. package/tenants.d.ts +360 -3
  142. package/tenants.js +2 -3
  143. package/themes.d.ts +270 -3
  144. package/themes.js +2 -3
  145. package/transports.d.ts +435 -4
  146. package/transports.js +20 -5
  147. package/ui-config.d.ts +274 -3
  148. package/ui-config.js +2 -3
  149. package/users.d.ts +674 -3
  150. package/users.js +2 -3
  151. package/web-integrations.d.ts +294 -3
  152. package/web-integrations.js +2 -3
  153. package/web-notifications.d.ts +273 -3
  154. package/web-notifications.js +2 -3
  155. package/webhooks.d.ts +505 -3
  156. package/webhooks.js +2 -3
  157. package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
  158. package/chunks/apps-BwpXUGDb.d.ts +0 -2673
  159. package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
  160. package/chunks/audits-DakwzT97.d.ts +0 -316
  161. package/chunks/auth-6mptVm5Q.d.ts +0 -95
  162. package/chunks/auth-D11iO7ZV.js +0 -65
  163. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  164. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  165. package/chunks/automations-BGy83EBO.d.ts +0 -797
  166. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  167. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  168. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  169. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  170. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  171. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  172. package/chunks/consumption-DerFk437.d.ts +0 -182
  173. package/chunks/core-DQXNZdnf.d.ts +0 -12
  174. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  175. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  176. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  177. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  178. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  179. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  180. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  181. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  182. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  183. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  184. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  185. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  186. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  187. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  188. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  189. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  190. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  191. package/chunks/groups-C86-UG7S.d.ts +0 -511
  192. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  193. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  194. package/chunks/interceptors-DTYm37AU.js +0 -104
  195. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  196. package/chunks/ip-policies-DXlf172B.js +0 -108
  197. package/chunks/items-C-jzqvFW.d.ts +0 -536
  198. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  199. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  200. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  201. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  202. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  203. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  204. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  205. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  206. package/chunks/qix-CYQsLyGQ.js +0 -40
  207. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  208. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  209. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  210. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  211. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  212. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  213. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  214. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  215. package/chunks/spaces-BK823t-b.d.ts +0 -780
  216. package/chunks/tasks-COKDfShO.d.ts +0 -564
  217. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  218. package/chunks/tenants-Bhn86519.d.ts +0 -361
  219. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  220. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  221. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  222. package/chunks/users-BSOBU_fg.d.ts +0 -675
  223. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  224. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  225. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  226. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  227. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  228. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  229. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  230. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  231. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
@@ -1,316 +0,0 @@
1
- import { S as DownloadableBlob, y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/audits.d.ts
4
- type ArchiveItem = {
5
- /** The type that content is encoded in, always "application/json". */
6
- contentType?: string;
7
- /** Additional information about the event's details. The structure depends on the type and version of the event. */
8
- data?: unknown;
9
- /** The event's unique identifier. */
10
- eventId?: string;
11
- /** The RFC3339 datetime when the event happened. */
12
- eventTime?: string;
13
- /** The type of event that describes committed action. */
14
- eventType?: string;
15
- /** The version of the event type. */
16
- eventTypeVersion?: string;
17
- /** The availability of the properties depends on the event and the context it was triggered in. */
18
- extensions?: EventExtensions;
19
- /** The source of the event message, usually the producing service. */
20
- source?: string;
21
- /** The ID of the tenant that owns the item. This is populated using the JWT. */
22
- tenantId?: string;
23
- /** The ID of the user who performed the action that triggered the event. */
24
- userId?: string;
25
- };
26
- type ErrorResponse = {
27
- errors?: {
28
- code?: string;
29
- detail?: string;
30
- title?: string;
31
- }[];
32
- traceId?: string;
33
- };
34
- /**
35
- * The availability of the properties depends on the event and the context it was triggered in.
36
- */
37
- type EventExtensions = {
38
- /** Specifies the entity performing the action on behalf of another party listed as triggering the action. */
39
- actor?: {
40
- /** Opaque value identifying impersonating entity. */
41
- sub?: string;
42
- /** The type of the impersonating entity. */
43
- subType?: string;
44
- };
45
- /** Id of the owner of the resource affected by the eventContext. */
46
- ownerId?: string;
47
- /** Id of the space related to the action performed on the eventContext. */
48
- spaceId?: string;
49
- /** If the event originated from a sub resource the topLevelResourceId contains the id of the top level resource associated with the sub resource. */
50
- topLevelResourceId?: string;
51
- /** Might be present if the action is of type "updated" and should contain information about the changes made to the resource. */
52
- updates?: unknown;
53
- };
54
- type GetArchiveResult = {
55
- /** List of archived events. The structure of the events depend on their type and version. */
56
- data?: ArchiveItem[];
57
- };
58
- type GetByIDResult = {
59
- /** The type that content is encoded in, always "application/json". */
60
- contentType?: string;
61
- /** Additional information about the event's details. The structure depends on the type and version of the event. */
62
- data?: unknown;
63
- /** The event's unique identifier. */
64
- eventId?: string;
65
- /** The RFC3339 datetime when the event happened. */
66
- eventTime?: string;
67
- /** The type of event that describes committed action. */
68
- eventType?: string;
69
- /** The version of the event type. */
70
- eventTypeVersion?: string;
71
- /** The availability of the properties depends on the event and the context it was triggered in. */
72
- extensions?: EventExtensions;
73
- /** The resource item's unique identifier. */
74
- id?: string;
75
- links?: GetLinks;
76
- /** The source of the event message, usually the producing service. */
77
- source?: string;
78
- /** The ID of the tenant that owns the item. This is populated using the JWT. */
79
- tenantId?: string;
80
- /** The ID of the user who performed the action that triggered the event. */
81
- userId?: string;
82
- };
83
- type GetLinks = {
84
- self?: Href;
85
- };
86
- type GetObjectsResult = {
87
- /** List of requested resources. */
88
- data?: string[];
89
- links?: ListLinks;
90
- };
91
- type GetResult = {
92
- /** List of audit items. */
93
- data?: GetByIDResult[];
94
- links?: ListLinks;
95
- };
96
- type GetSettingsResult = {
97
- /** Server configuration options. */
98
- data?: {
99
- /** Is Long Term Storage archiving enabled?. */
100
- ArchiveEnabled?: boolean;
101
- /** The events TTL in seconds. */
102
- EventTTL?: number;
103
- };
104
- };
105
- type ListLinks = {
106
- next?: Href;
107
- prev?: Href;
108
- self?: Href;
109
- };
110
- type Href = {
111
- href?: string;
112
- };
113
- /**
114
- * Retrieves list of events for subscribed services for your tenant. Stores events for 90 days, after which they can be accessed via `/v1/audits/archive`.
115
- *
116
- * @param query an object with query parameters
117
- * @throws GetAuditsHttpError
118
- */
119
- declare function getAudits(query: {
120
- /** The start/end time interval formatted in ISO 8601 to search by eventTime. For example, "?eventTime=2021-07-14T18:41:15.00Z/2021-07-14T18:41:15.99Z". */
121
- eventTime?: string;
122
- /** The case-sensitive string used to search by eventType. Retrieve a list of possible eventTypes with `/v1/audits/types`. */
123
- eventType?: string;
124
- /** The comma separated list of audit unique identifiers. */
125
- id?: string;
126
- /** The maximum number of resources to return for a request. */
127
- limit?: number;
128
- /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
129
- next?: string;
130
- /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
131
- prev?: string;
132
- /** The property of a resource to sort on (default sort is -eventTime). The supported properties are source, eventType, and eventTime. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
133
- sort?: string;
134
- /** The case-sensitive string used to search by source. Retrieve a list of possible sources with `/v1/audits/sources`. */
135
- source?: string;
136
- /** The case-sensitive string used to search by userId. */
137
- userId?: string;
138
- }, options?: ApiCallOptions): Promise<GetAuditsHttpResponse>;
139
- type GetAuditsHttpResponse = {
140
- data: GetResult;
141
- headers: Headers;
142
- status: 200;
143
- prev?: (options?: ApiCallOptions) => Promise<GetAuditsHttpResponse>;
144
- next?: (options?: ApiCallOptions) => Promise<GetAuditsHttpResponse>;
145
- };
146
- type GetAuditsHttpError = {
147
- data: ErrorResponse;
148
- headers: Headers;
149
- status: 400 | 401 | 500;
150
- };
151
- /**
152
- * Returns a Qlik Sense application (QVF file) containing usage data for the tenant's subscription. Requesting user must be assigned the `TenantAdmin` role. Available only for Capacity subscriptions. Consumption report is updated once per day.
153
- *
154
- * @throws FetchConsumptionAppAuditsHttpError
155
- */
156
- declare function fetchConsumptionAppAudits(options?: ApiCallOptions): Promise<FetchConsumptionAppAuditsHttpResponse>;
157
- type FetchConsumptionAppAuditsHttpResponse = {
158
- data: DownloadableBlob;
159
- headers: Headers;
160
- status: 200;
161
- };
162
- type FetchConsumptionAppAuditsHttpError = {
163
- data: ErrorResponse;
164
- headers: Headers;
165
- status: 400 | 401 | 403 | 404 | 500;
166
- };
167
- /**
168
- * Retrieves audit events from long term storage. Finds and returns audit events from the archive, formatted as a JSON array, for the given date and tenant (in JWT). Archived events are not removed.
169
- *
170
- * @param query an object with query parameters
171
- * @throws GetArchivedAuditsHttpError
172
- */
173
- declare function getArchivedAudits(query: {
174
- /** Date to be used as filter and criteria during extraction. */
175
- date: string;
176
- }, options?: ApiCallOptions): Promise<GetArchivedAuditsHttpResponse>;
177
- type GetArchivedAuditsHttpResponse = {
178
- data: GetArchiveResult;
179
- headers: Headers;
180
- status: 200;
181
- };
182
- type GetArchivedAuditsHttpError = {
183
- data: ErrorResponse;
184
- headers: Headers;
185
- status: 400 | 401 | 404 | 500;
186
- };
187
- /**
188
- * Returns the server configuration options. It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
189
- *
190
- * @throws GetAuditsSettingsHttpError
191
- */
192
- declare function getAuditsSettings(options?: ApiCallOptions): Promise<GetAuditsSettingsHttpResponse>;
193
- type GetAuditsSettingsHttpResponse = {
194
- data: GetSettingsResult;
195
- headers: Headers;
196
- status: 200;
197
- };
198
- type GetAuditsSettingsHttpError = {
199
- data: ErrorResponse;
200
- headers: Headers;
201
- status: 401 | 500;
202
- };
203
- /**
204
- * Finds and returns the list of possible event sources for this tenant.
205
- *
206
- * @throws GetAuditSourcesHttpError
207
- */
208
- declare function getAuditSources(options?: ApiCallOptions): Promise<GetAuditSourcesHttpResponse>;
209
- type GetAuditSourcesHttpResponse = {
210
- data: GetObjectsResult;
211
- headers: Headers;
212
- status: 200;
213
- prev?: (options?: ApiCallOptions) => Promise<GetAuditSourcesHttpResponse>;
214
- next?: (options?: ApiCallOptions) => Promise<GetAuditSourcesHttpResponse>;
215
- };
216
- type GetAuditSourcesHttpError = {
217
- data: ErrorResponse;
218
- headers: Headers;
219
- status: 401 | 500;
220
- };
221
- /**
222
- * Finds and returns the list of possible event types for this tenant.
223
- *
224
- * @throws GetAuditTypesHttpError
225
- */
226
- declare function getAuditTypes(options?: ApiCallOptions): Promise<GetAuditTypesHttpResponse>;
227
- type GetAuditTypesHttpResponse = {
228
- data: GetObjectsResult;
229
- headers: Headers;
230
- status: 200;
231
- prev?: (options?: ApiCallOptions) => Promise<GetAuditTypesHttpResponse>;
232
- next?: (options?: ApiCallOptions) => Promise<GetAuditTypesHttpResponse>;
233
- };
234
- type GetAuditTypesHttpError = {
235
- data: ErrorResponse;
236
- headers: Headers;
237
- status: 401 | 500;
238
- };
239
- /**
240
- * Finds and returns a specific audit events for the given event ID.
241
- *
242
- * @param id The audit item's unique identifier.
243
- * @throws GetAuditHttpError
244
- */
245
- declare function getAudit(id: string, options?: ApiCallOptions): Promise<GetAuditHttpResponse>;
246
- type GetAuditHttpResponse = {
247
- data: GetByIDResult;
248
- headers: Headers;
249
- status: 200;
250
- };
251
- type GetAuditHttpError = {
252
- data: ErrorResponse;
253
- headers: Headers;
254
- status: 400 | 401 | 404 | 500;
255
- };
256
- /**
257
- * Clears the cache for audits api requests.
258
- */
259
- declare function clearCache(): void;
260
- type AuditsAPI = {
261
- /**
262
- * Retrieves list of events for subscribed services for your tenant. Stores events for 90 days, after which they can be accessed via `/v1/audits/archive`.
263
- *
264
- * @param query an object with query parameters
265
- * @throws GetAuditsHttpError
266
- */
267
- getAudits: typeof getAudits;
268
- /**
269
- * Returns a Qlik Sense application (QVF file) containing usage data for the tenant's subscription. Requesting user must be assigned the `TenantAdmin` role. Available only for Capacity subscriptions. Consumption report is updated once per day.
270
- *
271
- * @throws FetchConsumptionAppAuditsHttpError
272
- */
273
- fetchConsumptionAppAudits: typeof fetchConsumptionAppAudits;
274
- /**
275
- * Retrieves audit events from long term storage. Finds and returns audit events from the archive, formatted as a JSON array, for the given date and tenant (in JWT). Archived events are not removed.
276
- *
277
- * @param query an object with query parameters
278
- * @throws GetArchivedAuditsHttpError
279
- */
280
- getArchivedAudits: typeof getArchivedAudits;
281
- /**
282
- * Returns the server configuration options. It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
283
- *
284
- * @throws GetAuditsSettingsHttpError
285
- */
286
- getAuditsSettings: typeof getAuditsSettings;
287
- /**
288
- * Finds and returns the list of possible event sources for this tenant.
289
- *
290
- * @throws GetAuditSourcesHttpError
291
- */
292
- getAuditSources: typeof getAuditSources;
293
- /**
294
- * Finds and returns the list of possible event types for this tenant.
295
- *
296
- * @throws GetAuditTypesHttpError
297
- */
298
- getAuditTypes: typeof getAuditTypes;
299
- /**
300
- * Finds and returns a specific audit events for the given event ID.
301
- *
302
- * @param id The audit item's unique identifier.
303
- * @throws GetAuditHttpError
304
- */
305
- getAudit: typeof getAudit;
306
- /**
307
- * Clears the cache for audits api requests.
308
- */
309
- clearCache: typeof clearCache;
310
- };
311
- /**
312
- * Functions for the audits api
313
- */
314
- declare const auditsExport: AuditsAPI;
315
- //#endregion
316
- export { getArchivedAudits as A, GetResult as C, auditsExport as D, ListLinks as E, getAuditsSettings as F, getAuditSources as M, getAuditTypes as N, clearCache as O, getAudits as P, GetObjectsResult as S, Href as T, GetAuditsHttpResponse as _, FetchConsumptionAppAuditsHttpError as a, GetByIDResult as b, GetArchivedAuditsHttpError as c, GetAuditHttpResponse as d, GetAuditSourcesHttpError as f, GetAuditsHttpError as g, GetAuditTypesHttpResponse as h, EventExtensions as i, getAudit as j, fetchConsumptionAppAudits as k, GetArchivedAuditsHttpResponse as l, GetAuditTypesHttpError as m, AuditsAPI as n, FetchConsumptionAppAuditsHttpResponse as o, GetAuditSourcesHttpResponse as p, ErrorResponse as r, GetArchiveResult as s, ArchiveItem as t, GetAuditHttpError as u, GetAuditsSettingsHttpError as v, GetSettingsResult as w, GetLinks as x, GetAuditsSettingsHttpResponse as y };
@@ -1,95 +0,0 @@
1
- import { d as HostConfig, m as WebResourceAuthParams, n as AuthType, t as AuthModule } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/auth.d.ts
4
-
5
- /**
6
- * Registers an auth module that can handle authentication. An auth module is used by specifying its name as authType in the HostConfig passed in to api calls.
7
- * @param name the name of the module
8
- * @param authModule the implementation of the AuthModule interface
9
- */
10
- declare function registerAuthModule<A extends AuthType>(name: A, authModule: AuthModule<A>): void;
11
- /**
12
- * Logs out the user and sets `global.loggingOut` to true.
13
- *
14
- * **NOTE**: Does not abort pending requests.
15
- */
16
- declare function logout(): void;
17
- /**
18
- * Sets the default host config that will be used for all api calls that do not include a HostConfig
19
- * @param hostConfig the default HostConfig to use
20
- */
21
- declare function setDefaultHostConfig(hostConfig: HostConfig | undefined): void;
22
- /**
23
- * Registers a host config with the given name.
24
- * @param name The name of the host config to be used to reference the host config later.
25
- * @param hostConfig The host config to register.
26
- */
27
- declare function registerHostConfig(name: string, hostConfig: HostConfig): void;
28
- /**
29
- * Unregisters a host config with the given name.
30
- * @param name The name of the host config to unregister.
31
- */
32
- declare function unregisterHostConfig(name: string): void;
33
- /**
34
- * Returns an access token using the supplied host config. Typically used on the backend to supply the access token to the frontend
35
- */
36
- declare function getAccessToken({
37
- hostConfig
38
- }: {
39
- hostConfig?: HostConfig;
40
- }): Promise<string>;
41
- /**
42
- * Returns a record of query parameters that needs to be added to resources requests, e.g.
43
- * image tags, etc.
44
- */
45
- declare function getWebResourceAuthParams({
46
- hostConfig
47
- }: {
48
- hostConfig?: HostConfig;
49
- }): Promise<WebResourceAuthParams>;
50
- /**
51
- * The AuthAPI interface provides the public interface for the auth module.
52
- */
53
- interface AuthAPI {
54
- /**
55
- * Registers an auth module that can handle authentication. An auth module is used by specifying its name as authType in the HostConfig passed in to api calls.
56
- * @param name the name of the module
57
- * @param authModule the implementation of the AuthModule interface
58
- */
59
- registerAuthModule: typeof registerAuthModule;
60
- /**
61
- * Sets the default host config that will be used for all api calls that do not include a host config
62
- * @param hostConfig the default HostConfig to use
63
- */
64
- setDefaultHostConfig: typeof setDefaultHostConfig;
65
- /**
66
- * Registers a host config with the given name.
67
- * @param name The name of the host config to be used to reference the host config later.
68
- * @param hostConfig The host config to register.
69
- */
70
- registerHostConfig: typeof registerHostConfig;
71
- /**
72
- * Unregisters a host config with the given name.
73
- * @param name The name of the host config to unregister.
74
- */
75
- unregisterHostConfig: typeof unregisterHostConfig;
76
- /**
77
- * Returns an access token using the supplied host config. Typically used on the backend to supply the access token to the frontend
78
- */
79
- getAccessToken: typeof getAccessToken;
80
- /**
81
- * Returns a record of query parameters that needs to be added to resources requests, e.g.
82
- * image tags, etc.
83
- */
84
- getWebResourceAuthParams: typeof getWebResourceAuthParams;
85
- }
86
- declare const _default: {
87
- registerAuthModule: typeof registerAuthModule;
88
- setDefaultHostConfig: typeof setDefaultHostConfig;
89
- registerHostConfig: typeof registerHostConfig;
90
- unregisterHostConfig: typeof unregisterHostConfig;
91
- getAccessToken: typeof getAccessToken;
92
- getWebResourceAuthParams: typeof getWebResourceAuthParams;
93
- };
94
- //#endregion
95
- export { logout as a, setDefaultHostConfig as c, getWebResourceAuthParams as i, unregisterHostConfig as l, _default as n, registerAuthModule as o, getAccessToken as r, registerHostConfig as s, AuthAPI as t };
@@ -1,65 +0,0 @@
1
- import { t as getAuthRuntimeModule } from "./public-runtime-modules-Dwjzb3l8.js";
2
-
3
- //#region src/public/auth.ts
4
- /**
5
- * Registers an auth module that can handle authentication. An auth module is used by specifying its name as authType in the HostConfig passed in to api calls.
6
- * @param name the name of the module
7
- * @param authModule the implementation of the AuthModule interface
8
- */
9
- function registerAuthModule(name, authModule) {
10
- getAuthRuntimeModule().then((impl) => impl.registerAuthModule(name, authModule));
11
- }
12
- /**
13
- * Logs out the user and sets `global.loggingOut` to true.
14
- *
15
- * **NOTE**: Does not abort pending requests.
16
- */
17
- function logout() {
18
- getAuthRuntimeModule().then((impl) => impl.logout());
19
- }
20
- /**
21
- * Sets the default host config that will be used for all api calls that do not include a HostConfig
22
- * @param hostConfig the default HostConfig to use
23
- */
24
- function setDefaultHostConfig(hostConfig) {
25
- getAuthRuntimeModule(hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
26
- }
27
- /**
28
- * Registers a host config with the given name.
29
- * @param name The name of the host config to be used to reference the host config later.
30
- * @param hostConfig The host config to register.
31
- */
32
- function registerHostConfig(name, hostConfig) {
33
- getAuthRuntimeModule(hostConfig).then((impl) => impl.registerHostConfig(name, hostConfig));
34
- }
35
- /**
36
- * Unregisters a host config with the given name.
37
- * @param name The name of the host config to unregister.
38
- */
39
- function unregisterHostConfig(name) {
40
- getAuthRuntimeModule().then((impl) => impl.unregisterHostConfig(name));
41
- }
42
- /**
43
- * Returns an access token using the supplied host config. Typically used on the backend to supply the access token to the frontend
44
- */
45
- async function getAccessToken({ hostConfig }) {
46
- return getAuthRuntimeModule(hostConfig).then((impl) => impl.getAccessToken({ hostConfig }));
47
- }
48
- /**
49
- * Returns a record of query parameters that needs to be added to resources requests, e.g.
50
- * image tags, etc.
51
- */
52
- async function getWebResourceAuthParams({ hostConfig }) {
53
- return getAuthRuntimeModule(hostConfig).then((impl) => impl.getWebResourceAuthParams({ hostConfig }));
54
- }
55
- var auth_default = {
56
- registerAuthModule,
57
- setDefaultHostConfig,
58
- registerHostConfig,
59
- unregisterHostConfig,
60
- getAccessToken,
61
- getWebResourceAuthParams
62
- };
63
-
64
- //#endregion
65
- export { registerAuthModule as a, unregisterHostConfig as c, logout as i, getAccessToken as n, registerHostConfig as o, getWebResourceAuthParams as r, setDefaultHostConfig as s, auth_default as t };