@qlik/api 2.2.0 → 2.3.1

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 (232) 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-XusKk8IA.js +32 -0
  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-2VSXImC9.js} +498 -146
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-CckTK7bh.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-D9lpiAb-.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-BqxAMJ9M.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-DpvHvpx7.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-BXZPnE6J.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 +5 -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-Cle0_tmz.js +0 -32
  163. package/chunks/auth-D11iO7ZV.js +0 -65
  164. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  165. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  166. package/chunks/automations-BGy83EBO.d.ts +0 -797
  167. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  168. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  169. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  170. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  171. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  172. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  173. package/chunks/consumption-DerFk437.d.ts +0 -182
  174. package/chunks/core-DQXNZdnf.d.ts +0 -12
  175. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  176. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  177. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  178. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  179. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  180. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  181. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  182. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  183. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  184. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  185. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  186. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  187. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  188. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  189. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  190. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  191. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  192. package/chunks/groups-C86-UG7S.d.ts +0 -511
  193. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  194. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  195. package/chunks/interceptors-DTYm37AU.js +0 -104
  196. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  197. package/chunks/ip-policies-DXlf172B.js +0 -108
  198. package/chunks/items-C-jzqvFW.d.ts +0 -536
  199. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  200. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  201. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  202. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  203. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  204. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  205. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  206. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  207. package/chunks/qix-CYQsLyGQ.js +0 -40
  208. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  209. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  210. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  211. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  212. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  213. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  214. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  215. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  216. package/chunks/spaces-BK823t-b.d.ts +0 -780
  217. package/chunks/tasks-COKDfShO.d.ts +0 -564
  218. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  219. package/chunks/tenants-Bhn86519.d.ts +0 -361
  220. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  221. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  222. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  223. package/chunks/users-BSOBU_fg.d.ts +0 -675
  224. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  225. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  226. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  227. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  228. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  229. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  230. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  231. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  232. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
