@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.
- package/analytics/change-stores.d.ts +386 -0
- package/analytics/change-stores.js +123 -0
- package/analytics.d.ts +14 -0
- package/analytics.js +13 -0
- package/api-keys.d.ts +362 -3
- package/api-keys.js +2 -3
- package/apps.d.ts +2673 -3
- package/apps.js +2 -3
- package/assistants.d.ts +1370 -3
- package/assistants.js +2 -3
- package/audits.d.ts +318 -3
- package/audits.js +4 -4
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -2
- package/auth.d.ts +94 -2
- package/auth.js +63 -3
- package/automation-connections.d.ts +366 -3
- package/automation-connections.js +2 -3
- package/automation-connectors.d.ts +84 -3
- package/automation-connectors.js +2 -3
- package/automations.d.ts +805 -3
- package/automations.js +2 -3
- package/automl-deployments.d.ts +101 -3
- package/automl-deployments.js +2 -3
- package/automl-predictions.d.ts +238 -3
- package/automl-predictions.js +2 -3
- package/banners.d.ts +184 -3
- package/banners.js +2 -3
- package/brands.d.ts +670 -3
- package/brands.js +2 -3
- package/chunks/auth-XusKk8IA.js +32 -0
- package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
- package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
- package/chunks/{auth-functions-BmZgZYSs.js → interceptors-2VSXImC9.js} +498 -146
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-CckTK7bh.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-D9lpiAb-.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-BqxAMJ9M.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-DpvHvpx7.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-BXZPnE6J.js} +48 -50
- package/collections.d.ts +582 -3
- package/collections.js +2 -3
- package/conditions.d.ts +662 -3
- package/conditions.js +2 -3
- package/consumption.d.ts +182 -3
- package/consumption.js +2 -3
- package/core/ip-policies.d.ts +328 -4
- package/core/ip-policies.js +108 -5
- package/core.d.ts +13 -4
- package/core.js +3 -4
- package/csp-origins.d.ts +273 -3
- package/csp-origins.js +2 -3
- package/csrf-token.d.ts +62 -3
- package/csrf-token.js +2 -3
- package/data-alerts.d.ts +1004 -3
- package/data-alerts.js +2 -3
- package/data-assets.d.ts +207 -3
- package/data-assets.js +2 -3
- package/data-connections.d.ts +678 -3
- package/data-connections.js +2 -3
- package/data-credentials.d.ts +292 -3
- package/data-credentials.js +2 -3
- package/data-files.d.ts +860 -3
- package/data-files.js +2 -3
- package/data-qualities.d.ts +175 -3
- package/data-qualities.js +2 -3
- package/data-sets.d.ts +424 -3
- package/data-sets.js +2 -3
- package/data-sources.d.ts +348 -3
- package/data-sources.js +2 -3
- package/data-stores.d.ts +537 -3
- package/data-stores.js +2 -3
- package/dcaas.d.ts +192 -3
- package/dcaas.js +2 -3
- package/di-projects.d.ts +812 -4
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +710 -4
- package/direct-access-agents.js +37 -5
- package/docs/authentication.md +1 -1
- package/encryption.d.ts +372 -3
- package/encryption.js +2 -3
- package/extensions.d.ts +295 -3
- package/extensions.js +2 -3
- package/global-types.d.ts +1 -1
- package/global-types.js +0 -2
- package/glossaries.d.ts +1223 -3
- package/glossaries.js +2 -3
- package/groups.d.ts +510 -3
- package/groups.js +2 -3
- package/identity-providers.d.ts +711 -3
- package/identity-providers.js +2 -3
- package/index.d.ts +78 -69
- package/index.js +28 -10
- package/interceptors.d.ts +52 -3
- package/interceptors.js +1 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +536 -3
- package/items.js +2 -3
- package/knowledgebases.d.ts +976 -3
- package/knowledgebases.js +2 -3
- package/licenses.d.ts +663 -3
- package/licenses.js +2 -3
- package/lineage-graphs.d.ts +704 -3
- package/lineage-graphs.js +2 -3
- package/ml.d.ts +2808 -3
- package/ml.js +2 -3
- package/notes.d.ts +110 -3
- package/notes.js +2 -3
- package/notifications.d.ts +98 -3
- package/notifications.js +2 -3
- package/oauth-callback.iife.js +1151 -0
- package/oauth-clients.d.ts +562 -3
- package/oauth-clients.js +2 -3
- package/oauth-tokens.d.ts +126 -3
- package/oauth-tokens.js +2 -3
- package/package.json +5 -4
- package/qix.d.ts +3 -3
- package/qix.js +38 -3
- package/questions.d.ts +364 -3
- package/questions.js +2 -3
- package/quotas.d.ts +112 -3
- package/quotas.js +2 -3
- package/reload-tasks.d.ts +249 -3
- package/reload-tasks.js +2 -3
- package/reloads.d.ts +260 -3
- package/reloads.js +2 -3
- package/report-templates.d.ts +287 -3
- package/report-templates.js +2 -3
- package/reports.d.ts +863 -3
- package/reports.js +2 -3
- package/roles.d.ts +312 -3
- package/roles.js +2 -3
- package/sharing-tasks.d.ts +1164 -3
- package/sharing-tasks.js +2 -3
- package/spaces.d.ts +779 -3
- package/spaces.js +2 -3
- package/tasks.d.ts +564 -3
- package/tasks.js +2 -3
- package/temp-contents.d.ts +167 -3
- package/temp-contents.js +2 -3
- package/tenants.d.ts +360 -3
- package/tenants.js +2 -3
- package/themes.d.ts +270 -3
- package/themes.js +2 -3
- package/transports.d.ts +435 -4
- package/transports.js +20 -5
- package/ui-config.d.ts +274 -3
- package/ui-config.js +2 -3
- package/users.d.ts +674 -3
- package/users.js +2 -3
- package/web-integrations.d.ts +294 -3
- package/web-integrations.js +2 -3
- package/web-notifications.d.ts +273 -3
- package/web-notifications.js +2 -3
- package/webhooks.d.ts +505 -3
- package/webhooks.js +2 -3
- package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
- package/chunks/apps-BwpXUGDb.d.ts +0 -2673
- package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
- package/chunks/audits-DakwzT97.d.ts +0 -316
- package/chunks/auth-6mptVm5Q.d.ts +0 -95
- package/chunks/auth-Cle0_tmz.js +0 -32
- package/chunks/auth-D11iO7ZV.js +0 -65
- package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
- package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
- package/chunks/automations-BGy83EBO.d.ts +0 -797
- package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
- package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
- package/chunks/banners-CgBRnZGv.d.ts +0 -184
- package/chunks/brands-DCgk6Gqx.d.ts +0 -671
- package/chunks/collections-BpYjcpIY.d.ts +0 -582
- package/chunks/conditions-CJJG7Uph.d.ts +0 -662
- package/chunks/consumption-DerFk437.d.ts +0 -182
- package/chunks/core-DQXNZdnf.d.ts +0 -12
- package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
- package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
- package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
- package/chunks/data-assets-CJDcssoX.d.ts +0 -207
- package/chunks/data-connections-VSB13K6g.d.ts +0 -678
- package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
- package/chunks/data-files-CVzn9M6V.d.ts +0 -860
- package/chunks/data-qualities-DBrot957.d.ts +0 -176
- package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
- package/chunks/data-sources-IsAaof_C.d.ts +0 -346
- package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
- package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
- package/chunks/di-projects-DVQTxASr.d.ts +0 -777
- package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
- package/chunks/encryption-BjA6xbCO.d.ts +0 -372
- package/chunks/extensions-OO0WtInj.d.ts +0 -294
- package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
- package/chunks/groups-C86-UG7S.d.ts +0 -511
- package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
- package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
- package/chunks/interceptors-DTYm37AU.js +0 -104
- package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
- package/chunks/ip-policies-DXlf172B.js +0 -108
- package/chunks/items-C-jzqvFW.d.ts +0 -536
- package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
- package/chunks/licenses-xzjnkitW.d.ts +0 -663
- package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
- package/chunks/ml-Abt2MUva.d.ts +0 -2809
- package/chunks/notes-BZxuyDgt.d.ts +0 -111
- package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
- package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
- package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
- package/chunks/qix-CYQsLyGQ.js +0 -40
- package/chunks/questions-BVp0tvNs.d.ts +0 -364
- package/chunks/quotas-CfAebRJd.d.ts +0 -113
- package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
- package/chunks/reloads-CwmagnFx.d.ts +0 -260
- package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
- package/chunks/reports-DzNC6Uq3.d.ts +0 -861
- package/chunks/roles-BYFIY6E7.d.ts +0 -312
- package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
- package/chunks/spaces-BK823t-b.d.ts +0 -780
- package/chunks/tasks-COKDfShO.d.ts +0 -564
- package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
- package/chunks/tenants-Bhn86519.d.ts +0 -361
- package/chunks/themes-v9NbhiBo.d.ts +0 -269
- package/chunks/transports-CqEiFxD3.d.ts +0 -362
- package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
- package/chunks/users-BSOBU_fg.d.ts +0 -675
- package/chunks/web-integrations-MisPAHod.d.ts +0 -295
- package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
- package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
- /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
- /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
- /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
- /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
- /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
- /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
|
@@ -1,564 +0,0 @@
|
|
|
1
|
-
import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
|
|
2
|
-
|
|
3
|
-
//#region src/public/rest/tasks.d.ts
|
|
4
|
-
type ErrorResponse = {
|
|
5
|
-
errors?: HttpResult[];
|
|
6
|
-
/** A way to trace the source of the error. */
|
|
7
|
-
traceId?: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Workflow CloudEvent definitions. Defines CloudEvents that can be consumed or produced
|
|
11
|
-
*/
|
|
12
|
-
type Events = Eventdef[];
|
|
13
|
-
type HttpResult = {
|
|
14
|
-
code?: number;
|
|
15
|
-
context?: string;
|
|
16
|
-
inner?: HttpResult;
|
|
17
|
-
result?: unknown;
|
|
18
|
-
timestamp?: string;
|
|
19
|
-
title?: string;
|
|
20
|
-
};
|
|
21
|
-
type Link = {
|
|
22
|
-
/** URL to a resource request */
|
|
23
|
-
href: string;
|
|
24
|
-
};
|
|
25
|
-
type OrchMeta = {
|
|
26
|
-
attrs?: Record<string, string>;
|
|
27
|
-
/** The ID of the orchestration associated with the task in the choreographer */
|
|
28
|
-
id: string;
|
|
29
|
-
/** orchestration system type */
|
|
30
|
-
type: 0 | 1 | 2 | 3;
|
|
31
|
-
};
|
|
32
|
-
type OrchRun = {
|
|
33
|
-
/** The ID of the action */
|
|
34
|
-
actionId: string;
|
|
35
|
-
/** The UTC timestamp when the task run ended */
|
|
36
|
-
readonly endedAt?: string;
|
|
37
|
-
/** user ID of on behalf of whom the Task was executed. */
|
|
38
|
-
executedAs?: string;
|
|
39
|
-
/** The ID of the task run */
|
|
40
|
-
id: string;
|
|
41
|
-
/** log info of the run */
|
|
42
|
-
log?: string;
|
|
43
|
-
/** The ID of the resource */
|
|
44
|
-
resourceId: string;
|
|
45
|
-
/** The UTC timestamp when the task run started */
|
|
46
|
-
readonly startedAt?: string;
|
|
47
|
-
/** task run status */
|
|
48
|
-
status: "RUNNING" | "SUCCEEDED" | "FAILED";
|
|
49
|
-
/** The ID of the task */
|
|
50
|
-
taskId: string;
|
|
51
|
-
taskMeta: TaskMetadata;
|
|
52
|
-
/** task name */
|
|
53
|
-
taskName: string;
|
|
54
|
-
/** Information about who or what triggered the task run. */
|
|
55
|
-
triggeredBy: string;
|
|
56
|
-
/** The ID of the worker who is carrying out the real job. e.g. App.Reload job is carried out by Reload Engine, in this case, workerId will be reloadId from reload engine. Or, if we are using Automation, workerId will be Automation runId. */
|
|
57
|
-
workerId: string;
|
|
58
|
-
/** worker type or target system */
|
|
59
|
-
workerType: string;
|
|
60
|
-
};
|
|
61
|
-
type OrchRunList = {
|
|
62
|
-
data?: OrchRun[];
|
|
63
|
-
links?: {
|
|
64
|
-
next?: Link;
|
|
65
|
-
prev?: Link;
|
|
66
|
-
self?: Link;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
type Task = {
|
|
70
|
-
/** List of helpful terms describing the workflows intended purpose, subject areas, or other important qualities */
|
|
71
|
-
annotations?: string[];
|
|
72
|
-
/** Workflow description */
|
|
73
|
-
description?: string;
|
|
74
|
-
/** Indicates whether the task is enabled or not */
|
|
75
|
-
enabled?: boolean;
|
|
76
|
-
/** Workflow CloudEvent definitions. Defines CloudEvents that can be consumed or produced */
|
|
77
|
-
events?: Events;
|
|
78
|
-
/** The choreographer's unique identifier */
|
|
79
|
-
readonly id?: string;
|
|
80
|
-
/** If 'true', workflow instances is not terminated when there are no active execution paths. Instance can be terminated via 'terminate end definition' or reaching defined 'workflowExecTimeout' */
|
|
81
|
-
keepActive?: boolean;
|
|
82
|
-
/** Optional expression that will be used to generate a domain-specific workflow instance identifier */
|
|
83
|
-
key?: string;
|
|
84
|
-
metadata?: TaskMetadata;
|
|
85
|
-
/** The name that identifies the workflow definition, and which, when combined with its version, forms a unique identifier. */
|
|
86
|
-
name: string;
|
|
87
|
-
/** The resource ID of the task. The `Task.resourceId` value from user input is ignored and will be calculated automatically from `Task.states`. */
|
|
88
|
-
resourceId?: string;
|
|
89
|
-
/** Serverless Workflow schema version */
|
|
90
|
-
specVersion: string;
|
|
91
|
-
start?: Startdef;
|
|
92
|
-
/** State definitions */
|
|
93
|
-
states?: Eventstate[];
|
|
94
|
-
/** Workflow version */
|
|
95
|
-
version?: string;
|
|
96
|
-
};
|
|
97
|
-
type TaskList = {
|
|
98
|
-
data?: Task[];
|
|
99
|
-
links?: {
|
|
100
|
-
next?: Link;
|
|
101
|
-
prev?: Link;
|
|
102
|
-
self?: Link;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
type TriggerMeta = {
|
|
106
|
-
/** The ID of the Trigger associated with the task in the choreographer */
|
|
107
|
-
id: string;
|
|
108
|
-
/** trigger type */
|
|
109
|
-
type: 0 | 1 | 2 | 3;
|
|
110
|
-
};
|
|
111
|
-
type Action = {
|
|
112
|
-
/** Expression, if defined, must evaluate to true for this action to be performed. If false, action is disregarded */
|
|
113
|
-
condition?: string;
|
|
114
|
-
functionRef?: Functionref;
|
|
115
|
-
/** Unique action definition name */
|
|
116
|
-
name?: string;
|
|
117
|
-
/** List of unique references to defined workflow errors for which the action should not be retried. Used only when `autoRetries` is set to `true` */
|
|
118
|
-
nonRetryableErrors?: string[];
|
|
119
|
-
/** References a defined workflow retry definition. If not defined the default retry policy is assumed */
|
|
120
|
-
retryRef?: string;
|
|
121
|
-
/** List of unique references to defined workflow errors for which the action should be retried. Used only when `autoRetries` is set to `false` */
|
|
122
|
-
retryableErrors?: string[];
|
|
123
|
-
} & unknown;
|
|
124
|
-
/**
|
|
125
|
-
* Action execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
|
|
126
|
-
*/
|
|
127
|
-
type ActionExecTimeout = string;
|
|
128
|
-
/**
|
|
129
|
-
* CloudEvent correlation definition
|
|
130
|
-
*/
|
|
131
|
-
type CorrelationDef = {
|
|
132
|
-
/** CloudEvent Extension Context Attribute name */
|
|
133
|
-
contextAttributeName: "id" | "status";
|
|
134
|
-
/** CloudEvent Extension Context Attribute value */
|
|
135
|
-
contextAttributeValue?: string;
|
|
136
|
-
};
|
|
137
|
-
type Crondef = string | {
|
|
138
|
-
/** Repeating interval (cron expression) describing when the workflow instance should be created */
|
|
139
|
-
expression: string;
|
|
140
|
-
/** Specific date and time (ISO 8601 format) when the cron expression invocation is no longer valid */
|
|
141
|
-
validUntil?: string;
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* State end definition
|
|
145
|
-
*/
|
|
146
|
-
type End = boolean;
|
|
147
|
-
/**
|
|
148
|
-
* Timeout duration to wait for consuming defined events (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
|
|
149
|
-
*/
|
|
150
|
-
type EventTimeout = string;
|
|
151
|
-
type Eventdef = {
|
|
152
|
-
/** CloudEvent correlation definitions */
|
|
153
|
-
correlation?: CorrelationDef[];
|
|
154
|
-
/** If `true`, only the Event payload is accessible to consuming Workflow states. If `false`, both event payload and context attributes should be accessible */
|
|
155
|
-
dataOnly?: boolean;
|
|
156
|
-
/** Unique event name */
|
|
157
|
-
name?: string;
|
|
158
|
-
/** CloudEvent source */
|
|
159
|
-
source?: "system-events.task";
|
|
160
|
-
/** CloudEvent type */
|
|
161
|
-
type?: "com.qlik.v1.task.run.finished";
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* This state is used to wait for events from event sources, then consumes them and invoke one or more actions to run in sequence or parallel
|
|
165
|
-
*/
|
|
166
|
-
type Eventstate = {
|
|
167
|
-
/** Unique Name of a workflow state which is responsible for compensation of this state */
|
|
168
|
-
compensatedBy?: string;
|
|
169
|
-
/** State end definition */
|
|
170
|
-
end?: End;
|
|
171
|
-
/** If true consuming one of the defined events causes its associated actions to be performed. If false all of the defined events must be consumed in order for actions to be performed */
|
|
172
|
-
exclusive?: boolean;
|
|
173
|
-
/** State name */
|
|
174
|
-
name?: string;
|
|
175
|
-
/** Define the events to be consumed and optional actions to be performed */
|
|
176
|
-
onEvents?: Onevents[];
|
|
177
|
-
/** State specific timeouts */
|
|
178
|
-
timeouts?: {
|
|
179
|
-
/** Action execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
180
|
-
actionExecTimeout?: ActionExecTimeout;
|
|
181
|
-
/** Timeout duration to wait for consuming defined events (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
182
|
-
eventTimeout?: EventTimeout;
|
|
183
|
-
/** Workflow state execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
184
|
-
stateExecTimeout?: StateExecTimeout;
|
|
185
|
-
};
|
|
186
|
-
/** State type */
|
|
187
|
-
type?: "EVENT";
|
|
188
|
-
} & unknown;
|
|
189
|
-
type Functionref = string | {
|
|
190
|
-
/** Function arguments/inputs */
|
|
191
|
-
arguments?: unknown;
|
|
192
|
-
/** Specifies if the function should be invoked sync or async */
|
|
193
|
-
invoke?: "SYNC" | "ASYNC";
|
|
194
|
-
/** Name of the referenced function */
|
|
195
|
-
refName: "app.reload";
|
|
196
|
-
/** Only used if function type is 'graphql'. A string containing a valid GraphQL selection set */
|
|
197
|
-
selectionSet?: string;
|
|
198
|
-
};
|
|
199
|
-
type Onevents = {
|
|
200
|
-
/** Specifies how actions are to be performed (in sequence or in parallel) */
|
|
201
|
-
actionMode?: "SEQUENTIAL" | "PARALLEL";
|
|
202
|
-
/** Actions to be performed if expression matches */
|
|
203
|
-
actions?: Action[];
|
|
204
|
-
/** References one or more unique event names in the defined workflow events */
|
|
205
|
-
eventRefs: string[];
|
|
206
|
-
};
|
|
207
|
-
type Schedule = string | ({
|
|
208
|
-
cron?: Crondef;
|
|
209
|
-
/** Specific date and time (ISO 8601 format) when the workflow instance should be terminated */
|
|
210
|
-
endDateTime?: string;
|
|
211
|
-
/** Time interval (must be repeating interval) described with ISO 8601 format. Declares when workflow instances will be automatically created. */
|
|
212
|
-
interval?: string;
|
|
213
|
-
/** The RRULE recurrence string for chronos job */
|
|
214
|
-
recurrence?: string;
|
|
215
|
-
/** Specific date and time (ISO 8601 format) when the workflow instance should be created */
|
|
216
|
-
startDateTime?: string;
|
|
217
|
-
/** Timezone name used to evaluate the interval & cron-expression. (default: UTC) */
|
|
218
|
-
timezone?: string;
|
|
219
|
-
} & unknown);
|
|
220
|
-
type Startdef = {
|
|
221
|
-
schedule: Schedule;
|
|
222
|
-
/** Name of the starting workflow state */
|
|
223
|
-
stateName?: string;
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* Workflow state execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
|
|
227
|
-
*/
|
|
228
|
-
type StateExecTimeout = string;
|
|
229
|
-
type TaskMetadata = {
|
|
230
|
-
/** The UTC timestamp when the task was created */
|
|
231
|
-
readonly createdAt?: string;
|
|
232
|
-
/** The user ID of the user that created the task */
|
|
233
|
-
createdBy?: string;
|
|
234
|
-
/** The UTC timestamp when the task was deleted */
|
|
235
|
-
readonly deletedAt?: string;
|
|
236
|
-
/** why the Task is disabled */
|
|
237
|
-
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "APP-SCRIPT-UPDATED" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
238
|
-
/** The ID of the reload-task this one was migrated from (if applicable) */
|
|
239
|
-
migratedFrom?: string;
|
|
240
|
-
orchestration?: OrchMeta;
|
|
241
|
-
/** The user ID of the owner of the task */
|
|
242
|
-
ownerId?: string;
|
|
243
|
-
/** The space ID that the Task will operate in */
|
|
244
|
-
spaceId?: string;
|
|
245
|
-
/** The tenant ID that the Task will operate in */
|
|
246
|
-
tenantId?: string;
|
|
247
|
-
trigger?: TriggerMeta;
|
|
248
|
-
/** The UTC timestamp when the task was last updated */
|
|
249
|
-
updatedAt?: string;
|
|
250
|
-
/** resource usage. Normally it means in which product domain the resource is used. if this field is not presented, it has default of `ANALYTICS` */
|
|
251
|
-
usage?: "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP";
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* Retrieves a list of the tasks that the requesting user has access to.
|
|
255
|
-
*
|
|
256
|
-
* @param query an object with query parameters
|
|
257
|
-
* @throws GetTasksHttpError
|
|
258
|
-
*/
|
|
259
|
-
declare function getTasks(query: {
|
|
260
|
-
/** The maximum number of resources to return for a request. */
|
|
261
|
-
limit?: number;
|
|
262
|
-
/** The page cursor. */
|
|
263
|
-
page?: string;
|
|
264
|
-
/** Filter tasks by its target resource ID. */
|
|
265
|
-
resourceId?: string;
|
|
266
|
-
/** The property of a resource to sort on (default sort is
|
|
267
|
-
* -updatedAt). A property must be prefixed by + or - to
|
|
268
|
-
* indicate ascending or descending sort order respectively. */
|
|
269
|
-
sort?: "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt";
|
|
270
|
-
}, options?: ApiCallOptions): Promise<GetTasksHttpResponse>;
|
|
271
|
-
type GetTasksHttpResponse = {
|
|
272
|
-
data: TaskList;
|
|
273
|
-
headers: Headers;
|
|
274
|
-
status: 200;
|
|
275
|
-
prev?: (options?: ApiCallOptions) => Promise<GetTasksHttpResponse>;
|
|
276
|
-
next?: (options?: ApiCallOptions) => Promise<GetTasksHttpResponse>;
|
|
277
|
-
};
|
|
278
|
-
type GetTasksHttpError = {
|
|
279
|
-
data: ErrorResponse;
|
|
280
|
-
headers: Headers;
|
|
281
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
282
|
-
};
|
|
283
|
-
/**
|
|
284
|
-
* Creates a new task.
|
|
285
|
-
*
|
|
286
|
-
* @param query an object with query parameters
|
|
287
|
-
* @param body an object with the body content
|
|
288
|
-
* @throws CreateTaskHttpError
|
|
289
|
-
*/
|
|
290
|
-
declare function createTask(query: {
|
|
291
|
-
/** ID of the reload-task to migrate from the old system (optional). */
|
|
292
|
-
migrateFrom?: string;
|
|
293
|
-
}, body: Task, options?: ApiCallOptions): Promise<CreateTaskHttpResponse>;
|
|
294
|
-
type CreateTaskHttpResponse = {
|
|
295
|
-
data: Task;
|
|
296
|
-
headers: Headers;
|
|
297
|
-
status: 201;
|
|
298
|
-
};
|
|
299
|
-
type CreateTaskHttpError = {
|
|
300
|
-
data: ErrorResponse;
|
|
301
|
-
headers: Headers;
|
|
302
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
303
|
-
};
|
|
304
|
-
/**
|
|
305
|
-
* Returns a list of task runs for a specified `resourceId`.
|
|
306
|
-
*
|
|
307
|
-
* @param id Filter tasks by its target resource ID
|
|
308
|
-
* @param query an object with query parameters
|
|
309
|
-
* @throws GetTasksResourceRunsHttpError
|
|
310
|
-
*/
|
|
311
|
-
declare function getTasksResourceRuns(id: string, query: {
|
|
312
|
-
/** The maximum number of task runs to return for a request. */
|
|
313
|
-
limit?: number;
|
|
314
|
-
/** The page cursor. */
|
|
315
|
-
page?: string;
|
|
316
|
-
/** The property of a resource to sort on (default sort is -startedAt).
|
|
317
|
-
* A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
318
|
-
sort?: "+startedAt" | "-startedAt" | "+endedAt" | "-endedAt" | "+status" | "-status" | "+taskId" | "-taskId" | "+actionId" | "-actionId";
|
|
319
|
-
}, options?: ApiCallOptions): Promise<GetTasksResourceRunsHttpResponse>;
|
|
320
|
-
type GetTasksResourceRunsHttpResponse = {
|
|
321
|
-
data: OrchRunList;
|
|
322
|
-
headers: Headers;
|
|
323
|
-
status: 200;
|
|
324
|
-
prev?: (options?: ApiCallOptions) => Promise<GetTasksResourceRunsHttpResponse>;
|
|
325
|
-
next?: (options?: ApiCallOptions) => Promise<GetTasksResourceRunsHttpResponse>;
|
|
326
|
-
};
|
|
327
|
-
type GetTasksResourceRunsHttpError = {
|
|
328
|
-
data: ErrorResponse;
|
|
329
|
-
headers: Headers;
|
|
330
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
331
|
-
};
|
|
332
|
-
/**
|
|
333
|
-
* Deletes a specific task.
|
|
334
|
-
*
|
|
335
|
-
* @param id The task's unique identifier.
|
|
336
|
-
* @throws DeleteTaskHttpError
|
|
337
|
-
*/
|
|
338
|
-
declare function deleteTask(id: string, options?: ApiCallOptions): Promise<DeleteTaskHttpResponse>;
|
|
339
|
-
type DeleteTaskHttpResponse = {
|
|
340
|
-
data: void;
|
|
341
|
-
headers: Headers;
|
|
342
|
-
status: 204;
|
|
343
|
-
};
|
|
344
|
-
type DeleteTaskHttpError = {
|
|
345
|
-
data: ErrorResponse;
|
|
346
|
-
headers: Headers;
|
|
347
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
348
|
-
};
|
|
349
|
-
/**
|
|
350
|
-
* Retrieves details for a specific task.
|
|
351
|
-
*
|
|
352
|
-
* @param id The task's unique identifier.
|
|
353
|
-
* @throws GetTaskHttpError
|
|
354
|
-
*/
|
|
355
|
-
declare function getTask(id: string, options?: ApiCallOptions): Promise<GetTaskHttpResponse>;
|
|
356
|
-
type GetTaskHttpResponse = {
|
|
357
|
-
data: Task;
|
|
358
|
-
headers: Headers;
|
|
359
|
-
status: 200;
|
|
360
|
-
};
|
|
361
|
-
type GetTaskHttpError = {
|
|
362
|
-
data: ErrorResponse;
|
|
363
|
-
headers: Headers;
|
|
364
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
365
|
-
};
|
|
366
|
-
/**
|
|
367
|
-
* Updates a specific task. If the task is owned by another user, ownership will be transferred to the requesting user.
|
|
368
|
-
*
|
|
369
|
-
* @param id The task's unique identifier.
|
|
370
|
-
* @param body an object with the body content
|
|
371
|
-
* @throws UpdateTaskHttpError
|
|
372
|
-
*/
|
|
373
|
-
declare function updateTask(id: string, body: Task, options?: ApiCallOptions): Promise<UpdateTaskHttpResponse>;
|
|
374
|
-
type UpdateTaskHttpResponse = {
|
|
375
|
-
data: Task;
|
|
376
|
-
headers: Headers;
|
|
377
|
-
status: 200;
|
|
378
|
-
};
|
|
379
|
-
type UpdateTaskHttpError = {
|
|
380
|
-
data: ErrorResponse;
|
|
381
|
-
headers: Headers;
|
|
382
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* Starts the specified task.
|
|
386
|
-
*
|
|
387
|
-
* @param id The task's unique identifier.
|
|
388
|
-
* @param query an object with query parameters
|
|
389
|
-
* @throws StartTaskHttpError
|
|
390
|
-
*/
|
|
391
|
-
declare function startTask(id: string, query: {
|
|
392
|
-
/** Indicates the origin of the trigger. If not provided, defaults to 'manual'. For event-triggered tasks, this can be the name of the triggering task. */
|
|
393
|
-
source?: string;
|
|
394
|
-
}, options?: ApiCallOptions): Promise<StartTaskHttpResponse>;
|
|
395
|
-
type StartTaskHttpResponse = {
|
|
396
|
-
data: {
|
|
397
|
-
message?: string;
|
|
398
|
-
};
|
|
399
|
-
headers: Headers;
|
|
400
|
-
status: 200;
|
|
401
|
-
};
|
|
402
|
-
type StartTaskHttpError = {
|
|
403
|
-
data: ErrorResponse;
|
|
404
|
-
headers: Headers;
|
|
405
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
406
|
-
};
|
|
407
|
-
/**
|
|
408
|
-
* Returns runs for the specified task.
|
|
409
|
-
*
|
|
410
|
-
* @param id The task's unique identifier.
|
|
411
|
-
* @param query an object with query parameters
|
|
412
|
-
* @throws GetTaskRunsHttpError
|
|
413
|
-
*/
|
|
414
|
-
declare function getTaskRuns(id: string, query: {
|
|
415
|
-
/** The maximum number of task runs to return for a request. */
|
|
416
|
-
limit?: number;
|
|
417
|
-
/** The page cursor. */
|
|
418
|
-
page?: string;
|
|
419
|
-
/** The property of a resource to sort on (default sort is -startedAt).
|
|
420
|
-
* A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
421
|
-
sort?: "+startedAt" | "-startedAt" | "+endedAt" | "-endedAt" | "+status" | "-status" | "+taskId" | "-taskId" | "+actionId" | "-actionId";
|
|
422
|
-
}, options?: ApiCallOptions): Promise<GetTaskRunsHttpResponse>;
|
|
423
|
-
type GetTaskRunsHttpResponse = {
|
|
424
|
-
data: OrchRunList;
|
|
425
|
-
headers: Headers;
|
|
426
|
-
status: 200;
|
|
427
|
-
prev?: (options?: ApiCallOptions) => Promise<GetTaskRunsHttpResponse>;
|
|
428
|
-
next?: (options?: ApiCallOptions) => Promise<GetTaskRunsHttpResponse>;
|
|
429
|
-
};
|
|
430
|
-
type GetTaskRunsHttpError = {
|
|
431
|
-
data: ErrorResponse;
|
|
432
|
-
headers: Headers;
|
|
433
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
434
|
-
};
|
|
435
|
-
/**
|
|
436
|
-
* Returns the last run of a specific task.
|
|
437
|
-
*
|
|
438
|
-
* @param id The task's unique identifier.
|
|
439
|
-
* @throws GetLastTaskRunHttpError
|
|
440
|
-
*/
|
|
441
|
-
declare function getLastTaskRun(id: string, options?: ApiCallOptions): Promise<GetLastTaskRunHttpResponse>;
|
|
442
|
-
type GetLastTaskRunHttpResponse = {
|
|
443
|
-
data: OrchRun;
|
|
444
|
-
headers: Headers;
|
|
445
|
-
status: 200;
|
|
446
|
-
};
|
|
447
|
-
type GetLastTaskRunHttpError = {
|
|
448
|
-
data: ErrorResponse;
|
|
449
|
-
headers: Headers;
|
|
450
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
451
|
-
};
|
|
452
|
-
/**
|
|
453
|
-
* Get specific run log of a task.
|
|
454
|
-
*
|
|
455
|
-
* @param id The task's unique identifier.
|
|
456
|
-
* @param runId The run's unique identifier.
|
|
457
|
-
* @throws GetTaskRunLogHttpError
|
|
458
|
-
*/
|
|
459
|
-
declare function getTaskRunLog(id: string, runId: string, options?: ApiCallOptions): Promise<GetTaskRunLogHttpResponse>;
|
|
460
|
-
type GetTaskRunLogHttpResponse = {
|
|
461
|
-
data: {
|
|
462
|
-
/** Log content in plain text format */
|
|
463
|
-
logContent?: string;
|
|
464
|
-
};
|
|
465
|
-
headers: Headers;
|
|
466
|
-
status: 200;
|
|
467
|
-
};
|
|
468
|
-
type GetTaskRunLogHttpError = {
|
|
469
|
-
data: ErrorResponse;
|
|
470
|
-
headers: Headers;
|
|
471
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
472
|
-
};
|
|
473
|
-
/**
|
|
474
|
-
* Clears the cache for tasks api requests.
|
|
475
|
-
*/
|
|
476
|
-
declare function clearCache(): void;
|
|
477
|
-
type TasksAPI = {
|
|
478
|
-
/**
|
|
479
|
-
* Retrieves a list of the tasks that the requesting user has access to.
|
|
480
|
-
*
|
|
481
|
-
* @param query an object with query parameters
|
|
482
|
-
* @throws GetTasksHttpError
|
|
483
|
-
*/
|
|
484
|
-
getTasks: typeof getTasks;
|
|
485
|
-
/**
|
|
486
|
-
* Creates a new task.
|
|
487
|
-
*
|
|
488
|
-
* @param query an object with query parameters
|
|
489
|
-
* @param body an object with the body content
|
|
490
|
-
* @throws CreateTaskHttpError
|
|
491
|
-
*/
|
|
492
|
-
createTask: typeof createTask;
|
|
493
|
-
/**
|
|
494
|
-
* Returns a list of task runs for a specified `resourceId`.
|
|
495
|
-
*
|
|
496
|
-
* @param id Filter tasks by its target resource ID
|
|
497
|
-
* @param query an object with query parameters
|
|
498
|
-
* @throws GetTasksResourceRunsHttpError
|
|
499
|
-
*/
|
|
500
|
-
getTasksResourceRuns: typeof getTasksResourceRuns;
|
|
501
|
-
/**
|
|
502
|
-
* Deletes a specific task.
|
|
503
|
-
*
|
|
504
|
-
* @param id The task's unique identifier.
|
|
505
|
-
* @throws DeleteTaskHttpError
|
|
506
|
-
*/
|
|
507
|
-
deleteTask: typeof deleteTask;
|
|
508
|
-
/**
|
|
509
|
-
* Retrieves details for a specific task.
|
|
510
|
-
*
|
|
511
|
-
* @param id The task's unique identifier.
|
|
512
|
-
* @throws GetTaskHttpError
|
|
513
|
-
*/
|
|
514
|
-
getTask: typeof getTask;
|
|
515
|
-
/**
|
|
516
|
-
* Updates a specific task. If the task is owned by another user, ownership will be transferred to the requesting user.
|
|
517
|
-
*
|
|
518
|
-
* @param id The task's unique identifier.
|
|
519
|
-
* @param body an object with the body content
|
|
520
|
-
* @throws UpdateTaskHttpError
|
|
521
|
-
*/
|
|
522
|
-
updateTask: typeof updateTask;
|
|
523
|
-
/**
|
|
524
|
-
* Starts the specified task.
|
|
525
|
-
*
|
|
526
|
-
* @param id The task's unique identifier.
|
|
527
|
-
* @param query an object with query parameters
|
|
528
|
-
* @throws StartTaskHttpError
|
|
529
|
-
*/
|
|
530
|
-
startTask: typeof startTask;
|
|
531
|
-
/**
|
|
532
|
-
* Returns runs for the specified task.
|
|
533
|
-
*
|
|
534
|
-
* @param id The task's unique identifier.
|
|
535
|
-
* @param query an object with query parameters
|
|
536
|
-
* @throws GetTaskRunsHttpError
|
|
537
|
-
*/
|
|
538
|
-
getTaskRuns: typeof getTaskRuns;
|
|
539
|
-
/**
|
|
540
|
-
* Returns the last run of a specific task.
|
|
541
|
-
*
|
|
542
|
-
* @param id The task's unique identifier.
|
|
543
|
-
* @throws GetLastTaskRunHttpError
|
|
544
|
-
*/
|
|
545
|
-
getLastTaskRun: typeof getLastTaskRun;
|
|
546
|
-
/**
|
|
547
|
-
* Get specific run log of a task.
|
|
548
|
-
*
|
|
549
|
-
* @param id The task's unique identifier.
|
|
550
|
-
* @param runId The run's unique identifier.
|
|
551
|
-
* @throws GetTaskRunLogHttpError
|
|
552
|
-
*/
|
|
553
|
-
getTaskRunLog: typeof getTaskRunLog;
|
|
554
|
-
/**
|
|
555
|
-
* Clears the cache for tasks api requests.
|
|
556
|
-
*/
|
|
557
|
-
clearCache: typeof clearCache;
|
|
558
|
-
};
|
|
559
|
-
/**
|
|
560
|
-
* Functions for the tasks api
|
|
561
|
-
*/
|
|
562
|
-
declare const tasksExport: TasksAPI;
|
|
563
|
-
//#endregion
|
|
564
|
-
export { getTasks as $, Onevents as A, TaskList as B, GetTaskRunsHttpResponse as C, GetTasksResourceRunsHttpResponse as D, GetTasksResourceRunsHttpError as E, StartTaskHttpError as F, UpdateTaskHttpResponse as G, TasksAPI as H, StartTaskHttpResponse as I, deleteTask as J, clearCache as K, Startdef as L, OrchRun as M, OrchRunList as N, HttpResult as O, Schedule as P, getTaskRuns as Q, StateExecTimeout as R, GetTaskRunsHttpError as S, GetTasksHttpResponse as T, TriggerMeta as U, TaskMetadata as V, UpdateTaskHttpError as W, getTask as X, getLastTaskRun as Y, getTaskRunLog as Z, GetLastTaskRunHttpResponse as _, CreateTaskHttpResponse as a, GetTaskRunLogHttpError as b, DeleteTaskHttpResponse as c, EventTimeout as d, getTasksResourceRuns as et, Eventdef as f, GetLastTaskRunHttpError as g, Functionref as h, CreateTaskHttpError as i, OrchMeta as j, Link as k, End as l, Eventstate as m, ActionExecTimeout as n, tasksExport as nt, Crondef as o, Events as p, createTask as q, CorrelationDef as r, updateTask as rt, DeleteTaskHttpError as s, Action as t, startTask as tt, ErrorResponse as u, GetTaskHttpError as v, GetTasksHttpError as w, GetTaskRunLogHttpResponse as x, GetTaskHttpResponse as y, Task as z };
|