@qlik/api 1.31.0 → 1.32.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 (95) hide show
  1. package/api-keys.js +2 -2
  2. package/apps.js +2 -2
  3. package/assistants.d.ts +1301 -0
  4. package/assistants.js +273 -0
  5. package/audits.js +2 -2
  6. package/auth.js +2 -2
  7. package/automation-connections.d.ts +366 -0
  8. package/automation-connections.js +91 -0
  9. package/automations.js +2 -2
  10. package/automl-deployments.d.ts +97 -0
  11. package/automl-deployments.js +27 -0
  12. package/automl-predictions.d.ts +214 -0
  13. package/automl-predictions.js +72 -0
  14. package/brands.js +2 -2
  15. package/chunks/{GUU3KZGK.js → RCLKKVYB.js} +1 -1
  16. package/chunks/{YKZ2QYHN.js → VVD2DPKQ.js} +2 -2
  17. package/chunks/{KBSD75QL.js → YTT2FEVE.js} +1 -1
  18. package/collections.js +2 -2
  19. package/conditions.d.ts +662 -0
  20. package/conditions.js +113 -0
  21. package/consumption.d.ts +182 -0
  22. package/consumption.js +24 -0
  23. package/csp-origins.js +2 -2
  24. package/csrf-token.d.ts +62 -0
  25. package/csrf-token.js +23 -0
  26. package/data-alerts.d.ts +1004 -0
  27. package/data-alerts.js +155 -0
  28. package/data-assets.js +2 -2
  29. package/data-connections.js +2 -2
  30. package/data-credentials.js +2 -2
  31. package/data-files.js +2 -2
  32. package/data-qualities.d.ts +175 -0
  33. package/data-qualities.js +44 -0
  34. package/data-sets.d.ts +424 -0
  35. package/data-sets.js +75 -0
  36. package/data-sources.d.ts +268 -0
  37. package/data-sources.js +39 -0
  38. package/data-stores.d.ts +537 -0
  39. package/data-stores.js +108 -0
  40. package/dcaas.d.ts +192 -0
  41. package/dcaas.js +39 -0
  42. package/di-projects.d.ts +673 -0
  43. package/di-projects.js +164 -0
  44. package/encryption.d.ts +370 -0
  45. package/encryption.js +98 -0
  46. package/extensions.js +2 -2
  47. package/glossaries.js +2 -2
  48. package/groups.js +2 -2
  49. package/identity-providers.js +2 -2
  50. package/index.d.ts +105 -1
  51. package/index.js +556 -4
  52. package/items.js +2 -2
  53. package/knowledgebases.d.ts +890 -0
  54. package/knowledgebases.js +169 -0
  55. package/licenses.d.ts +1 -1
  56. package/licenses.js +2 -2
  57. package/lineage-graphs.d.ts +712 -0
  58. package/lineage-graphs.js +92 -0
  59. package/ml.d.ts +2628 -0
  60. package/ml.js +384 -0
  61. package/notes.d.ts +110 -0
  62. package/notes.js +31 -0
  63. package/notifications.d.ts +98 -0
  64. package/notifications.js +24 -0
  65. package/oauth-clients.js +2 -2
  66. package/oauth-tokens.d.ts +126 -0
  67. package/oauth-tokens.js +31 -0
  68. package/package.json +28 -2
  69. package/qix.d.ts +1 -1
  70. package/qix.js +2 -2
  71. package/questions.d.ts +364 -0
  72. package/questions.js +34 -0
  73. package/quotas.js +2 -2
  74. package/reload-tasks.js +2 -2
  75. package/reloads.js +2 -2
  76. package/report-templates.d.ts +287 -0
  77. package/report-templates.js +80 -0
  78. package/reports.js +2 -2
  79. package/roles.js +2 -2
  80. package/sharing-tasks.d.ts +952 -0
  81. package/sharing-tasks.js +105 -0
  82. package/spaces.js +2 -2
  83. package/tasks.d.ts +564 -0
  84. package/tasks.js +106 -0
  85. package/temp-contents.js +2 -2
  86. package/tenants.js +2 -2
  87. package/themes.js +2 -2
  88. package/transports.js +2 -2
  89. package/ui-config.d.ts +274 -0
  90. package/ui-config.js +77 -0
  91. package/users.js +2 -2
  92. package/web-integrations.js +2 -2
  93. package/web-notifications.js +2 -2
  94. package/webhooks.js +2 -2
  95. /package/chunks/{DLKLPD7T.js → LTNGXTXG.js} +0 -0
@@ -0,0 +1,662 @@
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
+
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 const 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 const 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 const 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 const 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 const 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 const 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 const 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 const 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 const 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 const 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 const 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
+ interface 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
+
662
+ export { type APISettings, type APISettingsUpload, type CausalEvent, type CausalEventData, type CausalEventExtensions, type CompoundCondition, type CompoundConditionData, type Condition, type ConditionBase, type ConditionCreateRequest, type ConditionDimensions, type ConditionDimensionsInner, type ConditionHeaders, type ConditionMeasures, type ConditionMeasuresInner, type ConditionPatch, type ConditionPatchInner, type ConditionResponse, type ConditionsAPI, type CreateConditionEvaluationHttpError, type CreateConditionEvaluationHttpResponse, type CreateConditionHttpError, type CreateConditionHttpResponse, type CreateConditionPreviewHttpError, type CreateConditionPreviewHttpResponse, type CreateEvaluationRequest, type CreateEvaluationResponse, type DataCondition, type DataConditionCreateRequest, type DeleteConditionEvaluationHttpError, type DeleteConditionEvaluationHttpResponse, type DeleteConditionHttpError, type DeleteConditionHttpResponse, type Error, type ErrorResponse, type Errors, type Evaluation, type EvaluationError, type EvaluationErrorMeta, type EvaluationErrors, type GetConditionEvaluationHttpError, type GetConditionEvaluationHttpResponse, type GetConditionHttpError, type GetConditionHttpResponse, type GetConditionPreviewHttpError, type GetConditionPreviewHttpResponse, type GetConditionsSettingsHttpError, type GetConditionsSettingsHttpResponse, type GetEvaluationResponse, type HistoryProperties, type PatchConditionHttpError, type PatchConditionHttpResponse, type PreviewEvaluation, type PreviewResponse, type PreviewStatusResponse, type Selections, type SelectionsInner, type SetConditionsSettingsHttpError, type SetConditionsSettingsHttpResponse, type SingleErrorResponse, clearCache, createCondition, createConditionEvaluation, createConditionPreview, conditionsExport as default, deleteCondition, deleteConditionEvaluation, getCondition, getConditionEvaluation, getConditionPreview, getConditionsSettings, patchCondition, setConditionsSettings };