@@ -1,662 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/conditions.d.ts
4
- type APISettings = {
5
- /** Whether API endpoints for condition manager are enabled */
6
- "enable-conditions": boolean;
7
- /** These persisted api settings are only available for this tenant. Extracted from request JWT. */
8
- readonly tenantId?: string;
9
- };
10
- type APISettingsUpload = {
11
- /** Whether API endpoints for condition manager are enabled */
12
- "enable-conditions": boolean;
13
- };
14
- type CausalEvent = {
15
- data?: CausalEventData;
16
- /** the event id from eventing */
17
- eventID?: string;
18
- extensions?: CausalEventExtensions;
19
- manualTrigger?: boolean;
20
- /** the manual trigger id from eventing if present */
21
- manualTriggerID?: string;
22
- };
23
- type CausalEventData = {
24
- /** the event id from eventing service. */
25
- eventID?: string;
26
- /** The time of the last reload */
27
- lastReloadTime?: string;
28
- };
29
- type CausalEventExtensions = {
30
- sessionID?: string;
31
- tenantID?: string;
32
- userID?: string;
33
- };
34
- /**
35
- * A condition made up of other conditions
36
- */
37
- type CompoundCondition = {
38
- /** A base condition */
39
- conditionBase?: ConditionBase;
40
- /** Condition data */
41
- data?: CompoundConditionData;
42
- };
43
- /**
44
- * Condition data
45
- */
46
- type CompoundConditionData = {
47
- /** Array of condition ids */
48
- conditions?: string[];
49
- /** Boolean expression made up of variable names defined from the conditions section */
50
- expression?: string;
51
- /** History properties */
52
- history?: HistoryProperties;
53
- };
54
- /**
55
- * only one of compoundCondition or dataCondition should be set
56
- */
57
- type Condition = {
58
- /** A condition made up of other conditions */
59
- compoundCondition?: CompoundCondition;
60
- /** A condition based on data within an app */
61
- dataCondition?: DataCondition;
62
- /** UserID of the condition owner */
63
- ownerId?: string;
64
- /** The tenant id */
65
- tenantId?: string;
66
- /** Indicates the condition type */
67
- type: "compound" | "data";
68
- };
69
- /**
70
- * A base condition
71
- */
72
- type ConditionBase = {
73
- /** The id of the app the condition is evaluated against */
74
- appId?: string;
75
- /** The bookmark corresponding to the selection state to apply to the app at evaluation time */
76
- bookmarkId?: string;
77
- /** When the resource was created */
78
- readonly created?: string;
79
- /** The id of the user which created the condition */
80
- readonly createdById?: string;
81
- /** Description of the condition */
82
- description?: string;
83
- /** The unique id for the resource */
84
- readonly id?: string;
85
- /** The time of the last reload, if the scan is triggered by a reload. If exists and value does not match app's last reload time, the evaluation will fail. */
86
- readonly lastReloadTime?: string;
87
- /** The id of the user the user which owns the condition */
88
- readonly ownerId?: string;
89
- /** The tenant id */
90
- readonly tenantId?: string;
91
- /** Indicates the condition type */
92
- type?: "compound" | "data";
93
- /** When the resource was last updated */
94
- readonly updated?: string;
95
- };
96
- /**
97
- * only one of compoundCondition or dataCondition should be set
98
- */
99
- type ConditionCreateRequest = {
100
- /** A condition made up of other conditions */
101
- compoundCondition?: CompoundCondition;
102
- /** A condition based on data within an app */
103
- dataCondition?: DataConditionCreateRequest;
104
- /** Indicates the condition type */
105
- type: "compound" | "data";
106
- };
107
- /**
108
- * List of returned dimensions
109
- */
110
- type ConditionDimensions = ConditionDimensionsInner[];
111
- type ConditionDimensionsInner = {
112
- /** Field referred to the dimension where the selection is made. This may be used to generate deep links. */
113
- field?: string;
114
- /** Refers to a dimension stored in the library */
115
- qLibraryId?: string;
116
- /** Dimension title */
117
- title?: string;
118
- };
119
- /**
120
- * List of header labels
121
- * @example
122
- * [
123
- * "sumnum"
124
- * ]
125
- */
126
- type ConditionHeaders = string[];
127
- /**
128
- * List of returned measures
129
- */
130
- type ConditionMeasures = ConditionMeasuresInner[];
131
- type ConditionMeasuresInner = {
132
- /** Refers to a measure stored in the library */
133
- qLibraryId?: string;
134
- /** Format of the field */
135
- qNumFormat?: unknown;
136
- /** Measure title */
137
- title?: string;
138
- };
139
- /**
140
- * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
141
- * @example
142
- * [
143
- * {
144
- * op: "replace",
145
- * path: "/compoundCondition/conditionBase/ownerId"
146
- * },
147
- * {
148
- * op: "replace",
149
- * path: "/dataCondition/conditionBase/description"
150
- * },
151
- * {
152
- * op: "remove",
153
- * path: "/compoundCondition/data/conditions/0"
154
- * },
155
- * {
156
- * op: "replace",
157
- * path: "/compoundCondition//data/expression"
158
- * },
159
- * {
160
- * op: "replace",
161
- * path: "/dataCondition/conditionData/measure"
162
- * }
163
- * ]
164
- */
165
- type ConditionPatch = ConditionPatchInner[];
166
- type ConditionPatchInner = {
167
- /** The operation to be performed. */
168
- op: "replace" | "remove" | "add";
169
- /** The path for the given resource field to patch. */
170
- path: string;
171
- /** The value to be used for this operation. */
172
- value?: unknown;
173
- };
174
- type ConditionResponse = {
175
- /** only one of compoundCondition or dataCondition should be set */
176
- condition?: Condition;
177
- errors?: Errors;
178
- };
179
- type CreateEvaluationRequest = {
180
- /** The id of the alerting task the condition and evaluation is part of */
181
- alertId?: string;
182
- causalEvent: CausalEvent;
183
- /** Extra context information to carry through to the result if any */
184
- contextId: string;
185
- };
186
- type CreateEvaluationResponse = {
187
- /** Extra context information to carry through to the result if any */
188
- contextId?: string;
189
- errors?: Errors;
190
- /** Extra context information to carry through to the result if any */
191
- evaluationId?: string;
192
- };
193
- /**
194
- * A condition based on data within an app
195
- */
196
- type DataCondition = {
197
- /** A base condition */
198
- conditionBase?: ConditionBase;
199
- /** List of parameters specific to data condition are available in DCE and will be passed as is to DCE as per the API docs of data-condition-evaluator */
200
- conditionData?: unknown;
201
- /** List of returned dimensions */
202
- dimensions?: ConditionDimensions;
203
- /** List of header labels */
204
- headers?: ConditionHeaders;
205
- /** History properties */
206
- history?: HistoryProperties;
207
- /** List of returned measures */
208
- measures?: ConditionMeasures;
209
- /** List of fields according to the bookmark definition */
210
- selections?: Selections;
211
- };
212
- /**
213
- * A condition based on data within an app
214
- */
215
- type DataConditionCreateRequest = {
216
- /** A base condition */
217
- conditionBase?: ConditionBase;
218
- /** List of parameters specific to data condition are available in DCE and will be passed as is to DCE as per the API docs of data-condition-evaluator */
219
- conditionData?: unknown;
220
- /** List of returned dimensions */
221
- dimensions?: ConditionDimensions;
222
- /** List of header labels */
223
- headers?: ConditionHeaders;
224
- /** History properties */
225
- history?: HistoryProperties;
226
- /** List of returned measures */
227
- measures?: ConditionMeasures;
228
- /** List of fields according to the bookmark definition */
229
- selections?: Selections;
230
- };
231
- type Error = {
232
- /** Error code specific to condition manager. */
233
- readonly code?: string;
234
- /** Error cause. */
235
- readonly detail?: string;
236
- meta?: unknown;
237
- /** Error title. */
238
- readonly title?: string;
239
- };
240
- /**
241
- * @example
242
- * {
243
- * errors: [
244
- * {
245
- * code: "HTTP-123",
246
- * title: "short error message"
247
- * }
248
- * ],
249
- * traceId: "7975401f3954aa47"
250
- * }
251
- */
252
- type ErrorResponse = {
253
- /** Array of errors */
254
- errors?: SingleErrorResponse[];
255
- /** trace id */
256
- traceId?: string;
257
- };
258
- type Errors = Error[];
259
- type Evaluation = {
260
- /** The id of the alerting task the condition and evaluation is part of */
261
- alertId?: string;
262
- /** internal identifier used when migrating keys */
263
- byokMigrationId?: string;
264
- /** Representation of the event that caused the condition to be evaluated if one was included on when the evaluation was triggered */
265
- causalEvent?: unknown;
266
- /** only one of compoundCondition or dataCondition should be set */
267
- condition?: Condition;
268
- /** The unique id of the associated condition */
269
- readonly conditionId?: string;
270
- /** Extra context information to carry through to the result if one was included on when the evaluation was triggered */
271
- contextId?: string;
272
- /** @deprecated
273
- * The unique id for the resource given from Data Condition Evaluator. */
274
- readonly dataConditionEvaluatorId?: string;
275
- /** The time the evaluation ended */
276
- readonly endTime?: string;
277
- errors?: EvaluationErrors;
278
- /** The unique id for the resource */
279
- readonly id?: string;
280
- /** userId of user being impersonated to evaluate the condition */
281
- readonly ownerId?: string;
282
- /** The time when the reload was completed in Engine */
283
- readonly reloadEndTime?: string;
284
- /** The number of times we have attempted to remove this evaluation data-file */
285
- removalErrorCount?: number;
286
- /** The final result of the evalution */
287
- readonly result?: boolean;
288
- /** Condition type specific result, one of dataResult or compoundResult */
289
- resultData?: unknown;
290
- /** number of retries sent to DCE */
291
- readonly retries?: number;
292
- /** what kind of retry policy this evaluation has */
293
- retryPolicy?: "NONE" | "TOO_MANY_REQUESTS" | "GENERIC_ERROR";
294
- /** The time the evaluation started */
295
- readonly startTime?: string;
296
- /** The status of the evaluation execution */
297
- readonly status?: "RUNNING" | "FAILED" | "FINISHED" | "DELETING";
298
- /** The tenant id */
299
- readonly tenantId?: string;
300
- };
301
- type EvaluationError = {
302
- /** Error code specific to condition smanager. */
303
- readonly code?: string;
304
- meta?: EvaluationErrorMeta;
305
- /** Error status. */
306
- readonly status?: unknown;
307
- /** Error title. */
308
- readonly title?: string;
309
- };
310
- type EvaluationErrorMeta = {
311
- /** defines whether an error is recoverable or not */
312
- fatal?: boolean;
313
- };
314
- type EvaluationErrors = EvaluationError[];
315
- /**
316
- * Get response returns the evaluation and condition associated
317
- */
318
- type GetEvaluationResponse = {
319
- /** only one of compoundCondition or dataCondition should be set */
320
- condition?: Condition;
321
- evaluation?: Evaluation;
322
- };
323
- /**
324
- * History properties
325
- */
326
- type HistoryProperties = {
327
- /** Is history enabled */
328
- enabled?: boolean;
329
- };
330
- type PreviewEvaluation = {
331
- /** The time the evaluation ended */
332
- readonly endTime?: string;
333
- /** userId of user being impersonated to evaluate the condition */
334
- readonly ownerId?: string;
335
- /** URL to download the condition results */
336
- resultUrl?: string;
337
- /** The time the evaluation started */
338
- readonly startTime?: string;
339
- /** The tenant id */
340
- readonly tenantId?: string;
341
- };
342
- type PreviewResponse = {
343
- /** When the resource was created */
344
- readonly previewId?: string;
345
- };
346
- type PreviewStatusResponse = {
347
- /** only one of compoundCondition or dataCondition should be set */
348
- condition?: Condition;
349
- errors?: Errors;
350
- evaluation?: PreviewEvaluation;
351
- /** When the resource was created */
352
- readonly previewId?: string;
353
- readonly status?: "ACCEPTED" | "FAILED" | "RUNNING" | "SUCCESSFUL";
354
- };
355
- /**
356
- * List of fields according to the bookmark definition
357
- */
358
- type Selections = SelectionsInner[];
359
- type SelectionsInner = {
360
- /** The count */
361
- count?: number;
362
- /** Field name */
363
- field?: string;
364
- /** Array of selected */
365
- selectedSummary?: string[];
366
- };
367
- type SingleErrorResponse = {
368
- /** Error code specific to condition manager. */
369
- readonly code?: string;
370
- /** Error cause. */
371
- readonly detail?: string;
372
- /** meta properties for an error. */
373
- meta?: unknown;
374
- /** Error title. */
375
- readonly title?: string;
376
- };
377
- /**
378
- * Creates a new condition.
379
- *
380
- * @param body an object with the body content
381
- * @throws CreateConditionHttpError
382
- */
383
- declare function createCondition(body: ConditionCreateRequest, options?: ApiCallOptions): Promise<CreateConditionHttpResponse>;
384
- type CreateConditionHttpResponse = {
385
- data: ConditionResponse;
386
- headers: Headers;
387
- status: 201;
388
- };
389
- type CreateConditionHttpError = {
390
- data: ErrorResponse;
391
- headers: Headers;
392
- status: number;
393
- };
394
- /**
395
- * Create condition preview request.
396
- *
397
- * @param body an object with the body content
398
- * @throws CreateConditionPreviewHttpError
399
- */
400
- declare function createConditionPreview(body: ConditionCreateRequest, options?: ApiCallOptions): Promise<CreateConditionPreviewHttpResponse>;
401
- type CreateConditionPreviewHttpResponse = {
402
- data: PreviewResponse;
403
- headers: Headers;
404
- status: 201;
405
- };
406
- type CreateConditionPreviewHttpError = {
407
- data: ErrorResponse;
408
- headers: Headers;
409
- status: number;
410
- };
411
- /**
412
- * Get condition preview response.
413
- *
414
- * @param id The id of the condition
415
- * @throws GetConditionPreviewHttpError
416
- */
417
- declare function getConditionPreview(id: string, options?: ApiCallOptions): Promise<GetConditionPreviewHttpResponse>;
418
- type GetConditionPreviewHttpResponse = {
419
- data: PreviewStatusResponse;
420
- headers: Headers;
421
- status: 200;
422
- };
423
- type GetConditionPreviewHttpError = {
424
- data: ErrorResponse;
425
- headers: Headers;
426
- status: number;
427
- };
428
- /**
429
- * Retrieves condition manager settings
430
- *
431
- * @throws GetConditionsSettingsHttpError
432
- */
433
- declare function getConditionsSettings(options?: ApiCallOptions): Promise<GetConditionsSettingsHttpResponse>;
434
- type GetConditionsSettingsHttpResponse = {
435
- data: APISettings;
436
- headers: Headers;
437
- status: 200;
438
- };
439
- type GetConditionsSettingsHttpError = {
440
- data: ErrorResponse;
441
- headers: Headers;
442
- status: number;
443
- };
444
- /**
445
- * Updates API configuration. Accessible only by tenant admins.
446
- *
447
- * @param body an object with the body content
448
- * @throws SetConditionsSettingsHttpError
449
- */
450
- declare function setConditionsSettings(body: APISettingsUpload, options?: ApiCallOptions): Promise<SetConditionsSettingsHttpResponse>;
451
- type SetConditionsSettingsHttpResponse = {
452
- data: void;
453
- headers: Headers;
454
- status: 204;
455
- };
456
- type SetConditionsSettingsHttpError = {
457
- data: ErrorResponse;
458
- headers: Headers;
459
- status: number;
460
- };
461
- /**
462
- * Delete the condition
463
- *
464
- * @param id The id of the condition
465
- * @throws DeleteConditionHttpError
466
- */
467
- declare function deleteCondition(id: string, options?: ApiCallOptions): Promise<DeleteConditionHttpResponse>;
468
- type DeleteConditionHttpResponse = {
469
- data: void;
470
- headers: Headers;
471
- status: 204;
472
- };
473
- type DeleteConditionHttpError = {
474
- data: ErrorResponse;
475
- headers: Headers;
476
- status: number;
477
- };
478
- /**
479
- * Retrieve a specific condition by id.
480
- *
481
- * @param id The id of the condition
482
- * @throws GetConditionHttpError
483
- */
484
- declare function getCondition(id: string, options?: ApiCallOptions): Promise<GetConditionHttpResponse>;
485
- type GetConditionHttpResponse = {
486
- data: Condition;
487
- headers: Headers;
488
- status: 200;
489
- };
490
- type GetConditionHttpError = {
491
- data: ErrorResponse;
492
- headers: Headers;
493
- status: number;
494
- };
495
- /**
496
- * Patch values in the condition
497
- *
498
- * @param id The id of the condition
499
- * @param body an object with the body content
500
- * @throws PatchConditionHttpError
501
- */
502
- declare function patchCondition(id: string, body: ConditionPatch, options?: ApiCallOptions): Promise<PatchConditionHttpResponse>;
503
- type PatchConditionHttpResponse = {
504
- data: void;
505
- headers: Headers;
506
- status: 204;
507
- };
508
- type PatchConditionHttpError = {
509
- data: ErrorResponse;
510
- headers: Headers;
511
- status: number;
512
- };
513
- /**
514
- * Executes the condition
515
- *
516
- * @param id The id of the condition
517
- * @param body an object with the body content
518
- * @throws CreateConditionEvaluationHttpError
519
- */
520
- declare function createConditionEvaluation(id: string, body: CreateEvaluationRequest, options?: ApiCallOptions): Promise<CreateConditionEvaluationHttpResponse>;
521
- type CreateConditionEvaluationHttpResponse = {
522
- data: CreateEvaluationResponse;
523
- headers: Headers;
524
- status: 201;
525
- };
526
- type CreateConditionEvaluationHttpError = {
527
- data: ErrorResponse;
528
- headers: Headers;
529
- status: number;
530
- };
531
- /**
532
- * Delete an Evaluation
533
- *
534
- * @param id The id of the condition
535
- * @param evaluationId The id of the evaluation
536
- * @throws DeleteConditionEvaluationHttpError
537
- */
538
- declare function deleteConditionEvaluation(id: string, evaluationId: string, options?: ApiCallOptions): Promise<DeleteConditionEvaluationHttpResponse>;
539
- type DeleteConditionEvaluationHttpResponse = {
540
- data: void;
541
- headers: Headers;
542
- status: 204;
543
- };
544
- type DeleteConditionEvaluationHttpError = {
545
- data: ErrorResponse;
546
- headers: Headers;
547
- status: number;
548
- };
549
- /**
550
- * Get an Evaluation
551
- *
552
- * @param id The id of the condition
553
- * @param evaluationId The id of the evaluation
554
- * @throws GetConditionEvaluationHttpError
555
- */
556
- declare function getConditionEvaluation(id: string, evaluationId: string, options?: ApiCallOptions): Promise<GetConditionEvaluationHttpResponse>;
557
- type GetConditionEvaluationHttpResponse = {
558
- data: GetEvaluationResponse;
559
- headers: Headers;
560
- status: 200;
561
- };
562
- type GetConditionEvaluationHttpError = {
563
- data: ErrorResponse;
564
- headers: Headers;
565
- status: number;
566
- };
567
- /**
568
- * Clears the cache for conditions api requests.
569
- */
570
- declare function clearCache(): void;
571
- type ConditionsAPI = {
572
- /**
573
- * Creates a new condition.
574
- *
575
- * @param body an object with the body content
576
- * @throws CreateConditionHttpError
577
- */
578
- createCondition: typeof createCondition;
579
- /**
580
- * Create condition preview request.
581
- *
582
- * @param body an object with the body content
583
- * @throws CreateConditionPreviewHttpError
584
- */
585
- createConditionPreview: typeof createConditionPreview;
586
- /**
587
- * Get condition preview response.
588
- *
589
- * @param id The id of the condition
590
- * @throws GetConditionPreviewHttpError
591
- */
592
- getConditionPreview: typeof getConditionPreview;
593
- /**
594
- * Retrieves condition manager settings
595
- *
596
- * @throws GetConditionsSettingsHttpError
597
- */
598
- getConditionsSettings: typeof getConditionsSettings;
599
- /**
600
- * Updates API configuration. Accessible only by tenant admins.
601
- *
602
- * @param body an object with the body content
603
- * @throws SetConditionsSettingsHttpError
604
- */
605
- setConditionsSettings: typeof setConditionsSettings;
606
- /**
607
- * Delete the condition
608
- *
609
- * @param id The id of the condition
610
- * @throws DeleteConditionHttpError
611
- */
612
- deleteCondition: typeof deleteCondition;
613
- /**
614
- * Retrieve a specific condition by id.
615
- *
616
- * @param id The id of the condition
617
- * @throws GetConditionHttpError
618
- */
619
- getCondition: typeof getCondition;
620
- /**
621
- * Patch values in the condition
622
- *
623
- * @param id The id of the condition
624
- * @param body an object with the body content
625
- * @throws PatchConditionHttpError
626
- */
627
- patchCondition: typeof patchCondition;
628
- /**
629
- * Executes the condition
630
- *
631
- * @param id The id of the condition
632
- * @param body an object with the body content
633
- * @throws CreateConditionEvaluationHttpError
634
- */
635
- createConditionEvaluation: typeof createConditionEvaluation;
636
- /**
637
- * Delete an Evaluation
638
- *
639
- * @param id The id of the condition
640
- * @param evaluationId The id of the evaluation
641
- * @throws DeleteConditionEvaluationHttpError
642
- */
643
- deleteConditionEvaluation: typeof deleteConditionEvaluation;
644
- /**
645
- * Get an Evaluation
646
- *
647
- * @param id The id of the condition
648
- * @param evaluationId The id of the evaluation
649
- * @throws GetConditionEvaluationHttpError
650
- */
651
- getConditionEvaluation: typeof getConditionEvaluation;
652
- /**
653
- * Clears the cache for conditions api requests.
654
- */
655
- clearCache: typeof clearCache;
656
- };
657
- /**
658
- * Functions for the conditions api
659
- */
660
- declare const conditionsExport: ConditionsAPI;
661
- //#endregion
662
- export { PreviewEvaluation as $, DeleteConditionEvaluationHttpError as A, EvaluationErrors as B, CreateConditionHttpResponse as C, CreateEvaluationResponse as D, CreateEvaluationRequest as E, ErrorResponse as F, GetConditionPreviewHttpError as G, GetConditionEvaluationHttpResponse as H, Errors as I, GetConditionsSettingsHttpResponse as J, GetConditionPreviewHttpResponse as K, Evaluation as L, DeleteConditionHttpError as M, DeleteConditionHttpResponse as N, DataCondition as O, Error as P, PatchConditionHttpResponse as Q, EvaluationError as R, CreateConditionHttpError as S, CreateConditionPreviewHttpResponse as T, GetConditionHttpError as U, GetConditionEvaluationHttpError as V, GetConditionHttpResponse as W, HistoryProperties as X, GetEvaluationResponse as Y, PatchConditionHttpError as Z, ConditionPatchInner as _, getConditionsSettings as _t, CausalEventExtensions as a, SetConditionsSettingsHttpResponse as at, CreateConditionEvaluationHttpError as b, Condition as c, conditionsExport as ct, ConditionDimensions as d, createConditionPreview as dt, PreviewResponse as et, ConditionDimensionsInner as f, deleteCondition as ft, ConditionPatch as g, getConditionPreview as gt, ConditionMeasuresInner as h, getConditionEvaluation as ht, CausalEventData as i, SetConditionsSettingsHttpError as it, DeleteConditionEvaluationHttpResponse as j, DataConditionCreateRequest as k, ConditionBase as l, createCondition as lt, ConditionMeasures as m, getCondition as mt, APISettingsUpload as n, Selections as nt, CompoundCondition as o, SingleErrorResponse as ot, ConditionHeaders as p, deleteConditionEvaluation as pt, GetConditionsSettingsHttpError as q, CausalEvent as r, SelectionsInner as rt, CompoundConditionData as s, clearCache as st, APISettings as t, PreviewStatusResponse as tt, ConditionCreateRequest as u, createConditionEvaluation as ut, ConditionResponse as v, patchCondition as vt, CreateConditionPreviewHttpError as w, CreateConditionEvaluationHttpResponse as x, ConditionsAPI as y, setConditionsSettings as yt, EvaluationErrorMeta as z };