@oomol-lab/open-flow 0.1.0-alpha.1 → 0.1.0-alpha.12
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/README.md +5 -1
- package/dist/browser/addNodeOptions-BYQXyUmQ.js +9571 -0
- package/dist/browser/carbon-DMCVsjHo.js +53 -0
- package/dist/browser/{project-change.js → change-7rp2OZLm.js} +16 -46
- package/dist/browser/createResourceDialog-CWD62rU0.js +467 -0
- package/dist/browser/{dist-o4dBuwiG.js → dist-3Mj8q8Pr.js} +28 -28
- package/dist/browser/{dist-CIq6ue3I.js → dist-BKuSVKCC.js} +1115 -1103
- package/dist/browser/{dist-DL0SDskM.js → dist-BMqL-qR5.js} +473 -906
- package/dist/browser/{dist-CLZJNoWB.js → dist-BN4ZCyOB.js} +10 -10
- package/dist/browser/{dist-zyY--HOV.js → dist-BpopSHwP.js} +3 -3
- package/dist/browser/dist-C46JByB-.js +252 -0
- package/dist/browser/{dist-BbyiRq3c.js → dist-CJpzJrLM.js} +294 -284
- package/dist/browser/{dist-Djd02JSy.js → dist-CPuF50D9.js} +198 -198
- package/dist/browser/{dist-CvcmLAMW.js → dist-CUSrALSX.js} +115 -115
- package/dist/browser/dist-CeSZ2xSM.js +444 -0
- package/dist/browser/{dist-7oZK9QXZ.js → dist-DMi8_lU3.js} +5 -5
- package/dist/browser/{dist-B9OV3YTx.js → dist-DUzA0Ukh.js} +22 -22
- package/dist/browser/{dist-aWSZx4q1.js → dist-DWADUsVB.js} +75 -75
- package/dist/browser/{dist-BLk5M0uK.js → dist-Mecbzdl2.js} +3 -3
- package/dist/browser/{esm-DXw7EADW.js → esm-DmVDlOEJ.js} +14 -24
- package/dist/browser/flow-authoring-edge.d.ts +3 -0
- package/dist/browser/flow-authoring-module.d.ts +4 -0
- package/dist/browser/flow-authoring-node.d.ts +86 -0
- package/dist/browser/flow-authoring.d.ts +4 -0
- package/dist/browser/flow-authoring.js +783 -0
- package/dist/browser/{project-change.d.ts → flow-change.d.ts} +29 -37
- package/dist/browser/flow-change.js +234 -0
- package/dist/browser/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
- package/dist/browser/flowRunInputEditorStore-BYxwvHZl.js +8952 -0
- package/dist/browser/flowWorkspace-Bwqmoq-c.js +47439 -0
- package/dist/browser/languages-DgJehE1g.js +62 -0
- package/dist/browser/lib-C5Ipyfps.js +7856 -0
- package/dist/browser/{lib-S4ccuMeT.js → lib-GrGxYjsJ.js} +3 -5
- package/dist/browser/licenses.md +620 -12
- package/dist/browser/main-DmjVyuWr.js +76 -0
- package/dist/browser/{markdownContent-ZZFfSRqO.js → markdownContent-0teWaxq8.js} +5188 -5144
- package/dist/browser/theme.css +63 -0
- package/dist/browser/theme.css.d.ts +1 -0
- package/dist/browser/typeScriptSession-D5neIpug.js +2560 -0
- package/dist/browser/{composite-7VwgfnXx.js → useOpenInteractionType-CRgOHg5M.js} +2209 -2750
- package/dist/browser/workbench-contract.d.ts +6 -6
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +18 -2
- package/dist/browser/workbench.js +4200 -2233
- package/dist/common/connector-action.d.ts +6 -0
- package/dist/common/connector-action.js +38 -30
- package/dist/common/control-api-conformance.js +262 -359
- package/dist/common/control-api-errors.d.ts +32 -24
- package/dist/common/control-api.d.ts +57 -73
- package/dist/common/control-api.js +199 -205
- package/dist/common/cron-trigger.d.ts +1 -1
- package/dist/common/cron-trigger.js +1 -1
- package/dist/common/flow-encoding.d.ts +11 -0
- package/dist/common/{project-encoding.js → flow-encoding.js} +14 -13
- package/dist/common/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
- package/dist/common/{project-semantics.d.ts → flow-semantics.d.ts} +11 -12
- package/dist/common/{project-semantics.js → flow-semantics.js} +959 -934
- package/dist/common/integration-trigger.d.ts +2 -1
- package/dist/common/integration-trigger.js +1 -1
- package/dist/common/licenses.md +1 -25
- package/dist/common/localization.d.ts +21 -0
- package/dist/common/localization.js +62 -0
- package/dist/common/poll-trigger.d.ts +1 -1
- package/dist/common/provider-triggers.js +1057 -948
- package/dist/common/run-lifecycle.js +1 -1
- package/dist/common/runtime-contract.d.ts +1 -1
- package/dist/common/runtime-contract.js +1 -1
- package/dist/common/scheduler.d.ts +8 -7
- package/dist/common/scheduler.js +251 -232
- package/dist/common/webhook-trigger.d.ts +1 -1
- package/dist/common/webhook-trigger.js +35 -1
- package/package.json +23 -10
- package/dist/browser/addNodeOptions-DqoIueCR.js +0 -33746
- package/dist/browser/carbon-nMY84Amv.js +0 -53
- package/dist/browser/createResourceDialog-ByuJWdSL.js +0 -439
- package/dist/browser/dist-n-z5HtaO.js +0 -4
- package/dist/browser/flowWorkspace-DwVMpcar.js +0 -22092
- package/dist/common/project-encoding.d.ts +0 -11
|
@@ -8,15 +8,13 @@ export declare const controlErrorCode: {
|
|
|
8
8
|
readonly engineUnsupported: 'engine.unsupported';
|
|
9
9
|
readonly flowInvalid: 'flow.invalid';
|
|
10
10
|
readonly flowNotFound: 'flow.not-found';
|
|
11
|
+
readonly flowBusy: 'flow.busy';
|
|
12
|
+
readonly flowConflict: 'flow.conflict';
|
|
13
|
+
readonly flowPresentationConflict: 'flow.presentation-conflict';
|
|
14
|
+
readonly flowRevisionConflict: 'flow.revision-conflict';
|
|
11
15
|
readonly liveConflict: 'live.conflict';
|
|
12
16
|
readonly liveNotFound: 'live.not-found';
|
|
13
17
|
readonly pageInvalidCursor: 'page.invalid-cursor';
|
|
14
|
-
readonly projectBusy: 'project.busy';
|
|
15
|
-
readonly projectConflict: 'project.conflict';
|
|
16
|
-
readonly projectInvalid: 'project.invalid';
|
|
17
|
-
readonly projectNotFound: 'project.not-found';
|
|
18
|
-
readonly projectPresentationConflict: 'project.presentation-conflict';
|
|
19
|
-
readonly projectRevisionConflict: 'project.revision-conflict';
|
|
20
18
|
readonly publicationConflict: 'publication.conflict';
|
|
21
19
|
readonly publicationNotFound: 'publication.not-found';
|
|
22
20
|
readonly routeNotFound: 'route.not-found';
|
|
@@ -25,9 +23,13 @@ export declare const controlErrorCode: {
|
|
|
25
23
|
readonly runInvalid: 'run.invalid';
|
|
26
24
|
readonly runNotFound: 'run.not-found';
|
|
27
25
|
readonly runNotTerminal: 'run.not-terminal';
|
|
26
|
+
readonly runOverloaded: 'run.overloaded';
|
|
28
27
|
readonly triggerKeyInvalid: 'trigger-key.invalid';
|
|
29
28
|
readonly triggerKeyNotFound: 'trigger-key.not-found';
|
|
30
29
|
readonly triggerNotFound: 'trigger.not-found';
|
|
30
|
+
readonly variableInvalid: 'variable.invalid';
|
|
31
|
+
readonly variableLimitReached: 'variable.limit-reached';
|
|
32
|
+
readonly variableNotFound: 'variable.not-found';
|
|
31
33
|
};
|
|
32
34
|
export type ControlErrorCode = (typeof controlErrorCode)[keyof typeof controlErrorCode];
|
|
33
35
|
export declare const controlErrorMetadata: {
|
|
@@ -58,33 +60,27 @@ export declare const controlErrorMetadata: {
|
|
|
58
60
|
readonly "flow.not-found": {
|
|
59
61
|
readonly status: 404;
|
|
60
62
|
};
|
|
61
|
-
readonly "
|
|
62
|
-
readonly status: 412;
|
|
63
|
-
};
|
|
64
|
-
readonly "live.not-found": {
|
|
65
|
-
readonly status: 404;
|
|
66
|
-
};
|
|
67
|
-
readonly "page.invalid-cursor": {
|
|
68
|
-
readonly status: 400;
|
|
69
|
-
};
|
|
70
|
-
readonly "project.busy": {
|
|
63
|
+
readonly "flow.busy": {
|
|
71
64
|
readonly status: 409;
|
|
72
65
|
};
|
|
73
|
-
readonly "
|
|
66
|
+
readonly "flow.conflict": {
|
|
74
67
|
readonly status: 409;
|
|
75
68
|
};
|
|
76
|
-
readonly "
|
|
77
|
-
readonly status:
|
|
78
|
-
};
|
|
79
|
-
readonly "project.not-found": {
|
|
80
|
-
readonly status: 404;
|
|
69
|
+
readonly "flow.presentation-conflict": {
|
|
70
|
+
readonly status: 412;
|
|
81
71
|
};
|
|
82
|
-
readonly "
|
|
72
|
+
readonly "flow.revision-conflict": {
|
|
83
73
|
readonly status: 412;
|
|
84
74
|
};
|
|
85
|
-
readonly "
|
|
75
|
+
readonly "live.conflict": {
|
|
86
76
|
readonly status: 412;
|
|
87
77
|
};
|
|
78
|
+
readonly "live.not-found": {
|
|
79
|
+
readonly status: 404;
|
|
80
|
+
};
|
|
81
|
+
readonly "page.invalid-cursor": {
|
|
82
|
+
readonly status: 400;
|
|
83
|
+
};
|
|
88
84
|
readonly "publication.conflict": {
|
|
89
85
|
readonly status: 409;
|
|
90
86
|
};
|
|
@@ -109,6 +105,9 @@ export declare const controlErrorMetadata: {
|
|
|
109
105
|
readonly "run.not-terminal": {
|
|
110
106
|
readonly status: 409;
|
|
111
107
|
};
|
|
108
|
+
readonly "run.overloaded": {
|
|
109
|
+
readonly status: 429;
|
|
110
|
+
};
|
|
112
111
|
readonly "trigger-key.invalid": {
|
|
113
112
|
readonly status: 409;
|
|
114
113
|
};
|
|
@@ -118,4 +117,13 @@ export declare const controlErrorMetadata: {
|
|
|
118
117
|
readonly "trigger.not-found": {
|
|
119
118
|
readonly status: 404;
|
|
120
119
|
};
|
|
120
|
+
readonly "variable.invalid": {
|
|
121
|
+
readonly status: 400;
|
|
122
|
+
};
|
|
123
|
+
readonly "variable.limit-reached": {
|
|
124
|
+
readonly status: 409;
|
|
125
|
+
};
|
|
126
|
+
readonly "variable.not-found": {
|
|
127
|
+
readonly status: 404;
|
|
128
|
+
};
|
|
121
129
|
};
|
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
import type { RunStatus } from './run-lifecycle.js';
|
|
2
|
-
import type { ChangeOperation, InputPortDefinition, JsonValue, PortDefinition, RevisionContent, TriggerKeySnapshot } from '../browser/
|
|
3
|
-
export type { JsonValue, TriggerKeySnapshot } from '../browser/
|
|
2
|
+
import type { ChangeOperation, InputPortDefinition, JsonValue, PortDefinition, RevisionContent, TriggerKeySnapshot } from '../browser/flow-change.js';
|
|
3
|
+
export type { JsonValue, TriggerKeySnapshot } from '../browser/flow-change.js';
|
|
4
4
|
export type { RunStatus } from './run-lifecycle.js';
|
|
5
5
|
export { controlErrorCode, controlErrorMetadata, type ControlErrorCode } from './control-api-errors.js';
|
|
6
|
-
export type {
|
|
6
|
+
export type { FlowCatalogEvent, FlowChangeEvent } from './flow-notifications.js';
|
|
7
7
|
export type ControlRequest = (path: string, init?: RequestInit) => Promise<Response>;
|
|
8
|
-
export interface
|
|
8
|
+
export interface Flow {
|
|
9
9
|
readonly createdAt: string;
|
|
10
10
|
readonly draftRevisionId: string;
|
|
11
|
+
readonly flowId: string;
|
|
11
12
|
readonly name: string;
|
|
12
|
-
readonly projectId: string;
|
|
13
13
|
readonly status: 'active' | 'retiring';
|
|
14
14
|
readonly updatedAt: string;
|
|
15
15
|
readonly version: 1;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface FlowPage {
|
|
18
|
+
readonly flows: readonly Flow[];
|
|
18
19
|
readonly nextCursor?: string;
|
|
19
|
-
readonly projects: readonly Project[];
|
|
20
20
|
readonly total?: number;
|
|
21
21
|
readonly version: 1;
|
|
22
22
|
}
|
|
23
|
+
export interface Variable {
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly updatedAt: string;
|
|
26
|
+
readonly value: string;
|
|
27
|
+
readonly version: 1;
|
|
28
|
+
}
|
|
23
29
|
export interface TriggerKeySummary {
|
|
24
30
|
readonly description: string;
|
|
25
31
|
readonly displayName: string;
|
|
@@ -37,7 +43,6 @@ export interface TriggerBinding {
|
|
|
37
43
|
readonly kind: 'cron' | 'integration' | 'poll' | 'webhook';
|
|
38
44
|
readonly lastErrorCode?: string;
|
|
39
45
|
readonly operatorState: 'active' | 'paused';
|
|
40
|
-
readonly projectId: string;
|
|
41
46
|
readonly runtimeVersion: number;
|
|
42
47
|
readonly triggerNodeId: string;
|
|
43
48
|
readonly updatedAt: string;
|
|
@@ -95,25 +100,18 @@ export interface RevisionMetadata {
|
|
|
95
100
|
readonly digest: string;
|
|
96
101
|
readonly modelVersion: number;
|
|
97
102
|
readonly parentRevisionId: string | null;
|
|
98
|
-
readonly
|
|
103
|
+
readonly flowId: string;
|
|
99
104
|
readonly revisionId: string;
|
|
100
105
|
readonly version: 1;
|
|
101
106
|
}
|
|
102
107
|
export interface Draft extends RevisionMetadata {
|
|
103
108
|
readonly content: RevisionContent;
|
|
104
109
|
}
|
|
105
|
-
export interface DraftFlow {
|
|
106
|
-
readonly closureDigest: string;
|
|
107
|
-
readonly flowId: string;
|
|
108
|
-
readonly name: string;
|
|
109
|
-
}
|
|
110
110
|
export interface DraftChange {
|
|
111
|
-
readonly draftFlows: readonly DraftFlow[];
|
|
112
111
|
readonly revision: RevisionMetadata;
|
|
113
112
|
readonly version: 1;
|
|
114
113
|
}
|
|
115
114
|
export type DraftSync = {
|
|
116
|
-
readonly draftFlows: readonly DraftFlow[];
|
|
117
115
|
readonly kind: 'changes';
|
|
118
116
|
readonly revisions: readonly {
|
|
119
117
|
readonly operations: readonly ChangeOperation[];
|
|
@@ -122,7 +120,6 @@ export type DraftSync = {
|
|
|
122
120
|
readonly version: 1;
|
|
123
121
|
} | {
|
|
124
122
|
readonly draft: Draft;
|
|
125
|
-
readonly draftFlows: readonly DraftFlow[];
|
|
126
123
|
readonly kind: 'snapshot';
|
|
127
124
|
readonly version: 1;
|
|
128
125
|
};
|
|
@@ -134,28 +131,12 @@ export interface Publication {
|
|
|
134
131
|
readonly flowId: string;
|
|
135
132
|
readonly modelVersion: number;
|
|
136
133
|
readonly operation: 'publish' | 'rollback';
|
|
137
|
-
readonly projectId: string;
|
|
138
134
|
readonly publicationId: string;
|
|
139
135
|
readonly revisionDigest: string;
|
|
140
136
|
readonly revisionId: string;
|
|
141
137
|
readonly sourcePublicationId?: string;
|
|
142
138
|
readonly version: 1;
|
|
143
139
|
}
|
|
144
|
-
export interface Flow {
|
|
145
|
-
readonly draft: {
|
|
146
|
-
readonly closureDigest: string;
|
|
147
|
-
readonly name: string;
|
|
148
|
-
readonly revisionDigest: string;
|
|
149
|
-
readonly revisionId: string;
|
|
150
|
-
} | null;
|
|
151
|
-
readonly flowId: string;
|
|
152
|
-
readonly hasUnpublishedChanges: boolean;
|
|
153
|
-
readonly live: {
|
|
154
|
-
readonly publication: Publication;
|
|
155
|
-
readonly revision: number;
|
|
156
|
-
readonly status: 'runnable' | 'suspended';
|
|
157
|
-
} | null;
|
|
158
|
-
}
|
|
159
140
|
export interface Diagnostic {
|
|
160
141
|
readonly code: string;
|
|
161
142
|
readonly column: number;
|
|
@@ -169,7 +150,6 @@ export interface FlowCheck {
|
|
|
169
150
|
readonly engineContract: string;
|
|
170
151
|
readonly flowId: string;
|
|
171
152
|
readonly modelVersion: number;
|
|
172
|
-
readonly projectId: string;
|
|
173
153
|
readonly revisionDigest: string;
|
|
174
154
|
readonly revisionId: string;
|
|
175
155
|
readonly valid: boolean;
|
|
@@ -178,7 +158,6 @@ export interface FlowCheck {
|
|
|
178
158
|
export interface Live {
|
|
179
159
|
readonly flowId: string;
|
|
180
160
|
readonly hasUnpublishedChanges: boolean;
|
|
181
|
-
readonly projectId: string;
|
|
182
161
|
readonly publication: Publication | null;
|
|
183
162
|
readonly revision: number;
|
|
184
163
|
readonly status: 'not-published' | 'runnable' | 'suspended';
|
|
@@ -194,7 +173,6 @@ export interface Run {
|
|
|
194
173
|
readonly createdAt: string;
|
|
195
174
|
readonly finishedAt?: string;
|
|
196
175
|
readonly flowId: string;
|
|
197
|
-
readonly projectId: string;
|
|
198
176
|
readonly revisionId: string;
|
|
199
177
|
readonly runId: string;
|
|
200
178
|
readonly source: 'draft' | 'live' | 'trigger';
|
|
@@ -225,8 +203,8 @@ export type TriggerRun = RunDetailsBase & {
|
|
|
225
203
|
};
|
|
226
204
|
export type RunDetails = DraftRun | LiveRun | TriggerRun;
|
|
227
205
|
export interface RunPage {
|
|
206
|
+
readonly flowId: string;
|
|
228
207
|
readonly nextCursor?: string;
|
|
229
|
-
readonly projectId: string;
|
|
230
208
|
readonly runs: readonly Run[];
|
|
231
209
|
readonly version: 1;
|
|
232
210
|
}
|
|
@@ -282,68 +260,74 @@ interface PublicationOptions {
|
|
|
282
260
|
readonly idempotencyKey?: string;
|
|
283
261
|
}
|
|
284
262
|
export declare class ApiError extends Error {
|
|
285
|
-
readonly status: number;
|
|
286
263
|
readonly code: string;
|
|
264
|
+
readonly status: number;
|
|
287
265
|
constructor(status: number, code: string, message: string);
|
|
288
266
|
}
|
|
289
267
|
export declare class ControlClient {
|
|
290
268
|
private readonly requestControl;
|
|
291
269
|
constructor(requestControl: ControlRequest);
|
|
292
|
-
|
|
270
|
+
listFlows(options?: {
|
|
293
271
|
readonly cursor?: string;
|
|
294
272
|
readonly includeTotal?: boolean;
|
|
295
273
|
readonly limit?: number;
|
|
296
|
-
}): Promise<
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
274
|
+
}): Promise<FlowPage>;
|
|
275
|
+
listVariables(): Promise<{
|
|
276
|
+
readonly variables: readonly Variable[];
|
|
277
|
+
readonly version: 1;
|
|
278
|
+
}>;
|
|
279
|
+
getVariable(name: string): Promise<Variable>;
|
|
280
|
+
putVariable(name: string, value: string): Promise<Variable>;
|
|
281
|
+
deleteVariable(name: string): Promise<void>;
|
|
282
|
+
createFlow(name: string, idempotencyKey?: string): Promise<Flow>;
|
|
283
|
+
getFlow(flowId: string): Promise<Flow>;
|
|
284
|
+
renameFlow(flowId: string, name: string): Promise<Flow>;
|
|
285
|
+
deleteFlow(flowId: string): Promise<Flow>;
|
|
300
286
|
listTriggerKeys(signal?: AbortSignal): Promise<readonly TriggerKeySummary[]>;
|
|
301
287
|
listTriggerDefinitions(signal?: AbortSignal): Promise<readonly TriggerKeySnapshot[]>;
|
|
302
288
|
getTriggerKey(key: string, signal?: AbortSignal): Promise<TriggerKeySnapshot>;
|
|
303
|
-
listFlowTriggerBindings(
|
|
304
|
-
getFlowTriggerBinding(
|
|
305
|
-
listFlowTriggerActivities(
|
|
289
|
+
listFlowTriggerBindings(flowId: string): Promise<readonly TriggerBinding[]>;
|
|
290
|
+
getFlowTriggerBinding(flowId: string, triggerNodeId: string): Promise<TriggerBindingDetail>;
|
|
291
|
+
listFlowTriggerActivities(flowId: string, triggerNodeId: string, options?: {
|
|
306
292
|
readonly cursor?: string;
|
|
307
293
|
readonly limit?: number;
|
|
308
294
|
}): Promise<TriggerActivityPage>;
|
|
309
|
-
pauseFlowTrigger(
|
|
310
|
-
resumeFlowTrigger(
|
|
311
|
-
testFlowPollTrigger(
|
|
312
|
-
getDraft(
|
|
313
|
-
syncDraft(
|
|
314
|
-
getRevision(
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
listPublications(projectId: string, flowId: string, options?: {
|
|
295
|
+
pauseFlowTrigger(flowId: string, triggerNodeId: string): Promise<TriggerBinding>;
|
|
296
|
+
resumeFlowTrigger(flowId: string, triggerNodeId: string): Promise<TriggerBinding>;
|
|
297
|
+
testFlowPollTrigger(flowId: string, triggerNodeId: string): Promise<PollTriggerTestResult>;
|
|
298
|
+
getDraft(flowId: string): Promise<Draft>;
|
|
299
|
+
syncDraft(flowId: string, fromRevisionId?: string): Promise<DraftSync>;
|
|
300
|
+
getRevision(flowId: string, revisionId: string): Promise<Draft>;
|
|
301
|
+
listConnectorProviders(signal?: AbortSignal): Promise<readonly ConnectorProvider[]>;
|
|
302
|
+
listConnectorActions(serviceId?: string, signal?: AbortSignal): Promise<readonly ConnectorAction[]>;
|
|
303
|
+
searchConnectorActions(query: string, signal?: AbortSignal): Promise<readonly ConnectorAction[]>;
|
|
304
|
+
getConnectorAction(actionId: string, signal?: AbortSignal): Promise<ConnectorAction>;
|
|
305
|
+
listConnectorConnections(serviceId: string, signal?: AbortSignal): Promise<readonly ConnectorConnection[]>;
|
|
306
|
+
createConnectorConnectionPage(serviceId: string): Promise<string>;
|
|
307
|
+
changeDraft(flowId: string, expectedRevisionId: string, operations: readonly ChangeOperation[]): Promise<DraftChange>;
|
|
308
|
+
checkFlow(flowId: string, revisionId: string): Promise<FlowCheck>;
|
|
309
|
+
getLive(flowId: string): Promise<Live>;
|
|
310
|
+
listPublications(flowId: string, options?: {
|
|
326
311
|
readonly cursor?: string;
|
|
327
312
|
readonly includeTotal?: boolean;
|
|
328
313
|
readonly limit?: number;
|
|
329
314
|
}): Promise<PublicationPage>;
|
|
330
|
-
createDraftRun(
|
|
331
|
-
createLiveRun(
|
|
332
|
-
publishFlow(
|
|
333
|
-
rollbackFlow(
|
|
334
|
-
getRun(
|
|
335
|
-
listRuns(
|
|
315
|
+
createDraftRun(flowId: string, revisionId: string, options?: RunOptions): Promise<DraftRun>;
|
|
316
|
+
createLiveRun(publicationId: string, options?: RunOptions): Promise<LiveRun>;
|
|
317
|
+
publishFlow(flowId: string, revisionId: string, expectedLivePublicationId: string | null, options?: PublicationOptions): Promise<Publication>;
|
|
318
|
+
rollbackFlow(flowId: string, publicationId: string, expectedLivePublicationId: string, options?: PublicationOptions): Promise<Publication>;
|
|
319
|
+
getRun(runId: string): Promise<RunDetails>;
|
|
320
|
+
listRuns(flowId: string, options?: {
|
|
336
321
|
readonly cursor?: string;
|
|
337
|
-
readonly flowId?: string;
|
|
338
322
|
readonly limit?: number;
|
|
339
323
|
readonly status?: RunStatus;
|
|
340
324
|
}): Promise<RunPage>;
|
|
341
|
-
getRunEvents(
|
|
325
|
+
getRunEvents(runId: string, options?: {
|
|
342
326
|
readonly after?: number;
|
|
343
327
|
readonly limit?: number;
|
|
344
328
|
}): Promise<RunEvents>;
|
|
345
|
-
getRunResult(
|
|
346
|
-
cancelRun(
|
|
329
|
+
getRunResult(runId: string): Promise<RunResult>;
|
|
330
|
+
cancelRun(runId: string): Promise<RunCancellation>;
|
|
347
331
|
private connectorActions;
|
|
348
332
|
protected request<Value = unknown>(path: string, init?: RequestInit): Promise<Value>;
|
|
349
333
|
}
|