@oomol-lab/open-flow 0.1.0-beta.37 → 0.1.0-beta.39
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/dist/browser/{createResourceDialog-DRB0OEtr.js → createResourceDialog-DnlKSqIs.js} +1 -1
- package/dist/browser/{editorComponent-B-FXsvGH.js → editorComponent-T-GmTa-C.js} +451 -271
- package/dist/browser/flow-authoring-node.d.ts +5 -2
- package/dist/browser/flow-authoring.js +12285 -1916
- package/dist/browser/flow-change.d.ts +5 -4
- package/dist/browser/flow-change.js +1926 -1760
- package/dist/browser/{flowChanges-Bc3Jncg9.js → flowChanges-BXqN4jyH.js} +7815 -7673
- package/dist/browser/{flowWorkspace-JCjjQZzW.js → flowWorkspace-a5QLISui.js} +12019 -11571
- package/dist/browser/{inputValues-eKZ3xev7.js → inputValues-Do4FrC_6.js} +1 -1
- package/dist/browser/licenses.md +1 -1
- package/dist/browser/{typeScriptSession-DnAmJCzu.js → typeScriptSession-vC9uPDVV.js} +1 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/webhook-method.d.ts +3 -0
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +957 -871
- package/dist/browser/{workbenchSelect-DNteZJYP.js → workbenchSelect-Dx2Y46cD.js} +1744 -1569
- package/dist/common/connectorDecoders.d.ts +8 -0
- package/dist/common/control-api-conformance.d.ts +46 -1
- package/dist/common/control-api-conformance.js +6367 -2307
- package/dist/common/control-api.d.ts +42 -12
- package/dist/common/control-api.js +5658 -2942
- package/dist/common/control-requests.d.ts +15 -0
- package/dist/common/control-requests.js +5153 -1952
- package/dist/common/flow-connectionUsage.d.ts +12 -0
- package/dist/common/flow-encoding.d.ts +0 -6
- package/dist/common/flow-encoding.js +1773 -1759
- package/dist/common/flow-semantics.d.ts +2 -0
- package/dist/common/flow-semantics.js +3443 -3246
- package/dist/common/flowInspection.d.ts +90 -1
- package/dist/common/integration-trigger.js +2396 -2229
- package/dist/common/mcp.d.ts +176 -7
- package/dist/common/mcp.js +5109 -2716
- package/dist/common/poll-trigger.js +1641 -1474
- package/dist/common/provider-triggers.js +2800 -2694
- package/dist/common/providerAccess.d.ts +20 -0
- package/dist/common/scheduler.js +2383 -2212
- package/dist/common/trigger-catalog.d.ts +2 -0
- package/dist/common/trigger-contract.d.ts +2 -0
- package/dist/common/webhook-trigger.d.ts +3 -1
- package/dist/common/webhook-trigger.js +7014 -78
- package/package.json +1 -1
- package/dist/browser/lib-GrGxYjsJ.js +0 -7855
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
export { connectorAccess as decodeConnectorAccess } from './connectorDecoders.js';
|
|
2
|
+
import type { ProviderAccessIdentity, ProviderAccessReference } from './providerAccess.js';
|
|
3
|
+
export { parseProviderAccessSource, providerAccessBindingId, type ProviderAccessIdentity, type ProviderAccessReference, type ProviderAccessSource, } from './providerAccess.js';
|
|
1
4
|
import type { DraftOperation } from './draftOperations.js';
|
|
2
|
-
export { inspectFlowDraft } from './flowInspection.js';
|
|
5
|
+
export { inspectFlowDraft, flowInspection, actionSummary, nodeDetails } from './flowInspection.js';
|
|
3
6
|
export type { DraftOperation } from './draftOperations.js';
|
|
4
7
|
import type { SchemaMismatch } from '../browser/flow-change.js';
|
|
5
8
|
import type { CreateEventSource, UpdateEventSource, EventSource } from './event-sources.js';
|
|
6
9
|
export { decodeEventSource, decodeEventSources, type CreateEventSource, type UpdateEventSource, type EventSource } from './event-sources.js';
|
|
7
10
|
import type { TriggerCatalogCache } from './trigger-catalog.js';
|
|
8
|
-
export { decodeTriggerCatalog, type TriggerCatalog, type TriggerCatalogCache, type TriggerDisplay } from './trigger-catalog.js';
|
|
11
|
+
export { decodeTriggerCatalog, searchTriggerKeys, type TriggerCatalog, type TriggerCatalogCache, type TriggerDisplay } from './trigger-catalog.js';
|
|
9
12
|
import type { TriggerConfigOption } from './trigger-config-options.js';
|
|
10
13
|
export type { TriggerConfigOption } from './trigger-config-options.js';
|
|
11
14
|
import type { ResultQuery } from './run-results.js';
|
|
@@ -139,16 +142,19 @@ export interface ConnectorProvider {
|
|
|
139
142
|
}
|
|
140
143
|
export type ConnectorAccessMode = 'implicit' | 'selectable';
|
|
141
144
|
export type ProviderAccessBindingStatus = 'active' | 'forbidden' | 'invalid' | 'missing';
|
|
142
|
-
export
|
|
143
|
-
readonly
|
|
145
|
+
export type ProviderAccessBinding = ((ProviderAccessIdentity & {
|
|
146
|
+
readonly status: ProviderAccessBindingStatus;
|
|
147
|
+
}) | (Extract<ProviderAccessReference, {
|
|
148
|
+
readonly source: null;
|
|
149
|
+
}> & {
|
|
150
|
+
readonly status: 'invalid';
|
|
151
|
+
})) & {
|
|
144
152
|
readonly connectionDisplayName: string;
|
|
145
153
|
readonly permissionGroupName?: string | null;
|
|
146
154
|
readonly policyRevision?: string;
|
|
147
155
|
readonly providerId: string;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
export interface ProviderAccessBindingCandidate {
|
|
151
|
-
readonly accessBindingId: string;
|
|
156
|
+
};
|
|
157
|
+
export interface ProviderAccessBindingCandidate extends ProviderAccessIdentity {
|
|
152
158
|
readonly connectionDisplayName: string;
|
|
153
159
|
readonly isDefault?: boolean;
|
|
154
160
|
readonly permissions?: {
|
|
@@ -162,6 +168,9 @@ export interface ProviderAccessBindingCandidate {
|
|
|
162
168
|
readonly providerId: string;
|
|
163
169
|
}
|
|
164
170
|
export interface ConnectorAccess {
|
|
171
|
+
readonly nodeBindings?: readonly ProviderAccessBinding[];
|
|
172
|
+
readonly discardedBindingCount?: number;
|
|
173
|
+
readonly providerIds?: readonly string[];
|
|
165
174
|
readonly accessRevision: number;
|
|
166
175
|
readonly bindings: readonly ProviderAccessBinding[];
|
|
167
176
|
readonly mode: ConnectorAccessMode;
|
|
@@ -174,6 +183,16 @@ export interface ConnectorAccessCandidates {
|
|
|
174
183
|
readonly providerId: string;
|
|
175
184
|
readonly version: 1;
|
|
176
185
|
}
|
|
186
|
+
export interface ConnectorAccessCandidatesBatch {
|
|
187
|
+
readonly results: readonly (ConnectorAccessCandidates | {
|
|
188
|
+
readonly providerId: string;
|
|
189
|
+
readonly error: {
|
|
190
|
+
readonly code: string;
|
|
191
|
+
readonly message: string;
|
|
192
|
+
};
|
|
193
|
+
})[];
|
|
194
|
+
readonly version: 1;
|
|
195
|
+
}
|
|
177
196
|
export interface RevisionMetadata {
|
|
178
197
|
readonly actorId: string;
|
|
179
198
|
readonly createdAt: string;
|
|
@@ -675,7 +694,7 @@ export declare class ControlClient {
|
|
|
675
694
|
getVariable(name: string): Promise<Variable>;
|
|
676
695
|
putVariable(name: string, value: string): Promise<Variable>;
|
|
677
696
|
deleteVariable(name: string): Promise<void>;
|
|
678
|
-
createFlow(name: string, idempotencyKey?: string): Promise<Flow>;
|
|
697
|
+
createFlow(name: string, idempotencyKey?: string, teamId?: string): Promise<Flow>;
|
|
679
698
|
getFlow(flowId: string): Promise<Flow>;
|
|
680
699
|
renameFlow(flowId: string, name: string): Promise<Flow>;
|
|
681
700
|
deleteFlow(flowId: string): Promise<Flow>;
|
|
@@ -706,11 +725,22 @@ export declare class ControlClient {
|
|
|
706
725
|
getPresentation(flowId: string): Promise<Presentation>;
|
|
707
726
|
getDraft(flowId: string): Promise<Draft>;
|
|
708
727
|
syncDraft(flowId: string): Promise<DraftSync>;
|
|
709
|
-
getRevision(flowId: string, revisionId: string): Promise<Draft>;
|
|
728
|
+
getRevision(flowId: string, revisionId: string, signal?: AbortSignal): Promise<Draft>;
|
|
710
729
|
listTriggerConfigOptions(flowId: string, nodeId: string, field: string, signal?: AbortSignal): Promise<readonly TriggerConfigOption[]>;
|
|
730
|
+
listConnectorTeams(signal?: AbortSignal): Promise<{
|
|
731
|
+
enabled: boolean;
|
|
732
|
+
teams: {
|
|
733
|
+
id: string;
|
|
734
|
+
name: string;
|
|
735
|
+
systemCreated: boolean;
|
|
736
|
+
}[];
|
|
737
|
+
version: 1;
|
|
738
|
+
}>;
|
|
711
739
|
listConnectorProviders(signal?: AbortSignal, flowId?: string, locale?: string): Promise<readonly ConnectorProvider[]>;
|
|
712
|
-
|
|
713
|
-
|
|
740
|
+
removeConnectionUsage(flowId: string, connectionId: string, expectedRevisionId: string, expectedAccessRevision: number, idempotencyKey: string): Promise<DraftChange>;
|
|
741
|
+
getConnectorAccess(flowId: string, signal?: AbortSignal, publicationId?: string): Promise<ConnectorAccess>;
|
|
742
|
+
listProviderAccessBindingCandidates(flowId: string, providerIds: readonly string[], signal?: AbortSignal): Promise<ConnectorAccessCandidatesBatch>;
|
|
743
|
+
setConnectorService(flowId: string, providerId: string, selected: boolean, expectedAccessRevision: number): Promise<ConnectorAccess>;
|
|
714
744
|
addProviderAccessBinding(flowId: string, providerId: string, accessBindingId: string, expectedAccessRevision: number): Promise<ConnectorAccess>;
|
|
715
745
|
removeProviderAccessBinding(flowId: string, providerId: string, accessBindingId: string, expectedAccessRevision: number): Promise<ConnectorAccess>;
|
|
716
746
|
listConnectorActions(serviceId?: string, signal?: AbortSignal, flowId?: string, locale?: string): Promise<readonly ConnectorAction[]>;
|