@qlik/api 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytics/change-stores.d.ts +40 -76
- package/analytics/change-stores.js +9 -10
- package/analytics.d.ts +1 -2
- package/analytics.js +5 -6
- package/api-keys.d.ts +46 -100
- package/api-keys.js +3 -4
- package/apps.d.ts +334 -461
- package/apps.js +74 -6
- package/assistants.d.ts +172 -337
- package/assistants.js +3 -4
- package/audits.d.ts +41 -85
- package/audits.js +3 -4
- package/auth-types.d.ts +110 -1
- package/auth-types.js +22 -1
- package/auth.d.ts +1 -2
- package/auth.js +1 -1
- package/automation-connections.d.ts +44 -95
- package/automation-connections.js +3 -4
- package/automation-connectors.d.ts +10 -20
- package/automation-connectors.js +3 -4
- package/automations.d.ts +54 -112
- package/automations.js +3 -4
- package/automl-deployments.d.ts +17 -36
- package/automl-deployments.js +3 -4
- package/automl-predictions.d.ts +12 -24
- package/automl-predictions.js +3 -4
- package/banners.d.ts +8 -14
- package/banners.js +3 -4
- package/brands.d.ts +19 -39
- package/brands.js +3 -4
- package/chunks/auth-B8lJw7rm.js +31 -0
- package/chunks/{interceptors-2VSXImC9.js → boot-interceptors-DqRxTczb.js} +50 -150
- package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
- package/chunks/{invoke-fetch-CckTK7bh.js → invoke-fetch-DMAi6Fg3.js} +3 -3
- package/chunks/{invoke-fetch-D9lpiAb-.js → invoke-fetch-pMN6iqup.js} +2 -3
- package/chunks/platform-types-CECrZkOF.d.ts +29 -0
- package/chunks/{public-runtime-modules-BqxAMJ9M.js → public-runtime-modules-2KfyI2qM.js} +5 -5
- package/chunks/{qix-DpvHvpx7.js → qix-BdNrIA4s.js} +19 -20
- package/chunks/{qix-chunk-entrypoint-BXZPnE6J.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
- package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
- package/collections.d.ts +67 -144
- package/collections.js +3 -4
- package/conditions.d.ts +87 -190
- package/conditions.js +3 -4
- package/consumption.d.ts +35 -72
- package/consumption.js +3 -4
- package/core/ip-policies.d.ts +43 -93
- package/core/ip-policies.js +5 -6
- package/core.d.ts +1 -2
- package/core.js +5 -6
- package/csp-origins.d.ts +42 -85
- package/csp-origins.js +3 -4
- package/csrf-token.d.ts +6 -11
- package/csrf-token.js +3 -4
- package/data-alerts.d.ts +152 -325
- package/data-alerts.js +3 -4
- package/data-assets.d.ts +16 -31
- package/data-assets.js +3 -4
- package/data-connections.d.ts +123 -257
- package/data-connections.js +3 -4
- package/data-credentials.d.ts +36 -76
- package/data-credentials.js +3 -4
- package/data-files.d.ts +60 -121
- package/data-files.js +3 -4
- package/data-governance/data-products.d.ts +429 -0
- package/data-governance/data-products.js +212 -0
- package/data-governance.d.ts +13 -0
- package/data-governance.js +12 -0
- package/data-qualities.d.ts +11 -25
- package/data-qualities.js +3 -4
- package/data-sets.d.ts +28 -57
- package/data-sets.js +3 -4
- package/data-sources.d.ts +45 -97
- package/data-sources.js +3 -4
- package/data-stores.d.ts +53 -107
- package/data-stores.js +3 -4
- package/dcaas.d.ts +32 -67
- package/dcaas.js +3 -4
- package/di-projects.d.ts +111 -136
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +29 -63
- package/direct-access-agents.js +3 -4
- package/encryption.d.ts +28 -59
- package/encryption.js +3 -4
- package/extensions.d.ts +35 -73
- package/extensions.js +3 -4
- package/global-types.d.ts +139 -1
- package/glossaries.d.ts +75 -158
- package/glossaries.js +3 -4
- package/groups.d.ts +58 -125
- package/groups.js +3 -4
- package/identity-providers.d.ts +148 -324
- package/identity-providers.js +3 -4
- package/index.d.ts +18 -4
- package/index.js +64 -19
- package/interceptors.d.ts +2 -3
- package/interceptors.js +104 -2
- package/invoke-fetch-types.d.ts +97 -1
- package/items.d.ts +85 -181
- package/items.js +3 -4
- package/knowledgebases.d.ts +137 -270
- package/knowledgebases.js +3 -4
- package/licenses.d.ts +71 -153
- package/licenses.js +3 -4
- package/lineage-graphs.d.ts +39 -85
- package/lineage-graphs.js +3 -4
- package/ml.d.ts +290 -621
- package/ml.js +3 -4
- package/notes.d.ts +9 -18
- package/notes.js +3 -4
- package/notifications.d.ts +14 -30
- package/notifications.js +3 -4
- package/oauth-clients.d.ts +98 -159
- package/oauth-clients.js +4 -5
- package/oauth-tokens.d.ts +16 -33
- package/oauth-tokens.js +3 -4
- package/package.json +6 -3
- package/qix.d.ts +46 -2
- package/qix.js +2 -3
- package/questions.d.ts +53 -110
- package/questions.js +3 -4
- package/quotas.d.ts +13 -26
- package/quotas.js +3 -4
- package/reload-tasks.d.ts +23 -46
- package/reload-tasks.js +3 -4
- package/reloads.d.ts +26 -52
- package/reloads.js +3 -4
- package/report-templates.d.ts +30 -63
- package/report-templates.js +3 -4
- package/reports.d.ts +111 -238
- package/reports.js +3 -4
- package/roles.d.ts +36 -77
- package/roles.js +3 -4
- package/sharing-tasks.d.ts +201 -427
- package/sharing-tasks.js +3 -4
- package/spaces.d.ts +71 -157
- package/spaces.js +3 -4
- package/tasks.d.ts +76 -164
- package/tasks.js +3 -4
- package/temp-contents.d.ts +17 -35
- package/temp-contents.js +3 -4
- package/tenant-settings.d.ts +298 -0
- package/tenant-settings.js +107 -0
- package/tenants.d.ts +31 -67
- package/tenants.js +3 -4
- package/themes.d.ts +27 -55
- package/themes.js +3 -4
- package/transports.d.ts +46 -106
- package/transports.js +3 -4
- package/ui-config.d.ts +8 -17
- package/ui-config.js +3 -4
- package/users.d.ts +80 -170
- package/users.js +3 -4
- package/web-integrations.d.ts +38 -83
- package/web-integrations.js +3 -4
- package/web-notifications.d.ts +14 -29
- package/web-notifications.js +3 -4
- package/webhooks.d.ts +77 -162
- package/webhooks.js +3 -4
- package/chunks/auth-XusKk8IA.js +0 -32
- package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
- package/chunks/auth-types-h43TVDpB.js +0 -24
- package/chunks/global-types-CEVAJebk.js +0 -1
- /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
- /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
- /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
- /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/tasks.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/tasks.d.ts
|
|
5
5
|
type ErrorResponse = {
|
|
6
|
-
errors?: HttpResult[];
|
|
7
|
-
/** A way to trace the source of the error. */
|
|
6
|
+
errors?: HttpResult[]; /** A way to trace the source of the error. */
|
|
8
7
|
traceId?: string;
|
|
9
8
|
};
|
|
10
9
|
/**
|
|
@@ -20,43 +19,27 @@ type HttpResult = {
|
|
|
20
19
|
title?: string;
|
|
21
20
|
};
|
|
22
21
|
type Link = {
|
|
23
|
-
/** URL to a resource request */
|
|
24
|
-
href: string;
|
|
22
|
+
/** URL to a resource request */href: string;
|
|
25
23
|
};
|
|
26
24
|
type OrchMeta = {
|
|
27
|
-
attrs?: Record<string, string>;
|
|
28
|
-
|
|
29
|
-
id: string;
|
|
30
|
-
/** orchestration system type */
|
|
25
|
+
attrs?: Record<string, string>; /** The ID of the orchestration associated with the task in the choreographer */
|
|
26
|
+
id: string; /** orchestration system type */
|
|
31
27
|
type: 0 | 1 | 2 | 3;
|
|
32
28
|
};
|
|
33
29
|
type OrchRun = {
|
|
34
|
-
/** The ID of the action */
|
|
35
|
-
|
|
36
|
-
/** The
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/** log info of the run */
|
|
43
|
-
log?: string;
|
|
44
|
-
/** The ID of the resource */
|
|
45
|
-
resourceId: string;
|
|
46
|
-
/** The UTC timestamp when the task run started */
|
|
47
|
-
readonly startedAt?: string;
|
|
48
|
-
/** task run status */
|
|
49
|
-
status: "RUNNING" | "SUCCEEDED" | "FAILED";
|
|
50
|
-
/** The ID of the task */
|
|
30
|
+
/** The ID of the action */actionId: string; /** The UTC timestamp when the task run ended */
|
|
31
|
+
readonly endedAt?: string; /** user ID of on behalf of whom the Task was executed. */
|
|
32
|
+
executedAs?: string; /** The ID of the task run */
|
|
33
|
+
id: string; /** log info of the run */
|
|
34
|
+
log?: string; /** The ID of the resource */
|
|
35
|
+
resourceId: string; /** The UTC timestamp when the task run started */
|
|
36
|
+
readonly startedAt?: string; /** task run status */
|
|
37
|
+
status: "RUNNING" | "SUCCEEDED" | "FAILED"; /** The ID of the task */
|
|
51
38
|
taskId: string;
|
|
52
|
-
taskMeta: TaskMetadata;
|
|
53
|
-
/** task
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
triggeredBy: string;
|
|
57
|
-
/** 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. */
|
|
58
|
-
workerId: string;
|
|
59
|
-
/** worker type or target system */
|
|
39
|
+
taskMeta: TaskMetadata; /** task name */
|
|
40
|
+
taskName: string; /** Information about who or what triggered the task run. */
|
|
41
|
+
triggeredBy: string; /** 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. */
|
|
42
|
+
workerId: string; /** worker type or target system */
|
|
60
43
|
workerType: string;
|
|
61
44
|
};
|
|
62
45
|
type OrchRunList = {
|
|
@@ -68,31 +51,19 @@ type OrchRunList = {
|
|
|
68
51
|
};
|
|
69
52
|
};
|
|
70
53
|
type Task = {
|
|
71
|
-
/** List of helpful terms describing the workflows intended purpose, subject areas, or other important qualities */
|
|
72
|
-
|
|
73
|
-
/** Workflow
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
|
|
77
|
-
/** Workflow CloudEvent definitions. Defines CloudEvents that can be consumed or produced */
|
|
78
|
-
events?: Events;
|
|
79
|
-
/** The choreographer's unique identifier */
|
|
80
|
-
readonly id?: string;
|
|
81
|
-
/** 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' */
|
|
82
|
-
keepActive?: boolean;
|
|
83
|
-
/** Optional expression that will be used to generate a domain-specific workflow instance identifier */
|
|
54
|
+
/** List of helpful terms describing the workflows intended purpose, subject areas, or other important qualities */annotations?: string[]; /** Workflow description */
|
|
55
|
+
description?: string; /** Indicates whether the task is enabled or not */
|
|
56
|
+
enabled?: boolean; /** Workflow CloudEvent definitions. Defines CloudEvents that can be consumed or produced */
|
|
57
|
+
events?: Events; /** The choreographer's unique identifier */
|
|
58
|
+
readonly id?: string; /** 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' */
|
|
59
|
+
keepActive?: boolean; /** Optional expression that will be used to generate a domain-specific workflow instance identifier */
|
|
84
60
|
key?: string;
|
|
85
|
-
metadata?: TaskMetadata;
|
|
86
|
-
/** The
|
|
87
|
-
|
|
88
|
-
/** The resource ID of the task. The `Task.resourceId` value from user input is ignored and will be calculated automatically from `Task.states`. */
|
|
89
|
-
resourceId?: string;
|
|
90
|
-
/** Serverless Workflow schema version */
|
|
61
|
+
metadata?: TaskMetadata; /** The name that identifies the workflow definition, and which, when combined with its version, forms a unique identifier. */
|
|
62
|
+
name: string; /** The resource ID of the task. The `Task.resourceId` value from user input is ignored and will be calculated automatically from `Task.states`. */
|
|
63
|
+
resourceId?: string; /** Serverless Workflow schema version */
|
|
91
64
|
specVersion: string;
|
|
92
|
-
start?: Startdef;
|
|
93
|
-
/**
|
|
94
|
-
states?: Eventstate[];
|
|
95
|
-
/** Workflow version */
|
|
65
|
+
start?: Startdef; /** State definitions */
|
|
66
|
+
states?: Eventstate[]; /** Workflow version */
|
|
96
67
|
version?: string;
|
|
97
68
|
};
|
|
98
69
|
type TaskList = {
|
|
@@ -104,22 +75,15 @@ type TaskList = {
|
|
|
104
75
|
};
|
|
105
76
|
};
|
|
106
77
|
type TriggerMeta = {
|
|
107
|
-
/** The ID of the Trigger associated with the task in the choreographer */
|
|
108
|
-
id: string;
|
|
109
|
-
/** trigger type */
|
|
78
|
+
/** The ID of the Trigger associated with the task in the choreographer */id: string; /** trigger type */
|
|
110
79
|
type: 0 | 1 | 2 | 3;
|
|
111
80
|
};
|
|
112
81
|
type Action = {
|
|
113
|
-
/** Expression, if defined, must evaluate to true for this action to be performed. If false, action is disregarded */
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
|
|
118
|
-
/** List of unique references to defined workflow errors for which the action should not be retried. Used only when `autoRetries` is set to `true` */
|
|
119
|
-
nonRetryableErrors?: string[];
|
|
120
|
-
/** References a defined workflow retry definition. If not defined the default retry policy is assumed */
|
|
121
|
-
retryRef?: string;
|
|
122
|
-
/** List of unique references to defined workflow errors for which the action should be retried. Used only when `autoRetries` is set to `false` */
|
|
82
|
+
/** Expression, if defined, must evaluate to true for this action to be performed. If false, action is disregarded */condition?: string;
|
|
83
|
+
functionRef?: Functionref; /** Unique action definition name */
|
|
84
|
+
name?: string; /** List of unique references to defined workflow errors for which the action should not be retried. Used only when `autoRetries` is set to `true` */
|
|
85
|
+
nonRetryableErrors?: string[]; /** References a defined workflow retry definition. If not defined the default retry policy is assumed */
|
|
86
|
+
retryRef?: string; /** List of unique references to defined workflow errors for which the action should be retried. Used only when `autoRetries` is set to `false` */
|
|
123
87
|
retryableErrors?: string[];
|
|
124
88
|
} & unknown;
|
|
125
89
|
/**
|
|
@@ -130,15 +94,11 @@ type ActionExecTimeout = string;
|
|
|
130
94
|
* CloudEvent correlation definition
|
|
131
95
|
*/
|
|
132
96
|
type CorrelationDef = {
|
|
133
|
-
/** CloudEvent Extension Context Attribute name */
|
|
134
|
-
contextAttributeName: "id" | "status";
|
|
135
|
-
/** CloudEvent Extension Context Attribute value */
|
|
97
|
+
/** CloudEvent Extension Context Attribute name */contextAttributeName: "id" | "status"; /** CloudEvent Extension Context Attribute value */
|
|
136
98
|
contextAttributeValue?: string;
|
|
137
99
|
};
|
|
138
100
|
type Crondef = string | {
|
|
139
|
-
/** Repeating interval (cron expression) describing when the workflow instance should be created */
|
|
140
|
-
expression: string;
|
|
141
|
-
/** Specific date and time (ISO 8601 format) when the cron expression invocation is no longer valid */
|
|
101
|
+
/** Repeating interval (cron expression) describing when the workflow instance should be created */expression: string; /** Specific date and time (ISO 8601 format) when the cron expression invocation is no longer valid */
|
|
142
102
|
validUntil?: string;
|
|
143
103
|
};
|
|
144
104
|
/**
|
|
@@ -150,77 +110,49 @@ type End = boolean;
|
|
|
150
110
|
*/
|
|
151
111
|
type EventTimeout = string;
|
|
152
112
|
type Eventdef = {
|
|
153
|
-
/** CloudEvent correlation definitions */
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
/** Unique event name */
|
|
158
|
-
name?: string;
|
|
159
|
-
/** CloudEvent source */
|
|
160
|
-
source?: "system-events.task";
|
|
161
|
-
/** CloudEvent type */
|
|
113
|
+
/** CloudEvent correlation definitions */correlation?: CorrelationDef[]; /** If `true`, only the Event payload is accessible to consuming Workflow states. If `false`, both event payload and context attributes should be accessible */
|
|
114
|
+
dataOnly?: boolean; /** Unique event name */
|
|
115
|
+
name?: string; /** CloudEvent source */
|
|
116
|
+
source?: "system-events.task"; /** CloudEvent type */
|
|
162
117
|
type?: "com.qlik.v1.task.run.finished";
|
|
163
118
|
};
|
|
164
119
|
/**
|
|
165
120
|
* 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
|
|
166
121
|
*/
|
|
167
122
|
type Eventstate = {
|
|
168
|
-
/** Unique Name of a workflow state which is responsible for compensation of this state */
|
|
169
|
-
|
|
170
|
-
/** State
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
exclusive?: boolean;
|
|
174
|
-
/** State name */
|
|
175
|
-
name?: string;
|
|
176
|
-
/** Define the events to be consumed and optional actions to be performed */
|
|
177
|
-
onEvents?: Onevents[];
|
|
178
|
-
/** State specific timeouts */
|
|
123
|
+
/** Unique Name of a workflow state which is responsible for compensation of this state */compensatedBy?: string; /** State end definition */
|
|
124
|
+
end?: End; /** 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 */
|
|
125
|
+
exclusive?: boolean; /** State name */
|
|
126
|
+
name?: string; /** Define the events to be consumed and optional actions to be performed */
|
|
127
|
+
onEvents?: Onevents[]; /** State specific timeouts */
|
|
179
128
|
timeouts?: {
|
|
180
|
-
/** Action execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
181
|
-
|
|
182
|
-
/** Timeout duration to wait for consuming defined events (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
183
|
-
eventTimeout?: EventTimeout;
|
|
184
|
-
/** Workflow state execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
129
|
+
/** Action execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */actionExecTimeout?: ActionExecTimeout; /** Timeout duration to wait for consuming defined events (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
130
|
+
eventTimeout?: EventTimeout; /** Workflow state execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration) */
|
|
185
131
|
stateExecTimeout?: StateExecTimeout;
|
|
186
|
-
};
|
|
187
|
-
/** State type */
|
|
132
|
+
}; /** State type */
|
|
188
133
|
type?: "EVENT";
|
|
189
134
|
} & unknown;
|
|
190
135
|
type Functionref = string | {
|
|
191
|
-
/** Function arguments/inputs */
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
invoke?: "SYNC" | "ASYNC";
|
|
195
|
-
/** Name of the referenced function */
|
|
196
|
-
refName: "app.reload";
|
|
197
|
-
/** Only used if function type is 'graphql'. A string containing a valid GraphQL selection set */
|
|
136
|
+
/** Function arguments/inputs */arguments?: unknown; /** Specifies if the function should be invoked sync or async */
|
|
137
|
+
invoke?: "SYNC" | "ASYNC"; /** Name of the referenced function */
|
|
138
|
+
refName: "app.reload"; /** Only used if function type is 'graphql'. A string containing a valid GraphQL selection set */
|
|
198
139
|
selectionSet?: string;
|
|
199
140
|
};
|
|
200
141
|
type Onevents = {
|
|
201
|
-
/** Specifies how actions are to be performed (in sequence or in parallel) */
|
|
202
|
-
|
|
203
|
-
/** Actions to be performed if expression matches */
|
|
204
|
-
actions?: Action[];
|
|
205
|
-
/** References one or more unique event names in the defined workflow events */
|
|
142
|
+
/** Specifies how actions are to be performed (in sequence or in parallel) */actionMode?: "SEQUENTIAL" | "PARALLEL"; /** Actions to be performed if expression matches */
|
|
143
|
+
actions?: Action[]; /** References one or more unique event names in the defined workflow events */
|
|
206
144
|
eventRefs: string[];
|
|
207
145
|
};
|
|
208
146
|
type Schedule = string | ({
|
|
209
|
-
cron?: Crondef;
|
|
210
|
-
/**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
/** The RRULE recurrence string for chronos job */
|
|
215
|
-
recurrence?: string;
|
|
216
|
-
/** Specific date and time (ISO 8601 format) when the workflow instance should be created */
|
|
217
|
-
startDateTime?: string;
|
|
218
|
-
/** Timezone name used to evaluate the interval & cron-expression. (default: UTC) */
|
|
147
|
+
cron?: Crondef; /** Specific date and time (ISO 8601 format) when the workflow instance should be terminated */
|
|
148
|
+
endDateTime?: string; /** Time interval (must be repeating interval) described with ISO 8601 format. Declares when workflow instances will be automatically created. */
|
|
149
|
+
interval?: string; /** The RRULE recurrence string for chronos job */
|
|
150
|
+
recurrence?: string; /** Specific date and time (ISO 8601 format) when the workflow instance should be created */
|
|
151
|
+
startDateTime?: string; /** Timezone name used to evaluate the interval & cron-expression. (default: UTC) */
|
|
219
152
|
timezone?: string;
|
|
220
153
|
} & unknown);
|
|
221
154
|
type Startdef = {
|
|
222
|
-
schedule: Schedule;
|
|
223
|
-
/** Name of the starting workflow state */
|
|
155
|
+
schedule: Schedule; /** Name of the starting workflow state */
|
|
224
156
|
stateName?: string;
|
|
225
157
|
};
|
|
226
158
|
/**
|
|
@@ -228,27 +160,17 @@ type Startdef = {
|
|
|
228
160
|
*/
|
|
229
161
|
type StateExecTimeout = string;
|
|
230
162
|
type TaskMetadata = {
|
|
231
|
-
/** The UTC timestamp when the task was created */
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
/** The UTC timestamp when the task was deleted */
|
|
236
|
-
readonly deletedAt?: string;
|
|
237
|
-
/** why the Task is disabled */
|
|
238
|
-
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "APP-SCRIPT-UPDATED" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
239
|
-
/** The ID of the reload-task this one was migrated from (if applicable) */
|
|
163
|
+
/** The UTC timestamp when the task was created */readonly createdAt?: string; /** The user ID of the user that created the task */
|
|
164
|
+
createdBy?: string; /** The UTC timestamp when the task was deleted */
|
|
165
|
+
readonly deletedAt?: string; /** why the Task is disabled */
|
|
166
|
+
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "APP-SCRIPT-UPDATED" | "OWNER-DELETED" | "OWNER-DISABLED"; /** The ID of the reload-task this one was migrated from (if applicable) */
|
|
240
167
|
migratedFrom?: string;
|
|
241
|
-
orchestration?: OrchMeta;
|
|
242
|
-
/** The
|
|
243
|
-
|
|
244
|
-
/** The space ID that the Task will operate in */
|
|
245
|
-
spaceId?: string;
|
|
246
|
-
/** The tenant ID that the Task will operate in */
|
|
168
|
+
orchestration?: OrchMeta; /** The user ID of the owner of the task */
|
|
169
|
+
ownerId?: string; /** The space ID that the Task will operate in */
|
|
170
|
+
spaceId?: string; /** The tenant ID that the Task will operate in */
|
|
247
171
|
tenantId?: string;
|
|
248
|
-
trigger?: TriggerMeta;
|
|
249
|
-
/**
|
|
250
|
-
updatedAt?: string;
|
|
251
|
-
/** resource usage. Normally it means in which product domain the resource is used. if this field is not presented, it has default of `ANALYTICS` */
|
|
172
|
+
trigger?: TriggerMeta; /** The UTC timestamp when the task was last updated */
|
|
173
|
+
updatedAt?: string; /** resource usage. Normally it means in which product domain the resource is used. if this field is not presented, it has default of `ANALYTICS` */
|
|
252
174
|
usage?: "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP";
|
|
253
175
|
};
|
|
254
176
|
/**
|
|
@@ -258,11 +180,8 @@ type TaskMetadata = {
|
|
|
258
180
|
* @throws GetTasksHttpError
|
|
259
181
|
*/
|
|
260
182
|
declare function getTasks(query: {
|
|
261
|
-
/** The maximum number of resources to return for a request. */
|
|
262
|
-
|
|
263
|
-
/** The page cursor. */
|
|
264
|
-
page?: string;
|
|
265
|
-
/** Filter tasks by its target resource ID. */
|
|
183
|
+
/** The maximum number of resources to return for a request. */limit?: number; /** The page cursor. */
|
|
184
|
+
page?: string; /** Filter tasks by its target resource ID. */
|
|
266
185
|
resourceId?: string;
|
|
267
186
|
/** The property of a resource to sort on (default sort is
|
|
268
187
|
* -updatedAt). A property must be prefixed by + or - to
|
|
@@ -289,8 +208,7 @@ type GetTasksHttpError = {
|
|
|
289
208
|
* @throws CreateTaskHttpError
|
|
290
209
|
*/
|
|
291
210
|
declare function createTask(query: {
|
|
292
|
-
/** ID of the reload-task to migrate from the old system (optional). */
|
|
293
|
-
migrateFrom?: string;
|
|
211
|
+
/** ID of the reload-task to migrate from the old system (optional). */migrateFrom?: string;
|
|
294
212
|
}, body: Task, options?: ApiCallOptions): Promise<CreateTaskHttpResponse>;
|
|
295
213
|
type CreateTaskHttpResponse = {
|
|
296
214
|
data: Task;
|
|
@@ -310,9 +228,7 @@ type CreateTaskHttpError = {
|
|
|
310
228
|
* @throws GetTasksResourceRunsHttpError
|
|
311
229
|
*/
|
|
312
230
|
declare function getTasksResourceRuns(id: string, query: {
|
|
313
|
-
/** The maximum number of task runs to return for a request. */
|
|
314
|
-
limit?: number;
|
|
315
|
-
/** The page cursor. */
|
|
231
|
+
/** The maximum number of task runs to return for a request. */limit?: number; /** The page cursor. */
|
|
316
232
|
page?: string;
|
|
317
233
|
/** The property of a resource to sort on (default sort is -startedAt).
|
|
318
234
|
* A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
@@ -390,8 +306,7 @@ type UpdateTaskHttpError = {
|
|
|
390
306
|
* @throws StartTaskHttpError
|
|
391
307
|
*/
|
|
392
308
|
declare function startTask(id: string, query: {
|
|
393
|
-
/** 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. */
|
|
394
|
-
source?: string;
|
|
309
|
+
/** 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. */source?: string;
|
|
395
310
|
}, options?: ApiCallOptions): Promise<StartTaskHttpResponse>;
|
|
396
311
|
type StartTaskHttpResponse = {
|
|
397
312
|
data: {
|
|
@@ -413,9 +328,7 @@ type StartTaskHttpError = {
|
|
|
413
328
|
* @throws GetTaskRunsHttpError
|
|
414
329
|
*/
|
|
415
330
|
declare function getTaskRuns(id: string, query: {
|
|
416
|
-
/** The maximum number of task runs to return for a request. */
|
|
417
|
-
limit?: number;
|
|
418
|
-
/** The page cursor. */
|
|
331
|
+
/** The maximum number of task runs to return for a request. */limit?: number; /** The page cursor. */
|
|
419
332
|
page?: string;
|
|
420
333
|
/** The property of a resource to sort on (default sort is -startedAt).
|
|
421
334
|
* A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
@@ -460,8 +373,7 @@ type GetLastTaskRunHttpError = {
|
|
|
460
373
|
declare function getTaskRunLog(id: string, runId: string, options?: ApiCallOptions): Promise<GetTaskRunLogHttpResponse>;
|
|
461
374
|
type GetTaskRunLogHttpResponse = {
|
|
462
375
|
data: {
|
|
463
|
-
/** Log content in plain text format */
|
|
464
|
-
logContent?: string;
|
|
376
|
+
/** Log content in plain text format */logContent?: string;
|
|
465
377
|
};
|
|
466
378
|
headers: Headers;
|
|
467
379
|
status: 200;
|
package/tasks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/tasks.ts
|
|
5
5
|
/**
|
|
@@ -180,7 +180,6 @@ const tasksExport = {
|
|
|
180
180
|
getTaskRunLog,
|
|
181
181
|
clearCache
|
|
182
182
|
};
|
|
183
|
-
var tasks_default = tasksExport;
|
|
184
183
|
|
|
185
184
|
//#endregion
|
|
186
|
-
export { clearCache, createTask,
|
|
185
|
+
export { clearCache, createTask, tasksExport as default, deleteTask, getLastTaskRun, getTask, getTaskRunLog, getTaskRuns, getTasks, getTasksResourceRuns, startTask, updateTask };
|
package/temp-contents.d.ts
CHANGED
|
@@ -1,51 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/temp-contents.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* An Error object.
|
|
7
7
|
*/
|
|
8
8
|
type Error = {
|
|
9
|
-
/** The API error code. */
|
|
10
|
-
|
|
11
|
-
/** A human-readable problem description of the issue. */
|
|
12
|
-
detail?: string;
|
|
13
|
-
/** Additional properties and information regarding the issue. */
|
|
9
|
+
/** The API error code. */code: string; /** A human-readable problem description of the issue. */
|
|
10
|
+
detail?: string; /** Additional properties and information regarding the issue. */
|
|
14
11
|
meta?: {
|
|
15
|
-
/** The error type. */
|
|
16
|
-
|
|
17
|
-
/** Locale */
|
|
18
|
-
locale?: string;
|
|
19
|
-
/** The source errors (stack trace). */
|
|
12
|
+
/** The error type. */errorType?: string; /** Locale */
|
|
13
|
+
locale?: string; /** The source errors (stack trace). */
|
|
20
14
|
sourceErrors?: string;
|
|
21
|
-
};
|
|
22
|
-
/** Title of the type of API Error. */
|
|
15
|
+
}; /** Title of the type of API Error. */
|
|
23
16
|
title: string;
|
|
24
17
|
};
|
|
25
18
|
/**
|
|
26
19
|
* An array of Error objects.
|
|
27
20
|
*/
|
|
28
21
|
type Errors = {
|
|
29
|
-
errors?: Error[];
|
|
30
|
-
/** A way to trace the source of the error. */
|
|
22
|
+
errors?: Error[]; /** A way to trace the source of the error. */
|
|
31
23
|
traceId?: string;
|
|
32
24
|
};
|
|
33
25
|
type DetailResponse = {
|
|
34
|
-
/** Datetime-stamp when the resource was created (in UTC). */
|
|
35
|
-
|
|
36
|
-
/** Identifier
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
ID?: string;
|
|
42
|
-
/** File name of the file uploaded by the user. */
|
|
43
|
-
Name?: string;
|
|
44
|
-
/** Size of resource (in bytes). */
|
|
45
|
-
Size?: string;
|
|
46
|
-
/** Time-to-live in seconds. */
|
|
47
|
-
TTLSeconds?: number;
|
|
48
|
-
/** Datetime-stamp when the resource was updated (in UTC). */
|
|
26
|
+
/** Datetime-stamp when the resource was created (in UTC). */CreatedAt?: string; /** Identifier for the subject / resource creator. */
|
|
27
|
+
CreatorID?: string; /** Datetime-stamp when the resource expired (in UTC). */
|
|
28
|
+
Expires?: string; /** Identifier */
|
|
29
|
+
ID?: string; /** File name of the file uploaded by the user. */
|
|
30
|
+
Name?: string; /** Size of resource (in bytes). */
|
|
31
|
+
Size?: string; /** Time-to-live in seconds. */
|
|
32
|
+
TTLSeconds?: number; /** Datetime-stamp when the resource was updated (in UTC). */
|
|
49
33
|
UpdatedAt?: string;
|
|
50
34
|
};
|
|
51
35
|
/**
|
|
@@ -56,8 +40,7 @@ type DetailResponse = {
|
|
|
56
40
|
* @throws UploadTempFileHttpError
|
|
57
41
|
*/
|
|
58
42
|
declare function uploadTempFile(query: {
|
|
59
|
-
/** The name of the file to upload. */
|
|
60
|
-
filename?: string;
|
|
43
|
+
/** The name of the file to upload. */filename?: string;
|
|
61
44
|
/** The TTL parameter is used to define the time-to-live for the content resource in seconds.
|
|
62
45
|
* It defaults to one hour (3600) if no input is provided. Max TTL is 259200 (3 days).' */
|
|
63
46
|
ttl?: number;
|
|
@@ -80,8 +63,7 @@ type UploadTempFileHttpError = {
|
|
|
80
63
|
* @throws DownloadTempFileHttpError
|
|
81
64
|
*/
|
|
82
65
|
declare function downloadTempFile(id: string, query: {
|
|
83
|
-
/** Set to "1" to download the file in inline mode. Useful for displaying a preview of the file in a browser. */
|
|
84
|
-
inline?: string;
|
|
66
|
+
/** Set to "1" to download the file in inline mode. Useful for displaying a preview of the file in a browser. */inline?: string;
|
|
85
67
|
}, options?: ApiCallOptions): Promise<DownloadTempFileHttpResponse>;
|
|
86
68
|
type DownloadTempFileHttpResponse = DownloadTempFile200HttpResponse | DownloadTempFile204HttpResponse | DownloadTempFile206HttpResponse;
|
|
87
69
|
type DownloadTempFile200HttpResponse = {
|
package/temp-contents.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/temp-contents.ts
|
|
5
5
|
/**
|
|
@@ -64,7 +64,6 @@ const tempContentsExport = {
|
|
|
64
64
|
getTempFileDetails,
|
|
65
65
|
clearCache
|
|
66
66
|
};
|
|
67
|
-
var temp_contents_default = tempContentsExport;
|
|
68
67
|
|
|
69
68
|
//#endregion
|
|
70
|
-
export { clearCache,
|
|
69
|
+
export { clearCache, tempContentsExport as default, downloadTempFile, getTempFileDetails, uploadTempFile };
|