@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,1004 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/data-alerts.d.ts
4
- type AlertingActionsTriggerCreateRequest = {
5
- alertingTaskID: string;
6
- };
7
- type AlertingActionsTriggerCreateResponse = {
8
- /** the workflow id created for the manual triggering of alert */
9
- workflowID?: string;
10
- };
11
- type AlertingConditionResponse = {
12
- /** Should reference ConditionResponse type in condition-manager api docs */
13
- conditionResponse?: unknown;
14
- hideSelections?: boolean;
15
- };
16
- type AlertingExecutionError = {
17
- /** Error code specific to sharing service. */
18
- readonly code?: string;
19
- /** Error cause. */
20
- readonly detail?: string;
21
- /** Error title. */
22
- readonly title?: string;
23
- };
24
- type AlertingExecutionErrors = AlertingExecutionError[];
25
- type AlertingExecutionListResponse = StandardListResponseProps & {
26
- /** Gets a list of alerting-executions. */
27
- executions?: AlertingExecutionResponse[];
28
- links?: ListLinks;
29
- };
30
- type AlertingExecutionPersist = {
31
- accessMode?: "SOURCE_ACCESS" | "TARGET_ACCESS";
32
- /** ID for the alerting task that this execution references */
33
- alertId?: string;
34
- /** Id of the bookmark associated with an alert */
35
- bookmarkId?: string;
36
- /** Id of the condition the alert is associated with */
37
- conditionId?: string;
38
- conditionStatus?: "FINISHED" | "FAILED";
39
- /** Dimensions applied in the condition */
40
- dimensions?: string[];
41
- errors?: AlertingExecutionErrors;
42
- /** Id of the evaluation for the condition */
43
- evaluationId?: string;
44
- executionEvaluationStatus?: "CONDITION_MET" | "CONDITION_NOT_MET" | "FAILED";
45
- executionType?: "INDIVIDUAL" | "SHARED";
46
- /** Gets the execution identifier. */
47
- id?: string;
48
- /** Measures applied in the condition */
49
- measures?: string[];
50
- /** The owner that this execution belongs to */
51
- ownerId?: string;
52
- result?: AlertingExecutionResult;
53
- /** The tenant that this execution belongs to */
54
- tenantId?: string;
55
- /** Timestamp of execution start */
56
- triggerTime?: string;
57
- /** ID for the workflow, coming from eventing service */
58
- workflowId?: string;
59
- };
60
- type AlertingExecutionResponse = AlertingExecutionPersist & {
61
- evaluation?: Evaluation;
62
- links?: Links;
63
- };
64
- type AlertingExecutionResult = {
65
- alertTriggerStatus?: string;
66
- throttlerTokensLeft?: number;
67
- };
68
- type AlertingRecipientStats = {
69
- conditionStatus?: "OK" | "FAILED";
70
- /** Whether the recipient is enabled. */
71
- enabled: boolean;
72
- errors?: AlertingRecipientStatsErrors;
73
- /** A list of associated groups. If a user is added individually the "addedIndividually" pseudo group is included */
74
- groups?: string[];
75
- /** last time a trigger was detected, but not sure if executed */
76
- lastScan?: string;
77
- /** last time an execution had been created */
78
- lastTrigger?: string;
79
- /** Whether the recipient is subscribed. */
80
- subscribed?: boolean;
81
- type?: "userid";
82
- value?: string;
83
- };
84
- type AlertingRecipientStatsError = {
85
- /** Error code specific to sharing service. */
86
- readonly code?: string;
87
- /** Error cause. */
88
- readonly detail?: string;
89
- /** Error title. */
90
- readonly title?: string;
91
- };
92
- type AlertingRecipientStatsErrors = AlertingRecipientStatsError[];
93
- type AlertingRecipientStatsResponse = {
94
- recipientStats?: AlertingRecipientStats[];
95
- };
96
- type AlertingSettings = {
97
- /** This indicates that there is an ongoing operation to either disable or enable the data alerting feature. none means that no such operation is ongoing. enabling/disabling means that system is currently enabling/disabling the feature */
98
- readonly "data-alerting-feature-operation-status"?: "none" | "enabling" | "disabling";
99
- /** UTC timestamp of the most recent change of data-alerting-feature-operation-status. If there has not been any such change, this is the timestamp of the initial creation of the record. */
100
- readonly "data-alerting-feature-operation-status-change"?: string;
101
- /** Whether the license for the tenant has the data alerting feature enabled. */
102
- "data-alerting-license-status"?: "enabled" | "disabled";
103
- /** Represents the number of data alerts consumed by the user either as an owner or recipient */
104
- readonly dataAlertsConsumed?: number;
105
- /** Represents the number of data alerts limit to be consumed by the user either as an owner or recipient */
106
- readonly dataAlertsLimits?: number;
107
- /** true if data-alerting feature is enabled for this tenant. Enabling this feature also requires that the license has this feature enabled. */
108
- "enable-data-alerting": boolean;
109
- /** The maximum number of recipients that can be present in an alerting task in TARGET_ACCESS mode. New recipients cannot be added when this limit is exceeded */
110
- readonly "max-recipients-in-target-access"?: number;
111
- /** These persisted alerting settings are only available for this tenant. Extracted from request JWT. */
112
- readonly tenantId?: string;
113
- };
114
- type AlertingSettingsUpload = {
115
- /** true if data-alerting feature is enabled. A status change could potentially result in a considerable amount of API operations to enable/disable triggers. Enabling this feature also requires that the license has this feature enabled. */
116
- "enable-data-alerting": boolean;
117
- };
118
- /**
119
- * a alerting task (a definition on an alert)
120
- */
121
- type AlertingTaskCreateRequest = {
122
- /** appId associated to this alert definition */
123
- appId: string;
124
- /** bookmarkId associated to this alert definition */
125
- bookmarkId?: string;
126
- /** the id of the condition that determines if this data alert should be triggered */
127
- conditionId: string;
128
- /** description associated to alerting task */
129
- description?: string;
130
- /** if the alerting task is enabled */
131
- enabled?: boolean;
132
- /** name associated to alerting task */
133
- name: string;
134
- /** List of recipients. An internal recipient is represented by either their user id or group id. */
135
- recipients: Recipients;
136
- scheduleOptions?: ScheduleOptions;
137
- /** sheetId associated to this alert definition */
138
- sheetId?: string;
139
- /** The rules and setup for throttling */
140
- throttling?: ThrottlingResource;
141
- /** Type of job that triggered the task */
142
- triggerType: "RELOAD" | "SCHEDULED";
143
- };
144
- type AlertingTaskError = {
145
- /** Timestamp for the creation of the error */
146
- added?: string;
147
- /** Identifier for type of error occurring on alerting task */
148
- value?: "OWNER_DISABLED" | "OWNER_ACCESS" | "OWNER_LICENSE" | "APP_DELETED" | "NO_RECIPIENTS" | "PARTIAL_ACCESS" | "EVAL_ERROR" | "ORPHAN" | "CONVERSION_DENIED" | "EXPIRED" | "PARTIAL_SENT" | "QUOTA_REACHED" | "OWNER_HAS_NO_VALID_USER_ENTITLEMENT";
149
- };
150
- /**
151
- * @deprecated
152
- */
153
- type AlertingTaskExecutionStats = StandardListResponseProps & {
154
- executionsStats?: ExecutionStats[];
155
- links?: ListLinks;
156
- };
157
- type AlertingTaskGroupRecipientError = {
158
- /** Timestamp for the creation of the error */
159
- added?: string;
160
- /** Identifier for type of error occurring on alerting task */
161
- value?: "GROUP_IS_DISABLED" | "MAX_ALERTS_LIMIT_REACHED" | "GROUP_WITH_NO_APP_ACCESS" | "GROUP_IS_DELETED";
162
- };
163
- type AlertingTaskListResponse = StandardListResponseProps & {
164
- links?: ListLinks;
165
- /** Gets a list of alerting tasks. */
166
- tasks?: AlertingTaskResponse[];
167
- };
168
- type AlertingTaskPatchRequestCompliant = {
169
- /** The operation to be performed */
170
- op: "replace";
171
- /** A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902 */
172
- path: "/ownerName" | "/ownerId" | "/conditionId" | "/enabledAction" | "/bookmarkId" | "/name" | "/description" | "/throttling" | "/triggerType" | "/scheduleOptions";
173
- /** The value to be used for this operation. */
174
- value?: unknown;
175
- };
176
- type AlertingTaskPatchRequestCompliantList = AlertingTaskPatchRequestCompliant[];
177
- type AlertingTaskRecipientError = {
178
- /** Timestamp for the creation of the error */
179
- added?: string;
180
- /** Identifier for type of error occurring on alerting task */
181
- value?: "USER_IS_DELETED" | "USER_DISABLED_IN_QCS" | "NO_ACCESS_TO_APP" | "UNSUBSCRIBED_FROM_ALERT" | "CONDITION_EVAL_ERROR" | "USER_DISABLED_IN_ALERT_BY_OWNER" | "MAX_ALERTS_LIMIT_REACHED";
182
- };
183
- /**
184
- * A custom custom JSON Patch document, as an array of objects with operation, recipient type and value. Original defined in https://datatracker.ietf.org/doc/html/rfc6902.
185
- * @example
186
- * [
187
- * {
188
- * op: "add",
189
- * recipientType: "userid",
190
- * value: {
191
- * "enabled": true,
192
- * "value": "recipient-1"
193
- * }
194
- * },
195
- * {
196
- * op: "remove",
197
- * recipientType: "userid"
198
- * },
199
- * {
200
- * op: "enable",
201
- * recipientType: "userid"
202
- * },
203
- * {
204
- * op: "disable",
205
- * recipientType: "userid"
206
- * },
207
- * {
208
- * op: "replace",
209
- * recipientType: "userid",
210
- * value: [
211
- * {
212
- * "enabled": true,
213
- * "value": "recipient-1"
214
- * },
215
- * {
216
- * "enabled": false,
217
- * "value": "recipient-2"
218
- * }
219
- * ]
220
- * }
221
- * ]
222
- */
223
- type AlertingTaskRecipientPatch = AlertingTaskRecipientPatchInner[];
224
- type AlertingTaskRecipientPatchInner = {
225
- /** The operation to be performed. */
226
- op: "remove" | "add" | "replace" | "enable" | "disable" | "subscribe" | "unsubscribe";
227
- /** Defines the path for the given resource field to patch. */
228
- recipientType: "userid" | "groupid";
229
- /** The value to be used for this operation. */
230
- value: unknown;
231
- };
232
- type AlertingTaskResponse = {
233
- /** last time a trigger was detected, but not sure if executed */
234
- absoluteLastScan?: string;
235
- /** last time an execution had been created */
236
- absoluteLastTrigger?: string;
237
- accessMode?: "SOURCE_ACCESS" | "TARGET_ACCESS";
238
- alertingTaskErrors?: AlertingTaskError[];
239
- /** appId associated to this alert definition */
240
- appId?: string;
241
- /** bookmarkId associated to this alert definition */
242
- bookmarkId?: string;
243
- /** the id of the condition that determines if this data alert should be triggered */
244
- conditionId?: string;
245
- /** Should reference ConditionResponse type in condition-manager api docs */
246
- conditionResponse?: unknown;
247
- /** Timestamp for the creation of the task (rfc3339 format) */
248
- dateCreated?: string;
249
- /** description associated to alerting task */
250
- description?: string;
251
- /** true if the alerting task is enabled */
252
- enabled?: boolean;
253
- /** error labels from the latest workflow that happened within the task */
254
- errorStatus?: "OK" | "FATAL-ERROR" | "PARTIAL-TRIGGER";
255
- /** the number of actual evaluations with engine this task has consumed in the current month */
256
- evaluationCount?: number;
257
- /** true if the alert has history condition enabled */
258
- hasHistoryCondition?: boolean;
259
- /** Whether the selection needs to be hidden. */
260
- hideSelections?: boolean;
261
- /** data alerting identifier (this is the alertID) */
262
- id?: string;
263
- /** the date when the evaluation count was updated */
264
- lastEvaluationCountUpdate?: string;
265
- lastExecutionStatus?: "OK" | "FAILED";
266
- /** last time a trigger was detected, but not sure if executed for requesting user */
267
- lastScan?: string;
268
- /** last time an execution had been created for requesting user */
269
- lastTrigger?: string;
270
- /** Timestamp of the most recent update. */
271
- lastUpdated?: string;
272
- links?: Links;
273
- /** name associated to alerting task */
274
- name?: string;
275
- /** the owner of this alert */
276
- ownerId?: string;
277
- /** the owner name of this alert */
278
- ownerName?: string;
279
- /** List of recipients. An internal recipient is represented by either their user id or group id. */
280
- recipients?: Recipients;
281
- recipientsChangeHistory?: RecipientsChange[];
282
- scheduleOptions?: ScheduleOptions;
283
- /** sheetId associated to this alert definition */
284
- sheetId?: string;
285
- /** particular status of the alerting task */
286
- status?: "creating" | "deleting";
287
- /** list of subscriptions related to this alerting task */
288
- subscriptionIds?: string[];
289
- /** the tenant of this alert */
290
- tenantId?: string;
291
- /** The rules and setup for throttling */
292
- throttling?: ThrottlingResource;
293
- triggerStats: AlertingTaskTriggerStats;
294
- /** Type of job that triggered the task */
295
- triggerType?: "RELOAD" | "SCHEDULED" | "MANUAL";
296
- };
297
- type AlertingTaskTriggerStats = {
298
- /** The number of triggers out of the last 100 scans for the current condition. */
299
- last100Scans: number;
300
- /** The number of triggers out of the last 10 scans for the current condition. */
301
- last10Scans: number;
302
- /** The number of scans for the current condition. */
303
- totalScans: number;
304
- };
305
- type AlertingTaskValidation = {
306
- /** Description of the error */
307
- description?: string;
308
- /** @deprecated
309
- * Identifier for a validation error occurring on alerting task */
310
- error?: "NO_ACCESS" | "USER_IS_DISABLED" | "INVALID_CONDITION" | "GROUP_IS_DISABLED" | "GROUP_SIZE_EXCEEDED";
311
- /** Identifies for user id or condition id */
312
- id?: string;
313
- /** Identifier for type of a validation error occurring on alerting task */
314
- type?: "RECIPIENT" | "CONDITION" | "RECIPIENT_GROUP";
315
- validationErrors?: ("NO_ACCESS" | "USER_IS_DISABLED" | "INVALID_CONDITION" | "MAX_ALERTS_LIMIT_REACHED" | "MAX_ALERT_RECIPIENTS_LIMIT_REACHED" | "GROUP_IS_DISABLED" | "GROUP_SIZE_EXCEEDED")[];
316
- };
317
- type AlertingTaskValidationResponse = {
318
- status?: "FAILURE" | "SUCCESS";
319
- validations?: AlertingTaskValidation[];
320
- };
321
- type Error = {
322
- /** Error code specific to sharing service. */
323
- readonly code?: string;
324
- /** Error cause. */
325
- readonly detail?: string;
326
- meta?: ErrorMeta;
327
- /** Error title. */
328
- readonly title?: string;
329
- };
330
- type ErrorMeta = {
331
- /** HTTP error code. */
332
- readonly httpCode?: number;
333
- };
334
- /**
335
- * @example
336
- * {
337
- * errors: [
338
- * {
339
- * code: "HTTP-123",
340
- * title: "short error message"
341
- * }
342
- * ],
343
- * traceId: "7975401f3954aa47"
344
- * }
345
- */
346
- type Errors = {
347
- errors?: Error[];
348
- traceId?: string;
349
- };
350
- type Evaluation = {
351
- /** Representation of the event that caused the condition to be evaluated if one was included on when the evaluation was triggered */
352
- causalEvent?: unknown;
353
- /** The unique id of the associated condition */
354
- readonly conditionId?: string;
355
- /** Extra context information to carry through to the result if one was included on when the evaluation was triggered */
356
- contextId?: string;
357
- /** The unique id for the resource given from Data Condition Evaluator */
358
- readonly dataConditionEvaluatorId?: string;
359
- /** The time the evaluation ended */
360
- readonly endTime?: string;
361
- /** The unique id for the resource */
362
- readonly id?: string;
363
- /** userId of user being impersonated to evaluate the condition */
364
- readonly ownerId?: string;
365
- /** The final result of the evalution */
366
- readonly result?: "success" | "failure" | "error";
367
- /** Condition type specific result, one of dataResult or compoundResult */
368
- resultData?: unknown;
369
- /** The time the evaluation started */
370
- readonly startTime?: string;
371
- /** The status of the evaluation execution */
372
- readonly status?: "RUNNING" | "FAILED" | "FINISHED";
373
- /** The tenant id */
374
- readonly tenantId?: string;
375
- };
376
- type EvaluationGetResponse = {
377
- condition?: unknown;
378
- evaluation?: Evaluation;
379
- hideSelections?: boolean;
380
- };
381
- type ExecutionStats = {
382
- endTime?: string;
383
- periodKey?: string;
384
- startTime?: string;
385
- totalExecutions?: string;
386
- triggeredExecutions?: string;
387
- };
388
- /**
389
- * an internal recipient based on its group id.
390
- */
391
- type GroupIDRecipient = {
392
- alertingTaskGroupRecipientErrors?: AlertingTaskGroupRecipientError[];
393
- /** Whether this recipient can receive alerts. */
394
- enabled?: boolean;
395
- taskGroupRecipientErrors?: TaskGroupRecipientError[];
396
- /** Group ID of recipient. */
397
- value?: string;
398
- };
399
- type Links = {
400
- /** Object with Href to a particular element or set of elements */
401
- self?: Self;
402
- };
403
- type ListLinks = {
404
- next?: Page;
405
- prev?: Page;
406
- /** Object with Href to a particular element or set of elements */
407
- self?: Self;
408
- };
409
- type Page = {
410
- /** URL to particular set of elements */
411
- href?: string;
412
- /** Page unique token */
413
- token?: string;
414
- /** Page type, can be next or prev */
415
- type?: "prev" | "next";
416
- };
417
- /**
418
- * List of recipients. An internal recipient is represented by either their user id or group id.
419
- */
420
- type Recipients = {
421
- DLGroups?: unknown[];
422
- DLListId?: string;
423
- DLUsers?: unknown[];
424
- groupIds?: GroupIDRecipient[];
425
- userIds: UserIDRecipient[];
426
- };
427
- /**
428
- * Change in a recipient for an alerting task
429
- */
430
- type RecipientsChange = {
431
- /** time of recipient state change */
432
- dateTime?: string;
433
- /** A custom custom JSON Patch document, as an array of objects with operation, recipient type and value. Original defined in https://datatracker.ietf.org/doc/html/rfc6902. */
434
- patchAction?: AlertingTaskRecipientPatch;
435
- };
436
- type ScheduleOptions = {
437
- /** The chronos job identifier. It is set once the related chronos job is created. */
438
- readonly chronosJobID?: string;
439
- /** EndDateTime is a local date time with respect to the above timezone parameter. If the timezone parameter is missing, then the timezone used is the one retrieved from user infos. Therefore ISO8601 time offsets are not allowed (e.g. "2026-01-02T16:04:05Z" or "2026-01-02T16:04:05+01"), if passed an error will be returned. EndDateTime is an optional parameter, when not set or when it's an empty string, the recurrence is intended to be never ending. */
440
- endDateTime?: string;
441
- /** lastExecutionTime is the time of the chronos job last execution in RFC3339 format (a time with a fixed UTC offset). Could be empty if job has not run yet. */
442
- readonly lastExecutionTime?: string;
443
- /** nextExecutionTime is the time of the chronos job next execution in RFC3339 format (a time with a fixed UTC offset). Could be empty if the job is completed. */
444
- readonly nextExecutionTime?: string;
445
- /** List of RRULEs for SCHEDULED triggers, as specified in RFC5545. Note that DTSTART and DTEND, UNTIL lines are not allowed in this field; start and end times are specified in the start and end fields. RDATE and EXDATE lines are not currently supported. EXRULE is not supported since it is deprecated by RFC5545. It is mandatory if the trigger type is SCHEDULED. At least 1 rule must be set and maximum 5 rules are allowed. */
446
- recurrence?: string[];
447
- /** StartDateTime is a local date time with respect to the above timezone parameter. If the timezone parameter is missing, then the timezone used is the one retrieved from user infos. Therefore ISO8601 time offsets are not allowed (e.g. "2026-01-02T16:04:05Z" or "2026-01-02T16:04:05+01"), if passed an error will be returned. StartDateTime should not be older than 1 year from current date. StartDateTime is an optional parameter, when not set or when it's an empty string, its value is set to the current local date time. */
448
- startDateTime?: string;
449
- /** The timezone for time calculations in SCHEDULED triggers, optional. */
450
- timezone?: string;
451
- };
452
- /**
453
- * Object with Href to a particular element or set of elements
454
- */
455
- type Self = {
456
- href?: string;
457
- };
458
- /**
459
- * properties that should be added to every list response
460
- */
461
- type StandardListResponseProps = {
462
- /** count of entries on the currently shown page */
463
- currentPageCount: number;
464
- /** total count of entries in the collection as a whole */
465
- totalCount: number;
466
- };
467
- type TaskGroupRecipientError = {
468
- /** Timestamp for the creation of the error */
469
- timestamp?: string;
470
- /** Identifier for type of error occurring on sharing task specific for group recipient */
471
- value?: "GROUP_IS_DISABLED" | "MAX_ALERTS_LIMIT_REACHED" | "GROUP_WITH_NO_APP_ACCESS" | "GROUP_IS_DELETED" | "GROUP_NOT_FOUND_DL" | "GROUP_DISABLED_IN_DL";
472
- };
473
- type TaskRecipientError = {
474
- /** Timestamp for the creation of the error */
475
- timestamp?: string;
476
- /** Identifier for type of error occurring on sharing task specific for recipient */
477
- value?: "USER_IS_DELETED" | "USER_DISABLED_IN_QCS" | "NO_ACCESS_TO_APP" | "UNSUBSCRIBED_FROM_SHARING" | "USER_DISABLED_IN_SHARING_BY_OWNER" | "CHART_NOT_FOUND" | "APP_NOT_FOUND" | "SHEET_NOT_FOUND" | "ENGINE_POD_NOT_AVAILABLE" | "CHART_TYPE_NOT_ALLOWED" | "GENERIC_EXECUTION_FAILURE" | "USER_NOT_FOUND_DL" | "USER_DISABLED_IN_DL" | "FILTER_NOT_FOUND" | "BOOKMARK_NOT_FOUND";
478
- };
479
- /**
480
- * The rules and setup for throttling
481
- */
482
- type ThrottlingResource = {
483
- /** the maximum number of tokens that the bucket can contain */
484
- capacity?: number;
485
- /** the initial amount of tokens in the bucket upon creation. cannot exceed capacity. */
486
- initialTokenCount?: number;
487
- /** A string that supports a subset of RFC5545 recurrence rule directives. */
488
- recurrenceRule?: string;
489
- /** a date and time reference specified in RFC3339 format */
490
- referenceTimestamp?: string;
491
- /** the amount of tokens to insert into the bucket on the specified interval. (tokens exceeding capacity are discarded) */
492
- replenishRate?: number;
493
- /** the timezone for time calculations in this throttlingresource, for current time and time reference. */
494
- timezone?: string;
495
- };
496
- /**
497
- * an internal recipient based on its user id.
498
- */
499
- type UserIDRecipient = {
500
- alertingTaskRecipientErrors?: AlertingTaskRecipientError[];
501
- /** Whether this recipient can receive alerts. */
502
- enabled?: boolean;
503
- /** A list of associated groups. If a user is added individually the "addedIndividually" pseudo group is included */
504
- groups?: string[];
505
- /** Whether this recipient is subscribed to alerts of a task */
506
- subscribed?: boolean;
507
- taskRecipientErrors?: TaskRecipientError[];
508
- /** User ID of recipient (internal user). */
509
- value?: string;
510
- };
511
- /**
512
- * Retrieves all data alert tasks accessible to the user. Users assigned the `TenantAdmin` or `AnalyticsAdmin` role can view all tasks.
513
- *
514
- * @param query an object with query parameters
515
- * @throws GetDataAlertsHttpError
516
- */
517
- declare function getDataAlerts(query: {
518
- /** The app ID you would like to filter by */
519
- appID?: string;
520
- /** The conditionId you would like to filter by */
521
- conditionId?: string;
522
- /** Limit the returned result set */
523
- limit?: number;
524
- /** The cursor to the next page of data. Only one of next or previous may be specified. */
525
- next?: string;
526
- /** Offset for finding a list of entities - used for pagination */
527
- offset?: number;
528
- /** The id of the owner you would like to filter by */
529
- ownerId?: string;
530
- /** The name of the owner you would like to filter by */
531
- ownerName?: string;
532
- /** The cursor to the previous page of data. Only one of next or previous may be specified. */
533
- prev?: string;
534
- /** The role you would like to filter by */
535
- role?: ("owner" | "recipient" | "notowner")[];
536
- /** Sort the returned result set by the specified field */
537
- sort?: ("-datecreated" | "datecreated" | "+datecreated" | "-ownername" | "ownername" | "+ownername" | "lasttrigger" | "-lasttrigger" | "+lasttrigger" | "lastscan" | "-lastscan" | "+lastscan" | "name" | "-name" | "+name" | "enabled" | "-enabled" | "+enabled" | "status" | "-status" | "+status" | "nextexecutiontime" | "-nextexecutiontime" | "+nextexecutiontime")[];
538
- /** The status you would like to filter by */
539
- status?: ("INVALID_RECIPIENT" | "INVALID_OWNER" | "DISABLED" | "VALID")[];
540
- }, options?: ApiCallOptions): Promise<GetDataAlertsHttpResponse>;
541
- type GetDataAlertsHttpResponse = {
542
- data: AlertingTaskListResponse;
543
- headers: Headers;
544
- status: 200;
545
- prev?: (options?: ApiCallOptions) => Promise<GetDataAlertsHttpResponse>;
546
- next?: (options?: ApiCallOptions) => Promise<GetDataAlertsHttpResponse>;
547
- };
548
- type GetDataAlertsHttpError = {
549
- data: Errors;
550
- headers: Headers;
551
- status: number;
552
- };
553
- /**
554
- * Creates a new data alerting task.
555
- *
556
- * @param body an object with the body content
557
- * @throws CreateDataAlertHttpError
558
- */
559
- declare function createDataAlert(body: AlertingTaskCreateRequest, options?: ApiCallOptions): Promise<CreateDataAlertHttpResponse>;
560
- type CreateDataAlertHttpResponse = {
561
- data: AlertingTaskResponse;
562
- headers: Headers;
563
- status: 202;
564
- };
565
- type CreateDataAlertHttpError = {
566
- data: Errors;
567
- headers: Headers;
568
- status: number;
569
- };
570
- /**
571
- * Creates a new data alerting task trigger action.
572
- *
573
- * @param body an object with the body content
574
- * @throws TriggerDataAlertsHttpError
575
- */
576
- declare function triggerDataAlerts(body: AlertingActionsTriggerCreateRequest, options?: ApiCallOptions): Promise<TriggerDataAlertsHttpResponse>;
577
- type TriggerDataAlertsHttpResponse = {
578
- data: AlertingActionsTriggerCreateResponse;
579
- headers: Headers;
580
- status: 202;
581
- };
582
- type TriggerDataAlertsHttpError = {
583
- data: Errors;
584
- headers: Headers;
585
- status: number;
586
- };
587
- /**
588
- * Validates a new data alerting task. Current support includes validation for recipients only.
589
- *
590
- * @param body an object with the body content
591
- * @throws ValidateDataAlertsHttpError
592
- */
593
- declare function validateDataAlerts(body: AlertingTaskCreateRequest, options?: ApiCallOptions): Promise<ValidateDataAlertsHttpResponse>;
594
- type ValidateDataAlertsHttpResponse = {
595
- data: AlertingTaskValidationResponse;
596
- headers: Headers;
597
- status: 200;
598
- };
599
- type ValidateDataAlertsHttpError = {
600
- data: Errors;
601
- headers: Headers;
602
- status: number;
603
- };
604
- /**
605
- * Retrieves the current settings for data alerts.
606
- *
607
- * @throws GetDataAlertsSettingsHttpError
608
- */
609
- declare function getDataAlertsSettings(options?: ApiCallOptions): Promise<GetDataAlertsSettingsHttpResponse>;
610
- type GetDataAlertsSettingsHttpResponse = {
611
- data: AlertingSettings;
612
- headers: Headers;
613
- status: 200;
614
- };
615
- type GetDataAlertsSettingsHttpError = {
616
- data: Errors;
617
- headers: Headers;
618
- status: number;
619
- };
620
- /**
621
- * Updates the settings for data alerts. User must be assigned the `TenantAdmin` role.
622
- *
623
- * @param body an object with the body content
624
- * @throws SetDataAlertsSettingsHttpError
625
- */
626
- declare function setDataAlertsSettings(body: AlertingSettingsUpload, options?: ApiCallOptions): Promise<SetDataAlertsSettingsHttpResponse>;
627
- type SetDataAlertsSettingsHttpResponse = {
628
- data: void;
629
- headers: Headers;
630
- status: 204;
631
- };
632
- type SetDataAlertsSettingsHttpError = {
633
- data: Errors;
634
- headers: Headers;
635
- status: number;
636
- };
637
- /**
638
- * Deletes a specific data alerting task.
639
- *
640
- * @param alertId The alerting task identifier.
641
- * @throws DeleteDataAlertHttpError
642
- */
643
- declare function deleteDataAlert(alertId: string, options?: ApiCallOptions): Promise<DeleteDataAlertHttpResponse>;
644
- type DeleteDataAlertHttpResponse = {
645
- data: void;
646
- headers: Headers;
647
- status: 204;
648
- };
649
- type DeleteDataAlertHttpError = {
650
- data: Errors;
651
- headers: Headers;
652
- status: number;
653
- };
654
- /**
655
- * Returns the details of a specific data alert task.
656
- *
657
- * @param alertId The alerting task identifier.
658
- * @throws GetDataAlertHttpError
659
- */
660
- declare function getDataAlert(alertId: string, options?: ApiCallOptions): Promise<GetDataAlertHttpResponse>;
661
- type GetDataAlertHttpResponse = {
662
- data: AlertingTaskResponse;
663
- headers: Headers;
664
- status: 200;
665
- };
666
- type GetDataAlertHttpError = {
667
- data: Errors;
668
- headers: Headers;
669
- status: number;
670
- };
671
- /**
672
- * Updates one or more properties of a specific data alerting task.
673
- *
674
- * @param alertId The alerting task identifier.
675
- * @param body an object with the body content
676
- * @throws PatchDataAlertHttpError
677
- */
678
- declare function patchDataAlert(alertId: string, body: AlertingTaskPatchRequestCompliantList, options?: ApiCallOptions): Promise<PatchDataAlertHttpResponse>;
679
- type PatchDataAlertHttpResponse = {
680
- data: void;
681
- headers: Headers;
682
- status: 204;
683
- };
684
- type PatchDataAlertHttpError = {
685
- data: Errors;
686
- headers: Headers;
687
- status: number;
688
- };
689
- /**
690
- * Retrieves the condition associated with a data alerting task.
691
- *
692
- * @param alertId The alerting task identifier.
693
- * @throws GetDataAlertConditionHttpError
694
- */
695
- declare function getDataAlertCondition(alertId: string, options?: ApiCallOptions): Promise<GetDataAlertConditionHttpResponse>;
696
- type GetDataAlertConditionHttpResponse = {
697
- data: AlertingConditionResponse;
698
- headers: Headers;
699
- status: 200;
700
- };
701
- type GetDataAlertConditionHttpError = {
702
- data: Errors;
703
- headers: Headers;
704
- status: number;
705
- };
706
- /**
707
- * Deletes a specific data alerting task execution.
708
- *
709
- * @param alertId The alerting task identifier.
710
- * @param executionId The execution identifier.
711
- * @throws DeleteDataAlertExecutionHttpError
712
- */
713
- declare function deleteDataAlertExecution(alertId: string, executionId: string, options?: ApiCallOptions): Promise<DeleteDataAlertExecutionHttpResponse>;
714
- type DeleteDataAlertExecutionHttpResponse = {
715
- data: void;
716
- headers: Headers;
717
- status: 204;
718
- };
719
- type DeleteDataAlertExecutionHttpError = {
720
- data: Errors;
721
- headers: Headers;
722
- status: number;
723
- };
724
- /**
725
- * Retrieves a specific execution for the specified data alerting task.
726
- *
727
- * @param alertId The alerting task identifier.
728
- * @param executionId The execution identifier. If value is "latest", the latest execution will be returned
729
- * @throws GetDataAlertExecutionHttpError
730
- */
731
- declare function getDataAlertExecution(alertId: string, executionId: string, options?: ApiCallOptions): Promise<GetDataAlertExecutionHttpResponse>;
732
- type GetDataAlertExecutionHttpResponse = {
733
- data: AlertingExecutionResponse;
734
- headers: Headers;
735
- status: 200;
736
- };
737
- type GetDataAlertExecutionHttpError = {
738
- data: Errors;
739
- headers: Headers;
740
- status: number;
741
- };
742
- /**
743
- * Retrieve the recipient stats for a data alerting task.
744
- *
745
- * @param alertId The alerting task identifier.
746
- * @param query an object with query parameters
747
- * @throws GetDataAlertRecipientStatsHttpError
748
- */
749
- declare function getDataAlertRecipientStats(alertId: string, query: {
750
- /** The name of the groups you would like to filter by */
751
- groups?: string[];
752
- /** Sort the returned result set by the specified field */
753
- sort?: ("+userID" | "-userID" | "subscribed" | "+subscribed")[];
754
- /** Subscribed property you would like to filter by */
755
- subscribed?: boolean;
756
- /** The recipients ID you would like to filter by */
757
- userID?: string;
758
- }, options?: ApiCallOptions): Promise<GetDataAlertRecipientStatsHttpResponse>;
759
- type GetDataAlertRecipientStatsHttpResponse = {
760
- data: AlertingRecipientStatsResponse;
761
- headers: Headers;
762
- status: 200;
763
- };
764
- type GetDataAlertRecipientStatsHttpError = {
765
- data: Errors;
766
- headers: Headers;
767
- status: number;
768
- };
769
- /**
770
- * Lists executions for the specified data alerting task.
771
- *
772
- * @param taskId The alerting task identifier.
773
- * @param query an object with query parameters
774
- * @throws GetDataAlertExecutionsHttpError
775
- */
776
- declare function getDataAlertExecutions(taskId: string, query: {
777
- /** Filter by condition id related to the executions. */
778
- conditionId?: string;
779
- /** Filter by whether the alerting task execution status is FINISHED or FAILED. */
780
- conditionStatus?: "FINISHED" | "FAILED" | "ALL";
781
- /** Specifies required days of the month that the execution was created in */
782
- daysOfMonth?: number[];
783
- /** Specifies a filter for custom handled periods of time in which the executions were handled */
784
- daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[];
785
- /** Specifies specific properties to be populated */
786
- fields?: ("evaluationId" | "triggerTime" | "conditionStatus" | "executionEvaluationStatus" | "evaluation" | "evaluation.endTime" | "evaluation.resultData" | "evaluation.resultData.count" | "evaluation.resultData.headers" | "evaluation.resultData.positive" | "evaluation.resultData.negative" | "evaluation.resultData.dimensions" | "evaluation.resultData.measures")[];
787
- /** Specifies whether to include evaluation details */
788
- includeEvaluation?: boolean;
789
- /** Specifies whether to only show the last execution in each day */
790
- lastEachDay?: boolean;
791
- /** Limit the returned result set */
792
- limit?: number;
793
- /** Specifies the number of days required between each entry. This should require a sort by triggertime */
794
- minimumGapDays?: number;
795
- /** The cursor to the next page of data. Only one of next or previous may be specified. */
796
- next?: string;
797
- /** Offset for pagination - how many elements to skip */
798
- offset?: number;
799
- /** The cursor to the previous page of data. Only one of next or previous may be specified. */
800
- prev?: string;
801
- /** Specifies a limit number for the search query, affects total count and is not related to pagination */
802
- searchResultsLimit?: number;
803
- /** Specifies a date that executions should have been created after. Date in RFC3339Nano format, such as 2020-01-01T00:00:00.000Z */
804
- since?: string;
805
- /** Sort the returned result set by the specified field */
806
- sort?: ("triggertime" | "-triggertime" | "+triggertime")[];
807
- /** Specifies a timezone the other time-based filters in this query should consider. Expecting a momentjs format, such as America/Los_Angeles */
808
- timezone?: string;
809
- /** Filter by whether the alerting task is triggered. */
810
- triggered?: boolean;
811
- /** Specifies a date that executions should have been created before. Date in RFC3339Nano format, such as 2020-01-01T00:00:00.000Z */
812
- until?: string;
813
- }, options?: ApiCallOptions): Promise<GetDataAlertExecutionsHttpResponse>;
814
- type GetDataAlertExecutionsHttpResponse = {
815
- data: AlertingExecutionListResponse;
816
- headers: Headers;
817
- status: 200;
818
- prev?: (options?: ApiCallOptions) => Promise<GetDataAlertExecutionsHttpResponse>;
819
- next?: (options?: ApiCallOptions) => Promise<GetDataAlertExecutionsHttpResponse>;
820
- };
821
- type GetDataAlertExecutionsHttpError = {
822
- data: Errors;
823
- headers: Headers;
824
- status: number;
825
- };
826
- /**
827
- * @deprecated
828
- *
829
- * Retrieves stats for overall data alerting task executions.
830
- *
831
- * @param taskId The alerting task identifier.
832
- * @param query an object with query parameters
833
- * @throws GetDataAlertExecutionsStatsHttpError
834
- */
835
- declare function getDataAlertExecutionsStats(taskId: string, query: {
836
- /** The period by which the stats aggregation needs to be performed. */
837
- period: "month";
838
- }, options?: ApiCallOptions): Promise<GetDataAlertExecutionsStatsHttpResponse>;
839
- type GetDataAlertExecutionsStatsHttpResponse = {
840
- data: AlertingTaskExecutionStats;
841
- headers: Headers;
842
- status: 200;
843
- prev?: (options?: ApiCallOptions) => Promise<GetDataAlertExecutionsStatsHttpResponse>;
844
- next?: (options?: ApiCallOptions) => Promise<GetDataAlertExecutionsStatsHttpResponse>;
845
- };
846
- type GetDataAlertExecutionsStatsHttpError = {
847
- data: Errors;
848
- headers: Headers;
849
- status: number;
850
- };
851
- /**
852
- * Retrieves the content of an evaluation for a specified data alerting task execution.
853
- *
854
- * @param taskId The alerting task identifier.
855
- * @param executionId The execution identifier.
856
- * @throws GetDataAlertExecutionEvaluationsHttpError
857
- */
858
- declare function getDataAlertExecutionEvaluations(taskId: string, executionId: string, options?: ApiCallOptions): Promise<GetDataAlertExecutionEvaluationsHttpResponse>;
859
- type GetDataAlertExecutionEvaluationsHttpResponse = {
860
- data: EvaluationGetResponse;
861
- headers: Headers;
862
- status: 200;
863
- };
864
- type GetDataAlertExecutionEvaluationsHttpError = {
865
- data: Errors;
866
- headers: Headers;
867
- status: number;
868
- };
869
- /**
870
- * Clears the cache for data-alerts api requests.
871
- */
872
- declare function clearCache(): void;
873
- type DataAlertsAPI = {
874
- /**
875
- * Retrieves all data alert tasks accessible to the user. Users assigned the `TenantAdmin` or `AnalyticsAdmin` role can view all tasks.
876
- *
877
- * @param query an object with query parameters
878
- * @throws GetDataAlertsHttpError
879
- */
880
- getDataAlerts: typeof getDataAlerts;
881
- /**
882
- * Creates a new data alerting task.
883
- *
884
- * @param body an object with the body content
885
- * @throws CreateDataAlertHttpError
886
- */
887
- createDataAlert: typeof createDataAlert;
888
- /**
889
- * Creates a new data alerting task trigger action.
890
- *
891
- * @param body an object with the body content
892
- * @throws TriggerDataAlertsHttpError
893
- */
894
- triggerDataAlerts: typeof triggerDataAlerts;
895
- /**
896
- * Validates a new data alerting task. Current support includes validation for recipients only.
897
- *
898
- * @param body an object with the body content
899
- * @throws ValidateDataAlertsHttpError
900
- */
901
- validateDataAlerts: typeof validateDataAlerts;
902
- /**
903
- * Retrieves the current settings for data alerts.
904
- *
905
- * @throws GetDataAlertsSettingsHttpError
906
- */
907
- getDataAlertsSettings: typeof getDataAlertsSettings;
908
- /**
909
- * Updates the settings for data alerts. User must be assigned the `TenantAdmin` role.
910
- *
911
- * @param body an object with the body content
912
- * @throws SetDataAlertsSettingsHttpError
913
- */
914
- setDataAlertsSettings: typeof setDataAlertsSettings;
915
- /**
916
- * Deletes a specific data alerting task.
917
- *
918
- * @param alertId The alerting task identifier.
919
- * @throws DeleteDataAlertHttpError
920
- */
921
- deleteDataAlert: typeof deleteDataAlert;
922
- /**
923
- * Returns the details of a specific data alert task.
924
- *
925
- * @param alertId The alerting task identifier.
926
- * @throws GetDataAlertHttpError
927
- */
928
- getDataAlert: typeof getDataAlert;
929
- /**
930
- * Updates one or more properties of a specific data alerting task.
931
- *
932
- * @param alertId The alerting task identifier.
933
- * @param body an object with the body content
934
- * @throws PatchDataAlertHttpError
935
- */
936
- patchDataAlert: typeof patchDataAlert;
937
- /**
938
- * Retrieves the condition associated with a data alerting task.
939
- *
940
- * @param alertId The alerting task identifier.
941
- * @throws GetDataAlertConditionHttpError
942
- */
943
- getDataAlertCondition: typeof getDataAlertCondition;
944
- /**
945
- * Deletes a specific data alerting task execution.
946
- *
947
- * @param alertId The alerting task identifier.
948
- * @param executionId The execution identifier.
949
- * @throws DeleteDataAlertExecutionHttpError
950
- */
951
- deleteDataAlertExecution: typeof deleteDataAlertExecution;
952
- /**
953
- * Retrieves a specific execution for the specified data alerting task.
954
- *
955
- * @param alertId The alerting task identifier.
956
- * @param executionId The execution identifier. If value is "latest", the latest execution will be returned
957
- * @throws GetDataAlertExecutionHttpError
958
- */
959
- getDataAlertExecution: typeof getDataAlertExecution;
960
- /**
961
- * Retrieve the recipient stats for a data alerting task.
962
- *
963
- * @param alertId The alerting task identifier.
964
- * @param query an object with query parameters
965
- * @throws GetDataAlertRecipientStatsHttpError
966
- */
967
- getDataAlertRecipientStats: typeof getDataAlertRecipientStats;
968
- /**
969
- * Lists executions for the specified data alerting task.
970
- *
971
- * @param taskId The alerting task identifier.
972
- * @param query an object with query parameters
973
- * @throws GetDataAlertExecutionsHttpError
974
- */
975
- getDataAlertExecutions: typeof getDataAlertExecutions;
976
- /**
977
- * @deprecated
978
- *
979
- * Retrieves stats for overall data alerting task executions.
980
- *
981
- * @param taskId The alerting task identifier.
982
- * @param query an object with query parameters
983
- * @throws GetDataAlertExecutionsStatsHttpError
984
- */
985
- getDataAlertExecutionsStats: typeof getDataAlertExecutionsStats;
986
- /**
987
- * Retrieves the content of an evaluation for a specified data alerting task execution.
988
- *
989
- * @param taskId The alerting task identifier.
990
- * @param executionId The execution identifier.
991
- * @throws GetDataAlertExecutionEvaluationsHttpError
992
- */
993
- getDataAlertExecutionEvaluations: typeof getDataAlertExecutionEvaluations;
994
- /**
995
- * Clears the cache for data-alerts api requests.
996
- */
997
- clearCache: typeof clearCache;
998
- };
999
- /**
1000
- * Functions for the data-alerts api
1001
- */
1002
- declare const dataAlertsExport: DataAlertsAPI;
1003
- //#endregion
1004
- export { GetDataAlertHttpError as $, CreateDataAlertHttpError as A, dataAlertsExport as At, Evaluation as B, getDataAlerts as Bt, AlertingTaskRecipientError as C, TriggerDataAlertsHttpError as Ct, AlertingTaskTriggerStats as D, ValidateDataAlertsHttpResponse as Dt, AlertingTaskResponse as E, ValidateDataAlertsHttpError as Et, DeleteDataAlertHttpError as F, getDataAlertExecution as Ft, GetDataAlertExecutionEvaluationsHttpError as G, validateDataAlerts as Gt, ExecutionStats as H, patchDataAlert as Ht, DeleteDataAlertHttpResponse as I, getDataAlertExecutionEvaluations as It, GetDataAlertExecutionHttpResponse as J, GetDataAlertExecutionEvaluationsHttpResponse as K, Error as L, getDataAlertExecutions as Lt, DataAlertsAPI as M, deleteDataAlertExecution as Mt, DeleteDataAlertExecutionHttpError as N, getDataAlert as Nt, AlertingTaskValidation as O, clearCache as Ot, DeleteDataAlertExecutionHttpResponse as P, getDataAlertCondition as Pt, GetDataAlertExecutionsStatsHttpResponse as Q, ErrorMeta as R, getDataAlertExecutionsStats as Rt, AlertingTaskPatchRequestCompliantList as S, ThrottlingResource as St, AlertingTaskRecipientPatchInner as T, UserIDRecipient as Tt, GetDataAlertConditionHttpError as U, setDataAlertsSettings as Ut, EvaluationGetResponse as V, getDataAlertsSettings as Vt, GetDataAlertConditionHttpResponse as W, triggerDataAlerts as Wt, GetDataAlertExecutionsHttpResponse as X, GetDataAlertExecutionsHttpError as Y, GetDataAlertExecutionsStatsHttpError as Z, AlertingTaskError as _, SetDataAlertsSettingsHttpError as _t, AlertingExecutionErrors as a, GetDataAlertsSettingsHttpError as at, AlertingTaskListResponse as b, TaskGroupRecipientError as bt, AlertingExecutionResponse as c, Links as ct, AlertingRecipientStatsError as d, PatchDataAlertHttpError as dt, GetDataAlertHttpResponse as et, AlertingRecipientStatsErrors as f, PatchDataAlertHttpResponse as ft, AlertingTaskCreateRequest as g, Self as gt, AlertingSettingsUpload as h, ScheduleOptions as ht, AlertingExecutionError as i, GetDataAlertsHttpResponse as it, CreateDataAlertHttpResponse as j, deleteDataAlert as jt, AlertingTaskValidationResponse as k, createDataAlert as kt, AlertingExecutionResult as l, ListLinks as lt, AlertingSettings as m, RecipientsChange as mt, AlertingActionsTriggerCreateResponse as n, GetDataAlertRecipientStatsHttpResponse as nt, AlertingExecutionListResponse as o, GetDataAlertsSettingsHttpResponse as ot, AlertingRecipientStatsResponse as p, Recipients as pt, GetDataAlertExecutionHttpError as q, AlertingConditionResponse as r, GetDataAlertsHttpError as rt, AlertingExecutionPersist as s, GroupIDRecipient as st, AlertingActionsTriggerCreateRequest as t, GetDataAlertRecipientStatsHttpError as tt, AlertingRecipientStats as u, Page as ut, AlertingTaskExecutionStats as v, SetDataAlertsSettingsHttpResponse as vt, AlertingTaskRecipientPatch as w, TriggerDataAlertsHttpResponse as wt, AlertingTaskPatchRequestCompliant as x, TaskRecipientError as xt, AlertingTaskGroupRecipientError as y, StandardListResponseProps as yt, Errors as z, getDataAlertRecipientStats as zt };