@activepieces/shared 0.41.1 → 0.42.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/package.json +4 -4
- package/src/index.d.ts +2 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +1 -4
- package/src/index.js.map +1 -1
- package/src/lib/automation/agents/index.d.ts +105 -118
- package/src/lib/automation/agents/index.d.ts.map +1 -0
- package/src/lib/automation/agents/index.js +22 -22
- package/src/lib/automation/agents/index.js.map +1 -1
- package/src/lib/automation/agents/mcp-tool-name-util.d.ts +1 -0
- package/src/lib/automation/agents/mcp-tool-name-util.d.ts.map +1 -0
- package/src/lib/automation/agents/mcp.d.ts +1 -0
- package/src/lib/automation/agents/mcp.d.ts.map +1 -0
- package/src/lib/automation/agents/tools.d.ts +142 -141
- package/src/lib/automation/agents/tools.d.ts.map +1 -0
- package/src/lib/automation/agents/tools.js +30 -31
- package/src/lib/automation/agents/tools.js.map +1 -1
- package/src/lib/automation/app-connection/app-connection.d.ts +41 -42
- package/src/lib/automation/app-connection/app-connection.d.ts.map +1 -0
- package/src/lib/automation/app-connection/app-connection.js +6 -8
- package/src/lib/automation/app-connection/app-connection.js.map +1 -1
- package/src/lib/automation/app-connection/dto/read-app-connection-request.d.ts +29 -28
- package/src/lib/automation/app-connection/dto/read-app-connection-request.d.ts.map +1 -0
- package/src/lib/automation/app-connection/dto/read-app-connection-request.js +15 -14
- package/src/lib/automation/app-connection/dto/read-app-connection-request.js.map +1 -1
- package/src/lib/automation/app-connection/dto/upsert-app-connection-request.d.ts +366 -365
- package/src/lib/automation/app-connection/dto/upsert-app-connection-request.d.ts.map +1 -0
- package/src/lib/automation/app-connection/dto/upsert-app-connection-request.js +61 -102
- package/src/lib/automation/app-connection/dto/upsert-app-connection-request.js.map +1 -1
- package/src/lib/automation/app-connection/oauth2-authorization-method.d.ts +1 -0
- package/src/lib/automation/app-connection/oauth2-authorization-method.d.ts.map +1 -0
- package/src/lib/automation/engine/engine-constants.d.ts +1 -0
- package/src/lib/automation/engine/engine-constants.d.ts.map +1 -0
- package/src/lib/automation/engine/engine-operation.d.ts +22 -21
- package/src/lib/automation/engine/engine-operation.d.ts.map +1 -0
- package/src/lib/automation/engine/engine-operation.js +14 -14
- package/src/lib/automation/engine/engine-operation.js.map +1 -1
- package/src/lib/automation/engine/execution-errors.d.ts +4 -0
- package/src/lib/automation/engine/execution-errors.d.ts.map +1 -0
- package/src/lib/automation/engine/execution-errors.js +7 -1
- package/src/lib/automation/engine/execution-errors.js.map +1 -1
- package/src/lib/automation/engine/index.d.ts +1 -0
- package/src/lib/automation/engine/index.d.ts.map +1 -0
- package/src/lib/automation/engine/requests.d.ts +89 -88
- package/src/lib/automation/engine/requests.d.ts.map +1 -0
- package/src/lib/automation/engine/requests.js +35 -35
- package/src/lib/automation/engine/requests.js.map +1 -1
- package/src/lib/automation/flow-run/dto/list-flow-runs-request.d.ts +16 -15
- package/src/lib/automation/flow-run/dto/list-flow-runs-request.d.ts.map +1 -0
- package/src/lib/automation/flow-run/dto/list-flow-runs-request.js +13 -12
- package/src/lib/automation/flow-run/dto/list-flow-runs-request.js.map +1 -1
- package/src/lib/automation/flow-run/execution/execution-journal.d.ts +1 -0
- package/src/lib/automation/flow-run/execution/execution-journal.d.ts.map +1 -0
- package/src/lib/automation/flow-run/execution/execution-output.d.ts +6 -4
- package/src/lib/automation/flow-run/execution/execution-output.d.ts.map +1 -0
- package/src/lib/automation/flow-run/execution/execution-output.js +4 -4
- package/src/lib/automation/flow-run/execution/execution-output.js.map +1 -1
- package/src/lib/automation/flow-run/execution/flow-execution.d.ts +56 -54
- package/src/lib/automation/flow-run/execution/flow-execution.d.ts.map +1 -0
- package/src/lib/automation/flow-run/execution/flow-execution.js +24 -22
- package/src/lib/automation/flow-run/execution/flow-execution.js.map +1 -1
- package/src/lib/automation/flow-run/execution/step-output.d.ts +1 -0
- package/src/lib/automation/flow-run/execution/step-output.d.ts.map +1 -0
- package/src/lib/automation/flow-run/flow-run.d.ts +55 -56
- package/src/lib/automation/flow-run/flow-run.d.ts.map +1 -0
- package/src/lib/automation/flow-run/flow-run.js +12 -12
- package/src/lib/automation/flow-run/flow-run.js.map +1 -1
- package/src/lib/automation/flow-run/log-serializer.d.ts +1 -0
- package/src/lib/automation/flow-run/log-serializer.d.ts.map +1 -0
- package/src/lib/automation/flow-run/test-flow-run-request.d.ts +44 -43
- package/src/lib/automation/flow-run/test-flow-run-request.d.ts.map +1 -0
- package/src/lib/automation/flow-run/test-flow-run-request.js +31 -31
- package/src/lib/automation/flow-run/test-flow-run-request.js.map +1 -1
- package/src/lib/automation/flows/actions/action.d.ts +493 -571
- package/src/lib/automation/flows/actions/action.d.ts.map +1 -0
- package/src/lib/automation/flows/actions/action.js +114 -118
- package/src/lib/automation/flows/actions/action.js.map +1 -1
- package/src/lib/automation/flows/dto/count-flows-request.d.ts +7 -6
- package/src/lib/automation/flows/dto/count-flows-request.d.ts.map +1 -0
- package/src/lib/automation/flows/dto/count-flows-request.js +4 -4
- package/src/lib/automation/flows/dto/count-flows-request.js.map +1 -1
- package/src/lib/automation/flows/dto/create-flow-request.d.ts +11 -11
- package/src/lib/automation/flows/dto/create-flow-request.d.ts.map +1 -0
- package/src/lib/automation/flows/dto/create-flow-request.js +8 -8
- package/src/lib/automation/flows/dto/create-flow-request.js.map +1 -1
- package/src/lib/automation/flows/dto/flow-mcp.requests.d.ts +8 -7
- package/src/lib/automation/flows/dto/flow-mcp.requests.d.ts.map +1 -0
- package/src/lib/automation/flows/dto/flow-mcp.requests.js +5 -5
- package/src/lib/automation/flows/dto/flow-mcp.requests.js.map +1 -1
- package/src/lib/automation/flows/dto/list-flows-request.d.ts +24 -23
- package/src/lib/automation/flows/dto/list-flows-request.d.ts.map +1 -0
- package/src/lib/automation/flows/dto/list-flows-request.js +18 -17
- package/src/lib/automation/flows/dto/list-flows-request.js.map +1 -1
- package/src/lib/automation/flows/flow-version.d.ts +92 -91
- package/src/lib/automation/flows/flow-version.d.ts.map +1 -0
- package/src/lib/automation/flows/flow-version.js +4 -4
- package/src/lib/automation/flows/flow-version.js.map +1 -1
- package/src/lib/automation/flows/flow.d.ts +138 -143
- package/src/lib/automation/flows/flow.d.ts.map +1 -0
- package/src/lib/automation/flows/flow.js +9 -15
- package/src/lib/automation/flows/flow.js.map +1 -1
- package/src/lib/automation/flows/folders/folder-requests.d.ts +21 -20
- package/src/lib/automation/flows/folders/folder-requests.d.ts.map +1 -0
- package/src/lib/automation/flows/folders/folder-requests.js +12 -12
- package/src/lib/automation/flows/folders/folder-requests.js.map +1 -1
- package/src/lib/automation/flows/folders/folder.d.ts +11 -10
- package/src/lib/automation/flows/folders/folder.d.ts.map +1 -0
- package/src/lib/automation/flows/folders/folder.js +2 -2
- package/src/lib/automation/flows/folders/folder.js.map +1 -1
- package/src/lib/automation/flows/folders/list-folders-response.d.ts +1 -0
- package/src/lib/automation/flows/folders/list-folders-response.d.ts.map +1 -0
- package/src/lib/automation/flows/form.d.ts +50 -49
- package/src/lib/automation/flows/form.d.ts.map +1 -0
- package/src/lib/automation/flows/form.js +22 -22
- package/src/lib/automation/flows/form.js.map +1 -1
- package/src/lib/automation/flows/index.d.ts +1 -0
- package/src/lib/automation/flows/index.d.ts.map +1 -0
- package/src/lib/automation/flows/note.d.ts +19 -18
- package/src/lib/automation/flows/note.d.ts.map +1 -0
- package/src/lib/automation/flows/note.js +14 -14
- package/src/lib/automation/flows/note.js.map +1 -1
- package/src/lib/automation/flows/operations/add-action-util.d.ts +1 -0
- package/src/lib/automation/flows/operations/add-action-util.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/add-action-util.js +3 -0
- package/src/lib/automation/flows/operations/add-action-util.js.map +1 -1
- package/src/lib/automation/flows/operations/add-action.d.ts +1 -0
- package/src/lib/automation/flows/operations/add-action.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/add-action.js +5 -3
- package/src/lib/automation/flows/operations/add-action.js.map +1 -1
- package/src/lib/automation/flows/operations/add-branch.d.ts +1 -0
- package/src/lib/automation/flows/operations/add-branch.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/copy-action-operations.d.ts +1 -0
- package/src/lib/automation/flows/operations/copy-action-operations.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/delete-action.d.ts +1 -0
- package/src/lib/automation/flows/operations/delete-action.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/delete-branch.d.ts +1 -0
- package/src/lib/automation/flows/operations/delete-branch.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/duplicate-step.d.ts +1 -0
- package/src/lib/automation/flows/operations/duplicate-step.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/import-flow.d.ts +1 -0
- package/src/lib/automation/flows/operations/import-flow.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/index.d.ts +1067 -1165
- package/src/lib/automation/flows/operations/index.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/index.js +154 -183
- package/src/lib/automation/flows/operations/index.js.map +1 -1
- package/src/lib/automation/flows/operations/move-action.d.ts +1 -0
- package/src/lib/automation/flows/operations/move-action.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/move-branch.d.ts +1 -0
- package/src/lib/automation/flows/operations/move-branch.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/notes-operations.d.ts +1 -0
- package/src/lib/automation/flows/operations/notes-operations.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/notes-operations.js +4 -2
- package/src/lib/automation/flows/operations/notes-operations.js.map +1 -1
- package/src/lib/automation/flows/operations/paste-operations.d.ts +204 -248
- package/src/lib/automation/flows/operations/paste-operations.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/skip-action.d.ts +1 -0
- package/src/lib/automation/flows/operations/skip-action.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/update-action.d.ts +1 -0
- package/src/lib/automation/flows/operations/update-action.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/update-action.js +15 -7
- package/src/lib/automation/flows/operations/update-action.js.map +1 -1
- package/src/lib/automation/flows/operations/update-sample-data-info.d.ts +67 -0
- package/src/lib/automation/flows/operations/update-sample-data-info.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/update-sample-data-info.js +16 -0
- package/src/lib/automation/flows/operations/update-sample-data-info.js.map +1 -0
- package/src/lib/automation/flows/operations/update-trigger.d.ts +1 -0
- package/src/lib/automation/flows/operations/update-trigger.d.ts.map +1 -0
- package/src/lib/automation/flows/operations/update-trigger.js +9 -6
- package/src/lib/automation/flows/operations/update-trigger.js.map +1 -1
- package/src/lib/automation/flows/properties/index.d.ts +1 -0
- package/src/lib/automation/flows/properties/index.d.ts.map +1 -0
- package/src/lib/automation/flows/properties/property.d.ts +7 -6
- package/src/lib/automation/flows/properties/property.d.ts.map +1 -0
- package/src/lib/automation/flows/properties/property.js +4 -4
- package/src/lib/automation/flows/properties/property.js.map +1 -1
- package/src/lib/automation/flows/sample-data/index.d.ts +47 -46
- package/src/lib/automation/flows/sample-data/index.d.ts.map +1 -0
- package/src/lib/automation/flows/sample-data/index.js +31 -33
- package/src/lib/automation/flows/sample-data/index.js.map +1 -1
- package/src/lib/automation/flows/step-file/step-file.d.ts +17 -16
- package/src/lib/automation/flows/step-file/step-file.d.ts.map +1 -0
- package/src/lib/automation/flows/step-file/step-file.js +10 -10
- package/src/lib/automation/flows/step-file/step-file.js.map +1 -1
- package/src/lib/automation/flows/test-trigger.d.ts +14 -13
- package/src/lib/automation/flows/test-trigger.d.ts.map +1 -0
- package/src/lib/automation/flows/test-trigger.js +4 -4
- package/src/lib/automation/flows/test-trigger.js.map +1 -1
- package/src/lib/automation/flows/triggers/trigger-events/trigger-event.d.ts +19 -18
- package/src/lib/automation/flows/triggers/trigger-events/trigger-event.d.ts.map +1 -0
- package/src/lib/automation/flows/triggers/trigger-events/trigger-event.js +10 -13
- package/src/lib/automation/flows/triggers/trigger-events/trigger-event.js.map +1 -1
- package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.d.ts +15 -14
- package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.d.ts.map +1 -0
- package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.js +8 -8
- package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.js.map +1 -1
- package/src/lib/automation/flows/triggers/trigger-run.d.ts +12 -11
- package/src/lib/automation/flows/triggers/trigger-run.d.ts.map +1 -0
- package/src/lib/automation/flows/triggers/trigger-run.js +7 -7
- package/src/lib/automation/flows/triggers/trigger-run.js.map +1 -1
- package/src/lib/automation/flows/triggers/trigger.d.ts +87 -82
- package/src/lib/automation/flows/triggers/trigger.d.ts.map +1 -0
- package/src/lib/automation/flows/triggers/trigger.js +16 -15
- package/src/lib/automation/flows/triggers/trigger.js.map +1 -1
- package/src/lib/automation/flows/util/flow-canvas-util.d.ts +19 -0
- package/src/lib/automation/flows/util/flow-canvas-util.d.ts.map +1 -0
- package/src/lib/automation/flows/util/flow-canvas-util.js +126 -0
- package/src/lib/automation/flows/util/flow-canvas-util.js.map +1 -0
- package/src/lib/automation/flows/util/flow-piece-util.d.ts +1 -0
- package/src/lib/automation/flows/util/flow-piece-util.d.ts.map +1 -0
- package/src/lib/automation/flows/util/flow-structure-util.d.ts +6 -5
- package/src/lib/automation/flows/util/flow-structure-util.d.ts.map +1 -0
- package/src/lib/automation/forms/index.d.ts +43 -42
- package/src/lib/automation/forms/index.d.ts.map +1 -0
- package/src/lib/automation/forms/index.js +21 -21
- package/src/lib/automation/forms/index.js.map +1 -1
- package/src/lib/automation/mcp/index.d.ts +1 -0
- package/src/lib/automation/mcp/index.d.ts.map +1 -0
- package/src/lib/automation/mcp/mcp.d.ts +122 -108
- package/src/lib/automation/mcp/mcp.d.ts.map +1 -0
- package/src/lib/automation/mcp/mcp.js +8 -7
- package/src/lib/automation/mcp/mcp.js.map +1 -1
- package/src/lib/automation/mcp/pieces/mcp-piece.d.ts +25 -24
- package/src/lib/automation/mcp/pieces/mcp-piece.d.ts.map +1 -0
- package/src/lib/automation/mcp/pieces/mcp-piece.js +14 -14
- package/src/lib/automation/mcp/pieces/mcp-piece.js.map +1 -1
- package/src/lib/automation/pieces/dto/piece-requests.d.ts +68 -67
- package/src/lib/automation/pieces/dto/piece-requests.d.ts.map +1 -0
- package/src/lib/automation/pieces/dto/piece-requests.js +47 -58
- package/src/lib/automation/pieces/dto/piece-requests.js.map +1 -1
- package/src/lib/automation/pieces/index.d.ts +1 -0
- package/src/lib/automation/pieces/index.d.ts.map +1 -0
- package/src/lib/automation/pieces/piece.d.ts +57 -56
- package/src/lib/automation/pieces/piece.d.ts.map +1 -0
- package/src/lib/automation/pieces/piece.js +21 -21
- package/src/lib/automation/pieces/piece.js.map +1 -1
- package/src/lib/automation/pieces/utils.d.ts +1 -0
- package/src/lib/automation/pieces/utils.d.ts.map +1 -0
- package/src/lib/automation/project-release/project-release.d.ts +28 -27
- package/src/lib/automation/project-release/project-release.d.ts.map +1 -0
- package/src/lib/automation/project-release/project-release.js +2 -2
- package/src/lib/automation/project-release/project-release.js.map +1 -1
- package/src/lib/automation/project-release/project-release.request.d.ts +66 -65
- package/src/lib/automation/project-release/project-release.request.d.ts.map +1 -0
- package/src/lib/automation/project-release/project-release.request.js +25 -25
- package/src/lib/automation/project-release/project-release.request.js.map +1 -1
- package/src/lib/automation/project-release/project-state.d.ts +1267 -1286
- package/src/lib/automation/project-release/project-state.d.ts.map +1 -0
- package/src/lib/automation/project-release/project-state.js +73 -73
- package/src/lib/automation/project-release/project-state.js.map +1 -1
- package/src/lib/automation/tables/cell.d.ts +12 -11
- package/src/lib/automation/tables/cell.d.ts.map +1 -0
- package/src/lib/automation/tables/cell.js +2 -2
- package/src/lib/automation/tables/cell.js.map +1 -1
- package/src/lib/automation/tables/dto/fields.dto.d.ts +27 -26
- package/src/lib/automation/tables/dto/fields.dto.d.ts.map +1 -0
- package/src/lib/automation/tables/dto/fields.dto.js +18 -18
- package/src/lib/automation/tables/dto/fields.dto.js.map +1 -1
- package/src/lib/automation/tables/dto/records.dto.d.ts +41 -40
- package/src/lib/automation/tables/dto/records.dto.d.ts.map +1 -0
- package/src/lib/automation/tables/dto/records.dto.js +26 -25
- package/src/lib/automation/tables/dto/records.dto.js.map +1 -1
- package/src/lib/automation/tables/dto/tables.dto.d.ts +56 -55
- package/src/lib/automation/tables/dto/tables.dto.d.ts.map +1 -0
- package/src/lib/automation/tables/dto/tables.dto.js +32 -31
- package/src/lib/automation/tables/dto/tables.dto.js.map +1 -1
- package/src/lib/automation/tables/field.d.ts +27 -26
- package/src/lib/automation/tables/field.d.ts.map +1 -0
- package/src/lib/automation/tables/field.js +5 -5
- package/src/lib/automation/tables/field.js.map +1 -1
- package/src/lib/automation/tables/index.d.ts +1 -0
- package/src/lib/automation/tables/index.d.ts.map +1 -0
- package/src/lib/automation/tables/record.d.ts +24 -23
- package/src/lib/automation/tables/record.d.ts.map +1 -0
- package/src/lib/automation/tables/record.js +7 -13
- package/src/lib/automation/tables/record.js.map +1 -1
- package/src/lib/automation/tables/table-webhook.d.ts +12 -11
- package/src/lib/automation/tables/table-webhook.d.ts.map +1 -0
- package/src/lib/automation/tables/table-webhook.js +2 -2
- package/src/lib/automation/tables/table-webhook.js.map +1 -1
- package/src/lib/automation/tables/table.d.ts +50 -49
- package/src/lib/automation/tables/table.d.ts.map +1 -0
- package/src/lib/automation/tables/table.js +5 -8
- package/src/lib/automation/tables/table.js.map +1 -1
- package/src/lib/automation/trigger/index.d.ts +33 -32
- package/src/lib/automation/trigger/index.d.ts.map +1 -0
- package/src/lib/automation/trigger/index.js +9 -9
- package/src/lib/automation/trigger/index.js.map +1 -1
- package/src/lib/automation/webhook/dto.d.ts +6 -5
- package/src/lib/automation/webhook/dto.d.ts.map +1 -0
- package/src/lib/automation/webhook/dto.js +2 -2
- package/src/lib/automation/webhook/dto.js.map +1 -1
- package/src/lib/automation/webhook/index.d.ts +1 -0
- package/src/lib/automation/webhook/index.d.ts.map +1 -0
- package/src/lib/automation/websocket/index.d.ts +7 -6
- package/src/lib/automation/websocket/index.d.ts.map +1 -0
- package/src/lib/automation/websocket/index.js +4 -4
- package/src/lib/automation/websocket/index.js.map +1 -1
- package/src/lib/automation/websocket/socket-utils.d.ts +1 -0
- package/src/lib/automation/websocket/socket-utils.d.ts.map +1 -0
- package/src/lib/automation/workers/index.d.ts +368 -367
- package/src/lib/automation/workers/index.d.ts.map +1 -0
- package/src/lib/automation/workers/index.js +75 -75
- package/src/lib/automation/workers/index.js.map +1 -1
- package/src/lib/automation/workers/job-data.d.ts +782 -781
- package/src/lib/automation/workers/job-data.d.ts.map +1 -0
- package/src/lib/automation/workers/job-data.js +106 -106
- package/src/lib/automation/workers/job-data.js.map +1 -1
- package/src/lib/automation/workers/queue-metrics.d.ts +26 -25
- package/src/lib/automation/workers/queue-metrics.d.ts.map +1 -0
- package/src/lib/automation/workers/queue-metrics.js +11 -11
- package/src/lib/automation/workers/queue-metrics.js.map +1 -1
- package/src/lib/core/authentication/dto/authentication-response.d.ts +26 -25
- package/src/lib/core/authentication/dto/authentication-response.d.ts.map +1 -0
- package/src/lib/core/authentication/dto/authentication-response.js +6 -10
- package/src/lib/core/authentication/dto/authentication-response.js.map +1 -1
- package/src/lib/core/authentication/dto/sign-in-request.d.ts +7 -6
- package/src/lib/core/authentication/dto/sign-in-request.d.ts.map +1 -0
- package/src/lib/core/authentication/dto/sign-in-request.js +2 -2
- package/src/lib/core/authentication/dto/sign-in-request.js.map +1 -1
- package/src/lib/core/authentication/dto/sign-up-request.d.ts +15 -14
- package/src/lib/core/authentication/dto/sign-up-request.d.ts.map +1 -0
- package/src/lib/core/authentication/dto/sign-up-request.js +7 -11
- package/src/lib/core/authentication/dto/sign-up-request.js.map +1 -1
- package/src/lib/core/authentication/model/principal-type.d.ts +1 -0
- package/src/lib/core/authentication/model/principal-type.d.ts.map +1 -0
- package/src/lib/core/authentication/model/principal.d.ts +1 -0
- package/src/lib/core/authentication/model/principal.d.ts.map +1 -0
- package/src/lib/core/authentication/user-identity.d.ts +18 -17
- package/src/lib/core/authentication/user-identity.d.ts.map +1 -0
- package/src/lib/core/authentication/user-identity.js +2 -2
- package/src/lib/core/authentication/user-identity.js.map +1 -1
- package/src/lib/core/common/activepieces-error.d.ts +7 -1
- package/src/lib/core/common/activepieces-error.d.ts.map +1 -0
- package/src/lib/core/common/activepieces-error.js +1 -0
- package/src/lib/core/common/activepieces-error.js.map +1 -1
- package/src/lib/core/common/base-model.d.ts +10 -22
- package/src/lib/core/common/base-model.d.ts.map +1 -0
- package/src/lib/core/common/base-model.js +12 -21
- package/src/lib/core/common/base-model.js.map +1 -1
- package/src/lib/core/common/color.d.ts +4 -3
- package/src/lib/core/common/color.d.ts.map +1 -0
- package/src/lib/core/common/color.js +2 -4
- package/src/lib/core/common/color.js.map +1 -1
- package/src/lib/core/common/id-generator.d.ts +4 -3
- package/src/lib/core/common/id-generator.d.ts.map +1 -0
- package/src/lib/core/common/id-generator.js +2 -4
- package/src/lib/core/common/id-generator.js.map +1 -1
- package/src/lib/core/common/index.d.ts +1 -0
- package/src/lib/core/common/index.d.ts.map +1 -0
- package/src/lib/core/common/locale.d.ts +1 -0
- package/src/lib/core/common/locale.d.ts.map +1 -0
- package/src/lib/core/common/metadata.d.ts +4 -3
- package/src/lib/core/common/metadata.d.ts.map +1 -0
- package/src/lib/core/common/metadata.js +2 -2
- package/src/lib/core/common/metadata.js.map +1 -1
- package/src/lib/core/common/multipart-file.d.ts +9 -8
- package/src/lib/core/common/multipart-file.d.ts.map +1 -0
- package/src/lib/core/common/multipart-file.js +6 -6
- package/src/lib/core/common/multipart-file.js.map +1 -1
- package/src/lib/core/common/security/index.d.ts +1 -0
- package/src/lib/core/common/security/index.d.ts.map +1 -0
- package/src/lib/core/common/security/permission.d.ts +1 -0
- package/src/lib/core/common/security/permission.d.ts.map +1 -0
- package/src/lib/core/common/seek-page.d.ts +3 -2
- package/src/lib/core/common/seek-page.d.ts.map +1 -0
- package/src/lib/core/common/seek-page.js +5 -5
- package/src/lib/core/common/seek-page.js.map +1 -1
- package/src/lib/core/common/telemetry.d.ts +1 -0
- package/src/lib/core/common/telemetry.d.ts.map +1 -0
- package/src/lib/core/common/try-catch.d.ts +1 -0
- package/src/lib/core/common/try-catch.d.ts.map +1 -0
- package/src/lib/core/common/utils/assertions.d.ts +1 -0
- package/src/lib/core/common/utils/assertions.d.ts.map +1 -0
- package/src/lib/core/common/utils/index.d.ts +1 -0
- package/src/lib/core/common/utils/index.d.ts.map +1 -0
- package/src/lib/core/common/utils/object-utils.d.ts +1 -0
- package/src/lib/core/common/utils/object-utils.d.ts.map +1 -0
- package/src/lib/core/common/utils/utils.d.ts +1 -0
- package/src/lib/core/common/utils/utils.d.ts.map +1 -0
- package/src/lib/core/federated-authn/authn-provider-name.d.ts +1 -0
- package/src/lib/core/federated-authn/authn-provider-name.d.ts.map +1 -0
- package/src/lib/core/federated-authn/index.d.ts +51 -50
- package/src/lib/core/federated-authn/index.d.ts.map +1 -0
- package/src/lib/core/federated-authn/index.js +20 -20
- package/src/lib/core/federated-authn/index.js.map +1 -1
- package/src/lib/core/feedback-url.d.ts +1 -0
- package/src/lib/core/feedback-url.d.ts.map +1 -0
- package/src/lib/core/file/index.d.ts +21 -18
- package/src/lib/core/file/index.d.ts.map +1 -0
- package/src/lib/core/file/index.js +4 -2
- package/src/lib/core/file/index.js.map +1 -1
- package/src/lib/core/flag/flag.d.ts +1 -0
- package/src/lib/core/flag/flag.d.ts.map +1 -0
- package/src/lib/core/flag/flag.requests.d.ts +6 -5
- package/src/lib/core/flag/flag.requests.d.ts.map +1 -0
- package/src/lib/core/flag/flag.requests.js +3 -3
- package/src/lib/core/flag/flag.requests.js.map +1 -1
- package/src/lib/core/flag/index.d.ts +1 -0
- package/src/lib/core/flag/index.d.ts.map +1 -0
- package/src/lib/core/health/index.d.ts +9 -8
- package/src/lib/core/health/index.d.ts.map +1 -0
- package/src/lib/core/health/index.js +6 -6
- package/src/lib/core/health/index.js.map +1 -1
- package/src/lib/core/license-keys/index.d.ts +59 -58
- package/src/lib/core/license-keys/index.d.ts.map +1 -0
- package/src/lib/core/license-keys/index.js +35 -35
- package/src/lib/core/license-keys/index.js.map +1 -1
- package/src/lib/core/property/markdown/index.d.ts +1 -0
- package/src/lib/core/property/markdown/index.d.ts.map +1 -0
- package/src/lib/core/store-entry/dto/store-entry-request.d.ts +15 -14
- package/src/lib/core/store-entry/dto/store-entry-request.d.ts.map +1 -0
- package/src/lib/core/store-entry/dto/store-entry-request.js +8 -10
- package/src/lib/core/store-entry/dto/store-entry-request.js.map +1 -1
- package/src/lib/core/store-entry/store-entry.d.ts +1 -0
- package/src/lib/core/store-entry/store-entry.d.ts.map +1 -0
- package/src/lib/core/support-url.d.ts +1 -0
- package/src/lib/core/support-url.d.ts.map +1 -0
- package/src/lib/core/tag/index.d.ts +37 -32
- package/src/lib/core/tag/index.d.ts.map +1 -0
- package/src/lib/core/tag/index.js +15 -12
- package/src/lib/core/tag/index.js.map +1 -1
- package/src/lib/core/user/badges/index.d.ts +10 -9
- package/src/lib/core/user/badges/index.d.ts.map +1 -0
- package/src/lib/core/user/badges/index.js +2 -2
- package/src/lib/core/user/badges/index.js.map +1 -1
- package/src/lib/core/user/index.d.ts +14 -13
- package/src/lib/core/user/index.d.ts.map +1 -0
- package/src/lib/core/user/index.js +9 -9
- package/src/lib/core/user/index.js.map +1 -1
- package/src/lib/core/user/user.d.ts +63 -62
- package/src/lib/core/user/user.d.ts.map +1 -0
- package/src/lib/core/user/user.js +27 -32
- package/src/lib/core/user/user.js.map +1 -1
- package/src/lib/ee/alerts/alerts-dto.d.ts +11 -10
- package/src/lib/ee/alerts/alerts-dto.d.ts.map +1 -0
- package/src/lib/ee/alerts/alerts-dto.js +2 -2
- package/src/lib/ee/alerts/alerts-dto.js.map +1 -1
- package/src/lib/ee/alerts/alerts-requests.d.ts +14 -13
- package/src/lib/ee/alerts/alerts-requests.d.ts.map +1 -0
- package/src/lib/ee/alerts/alerts-requests.js +7 -7
- package/src/lib/ee/alerts/alerts-requests.js.map +1 -1
- package/src/lib/ee/alerts/index.d.ts +1 -0
- package/src/lib/ee/alerts/index.d.ts.map +1 -0
- package/src/lib/ee/api-key/index.d.ts +38 -37
- package/src/lib/ee/api-key/index.d.ts.map +1 -0
- package/src/lib/ee/api-key/index.js +8 -11
- package/src/lib/ee/api-key/index.js.map +1 -1
- package/src/lib/ee/audit-events/index.d.ts +1450 -1487
- package/src/lib/ee/audit-events/index.d.ts.map +1 -0
- package/src/lib/ee/audit-events/index.js +142 -113
- package/src/lib/ee/audit-events/index.js.map +1 -1
- package/src/lib/ee/authn/access-control-list.d.ts +1 -0
- package/src/lib/ee/authn/access-control-list.d.ts.map +1 -0
- package/src/lib/ee/authn/enterprise-local-authn/index.d.ts +1 -0
- package/src/lib/ee/authn/enterprise-local-authn/index.d.ts.map +1 -0
- package/src/lib/ee/authn/enterprise-local-authn/requests.d.ts +22 -21
- package/src/lib/ee/authn/enterprise-local-authn/requests.d.ts.map +1 -0
- package/src/lib/ee/authn/enterprise-local-authn/requests.js +9 -12
- package/src/lib/ee/authn/enterprise-local-authn/requests.js.map +1 -1
- package/src/lib/ee/authn/index.d.ts +1 -0
- package/src/lib/ee/authn/index.d.ts.map +1 -0
- package/src/lib/ee/billing/index.d.ts +24 -23
- package/src/lib/ee/billing/index.d.ts.map +1 -0
- package/src/lib/ee/billing/index.js +15 -15
- package/src/lib/ee/billing/index.js.map +1 -1
- package/src/lib/ee/custom-domains/index.d.ts +20 -19
- package/src/lib/ee/custom-domains/index.d.ts.map +1 -0
- package/src/lib/ee/custom-domains/index.js +7 -9
- package/src/lib/ee/custom-domains/index.js.map +1 -1
- package/src/lib/ee/event-destinations/dto.d.ts +21 -20
- package/src/lib/ee/event-destinations/dto.d.ts.map +1 -0
- package/src/lib/ee/event-destinations/dto.js +9 -9
- package/src/lib/ee/event-destinations/dto.js.map +1 -1
- package/src/lib/ee/event-destinations/index.d.ts +30 -29
- package/src/lib/ee/event-destinations/index.d.ts.map +1 -0
- package/src/lib/ee/event-destinations/index.js +5 -5
- package/src/lib/ee/event-destinations/index.js.map +1 -1
- package/src/lib/ee/git-repo/index.d.ts +64 -63
- package/src/lib/ee/git-repo/index.d.ts.map +1 -0
- package/src/lib/ee/git-repo/index.js +22 -38
- package/src/lib/ee/git-repo/index.js.map +1 -1
- package/src/lib/ee/managed-authn/index.d.ts +1 -0
- package/src/lib/ee/managed-authn/index.d.ts.map +1 -0
- package/src/lib/ee/managed-authn/managed-authn-requests.d.ts +6 -5
- package/src/lib/ee/managed-authn/managed-authn-requests.d.ts.map +1 -0
- package/src/lib/ee/managed-authn/managed-authn-requests.js +4 -4
- package/src/lib/ee/managed-authn/managed-authn-requests.js.map +1 -1
- package/src/lib/ee/oauth-apps/index.d.ts +1 -0
- package/src/lib/ee/oauth-apps/index.d.ts.map +1 -0
- package/src/lib/ee/oauth-apps/oauth-app.d.ts +22 -21
- package/src/lib/ee/oauth-apps/oauth-app.d.ts.map +1 -0
- package/src/lib/ee/oauth-apps/oauth-app.js +9 -9
- package/src/lib/ee/oauth-apps/oauth-app.js.map +1 -1
- package/src/lib/ee/otp/index.d.ts +1 -0
- package/src/lib/ee/otp/index.d.ts.map +1 -0
- package/src/lib/ee/otp/otp-model.d.ts +12 -11
- package/src/lib/ee/otp/otp-model.d.ts.map +1 -0
- package/src/lib/ee/otp/otp-model.js +2 -2
- package/src/lib/ee/otp/otp-model.js.map +1 -1
- package/src/lib/ee/otp/otp-requests.d.ts +7 -6
- package/src/lib/ee/otp/otp-requests.d.ts.map +1 -0
- package/src/lib/ee/otp/otp-requests.js +4 -4
- package/src/lib/ee/otp/otp-requests.js.map +1 -1
- package/src/lib/ee/otp/otp-type.d.ts +1 -0
- package/src/lib/ee/otp/otp-type.d.ts.map +1 -0
- package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.d.ts +51 -50
- package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.d.ts.map +1 -0
- package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.js +24 -24
- package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.js.map +1 -1
- package/src/lib/ee/product-embed/app-credentials/app-credentials.d.ts +1 -0
- package/src/lib/ee/product-embed/app-credentials/app-credentials.d.ts.map +1 -0
- package/src/lib/ee/product-embed/app-credentials/index.d.ts +1 -0
- package/src/lib/ee/product-embed/app-credentials/index.d.ts.map +1 -0
- package/src/lib/ee/product-embed/connection-keys/connection-key.d.ts +1 -0
- package/src/lib/ee/product-embed/connection-keys/connection-key.d.ts.map +1 -0
- package/src/lib/ee/product-embed/connection-keys/connection-requests.d.ts +47 -46
- package/src/lib/ee/product-embed/connection-keys/connection-requests.d.ts.map +1 -0
- package/src/lib/ee/product-embed/connection-keys/connection-requests.js +24 -24
- package/src/lib/ee/product-embed/connection-keys/connection-requests.js.map +1 -1
- package/src/lib/ee/product-embed/connection-keys/index.d.ts +1 -0
- package/src/lib/ee/product-embed/connection-keys/index.d.ts.map +1 -0
- package/src/lib/ee/project-members/project-member-request.d.ts +25 -24
- package/src/lib/ee/project-members/project-member-request.d.ts.map +1 -0
- package/src/lib/ee/project-members/project-member-request.js +14 -14
- package/src/lib/ee/project-members/project-member-request.js.map +1 -1
- package/src/lib/ee/project-members/project-member.d.ts +50 -49
- package/src/lib/ee/project-members/project-member.d.ts.map +1 -0
- package/src/lib/ee/project-members/project-member.js +6 -8
- package/src/lib/ee/project-members/project-member.js.map +1 -1
- package/src/lib/ee/scim/index.d.ts +168 -172
- package/src/lib/ee/scim/index.d.ts.map +1 -0
- package/src/lib/ee/scim/index.js +79 -79
- package/src/lib/ee/scim/index.js.map +1 -1
- package/src/lib/ee/secret-managers/dto.d.ts +60 -59
- package/src/lib/ee/secret-managers/dto.d.ts.map +1 -0
- package/src/lib/ee/secret-managers/dto.js +28 -29
- package/src/lib/ee/secret-managers/dto.js.map +1 -1
- package/src/lib/ee/secret-managers/index.d.ts +161 -208
- package/src/lib/ee/secret-managers/index.d.ts.map +1 -0
- package/src/lib/ee/secret-managers/index.js +27 -27
- package/src/lib/ee/secret-managers/index.js.map +1 -1
- package/src/lib/ee/signing-key/index.d.ts +1 -0
- package/src/lib/ee/signing-key/index.d.ts.map +1 -0
- package/src/lib/ee/signing-key/signing-key-model.d.ts +12 -11
- package/src/lib/ee/signing-key/signing-key-model.d.ts.map +1 -0
- package/src/lib/ee/signing-key/signing-key-model.js +3 -3
- package/src/lib/ee/signing-key/signing-key-model.js.map +1 -1
- package/src/lib/ee/signing-key/signing-key-response.d.ts +1 -0
- package/src/lib/ee/signing-key/signing-key-response.d.ts.map +1 -0
- package/src/lib/ee/signing-key/signing-key.request.d.ts +6 -5
- package/src/lib/ee/signing-key/signing-key.request.d.ts.map +1 -0
- package/src/lib/ee/signing-key/signing-key.request.js +3 -3
- package/src/lib/ee/signing-key/signing-key.request.js.map +1 -1
- package/src/lib/management/ai-providers/index.d.ts +413 -419
- package/src/lib/management/ai-providers/index.d.ts.map +1 -0
- package/src/lib/management/ai-providers/index.js +74 -84
- package/src/lib/management/ai-providers/index.js.map +1 -1
- package/src/lib/management/analytics/index.d.ts +92 -91
- package/src/lib/management/analytics/index.d.ts.map +1 -0
- package/src/lib/management/analytics/index.js +29 -29
- package/src/lib/management/analytics/index.js.map +1 -1
- package/src/lib/management/invitations/index.d.ts +72 -71
- package/src/lib/management/invitations/index.d.ts.map +1 -0
- package/src/lib/management/invitations/index.js +23 -23
- package/src/lib/management/invitations/index.js.map +1 -1
- package/src/lib/management/platform/index.d.ts +1 -0
- package/src/lib/management/platform/index.d.ts.map +1 -0
- package/src/lib/management/platform/platform.model.d.ts +265 -270
- package/src/lib/management/platform/platform.model.d.ts.map +1 -0
- package/src/lib/management/platform/platform.model.js +39 -41
- package/src/lib/management/platform/platform.model.js.map +1 -1
- package/src/lib/management/platform/platform.request.d.ts +67 -66
- package/src/lib/management/platform/platform.request.d.ts.map +1 -0
- package/src/lib/management/platform/platform.request.js +29 -30
- package/src/lib/management/platform/platform.request.js.map +1 -1
- package/src/lib/management/project/index.d.ts +1 -0
- package/src/lib/management/project/index.d.ts.map +1 -0
- package/src/lib/management/project/project-member.d.ts +1 -0
- package/src/lib/management/project/project-member.d.ts.map +1 -0
- package/src/lib/management/project/project-requests.d.ts +33 -34
- package/src/lib/management/project/project-requests.d.ts.map +1 -0
- package/src/lib/management/project/project-requests.js +23 -27
- package/src/lib/management/project/project-requests.js.map +1 -1
- package/src/lib/management/project/project.d.ts +119 -124
- package/src/lib/management/project/project.d.ts.map +1 -0
- package/src/lib/management/project/project.js +26 -31
- package/src/lib/management/project/project.js.map +1 -1
- package/src/lib/management/project-role/project-role.d.ts +13 -12
- package/src/lib/management/project-role/project-role.d.ts.map +1 -0
- package/src/lib/management/project-role/project-role.js +2 -2
- package/src/lib/management/project-role/project-role.js.map +1 -1
- package/src/lib/management/project-role/project-role.request.d.ts +18 -17
- package/src/lib/management/project-role/project-role.request.d.ts.map +1 -0
- package/src/lib/management/project-role/project-role.request.js +11 -15
- package/src/lib/management/project-role/project-role.request.js.map +1 -1
- package/src/lib/management/template/flow-template/flow-template.request.d.ts +6 -5
- package/src/lib/management/template/flow-template/flow-template.request.d.ts.map +1 -0
- package/src/lib/management/template/flow-template/flow-template.request.js +3 -3
- package/src/lib/management/template/flow-template/flow-template.request.js.map +1 -1
- package/src/lib/management/template/flow-template/index.d.ts +1 -0
- package/src/lib/management/template/flow-template/index.d.ts.map +1 -0
- package/src/lib/management/template/index.d.ts +1 -0
- package/src/lib/management/template/index.d.ts.map +1 -0
- package/src/lib/management/template/template-telemetry.d.ts +22 -21
- package/src/lib/management/template/template-telemetry.d.ts.map +1 -0
- package/src/lib/management/template/template-telemetry.js +20 -21
- package/src/lib/management/template/template-telemetry.js.map +1 -1
- package/src/lib/management/template/template.d.ts +289 -286
- package/src/lib/management/template/template.d.ts.map +1 -0
- package/src/lib/management/template/template.js +44 -20
- package/src/lib/management/template/template.js.map +1 -1
- package/src/lib/management/template/template.requests.d.ts +226 -225
- package/src/lib/management/template/template.requests.d.ts.map +1 -0
- package/src/lib/management/template/template.requests.js +26 -26
- package/src/lib/management/template/template.requests.js.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
import { FlowStatus } from '../flow';
|
|
3
3
|
import { FlowVersion } from '../flow-version';
|
|
4
4
|
import { FlowTriggerType } from '../triggers/trigger';
|
|
@@ -28,937 +28,883 @@ export declare enum FlowOperationType {
|
|
|
28
28
|
UPDATE_OWNER = "UPDATE_OWNER",
|
|
29
29
|
UPDATE_NOTE = "UPDATE_NOTE",
|
|
30
30
|
DELETE_NOTE = "DELETE_NOTE",
|
|
31
|
-
ADD_NOTE = "ADD_NOTE"
|
|
31
|
+
ADD_NOTE = "ADD_NOTE",
|
|
32
|
+
UPDATE_SAMPLE_DATA_INFO = "UPDATE_SAMPLE_DATA_INFO"
|
|
32
33
|
}
|
|
33
|
-
export declare const DeleteBranchRequest:
|
|
34
|
-
branchIndex:
|
|
35
|
-
stepName:
|
|
36
|
-
}>;
|
|
37
|
-
export declare const UpdateNoteRequest:
|
|
38
|
-
id:
|
|
39
|
-
content:
|
|
40
|
-
ownerId:
|
|
41
|
-
color:
|
|
42
|
-
position:
|
|
43
|
-
x:
|
|
44
|
-
y:
|
|
45
|
-
}>;
|
|
46
|
-
size:
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
49
|
-
}>;
|
|
50
|
-
}>;
|
|
51
|
-
export declare const DeleteNoteRequest:
|
|
52
|
-
id:
|
|
53
|
-
}>;
|
|
54
|
-
export declare const AddNoteRequest:
|
|
55
|
-
id:
|
|
56
|
-
content:
|
|
57
|
-
color:
|
|
58
|
-
position:
|
|
59
|
-
x:
|
|
60
|
-
y:
|
|
61
|
-
}>;
|
|
62
|
-
size:
|
|
63
|
-
width:
|
|
64
|
-
height:
|
|
65
|
-
}>;
|
|
66
|
-
}>;
|
|
67
|
-
export declare const AddBranchRequest:
|
|
68
|
-
branchIndex:
|
|
69
|
-
stepName:
|
|
70
|
-
conditions:
|
|
71
|
-
firstValue:
|
|
72
|
-
secondValue:
|
|
73
|
-
caseSensitive:
|
|
74
|
-
operator:
|
|
75
|
-
}>,
|
|
76
|
-
firstValue:
|
|
77
|
-
secondValue:
|
|
78
|
-
operator:
|
|
79
|
-
}>,
|
|
80
|
-
firstValue:
|
|
81
|
-
secondValue:
|
|
82
|
-
operator:
|
|
83
|
-
}>,
|
|
84
|
-
firstValue:
|
|
85
|
-
operator:
|
|
86
|
-
}>]>>>>;
|
|
87
|
-
branchName:
|
|
88
|
-
}>;
|
|
89
|
-
export declare const MoveBranchRequest:
|
|
90
|
-
sourceBranchIndex:
|
|
91
|
-
targetBranchIndex:
|
|
92
|
-
stepName:
|
|
93
|
-
}>;
|
|
94
|
-
export type MoveBranchRequest =
|
|
95
|
-
export declare const SkipActionRequest:
|
|
96
|
-
names:
|
|
97
|
-
skip:
|
|
98
|
-
}>;
|
|
99
|
-
export type SkipActionRequest =
|
|
100
|
-
export declare const
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export type
|
|
108
|
-
export
|
|
109
|
-
|
|
34
|
+
export declare const DeleteBranchRequest: z.ZodObject<{
|
|
35
|
+
branchIndex: z.ZodNumber;
|
|
36
|
+
stepName: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export declare const UpdateNoteRequest: z.ZodObject<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
content: z.ZodString;
|
|
41
|
+
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
color: z.ZodEnum<typeof import("../note").NoteColorVariant>;
|
|
43
|
+
position: z.ZodObject<{
|
|
44
|
+
x: z.ZodNumber;
|
|
45
|
+
y: z.ZodNumber;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
size: z.ZodObject<{
|
|
48
|
+
width: z.ZodNumber;
|
|
49
|
+
height: z.ZodNumber;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
export declare const DeleteNoteRequest: z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export declare const AddNoteRequest: z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
content: z.ZodString;
|
|
58
|
+
color: z.ZodEnum<typeof import("../note").NoteColorVariant>;
|
|
59
|
+
position: z.ZodObject<{
|
|
60
|
+
x: z.ZodNumber;
|
|
61
|
+
y: z.ZodNumber;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
size: z.ZodObject<{
|
|
64
|
+
width: z.ZodNumber;
|
|
65
|
+
height: z.ZodNumber;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
export declare const AddBranchRequest: z.ZodObject<{
|
|
69
|
+
branchIndex: z.ZodNumber;
|
|
70
|
+
stepName: z.ZodString;
|
|
71
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
72
|
+
firstValue: z.ZodString;
|
|
73
|
+
secondValue: z.ZodString;
|
|
74
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_STARTS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_ENDS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN>]>>;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
+
firstValue: z.ZodString;
|
|
78
|
+
secondValue: z.ZodString;
|
|
79
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO>]>>;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
firstValue: z.ZodString;
|
|
82
|
+
secondValue: z.ZodString;
|
|
83
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_BEFORE>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_EQUAL>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_AFTER>]>>;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
firstValue: z.ZodString;
|
|
86
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.EXISTS>, z.ZodLiteral<import("../actions/action").BranchOperator.DOES_NOT_EXIST>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_EMPTY>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY>]>>;
|
|
87
|
+
}, z.core.$strip>]>>>>;
|
|
88
|
+
branchName: z.ZodString;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
export declare const MoveBranchRequest: z.ZodObject<{
|
|
91
|
+
sourceBranchIndex: z.ZodNumber;
|
|
92
|
+
targetBranchIndex: z.ZodNumber;
|
|
93
|
+
stepName: z.ZodString;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
export type MoveBranchRequest = z.infer<typeof MoveBranchRequest>;
|
|
96
|
+
export declare const SkipActionRequest: z.ZodObject<{
|
|
97
|
+
names: z.ZodArray<z.ZodString>;
|
|
98
|
+
skip: z.ZodBoolean;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
export type SkipActionRequest = z.infer<typeof SkipActionRequest>;
|
|
101
|
+
export declare const UpdateSampleDataInfoRequest: z.ZodObject<{
|
|
102
|
+
stepName: z.ZodString;
|
|
103
|
+
sampleDataSettings: z.ZodObject<{
|
|
104
|
+
sampleDataFileId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
sampleDataInputFileId: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$loose>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
export type UpdateSampleDataInfoRequest = z.infer<typeof UpdateSampleDataInfoRequest>;
|
|
109
|
+
export declare const DuplicateBranchRequest: z.ZodObject<{
|
|
110
|
+
branchIndex: z.ZodNumber;
|
|
111
|
+
stepName: z.ZodString;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export type DeleteBranchRequest = z.infer<typeof DeleteBranchRequest>;
|
|
114
|
+
export type AddBranchRequest = z.infer<typeof AddBranchRequest>;
|
|
115
|
+
export type DuplicateBranchRequest = z.infer<typeof DuplicateBranchRequest>;
|
|
116
|
+
export type UpdateNoteRequest = z.infer<typeof UpdateNoteRequest>;
|
|
117
|
+
export type DeleteNoteRequest = z.infer<typeof DeleteNoteRequest>;
|
|
118
|
+
export type AddNoteRequest = z.infer<typeof AddNoteRequest>;
|
|
110
119
|
export declare enum StepLocationRelativeToParent {
|
|
111
120
|
AFTER = "AFTER",
|
|
112
121
|
INSIDE_LOOP = "INSIDE_LOOP",
|
|
113
122
|
INSIDE_BRANCH = "INSIDE_BRANCH"
|
|
114
123
|
}
|
|
115
|
-
export declare const UseAsDraftRequest:
|
|
116
|
-
versionId:
|
|
117
|
-
}>;
|
|
118
|
-
export type UseAsDraftRequest =
|
|
119
|
-
export declare const LockFlowRequest:
|
|
120
|
-
export type LockFlowRequest =
|
|
121
|
-
export declare const ImportFlowRequest:
|
|
122
|
-
displayName:
|
|
123
|
-
trigger:
|
|
124
|
-
type:
|
|
125
|
-
settings:
|
|
126
|
-
sampleData:
|
|
127
|
-
sampleDataFileId:
|
|
128
|
-
sampleDataInputFileId:
|
|
129
|
-
lastTestDate:
|
|
130
|
-
}>>;
|
|
131
|
-
propertySettings:
|
|
132
|
-
type:
|
|
133
|
-
schema:
|
|
134
|
-
}>>;
|
|
135
|
-
customLogoUrl:
|
|
136
|
-
pieceName:
|
|
137
|
-
pieceVersion:
|
|
138
|
-
triggerName:
|
|
139
|
-
input:
|
|
140
|
-
}>;
|
|
141
|
-
name:
|
|
142
|
-
valid:
|
|
143
|
-
displayName:
|
|
144
|
-
nextAction:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
name:
|
|
223
|
-
valid:
|
|
224
|
-
displayName:
|
|
225
|
-
skip:
|
|
226
|
-
}>,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
operator:
|
|
265
|
-
}>,
|
|
266
|
-
firstValue:
|
|
267
|
-
secondValue:
|
|
268
|
-
operator:
|
|
269
|
-
}>,
|
|
270
|
-
firstValue:
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
export
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
}>;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
type:
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
value:
|
|
583
|
-
}>>;
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
}>;
|
|
891
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
892
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.MOVE_BRANCH>;
|
|
893
|
-
request: import("@sinclair/typebox").TObject<{
|
|
894
|
-
sourceBranchIndex: import("@sinclair/typebox").TNumber;
|
|
895
|
-
targetBranchIndex: import("@sinclair/typebox").TNumber;
|
|
896
|
-
stepName: import("@sinclair/typebox").TString;
|
|
897
|
-
}>;
|
|
898
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
899
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.SAVE_SAMPLE_DATA>;
|
|
900
|
-
request: import("@sinclair/typebox").TObject<{
|
|
901
|
-
stepName: import("@sinclair/typebox").TString;
|
|
902
|
-
payload: import("@sinclair/typebox").TUnknown;
|
|
903
|
-
type: import("@sinclair/typebox").TEnum<typeof import("../sample-data").SampleDataFileType>;
|
|
904
|
-
}>;
|
|
905
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
906
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.UPDATE_MINUTES_SAVED>;
|
|
907
|
-
request: import("@sinclair/typebox").TObject<{
|
|
908
|
-
timeSavedPerRun: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<number | null>>;
|
|
909
|
-
}>;
|
|
910
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
911
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.UPDATE_OWNER>;
|
|
912
|
-
request: import("@sinclair/typebox").TObject<{
|
|
913
|
-
ownerId: import("@sinclair/typebox").TString;
|
|
914
|
-
}>;
|
|
915
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
916
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.UPDATE_NOTE>;
|
|
917
|
-
request: import("@sinclair/typebox").TObject<{
|
|
918
|
-
id: import("@sinclair/typebox").TString;
|
|
919
|
-
content: import("@sinclair/typebox").TString;
|
|
920
|
-
ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
|
|
921
|
-
color: import("@sinclair/typebox").TEnum<typeof import("../note").NoteColorVariant>;
|
|
922
|
-
position: import("@sinclair/typebox").TObject<{
|
|
923
|
-
x: import("@sinclair/typebox").TNumber;
|
|
924
|
-
y: import("@sinclair/typebox").TNumber;
|
|
925
|
-
}>;
|
|
926
|
-
size: import("@sinclair/typebox").TObject<{
|
|
927
|
-
width: import("@sinclair/typebox").TNumber;
|
|
928
|
-
height: import("@sinclair/typebox").TNumber;
|
|
929
|
-
}>;
|
|
930
|
-
}>;
|
|
931
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
932
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.DELETE_NOTE>;
|
|
933
|
-
request: import("@sinclair/typebox").TObject<{
|
|
934
|
-
id: import("@sinclair/typebox").TString;
|
|
935
|
-
}>;
|
|
936
|
-
}>, import("@sinclair/typebox").TObject<{
|
|
937
|
-
type: import("@sinclair/typebox").TLiteral<FlowOperationType.ADD_NOTE>;
|
|
938
|
-
request: import("@sinclair/typebox").TObject<{
|
|
939
|
-
id: import("@sinclair/typebox").TString;
|
|
940
|
-
content: import("@sinclair/typebox").TString;
|
|
941
|
-
color: import("@sinclair/typebox").TEnum<typeof import("../note").NoteColorVariant>;
|
|
942
|
-
position: import("@sinclair/typebox").TObject<{
|
|
943
|
-
x: import("@sinclair/typebox").TNumber;
|
|
944
|
-
y: import("@sinclair/typebox").TNumber;
|
|
945
|
-
}>;
|
|
946
|
-
size: import("@sinclair/typebox").TObject<{
|
|
947
|
-
width: import("@sinclair/typebox").TNumber;
|
|
948
|
-
height: import("@sinclair/typebox").TNumber;
|
|
949
|
-
}>;
|
|
950
|
-
}>;
|
|
951
|
-
}>]>;
|
|
952
|
-
export type FlowOperationRequest = Static<typeof FlowOperationRequest>;
|
|
124
|
+
export declare const UseAsDraftRequest: z.ZodObject<{
|
|
125
|
+
versionId: z.ZodString;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
export type UseAsDraftRequest = z.infer<typeof UseAsDraftRequest>;
|
|
128
|
+
export declare const LockFlowRequest: z.ZodObject<{}, z.core.$strip>;
|
|
129
|
+
export type LockFlowRequest = z.infer<typeof LockFlowRequest>;
|
|
130
|
+
export declare const ImportFlowRequest: z.ZodObject<{
|
|
131
|
+
displayName: z.ZodString;
|
|
132
|
+
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<FlowTriggerType.PIECE>;
|
|
134
|
+
settings: z.ZodObject<{
|
|
135
|
+
sampleData: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
sampleDataFileId: z.ZodOptional<z.ZodString>;
|
|
137
|
+
sampleDataInputFileId: z.ZodOptional<z.ZodString>;
|
|
138
|
+
lastTestDate: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$loose>>;
|
|
140
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
141
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
142
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
145
|
+
pieceName: z.ZodString;
|
|
146
|
+
pieceVersion: z.ZodString;
|
|
147
|
+
triggerName: z.ZodOptional<z.ZodString>;
|
|
148
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
valid: z.ZodBoolean;
|
|
152
|
+
displayName: z.ZodString;
|
|
153
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
154
|
+
lastUpdatedDate: z.ZodString;
|
|
155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<FlowTriggerType.EMPTY>;
|
|
157
|
+
settings: z.ZodAny;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
valid: z.ZodBoolean;
|
|
160
|
+
displayName: z.ZodString;
|
|
161
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
162
|
+
lastUpdatedDate: z.ZodString;
|
|
163
|
+
}, z.core.$strip>]>;
|
|
164
|
+
schemaVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
166
|
+
id: z.ZodString;
|
|
167
|
+
content: z.ZodString;
|
|
168
|
+
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
|
+
color: z.ZodEnum<typeof import("../note").NoteColorVariant>;
|
|
170
|
+
position: z.ZodObject<{
|
|
171
|
+
x: z.ZodNumber;
|
|
172
|
+
y: z.ZodNumber;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
size: z.ZodObject<{
|
|
175
|
+
width: z.ZodNumber;
|
|
176
|
+
height: z.ZodNumber;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
createdAt: z.ZodString;
|
|
179
|
+
updatedAt: z.ZodString;
|
|
180
|
+
}, z.core.$strip>>>>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
export type ImportFlowRequest = z.infer<typeof ImportFlowRequest>;
|
|
183
|
+
export declare const ChangeFolderRequest: z.ZodObject<{
|
|
184
|
+
folderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
export type ChangeFolderRequest = z.infer<typeof ChangeFolderRequest>;
|
|
187
|
+
export declare const ChangeNameRequest: z.ZodObject<{
|
|
188
|
+
displayName: z.ZodString;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
export type ChangeNameRequest = z.infer<typeof ChangeNameRequest>;
|
|
191
|
+
export declare const DeleteActionRequest: z.ZodObject<{
|
|
192
|
+
names: z.ZodArray<z.ZodString>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
export type DeleteActionRequest = z.infer<typeof DeleteActionRequest>;
|
|
195
|
+
export declare const UpdateActionRequest: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
196
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.CODE>;
|
|
197
|
+
name: z.ZodString;
|
|
198
|
+
valid: z.ZodBoolean;
|
|
199
|
+
displayName: z.ZodString;
|
|
200
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
+
settings: z.ZodObject<{
|
|
203
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
204
|
+
sourceCode: z.ZodObject<{
|
|
205
|
+
packageJson: z.ZodString;
|
|
206
|
+
code: z.ZodString;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
219
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.LOOP_ON_ITEMS>;
|
|
220
|
+
name: z.ZodString;
|
|
221
|
+
valid: z.ZodBoolean;
|
|
222
|
+
displayName: z.ZodString;
|
|
223
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
225
|
+
settings: z.ZodObject<{
|
|
226
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
227
|
+
items: z.ZodString;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
230
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.PIECE>;
|
|
231
|
+
name: z.ZodString;
|
|
232
|
+
valid: z.ZodBoolean;
|
|
233
|
+
displayName: z.ZodString;
|
|
234
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
236
|
+
settings: z.ZodObject<{
|
|
237
|
+
pieceName: z.ZodString;
|
|
238
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
239
|
+
pieceVersion: z.ZodString;
|
|
240
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
249
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
250
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
251
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
actionName: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
256
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.ROUTER>;
|
|
257
|
+
name: z.ZodString;
|
|
258
|
+
valid: z.ZodBoolean;
|
|
259
|
+
displayName: z.ZodString;
|
|
260
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
262
|
+
settings: z.ZodObject<{
|
|
263
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
264
|
+
branches: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
265
|
+
conditions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
266
|
+
firstValue: z.ZodString;
|
|
267
|
+
secondValue: z.ZodString;
|
|
268
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_STARTS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_ENDS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN>]>>;
|
|
270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
271
|
+
firstValue: z.ZodString;
|
|
272
|
+
secondValue: z.ZodString;
|
|
273
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO>]>>;
|
|
274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
|
+
firstValue: z.ZodString;
|
|
276
|
+
secondValue: z.ZodString;
|
|
277
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_BEFORE>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_EQUAL>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_AFTER>]>>;
|
|
278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
279
|
+
firstValue: z.ZodString;
|
|
280
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.EXISTS>, z.ZodLiteral<import("../actions/action").BranchOperator.DOES_NOT_EXIST>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_EMPTY>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY>]>>;
|
|
281
|
+
}, z.core.$strip>]>>>;
|
|
282
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.CONDITION>;
|
|
283
|
+
branchName: z.ZodString;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.FALLBACK>;
|
|
286
|
+
branchName: z.ZodString;
|
|
287
|
+
}, z.core.$strip>]>>;
|
|
288
|
+
executionType: z.ZodEnum<typeof import("../actions/action").RouterExecutionType>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
}, z.core.$strip>>]>;
|
|
291
|
+
export type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
|
|
292
|
+
export declare const DuplicateStepRequest: z.ZodObject<{
|
|
293
|
+
stepName: z.ZodString;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
export type DuplicateStepRequest = z.infer<typeof DuplicateStepRequest>;
|
|
296
|
+
export declare const MoveActionRequest: z.ZodObject<{
|
|
297
|
+
name: z.ZodString;
|
|
298
|
+
newParentStep: z.ZodString;
|
|
299
|
+
stepLocationRelativeToNewParent: z.ZodOptional<z.ZodEnum<typeof StepLocationRelativeToParent>>;
|
|
300
|
+
branchIndex: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
export type MoveActionRequest = z.infer<typeof MoveActionRequest>;
|
|
303
|
+
export declare const AddActionRequest: z.ZodObject<{
|
|
304
|
+
parentStep: z.ZodString;
|
|
305
|
+
stepLocationRelativeToParent: z.ZodOptional<z.ZodEnum<typeof StepLocationRelativeToParent>>;
|
|
306
|
+
branchIndex: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
action: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
308
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.CODE>;
|
|
309
|
+
name: z.ZodString;
|
|
310
|
+
valid: z.ZodBoolean;
|
|
311
|
+
displayName: z.ZodString;
|
|
312
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
314
|
+
settings: z.ZodObject<{
|
|
315
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
316
|
+
sourceCode: z.ZodObject<{
|
|
317
|
+
packageJson: z.ZodString;
|
|
318
|
+
code: z.ZodString;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
322
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
325
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
331
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.LOOP_ON_ITEMS>;
|
|
332
|
+
name: z.ZodString;
|
|
333
|
+
valid: z.ZodBoolean;
|
|
334
|
+
displayName: z.ZodString;
|
|
335
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
337
|
+
settings: z.ZodObject<{
|
|
338
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
339
|
+
items: z.ZodString;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
342
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.PIECE>;
|
|
343
|
+
name: z.ZodString;
|
|
344
|
+
valid: z.ZodBoolean;
|
|
345
|
+
displayName: z.ZodString;
|
|
346
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
348
|
+
settings: z.ZodObject<{
|
|
349
|
+
pieceName: z.ZodString;
|
|
350
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
351
|
+
pieceVersion: z.ZodString;
|
|
352
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
353
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
+
}, z.core.$strip>>;
|
|
356
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
}, z.core.$strip>>;
|
|
360
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
361
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
362
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
363
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
actionName: z.ZodOptional<z.ZodString>;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
368
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.ROUTER>;
|
|
369
|
+
name: z.ZodString;
|
|
370
|
+
valid: z.ZodBoolean;
|
|
371
|
+
displayName: z.ZodString;
|
|
372
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
+
settings: z.ZodObject<{
|
|
375
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
376
|
+
branches: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
377
|
+
conditions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
378
|
+
firstValue: z.ZodString;
|
|
379
|
+
secondValue: z.ZodString;
|
|
380
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
381
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_STARTS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_ENDS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN>]>>;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
firstValue: z.ZodString;
|
|
384
|
+
secondValue: z.ZodString;
|
|
385
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO>]>>;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
firstValue: z.ZodString;
|
|
388
|
+
secondValue: z.ZodString;
|
|
389
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_BEFORE>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_EQUAL>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_AFTER>]>>;
|
|
390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
391
|
+
firstValue: z.ZodString;
|
|
392
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.EXISTS>, z.ZodLiteral<import("../actions/action").BranchOperator.DOES_NOT_EXIST>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_EMPTY>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY>]>>;
|
|
393
|
+
}, z.core.$strip>]>>>;
|
|
394
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.CONDITION>;
|
|
395
|
+
branchName: z.ZodString;
|
|
396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
397
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.FALLBACK>;
|
|
398
|
+
branchName: z.ZodString;
|
|
399
|
+
}, z.core.$strip>]>>;
|
|
400
|
+
executionType: z.ZodEnum<typeof import("../actions/action").RouterExecutionType>;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
}, z.core.$strip>>]>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
export type AddActionRequest = z.infer<typeof AddActionRequest>;
|
|
405
|
+
export declare const UpdateTriggerRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
406
|
+
type: z.ZodLiteral<FlowTriggerType.EMPTY>;
|
|
407
|
+
name: z.ZodString;
|
|
408
|
+
settings: z.ZodAny;
|
|
409
|
+
valid: z.ZodBoolean;
|
|
410
|
+
displayName: z.ZodString;
|
|
411
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
412
|
+
}, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
|
|
413
|
+
type: z.ZodLiteral<FlowTriggerType.PIECE>;
|
|
414
|
+
name: z.ZodString;
|
|
415
|
+
valid: z.ZodBoolean;
|
|
416
|
+
displayName: z.ZodString;
|
|
417
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
418
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
419
|
+
settings: z.ZodObject<{
|
|
420
|
+
pieceName: z.ZodString;
|
|
421
|
+
triggerName: z.ZodOptional<z.ZodString>;
|
|
422
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
423
|
+
pieceVersion: z.ZodString;
|
|
424
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
425
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
426
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
427
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
428
|
+
}, z.core.$strip>>;
|
|
429
|
+
}, z.core.$strip>;
|
|
430
|
+
}, z.core.$strip>>]>;
|
|
431
|
+
export type UpdateTriggerRequest = z.infer<typeof UpdateTriggerRequest>;
|
|
432
|
+
export declare const UpdateFlowStatusRequest: z.ZodObject<{
|
|
433
|
+
status: z.ZodEnum<typeof FlowStatus>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
export type UpdateFlowStatusRequest = z.infer<typeof UpdateFlowStatusRequest>;
|
|
436
|
+
export declare const ChangePublishedVersionIdRequest: z.ZodObject<{
|
|
437
|
+
status: z.ZodOptional<z.ZodEnum<typeof FlowStatus>>;
|
|
438
|
+
}, z.core.$strip>;
|
|
439
|
+
export type ChangePublishedVersionIdRequest = z.infer<typeof ChangePublishedVersionIdRequest>;
|
|
440
|
+
export declare const UpdateMetadataRequest: z.ZodObject<{
|
|
441
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
export type UpdateMetadataRequest = z.infer<typeof UpdateMetadataRequest>;
|
|
444
|
+
export declare const UpdateMinutesSavedRequest: z.ZodObject<{
|
|
445
|
+
timeSavedPerRun: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
446
|
+
}, z.core.$strip>;
|
|
447
|
+
export type UpdateMinutesSavedRequest = z.infer<typeof UpdateMinutesSavedRequest>;
|
|
448
|
+
export declare const UpdateOwnerRequest: z.ZodObject<{
|
|
449
|
+
ownerId: z.ZodString;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
export type UpdateOwnerRequest = z.infer<typeof UpdateOwnerRequest>;
|
|
452
|
+
export declare const FlowOperationRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
453
|
+
type: z.ZodLiteral<FlowOperationType.MOVE_ACTION>;
|
|
454
|
+
request: z.ZodObject<{
|
|
455
|
+
name: z.ZodString;
|
|
456
|
+
newParentStep: z.ZodString;
|
|
457
|
+
stepLocationRelativeToNewParent: z.ZodOptional<z.ZodEnum<typeof StepLocationRelativeToParent>>;
|
|
458
|
+
branchIndex: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
461
|
+
type: z.ZodLiteral<FlowOperationType.CHANGE_STATUS>;
|
|
462
|
+
request: z.ZodObject<{
|
|
463
|
+
status: z.ZodEnum<typeof FlowStatus>;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
466
|
+
type: z.ZodLiteral<FlowOperationType.LOCK_AND_PUBLISH>;
|
|
467
|
+
request: z.ZodObject<{
|
|
468
|
+
status: z.ZodOptional<z.ZodEnum<typeof FlowStatus>>;
|
|
469
|
+
}, z.core.$strip>;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
type: z.ZodLiteral<FlowOperationType.USE_AS_DRAFT>;
|
|
472
|
+
request: z.ZodObject<{
|
|
473
|
+
versionId: z.ZodString;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
476
|
+
type: z.ZodLiteral<FlowOperationType.LOCK_FLOW>;
|
|
477
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
479
|
+
type: z.ZodLiteral<FlowOperationType.IMPORT_FLOW>;
|
|
480
|
+
request: z.ZodObject<{
|
|
481
|
+
displayName: z.ZodString;
|
|
482
|
+
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
483
|
+
type: z.ZodLiteral<FlowTriggerType.PIECE>;
|
|
484
|
+
settings: z.ZodObject<{
|
|
485
|
+
sampleData: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
sampleDataFileId: z.ZodOptional<z.ZodString>;
|
|
487
|
+
sampleDataInputFileId: z.ZodOptional<z.ZodString>;
|
|
488
|
+
lastTestDate: z.ZodOptional<z.ZodString>;
|
|
489
|
+
}, z.core.$loose>>;
|
|
490
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
491
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
492
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
493
|
+
}, z.core.$strip>>;
|
|
494
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
495
|
+
pieceName: z.ZodString;
|
|
496
|
+
pieceVersion: z.ZodString;
|
|
497
|
+
triggerName: z.ZodOptional<z.ZodString>;
|
|
498
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
499
|
+
}, z.core.$strip>;
|
|
500
|
+
name: z.ZodString;
|
|
501
|
+
valid: z.ZodBoolean;
|
|
502
|
+
displayName: z.ZodString;
|
|
503
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
504
|
+
lastUpdatedDate: z.ZodString;
|
|
505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
506
|
+
type: z.ZodLiteral<FlowTriggerType.EMPTY>;
|
|
507
|
+
settings: z.ZodAny;
|
|
508
|
+
name: z.ZodString;
|
|
509
|
+
valid: z.ZodBoolean;
|
|
510
|
+
displayName: z.ZodString;
|
|
511
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
512
|
+
lastUpdatedDate: z.ZodString;
|
|
513
|
+
}, z.core.$strip>]>;
|
|
514
|
+
schemaVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
516
|
+
id: z.ZodString;
|
|
517
|
+
content: z.ZodString;
|
|
518
|
+
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
|
+
color: z.ZodEnum<typeof import("../note").NoteColorVariant>;
|
|
520
|
+
position: z.ZodObject<{
|
|
521
|
+
x: z.ZodNumber;
|
|
522
|
+
y: z.ZodNumber;
|
|
523
|
+
}, z.core.$strip>;
|
|
524
|
+
size: z.ZodObject<{
|
|
525
|
+
width: z.ZodNumber;
|
|
526
|
+
height: z.ZodNumber;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
createdAt: z.ZodString;
|
|
529
|
+
updatedAt: z.ZodString;
|
|
530
|
+
}, z.core.$strip>>>>;
|
|
531
|
+
}, z.core.$strip>;
|
|
532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
533
|
+
type: z.ZodLiteral<FlowOperationType.CHANGE_NAME>;
|
|
534
|
+
request: z.ZodObject<{
|
|
535
|
+
displayName: z.ZodString;
|
|
536
|
+
}, z.core.$strip>;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
type: z.ZodLiteral<FlowOperationType.DELETE_ACTION>;
|
|
539
|
+
request: z.ZodObject<{
|
|
540
|
+
names: z.ZodArray<z.ZodString>;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
543
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_ACTION>;
|
|
544
|
+
request: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
545
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.CODE>;
|
|
546
|
+
name: z.ZodString;
|
|
547
|
+
valid: z.ZodBoolean;
|
|
548
|
+
displayName: z.ZodString;
|
|
549
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
551
|
+
settings: z.ZodObject<{
|
|
552
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
553
|
+
sourceCode: z.ZodObject<{
|
|
554
|
+
packageJson: z.ZodString;
|
|
555
|
+
code: z.ZodString;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
559
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
560
|
+
}, z.core.$strip>>;
|
|
561
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
562
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
}, z.core.$strip>>;
|
|
564
|
+
}, z.core.$strip>>;
|
|
565
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
566
|
+
}, z.core.$strip>;
|
|
567
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
568
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.LOOP_ON_ITEMS>;
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
valid: z.ZodBoolean;
|
|
571
|
+
displayName: z.ZodString;
|
|
572
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
+
settings: z.ZodObject<{
|
|
575
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
576
|
+
items: z.ZodString;
|
|
577
|
+
}, z.core.$strip>;
|
|
578
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
579
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.PIECE>;
|
|
580
|
+
name: z.ZodString;
|
|
581
|
+
valid: z.ZodBoolean;
|
|
582
|
+
displayName: z.ZodString;
|
|
583
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
+
settings: z.ZodObject<{
|
|
586
|
+
pieceName: z.ZodString;
|
|
587
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
588
|
+
pieceVersion: z.ZodString;
|
|
589
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
591
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
}, z.core.$strip>>;
|
|
593
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
}, z.core.$strip>>;
|
|
596
|
+
}, z.core.$strip>>;
|
|
597
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
598
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
599
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
600
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
601
|
+
}, z.core.$strip>>;
|
|
602
|
+
actionName: z.ZodOptional<z.ZodString>;
|
|
603
|
+
}, z.core.$strip>;
|
|
604
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
605
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.ROUTER>;
|
|
606
|
+
name: z.ZodString;
|
|
607
|
+
valid: z.ZodBoolean;
|
|
608
|
+
displayName: z.ZodString;
|
|
609
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
610
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
611
|
+
settings: z.ZodObject<{
|
|
612
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
613
|
+
branches: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
614
|
+
conditions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
615
|
+
firstValue: z.ZodString;
|
|
616
|
+
secondValue: z.ZodString;
|
|
617
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
618
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_STARTS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_ENDS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN>]>>;
|
|
619
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
620
|
+
firstValue: z.ZodString;
|
|
621
|
+
secondValue: z.ZodString;
|
|
622
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO>]>>;
|
|
623
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
624
|
+
firstValue: z.ZodString;
|
|
625
|
+
secondValue: z.ZodString;
|
|
626
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_BEFORE>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_EQUAL>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_AFTER>]>>;
|
|
627
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
628
|
+
firstValue: z.ZodString;
|
|
629
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.EXISTS>, z.ZodLiteral<import("../actions/action").BranchOperator.DOES_NOT_EXIST>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_EMPTY>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY>]>>;
|
|
630
|
+
}, z.core.$strip>]>>>;
|
|
631
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.CONDITION>;
|
|
632
|
+
branchName: z.ZodString;
|
|
633
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
634
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.FALLBACK>;
|
|
635
|
+
branchName: z.ZodString;
|
|
636
|
+
}, z.core.$strip>]>>;
|
|
637
|
+
executionType: z.ZodEnum<typeof import("../actions/action").RouterExecutionType>;
|
|
638
|
+
}, z.core.$strip>;
|
|
639
|
+
}, z.core.$strip>>]>;
|
|
640
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
641
|
+
type: z.ZodLiteral<FlowOperationType.ADD_ACTION>;
|
|
642
|
+
request: z.ZodObject<{
|
|
643
|
+
parentStep: z.ZodString;
|
|
644
|
+
stepLocationRelativeToParent: z.ZodOptional<z.ZodEnum<typeof StepLocationRelativeToParent>>;
|
|
645
|
+
branchIndex: z.ZodOptional<z.ZodNumber>;
|
|
646
|
+
action: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
647
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.CODE>;
|
|
648
|
+
name: z.ZodString;
|
|
649
|
+
valid: z.ZodBoolean;
|
|
650
|
+
displayName: z.ZodString;
|
|
651
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
652
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
653
|
+
settings: z.ZodObject<{
|
|
654
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
655
|
+
sourceCode: z.ZodObject<{
|
|
656
|
+
packageJson: z.ZodString;
|
|
657
|
+
code: z.ZodString;
|
|
658
|
+
}, z.core.$strip>;
|
|
659
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
660
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
661
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
}, z.core.$strip>>;
|
|
663
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
664
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
}, z.core.$strip>>;
|
|
667
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
670
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.LOOP_ON_ITEMS>;
|
|
671
|
+
name: z.ZodString;
|
|
672
|
+
valid: z.ZodBoolean;
|
|
673
|
+
displayName: z.ZodString;
|
|
674
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
675
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
676
|
+
settings: z.ZodObject<{
|
|
677
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
678
|
+
items: z.ZodString;
|
|
679
|
+
}, z.core.$strip>;
|
|
680
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
681
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.PIECE>;
|
|
682
|
+
name: z.ZodString;
|
|
683
|
+
valid: z.ZodBoolean;
|
|
684
|
+
displayName: z.ZodString;
|
|
685
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
687
|
+
settings: z.ZodObject<{
|
|
688
|
+
pieceName: z.ZodString;
|
|
689
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
690
|
+
pieceVersion: z.ZodString;
|
|
691
|
+
errorHandlingOptions: z.ZodOptional<z.ZodObject<{
|
|
692
|
+
continueOnFailure: z.ZodOptional<z.ZodObject<{
|
|
693
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
694
|
+
}, z.core.$strip>>;
|
|
695
|
+
retryOnFailure: z.ZodOptional<z.ZodObject<{
|
|
696
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
}, z.core.$strip>>;
|
|
699
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
700
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
701
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
702
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
703
|
+
}, z.core.$strip>>;
|
|
704
|
+
actionName: z.ZodOptional<z.ZodString>;
|
|
705
|
+
}, z.core.$strip>;
|
|
706
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
707
|
+
type: z.ZodLiteral<import("../actions/action").FlowActionType.ROUTER>;
|
|
708
|
+
name: z.ZodString;
|
|
709
|
+
valid: z.ZodBoolean;
|
|
710
|
+
displayName: z.ZodString;
|
|
711
|
+
skip: z.ZodOptional<z.ZodBoolean>;
|
|
712
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
713
|
+
settings: z.ZodObject<{
|
|
714
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
715
|
+
branches: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
716
|
+
conditions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
717
|
+
firstValue: z.ZodString;
|
|
718
|
+
secondValue: z.ZodString;
|
|
719
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
720
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_STARTS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_ENDS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN>]>>;
|
|
721
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
722
|
+
firstValue: z.ZodString;
|
|
723
|
+
secondValue: z.ZodString;
|
|
724
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO>]>>;
|
|
725
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
726
|
+
firstValue: z.ZodString;
|
|
727
|
+
secondValue: z.ZodString;
|
|
728
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_BEFORE>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_EQUAL>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_AFTER>]>>;
|
|
729
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
730
|
+
firstValue: z.ZodString;
|
|
731
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.EXISTS>, z.ZodLiteral<import("../actions/action").BranchOperator.DOES_NOT_EXIST>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_EMPTY>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY>]>>;
|
|
732
|
+
}, z.core.$strip>]>>>;
|
|
733
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.CONDITION>;
|
|
734
|
+
branchName: z.ZodString;
|
|
735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
736
|
+
branchType: z.ZodLiteral<import("../actions/action").BranchExecutionType.FALLBACK>;
|
|
737
|
+
branchName: z.ZodString;
|
|
738
|
+
}, z.core.$strip>]>>;
|
|
739
|
+
executionType: z.ZodEnum<typeof import("../actions/action").RouterExecutionType>;
|
|
740
|
+
}, z.core.$strip>;
|
|
741
|
+
}, z.core.$strip>>]>;
|
|
742
|
+
}, z.core.$strip>;
|
|
743
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
744
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_TRIGGER>;
|
|
745
|
+
request: z.ZodUnion<readonly [z.ZodObject<{
|
|
746
|
+
type: z.ZodLiteral<FlowTriggerType.EMPTY>;
|
|
747
|
+
name: z.ZodString;
|
|
748
|
+
settings: z.ZodAny;
|
|
749
|
+
valid: z.ZodBoolean;
|
|
750
|
+
displayName: z.ZodString;
|
|
751
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
752
|
+
}, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
|
|
753
|
+
type: z.ZodLiteral<FlowTriggerType.PIECE>;
|
|
754
|
+
name: z.ZodString;
|
|
755
|
+
valid: z.ZodBoolean;
|
|
756
|
+
displayName: z.ZodString;
|
|
757
|
+
nextAction: z.ZodOptional<z.ZodAny>;
|
|
758
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
759
|
+
settings: z.ZodObject<{
|
|
760
|
+
pieceName: z.ZodString;
|
|
761
|
+
triggerName: z.ZodOptional<z.ZodString>;
|
|
762
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
763
|
+
pieceVersion: z.ZodString;
|
|
764
|
+
customLogoUrl: z.ZodOptional<z.ZodString>;
|
|
765
|
+
propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
766
|
+
type: z.ZodEnum<typeof import("..").PropertyExecutionType>;
|
|
767
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
768
|
+
}, z.core.$strip>>;
|
|
769
|
+
}, z.core.$strip>;
|
|
770
|
+
}, z.core.$strip>>]>;
|
|
771
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
772
|
+
type: z.ZodLiteral<FlowOperationType.CHANGE_FOLDER>;
|
|
773
|
+
request: z.ZodObject<{
|
|
774
|
+
folderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
775
|
+
}, z.core.$strip>;
|
|
776
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
777
|
+
type: z.ZodLiteral<FlowOperationType.DUPLICATE_ACTION>;
|
|
778
|
+
request: z.ZodObject<{
|
|
779
|
+
stepName: z.ZodString;
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
782
|
+
type: z.ZodLiteral<FlowOperationType.DELETE_BRANCH>;
|
|
783
|
+
request: z.ZodObject<{
|
|
784
|
+
branchIndex: z.ZodNumber;
|
|
785
|
+
stepName: z.ZodString;
|
|
786
|
+
}, z.core.$strip>;
|
|
787
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
788
|
+
type: z.ZodLiteral<FlowOperationType.ADD_BRANCH>;
|
|
789
|
+
request: z.ZodObject<{
|
|
790
|
+
branchIndex: z.ZodNumber;
|
|
791
|
+
stepName: z.ZodString;
|
|
792
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
793
|
+
firstValue: z.ZodString;
|
|
794
|
+
secondValue: z.ZodString;
|
|
795
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
796
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_STARTS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_ENDS_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_CONTAINS>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN>]>>;
|
|
797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
798
|
+
firstValue: z.ZodString;
|
|
799
|
+
secondValue: z.ZodString;
|
|
800
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN>, z.ZodLiteral<import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO>]>>;
|
|
801
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
802
|
+
firstValue: z.ZodString;
|
|
803
|
+
secondValue: z.ZodString;
|
|
804
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_BEFORE>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_EQUAL>, z.ZodLiteral<import("../actions/action").BranchOperator.DATE_IS_AFTER>]>>;
|
|
805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
806
|
+
firstValue: z.ZodString;
|
|
807
|
+
operator: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<import("../actions/action").BranchOperator.EXISTS>, z.ZodLiteral<import("../actions/action").BranchOperator.DOES_NOT_EXIST>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE>, z.ZodLiteral<import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_EMPTY>, z.ZodLiteral<import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY>]>>;
|
|
808
|
+
}, z.core.$strip>]>>>>;
|
|
809
|
+
branchName: z.ZodString;
|
|
810
|
+
}, z.core.$strip>;
|
|
811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
812
|
+
type: z.ZodLiteral<FlowOperationType.DUPLICATE_BRANCH>;
|
|
813
|
+
request: z.ZodObject<{
|
|
814
|
+
branchIndex: z.ZodNumber;
|
|
815
|
+
stepName: z.ZodString;
|
|
816
|
+
}, z.core.$strip>;
|
|
817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
818
|
+
type: z.ZodLiteral<FlowOperationType.SET_SKIP_ACTION>;
|
|
819
|
+
request: z.ZodObject<{
|
|
820
|
+
names: z.ZodArray<z.ZodString>;
|
|
821
|
+
skip: z.ZodBoolean;
|
|
822
|
+
}, z.core.$strip>;
|
|
823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
824
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_METADATA>;
|
|
825
|
+
request: z.ZodObject<{
|
|
826
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
827
|
+
}, z.core.$strip>;
|
|
828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
829
|
+
type: z.ZodLiteral<FlowOperationType.MOVE_BRANCH>;
|
|
830
|
+
request: z.ZodObject<{
|
|
831
|
+
sourceBranchIndex: z.ZodNumber;
|
|
832
|
+
targetBranchIndex: z.ZodNumber;
|
|
833
|
+
stepName: z.ZodString;
|
|
834
|
+
}, z.core.$strip>;
|
|
835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
836
|
+
type: z.ZodLiteral<FlowOperationType.SAVE_SAMPLE_DATA>;
|
|
837
|
+
request: z.ZodObject<{
|
|
838
|
+
stepName: z.ZodString;
|
|
839
|
+
payload: z.ZodUnknown;
|
|
840
|
+
type: z.ZodEnum<typeof import("../sample-data").SampleDataFileType>;
|
|
841
|
+
}, z.core.$strip>;
|
|
842
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
843
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_MINUTES_SAVED>;
|
|
844
|
+
request: z.ZodObject<{
|
|
845
|
+
timeSavedPerRun: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
846
|
+
}, z.core.$strip>;
|
|
847
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
848
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_OWNER>;
|
|
849
|
+
request: z.ZodObject<{
|
|
850
|
+
ownerId: z.ZodString;
|
|
851
|
+
}, z.core.$strip>;
|
|
852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_NOTE>;
|
|
854
|
+
request: z.ZodObject<{
|
|
855
|
+
id: z.ZodString;
|
|
856
|
+
content: z.ZodString;
|
|
857
|
+
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
858
|
+
color: z.ZodEnum<typeof import("../note").NoteColorVariant>;
|
|
859
|
+
position: z.ZodObject<{
|
|
860
|
+
x: z.ZodNumber;
|
|
861
|
+
y: z.ZodNumber;
|
|
862
|
+
}, z.core.$strip>;
|
|
863
|
+
size: z.ZodObject<{
|
|
864
|
+
width: z.ZodNumber;
|
|
865
|
+
height: z.ZodNumber;
|
|
866
|
+
}, z.core.$strip>;
|
|
867
|
+
}, z.core.$strip>;
|
|
868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
869
|
+
type: z.ZodLiteral<FlowOperationType.DELETE_NOTE>;
|
|
870
|
+
request: z.ZodObject<{
|
|
871
|
+
id: z.ZodString;
|
|
872
|
+
}, z.core.$strip>;
|
|
873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
874
|
+
type: z.ZodLiteral<FlowOperationType.ADD_NOTE>;
|
|
875
|
+
request: z.ZodObject<{
|
|
876
|
+
id: z.ZodString;
|
|
877
|
+
content: z.ZodString;
|
|
878
|
+
color: z.ZodEnum<typeof import("../note").NoteColorVariant>;
|
|
879
|
+
position: z.ZodObject<{
|
|
880
|
+
x: z.ZodNumber;
|
|
881
|
+
y: z.ZodNumber;
|
|
882
|
+
}, z.core.$strip>;
|
|
883
|
+
size: z.ZodObject<{
|
|
884
|
+
width: z.ZodNumber;
|
|
885
|
+
height: z.ZodNumber;
|
|
886
|
+
}, z.core.$strip>;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
889
|
+
type: z.ZodLiteral<FlowOperationType.UPDATE_SAMPLE_DATA_INFO>;
|
|
890
|
+
request: z.ZodObject<{
|
|
891
|
+
stepName: z.ZodString;
|
|
892
|
+
sampleDataSettings: z.ZodObject<{
|
|
893
|
+
sampleDataFileId: z.ZodOptional<z.ZodString>;
|
|
894
|
+
sampleDataInputFileId: z.ZodOptional<z.ZodString>;
|
|
895
|
+
}, z.core.$loose>;
|
|
896
|
+
}, z.core.$strip>;
|
|
897
|
+
}, z.core.$strip>]>;
|
|
898
|
+
export type FlowOperationRequest = z.infer<typeof FlowOperationRequest>;
|
|
953
899
|
export declare const flowOperations: {
|
|
954
900
|
getActionsForCopy: typeof _getActionsForCopy;
|
|
955
901
|
getOperationsForPaste: (actions: import("../actions/action").FlowAction[], flowVersion: FlowVersion, pastingDetails: import("./paste-operations").PasteLocation) => ({
|
|
956
902
|
type: FlowOperationType.MOVE_ACTION;
|
|
957
903
|
request: {
|
|
958
|
-
branchIndex?: number | undefined;
|
|
959
|
-
stepLocationRelativeToNewParent?: StepLocationRelativeToParent | undefined;
|
|
960
904
|
name: string;
|
|
961
905
|
newParentStep: string;
|
|
906
|
+
stepLocationRelativeToNewParent?: StepLocationRelativeToParent | undefined;
|
|
907
|
+
branchIndex?: number | undefined;
|
|
962
908
|
};
|
|
963
909
|
} | {
|
|
964
910
|
type: FlowOperationType.CHANGE_STATUS;
|
|
@@ -977,62 +923,61 @@ export declare const flowOperations: {
|
|
|
977
923
|
};
|
|
978
924
|
} | {
|
|
979
925
|
type: FlowOperationType.LOCK_FLOW;
|
|
980
|
-
request:
|
|
926
|
+
request: Record<string, never>;
|
|
981
927
|
} | {
|
|
982
928
|
type: FlowOperationType.IMPORT_FLOW;
|
|
983
929
|
request: {
|
|
984
|
-
schemaVersion?: string | null | undefined;
|
|
985
|
-
notes?: {
|
|
986
|
-
ownerId?: string | null | undefined;
|
|
987
|
-
id: string;
|
|
988
|
-
content: string;
|
|
989
|
-
color: import("../note").NoteColorVariant;
|
|
990
|
-
position: {
|
|
991
|
-
x: number;
|
|
992
|
-
y: number;
|
|
993
|
-
};
|
|
994
|
-
size: {
|
|
995
|
-
width: number;
|
|
996
|
-
height: number;
|
|
997
|
-
};
|
|
998
|
-
createdAt: string;
|
|
999
|
-
updatedAt: string;
|
|
1000
|
-
}[] | null | undefined;
|
|
1001
930
|
displayName: string;
|
|
1002
931
|
trigger: {
|
|
1003
|
-
nextAction?: any;
|
|
1004
932
|
type: FlowTriggerType.EMPTY;
|
|
1005
|
-
name: string;
|
|
1006
933
|
settings: any;
|
|
934
|
+
name: string;
|
|
1007
935
|
valid: boolean;
|
|
1008
936
|
displayName: string;
|
|
1009
|
-
|
|
937
|
+
lastUpdatedDate: string;
|
|
1010
938
|
nextAction?: any;
|
|
939
|
+
} | {
|
|
1011
940
|
type: FlowTriggerType.PIECE;
|
|
1012
|
-
name: string;
|
|
1013
941
|
settings: {
|
|
1014
|
-
|
|
942
|
+
propertySettings: Record<string, {
|
|
943
|
+
type: import("..").PropertyExecutionType;
|
|
944
|
+
schema?: any;
|
|
945
|
+
}>;
|
|
946
|
+
pieceName: string;
|
|
947
|
+
pieceVersion: string;
|
|
948
|
+
input: Record<string, any>;
|
|
1015
949
|
sampleData?: {
|
|
950
|
+
[x: string]: unknown;
|
|
1016
951
|
sampleDataFileId?: string | undefined;
|
|
1017
952
|
sampleDataInputFileId?: string | undefined;
|
|
1018
953
|
lastTestDate?: string | undefined;
|
|
1019
954
|
} | undefined;
|
|
1020
955
|
customLogoUrl?: string | undefined;
|
|
1021
|
-
|
|
1022
|
-
pieceVersion: string;
|
|
1023
|
-
input: {
|
|
1024
|
-
[x: string]: any;
|
|
1025
|
-
};
|
|
1026
|
-
propertySettings: {
|
|
1027
|
-
[x: string]: {
|
|
1028
|
-
schema?: any;
|
|
1029
|
-
type: import("..").PropertyExecutionType;
|
|
1030
|
-
};
|
|
1031
|
-
};
|
|
956
|
+
triggerName?: string | undefined;
|
|
1032
957
|
};
|
|
958
|
+
name: string;
|
|
1033
959
|
valid: boolean;
|
|
1034
960
|
displayName: string;
|
|
961
|
+
lastUpdatedDate: string;
|
|
962
|
+
nextAction?: any;
|
|
1035
963
|
};
|
|
964
|
+
schemaVersion?: string | null | undefined;
|
|
965
|
+
notes?: {
|
|
966
|
+
id: string;
|
|
967
|
+
content: string;
|
|
968
|
+
color: import("../note").NoteColorVariant;
|
|
969
|
+
position: {
|
|
970
|
+
x: number;
|
|
971
|
+
y: number;
|
|
972
|
+
};
|
|
973
|
+
size: {
|
|
974
|
+
width: number;
|
|
975
|
+
height: number;
|
|
976
|
+
};
|
|
977
|
+
createdAt: string;
|
|
978
|
+
updatedAt: string;
|
|
979
|
+
ownerId?: string | null | undefined;
|
|
980
|
+
}[] | null | undefined;
|
|
1036
981
|
};
|
|
1037
982
|
} | {
|
|
1038
983
|
type: FlowOperationType.CHANGE_NAME;
|
|
@@ -1046,65 +991,19 @@ export declare const flowOperations: {
|
|
|
1046
991
|
};
|
|
1047
992
|
} | {
|
|
1048
993
|
type: FlowOperationType.UPDATE_ACTION;
|
|
1049
|
-
request: {
|
|
1050
|
-
|
|
1051
|
-
type: import("../actions/action").FlowActionType.ROUTER;
|
|
1052
|
-
name: string;
|
|
1053
|
-
settings: {
|
|
1054
|
-
sampleData?: {
|
|
1055
|
-
sampleDataFileId?: string | undefined;
|
|
1056
|
-
sampleDataInputFileId?: string | undefined;
|
|
1057
|
-
lastTestDate?: string | undefined;
|
|
1058
|
-
} | undefined;
|
|
1059
|
-
customLogoUrl?: string | undefined;
|
|
1060
|
-
branches: ({
|
|
1061
|
-
conditions: ({
|
|
1062
|
-
caseSensitive?: boolean | undefined;
|
|
1063
|
-
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1064
|
-
firstValue: string;
|
|
1065
|
-
secondValue: string;
|
|
1066
|
-
} | {
|
|
1067
|
-
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1068
|
-
firstValue: string;
|
|
1069
|
-
secondValue: string;
|
|
1070
|
-
} | {
|
|
1071
|
-
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1072
|
-
firstValue: string;
|
|
1073
|
-
secondValue: string;
|
|
1074
|
-
} | {
|
|
1075
|
-
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1076
|
-
firstValue: string;
|
|
1077
|
-
})[][];
|
|
1078
|
-
branchType: import("../actions/action").BranchExecutionType.CONDITION;
|
|
1079
|
-
branchName: string;
|
|
1080
|
-
} | {
|
|
1081
|
-
branchType: import("../actions/action").BranchExecutionType.FALLBACK;
|
|
1082
|
-
branchName: string;
|
|
1083
|
-
})[];
|
|
1084
|
-
executionType: import("../actions/action").RouterExecutionType;
|
|
1085
|
-
};
|
|
1086
|
-
valid: boolean;
|
|
1087
|
-
displayName: string;
|
|
1088
|
-
} | {
|
|
1089
|
-
skip?: boolean | undefined;
|
|
1090
|
-
type: import("../actions/action").FlowActionType.LOOP_ON_ITEMS;
|
|
994
|
+
request: ({
|
|
995
|
+
type: import("../actions/action").FlowActionType.CODE;
|
|
1091
996
|
name: string;
|
|
1092
|
-
settings: {
|
|
1093
|
-
sampleData?: {
|
|
1094
|
-
sampleDataFileId?: string | undefined;
|
|
1095
|
-
sampleDataInputFileId?: string | undefined;
|
|
1096
|
-
lastTestDate?: string | undefined;
|
|
1097
|
-
} | undefined;
|
|
1098
|
-
customLogoUrl?: string | undefined;
|
|
1099
|
-
items: string;
|
|
1100
|
-
};
|
|
1101
997
|
valid: boolean;
|
|
1102
998
|
displayName: string;
|
|
1103
|
-
} | {
|
|
1104
999
|
skip?: boolean | undefined;
|
|
1105
|
-
|
|
1106
|
-
name: string;
|
|
1000
|
+
} & {
|
|
1107
1001
|
settings: {
|
|
1002
|
+
input: Record<string, any>;
|
|
1003
|
+
sourceCode: {
|
|
1004
|
+
packageJson: string;
|
|
1005
|
+
code: string;
|
|
1006
|
+
};
|
|
1108
1007
|
errorHandlingOptions?: {
|
|
1109
1008
|
continueOnFailure?: {
|
|
1110
1009
|
value?: boolean | undefined;
|
|
@@ -1113,32 +1012,34 @@ export declare const flowOperations: {
|
|
|
1113
1012
|
value?: boolean | undefined;
|
|
1114
1013
|
} | undefined;
|
|
1115
1014
|
} | undefined;
|
|
1116
|
-
sampleData?: {
|
|
1117
|
-
sampleDataFileId?: string | undefined;
|
|
1118
|
-
sampleDataInputFileId?: string | undefined;
|
|
1119
|
-
lastTestDate?: string | undefined;
|
|
1120
|
-
} | undefined;
|
|
1121
1015
|
customLogoUrl?: string | undefined;
|
|
1122
|
-
actionName?: string | undefined;
|
|
1123
|
-
pieceName: string;
|
|
1124
|
-
pieceVersion: string;
|
|
1125
|
-
input: {
|
|
1126
|
-
[x: string]: unknown;
|
|
1127
|
-
};
|
|
1128
|
-
propertySettings: {
|
|
1129
|
-
[x: string]: {
|
|
1130
|
-
schema?: any;
|
|
1131
|
-
type: import("..").PropertyExecutionType;
|
|
1132
|
-
};
|
|
1133
|
-
};
|
|
1134
1016
|
};
|
|
1017
|
+
}) | ({
|
|
1018
|
+
type: import("../actions/action").FlowActionType.LOOP_ON_ITEMS;
|
|
1019
|
+
name: string;
|
|
1135
1020
|
valid: boolean;
|
|
1136
1021
|
displayName: string;
|
|
1137
|
-
} | {
|
|
1138
1022
|
skip?: boolean | undefined;
|
|
1139
|
-
|
|
1023
|
+
} & {
|
|
1024
|
+
settings: {
|
|
1025
|
+
items: string;
|
|
1026
|
+
customLogoUrl?: string | undefined;
|
|
1027
|
+
};
|
|
1028
|
+
}) | ({
|
|
1029
|
+
type: import("../actions/action").FlowActionType.PIECE;
|
|
1140
1030
|
name: string;
|
|
1031
|
+
valid: boolean;
|
|
1032
|
+
displayName: string;
|
|
1033
|
+
skip?: boolean | undefined;
|
|
1034
|
+
} & {
|
|
1141
1035
|
settings: {
|
|
1036
|
+
pieceName: string;
|
|
1037
|
+
input: Record<string, unknown>;
|
|
1038
|
+
pieceVersion: string;
|
|
1039
|
+
propertySettings: Record<string, {
|
|
1040
|
+
type: import("..").PropertyExecutionType;
|
|
1041
|
+
schema?: any;
|
|
1042
|
+
}>;
|
|
1142
1043
|
errorHandlingOptions?: {
|
|
1143
1044
|
continueOnFailure?: {
|
|
1144
1045
|
value?: boolean | undefined;
|
|
@@ -1147,88 +1048,62 @@ export declare const flowOperations: {
|
|
|
1147
1048
|
value?: boolean | undefined;
|
|
1148
1049
|
} | undefined;
|
|
1149
1050
|
} | undefined;
|
|
1150
|
-
sampleData?: {
|
|
1151
|
-
sampleDataFileId?: string | undefined;
|
|
1152
|
-
sampleDataInputFileId?: string | undefined;
|
|
1153
|
-
lastTestDate?: string | undefined;
|
|
1154
|
-
} | undefined;
|
|
1155
1051
|
customLogoUrl?: string | undefined;
|
|
1156
|
-
|
|
1157
|
-
[x: string]: any;
|
|
1158
|
-
};
|
|
1159
|
-
sourceCode: {
|
|
1160
|
-
packageJson: string;
|
|
1161
|
-
code: string;
|
|
1162
|
-
};
|
|
1052
|
+
actionName?: string | undefined;
|
|
1163
1053
|
};
|
|
1054
|
+
}) | ({
|
|
1055
|
+
type: import("../actions/action").FlowActionType.ROUTER;
|
|
1056
|
+
name: string;
|
|
1164
1057
|
valid: boolean;
|
|
1165
1058
|
displayName: string;
|
|
1166
|
-
|
|
1059
|
+
skip?: boolean | undefined;
|
|
1060
|
+
} & {
|
|
1061
|
+
settings: {
|
|
1062
|
+
branches: ({
|
|
1063
|
+
conditions: ({
|
|
1064
|
+
firstValue: string;
|
|
1065
|
+
secondValue: string;
|
|
1066
|
+
caseSensitive?: boolean | undefined;
|
|
1067
|
+
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1068
|
+
} | {
|
|
1069
|
+
firstValue: string;
|
|
1070
|
+
secondValue: string;
|
|
1071
|
+
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1072
|
+
} | {
|
|
1073
|
+
firstValue: string;
|
|
1074
|
+
secondValue: string;
|
|
1075
|
+
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1076
|
+
} | {
|
|
1077
|
+
firstValue: string;
|
|
1078
|
+
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1079
|
+
})[][];
|
|
1080
|
+
branchType: import("../actions/action").BranchExecutionType.CONDITION;
|
|
1081
|
+
branchName: string;
|
|
1082
|
+
} | {
|
|
1083
|
+
branchType: import("../actions/action").BranchExecutionType.FALLBACK;
|
|
1084
|
+
branchName: string;
|
|
1085
|
+
})[];
|
|
1086
|
+
executionType: import("../actions/action").RouterExecutionType;
|
|
1087
|
+
customLogoUrl?: string | undefined;
|
|
1088
|
+
};
|
|
1089
|
+
});
|
|
1167
1090
|
} | {
|
|
1168
1091
|
type: FlowOperationType.ADD_ACTION;
|
|
1169
1092
|
request: {
|
|
1170
|
-
stepLocationRelativeToParent?: StepLocationRelativeToParent | undefined;
|
|
1171
|
-
branchIndex?: number | undefined;
|
|
1172
1093
|
parentStep: string;
|
|
1173
|
-
action: {
|
|
1174
|
-
|
|
1175
|
-
type: import("../actions/action").FlowActionType.ROUTER;
|
|
1176
|
-
name: string;
|
|
1177
|
-
settings: {
|
|
1178
|
-
sampleData?: {
|
|
1179
|
-
sampleDataFileId?: string | undefined;
|
|
1180
|
-
sampleDataInputFileId?: string | undefined;
|
|
1181
|
-
lastTestDate?: string | undefined;
|
|
1182
|
-
} | undefined;
|
|
1183
|
-
customLogoUrl?: string | undefined;
|
|
1184
|
-
branches: ({
|
|
1185
|
-
conditions: ({
|
|
1186
|
-
caseSensitive?: boolean | undefined;
|
|
1187
|
-
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1188
|
-
firstValue: string;
|
|
1189
|
-
secondValue: string;
|
|
1190
|
-
} | {
|
|
1191
|
-
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1192
|
-
firstValue: string;
|
|
1193
|
-
secondValue: string;
|
|
1194
|
-
} | {
|
|
1195
|
-
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1196
|
-
firstValue: string;
|
|
1197
|
-
secondValue: string;
|
|
1198
|
-
} | {
|
|
1199
|
-
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1200
|
-
firstValue: string;
|
|
1201
|
-
})[][];
|
|
1202
|
-
branchType: import("../actions/action").BranchExecutionType.CONDITION;
|
|
1203
|
-
branchName: string;
|
|
1204
|
-
} | {
|
|
1205
|
-
branchType: import("../actions/action").BranchExecutionType.FALLBACK;
|
|
1206
|
-
branchName: string;
|
|
1207
|
-
})[];
|
|
1208
|
-
executionType: import("../actions/action").RouterExecutionType;
|
|
1209
|
-
};
|
|
1210
|
-
valid: boolean;
|
|
1211
|
-
displayName: string;
|
|
1212
|
-
} | {
|
|
1213
|
-
skip?: boolean | undefined;
|
|
1214
|
-
type: import("../actions/action").FlowActionType.LOOP_ON_ITEMS;
|
|
1094
|
+
action: ({
|
|
1095
|
+
type: import("../actions/action").FlowActionType.CODE;
|
|
1215
1096
|
name: string;
|
|
1216
|
-
settings: {
|
|
1217
|
-
sampleData?: {
|
|
1218
|
-
sampleDataFileId?: string | undefined;
|
|
1219
|
-
sampleDataInputFileId?: string | undefined;
|
|
1220
|
-
lastTestDate?: string | undefined;
|
|
1221
|
-
} | undefined;
|
|
1222
|
-
customLogoUrl?: string | undefined;
|
|
1223
|
-
items: string;
|
|
1224
|
-
};
|
|
1225
1097
|
valid: boolean;
|
|
1226
1098
|
displayName: string;
|
|
1227
|
-
} | {
|
|
1228
1099
|
skip?: boolean | undefined;
|
|
1229
|
-
|
|
1230
|
-
name: string;
|
|
1100
|
+
} & {
|
|
1231
1101
|
settings: {
|
|
1102
|
+
input: Record<string, any>;
|
|
1103
|
+
sourceCode: {
|
|
1104
|
+
packageJson: string;
|
|
1105
|
+
code: string;
|
|
1106
|
+
};
|
|
1232
1107
|
errorHandlingOptions?: {
|
|
1233
1108
|
continueOnFailure?: {
|
|
1234
1109
|
value?: boolean | undefined;
|
|
@@ -1237,32 +1112,34 @@ export declare const flowOperations: {
|
|
|
1237
1112
|
value?: boolean | undefined;
|
|
1238
1113
|
} | undefined;
|
|
1239
1114
|
} | undefined;
|
|
1240
|
-
sampleData?: {
|
|
1241
|
-
sampleDataFileId?: string | undefined;
|
|
1242
|
-
sampleDataInputFileId?: string | undefined;
|
|
1243
|
-
lastTestDate?: string | undefined;
|
|
1244
|
-
} | undefined;
|
|
1245
1115
|
customLogoUrl?: string | undefined;
|
|
1246
|
-
actionName?: string | undefined;
|
|
1247
|
-
pieceName: string;
|
|
1248
|
-
pieceVersion: string;
|
|
1249
|
-
input: {
|
|
1250
|
-
[x: string]: unknown;
|
|
1251
|
-
};
|
|
1252
|
-
propertySettings: {
|
|
1253
|
-
[x: string]: {
|
|
1254
|
-
schema?: any;
|
|
1255
|
-
type: import("..").PropertyExecutionType;
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
1116
|
};
|
|
1117
|
+
}) | ({
|
|
1118
|
+
type: import("../actions/action").FlowActionType.LOOP_ON_ITEMS;
|
|
1119
|
+
name: string;
|
|
1259
1120
|
valid: boolean;
|
|
1260
1121
|
displayName: string;
|
|
1261
|
-
} | {
|
|
1262
1122
|
skip?: boolean | undefined;
|
|
1263
|
-
|
|
1123
|
+
} & {
|
|
1124
|
+
settings: {
|
|
1125
|
+
items: string;
|
|
1126
|
+
customLogoUrl?: string | undefined;
|
|
1127
|
+
};
|
|
1128
|
+
}) | ({
|
|
1129
|
+
type: import("../actions/action").FlowActionType.PIECE;
|
|
1264
1130
|
name: string;
|
|
1131
|
+
valid: boolean;
|
|
1132
|
+
displayName: string;
|
|
1133
|
+
skip?: boolean | undefined;
|
|
1134
|
+
} & {
|
|
1265
1135
|
settings: {
|
|
1136
|
+
pieceName: string;
|
|
1137
|
+
input: Record<string, unknown>;
|
|
1138
|
+
pieceVersion: string;
|
|
1139
|
+
propertySettings: Record<string, {
|
|
1140
|
+
type: import("..").PropertyExecutionType;
|
|
1141
|
+
schema?: any;
|
|
1142
|
+
}>;
|
|
1266
1143
|
errorHandlingOptions?: {
|
|
1267
1144
|
continueOnFailure?: {
|
|
1268
1145
|
value?: boolean | undefined;
|
|
@@ -1271,60 +1148,76 @@ export declare const flowOperations: {
|
|
|
1271
1148
|
value?: boolean | undefined;
|
|
1272
1149
|
} | undefined;
|
|
1273
1150
|
} | undefined;
|
|
1274
|
-
sampleData?: {
|
|
1275
|
-
sampleDataFileId?: string | undefined;
|
|
1276
|
-
sampleDataInputFileId?: string | undefined;
|
|
1277
|
-
lastTestDate?: string | undefined;
|
|
1278
|
-
} | undefined;
|
|
1279
1151
|
customLogoUrl?: string | undefined;
|
|
1280
|
-
|
|
1281
|
-
[x: string]: any;
|
|
1282
|
-
};
|
|
1283
|
-
sourceCode: {
|
|
1284
|
-
packageJson: string;
|
|
1285
|
-
code: string;
|
|
1286
|
-
};
|
|
1152
|
+
actionName?: string | undefined;
|
|
1287
1153
|
};
|
|
1154
|
+
}) | ({
|
|
1155
|
+
type: import("../actions/action").FlowActionType.ROUTER;
|
|
1156
|
+
name: string;
|
|
1288
1157
|
valid: boolean;
|
|
1289
1158
|
displayName: string;
|
|
1290
|
-
|
|
1159
|
+
skip?: boolean | undefined;
|
|
1160
|
+
} & {
|
|
1161
|
+
settings: {
|
|
1162
|
+
branches: ({
|
|
1163
|
+
conditions: ({
|
|
1164
|
+
firstValue: string;
|
|
1165
|
+
secondValue: string;
|
|
1166
|
+
caseSensitive?: boolean | undefined;
|
|
1167
|
+
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1168
|
+
} | {
|
|
1169
|
+
firstValue: string;
|
|
1170
|
+
secondValue: string;
|
|
1171
|
+
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1172
|
+
} | {
|
|
1173
|
+
firstValue: string;
|
|
1174
|
+
secondValue: string;
|
|
1175
|
+
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1176
|
+
} | {
|
|
1177
|
+
firstValue: string;
|
|
1178
|
+
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1179
|
+
})[][];
|
|
1180
|
+
branchType: import("../actions/action").BranchExecutionType.CONDITION;
|
|
1181
|
+
branchName: string;
|
|
1182
|
+
} | {
|
|
1183
|
+
branchType: import("../actions/action").BranchExecutionType.FALLBACK;
|
|
1184
|
+
branchName: string;
|
|
1185
|
+
})[];
|
|
1186
|
+
executionType: import("../actions/action").RouterExecutionType;
|
|
1187
|
+
customLogoUrl?: string | undefined;
|
|
1188
|
+
};
|
|
1189
|
+
});
|
|
1190
|
+
stepLocationRelativeToParent?: StepLocationRelativeToParent | undefined;
|
|
1191
|
+
branchIndex?: number | undefined;
|
|
1291
1192
|
};
|
|
1292
1193
|
} | {
|
|
1293
1194
|
type: FlowOperationType.UPDATE_TRIGGER;
|
|
1294
1195
|
request: {
|
|
1295
|
-
nextAction?: any;
|
|
1296
1196
|
type: FlowTriggerType.EMPTY;
|
|
1297
1197
|
name: string;
|
|
1298
1198
|
settings: any;
|
|
1299
1199
|
valid: boolean;
|
|
1300
1200
|
displayName: string;
|
|
1301
|
-
} | {
|
|
1302
1201
|
nextAction?: any;
|
|
1202
|
+
} | ({
|
|
1303
1203
|
type: FlowTriggerType.PIECE;
|
|
1304
1204
|
name: string;
|
|
1205
|
+
valid: boolean;
|
|
1206
|
+
displayName: string;
|
|
1207
|
+
nextAction?: any;
|
|
1208
|
+
} & {
|
|
1305
1209
|
settings: {
|
|
1306
|
-
triggerName?: string | undefined;
|
|
1307
|
-
sampleData?: {
|
|
1308
|
-
sampleDataFileId?: string | undefined;
|
|
1309
|
-
sampleDataInputFileId?: string | undefined;
|
|
1310
|
-
lastTestDate?: string | undefined;
|
|
1311
|
-
} | undefined;
|
|
1312
|
-
customLogoUrl?: string | undefined;
|
|
1313
1210
|
pieceName: string;
|
|
1211
|
+
input: Record<string, any>;
|
|
1314
1212
|
pieceVersion: string;
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
type: import("..").PropertyExecutionType;
|
|
1322
|
-
};
|
|
1323
|
-
};
|
|
1213
|
+
propertySettings: Record<string, {
|
|
1214
|
+
type: import("..").PropertyExecutionType;
|
|
1215
|
+
schema?: any;
|
|
1216
|
+
}>;
|
|
1217
|
+
triggerName?: string | undefined;
|
|
1218
|
+
customLogoUrl?: string | undefined;
|
|
1324
1219
|
};
|
|
1325
|
-
|
|
1326
|
-
displayName: string;
|
|
1327
|
-
};
|
|
1220
|
+
});
|
|
1328
1221
|
} | {
|
|
1329
1222
|
type: FlowOperationType.CHANGE_FOLDER;
|
|
1330
1223
|
request: {
|
|
@@ -1338,65 +1231,63 @@ export declare const flowOperations: {
|
|
|
1338
1231
|
} | {
|
|
1339
1232
|
type: FlowOperationType.DELETE_BRANCH;
|
|
1340
1233
|
request: {
|
|
1341
|
-
stepName: string;
|
|
1342
1234
|
branchIndex: number;
|
|
1235
|
+
stepName: string;
|
|
1343
1236
|
};
|
|
1344
1237
|
} | {
|
|
1345
1238
|
type: FlowOperationType.ADD_BRANCH;
|
|
1346
1239
|
request: {
|
|
1240
|
+
branchIndex: number;
|
|
1241
|
+
stepName: string;
|
|
1242
|
+
branchName: string;
|
|
1347
1243
|
conditions?: ({
|
|
1348
|
-
caseSensitive?: boolean | undefined;
|
|
1349
|
-
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1350
1244
|
firstValue: string;
|
|
1351
1245
|
secondValue: string;
|
|
1246
|
+
caseSensitive?: boolean | undefined;
|
|
1247
|
+
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1352
1248
|
} | {
|
|
1353
|
-
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1354
1249
|
firstValue: string;
|
|
1355
1250
|
secondValue: string;
|
|
1251
|
+
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1356
1252
|
} | {
|
|
1357
|
-
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1358
1253
|
firstValue: string;
|
|
1359
1254
|
secondValue: string;
|
|
1255
|
+
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1360
1256
|
} | {
|
|
1361
|
-
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1362
1257
|
firstValue: string;
|
|
1258
|
+
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1363
1259
|
})[][] | undefined;
|
|
1364
|
-
stepName: string;
|
|
1365
|
-
branchName: string;
|
|
1366
|
-
branchIndex: number;
|
|
1367
1260
|
};
|
|
1368
1261
|
} | {
|
|
1369
1262
|
type: FlowOperationType.DUPLICATE_BRANCH;
|
|
1370
1263
|
request: {
|
|
1371
|
-
stepName: string;
|
|
1372
1264
|
branchIndex: number;
|
|
1265
|
+
stepName: string;
|
|
1373
1266
|
};
|
|
1374
1267
|
} | {
|
|
1375
1268
|
type: FlowOperationType.SET_SKIP_ACTION;
|
|
1376
1269
|
request: {
|
|
1377
|
-
skip: boolean;
|
|
1378
1270
|
names: string[];
|
|
1271
|
+
skip: boolean;
|
|
1379
1272
|
};
|
|
1380
1273
|
} | {
|
|
1381
1274
|
type: FlowOperationType.UPDATE_METADATA;
|
|
1382
1275
|
request: {
|
|
1383
|
-
metadata?:
|
|
1384
|
-
[x: string]: unknown;
|
|
1385
|
-
} | null | undefined;
|
|
1276
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1386
1277
|
};
|
|
1387
1278
|
} | {
|
|
1388
1279
|
type: FlowOperationType.MOVE_BRANCH;
|
|
1389
1280
|
request: {
|
|
1390
|
-
stepName: string;
|
|
1391
1281
|
sourceBranchIndex: number;
|
|
1392
1282
|
targetBranchIndex: number;
|
|
1283
|
+
stepName: string;
|
|
1393
1284
|
};
|
|
1394
1285
|
} | {
|
|
1395
1286
|
type: FlowOperationType.SAVE_SAMPLE_DATA;
|
|
1396
1287
|
request: {
|
|
1397
|
-
type: import("../sample-data").SampleDataFileType;
|
|
1398
1288
|
stepName: string;
|
|
1399
1289
|
payload: unknown;
|
|
1290
|
+
type: import("../sample-data").SampleDataFileType;
|
|
1400
1291
|
};
|
|
1401
1292
|
} | {
|
|
1402
1293
|
type: FlowOperationType.UPDATE_MINUTES_SAVED;
|
|
@@ -1411,7 +1302,6 @@ export declare const flowOperations: {
|
|
|
1411
1302
|
} | {
|
|
1412
1303
|
type: FlowOperationType.UPDATE_NOTE;
|
|
1413
1304
|
request: {
|
|
1414
|
-
ownerId?: string | null | undefined;
|
|
1415
1305
|
id: string;
|
|
1416
1306
|
content: string;
|
|
1417
1307
|
color: import("../note").NoteColorVariant;
|
|
@@ -1423,6 +1313,7 @@ export declare const flowOperations: {
|
|
|
1423
1313
|
width: number;
|
|
1424
1314
|
height: number;
|
|
1425
1315
|
};
|
|
1316
|
+
ownerId?: string | null | undefined;
|
|
1426
1317
|
};
|
|
1427
1318
|
} | {
|
|
1428
1319
|
type: FlowOperationType.DELETE_NOTE;
|
|
@@ -1444,6 +1335,17 @@ export declare const flowOperations: {
|
|
|
1444
1335
|
height: number;
|
|
1445
1336
|
};
|
|
1446
1337
|
};
|
|
1338
|
+
} | {
|
|
1339
|
+
type: FlowOperationType.UPDATE_SAMPLE_DATA_INFO;
|
|
1340
|
+
request: {
|
|
1341
|
+
stepName: string;
|
|
1342
|
+
sampleDataSettings: {
|
|
1343
|
+
[x: string]: unknown;
|
|
1344
|
+
sampleDataFileId?: string | undefined;
|
|
1345
|
+
sampleDataInputFileId?: string | undefined;
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1447
1348
|
})[];
|
|
1448
1349
|
apply(flowVersion: FlowVersion, operation: FlowOperationRequest): FlowVersion;
|
|
1449
1350
|
};
|
|
1351
|
+
//# sourceMappingURL=index.d.ts.map
|