@epilot/cli 0.1.11 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -19
- package/definitions/automation.json +214 -1
- package/definitions/blueprint-manifest.json +1504 -148
- package/definitions/configuration-hub.json +399 -0
- package/definitions/data-governance.json +1126 -0
- package/definitions/deduplication.json +135 -4
- package/definitions/design.json +103 -57
- package/definitions/email-settings.json +29 -0
- package/definitions/entity.json +88 -6
- package/definitions/environments.json +183 -7
- package/definitions/erp-integration.json +1819 -187
- package/definitions/integration-toolkit.json +7998 -0
- package/definitions/message.json +202 -0
- package/definitions/query.json +3178 -0
- package/definitions/sharing.json +956 -0
- package/definitions/target.json +609 -0
- package/definitions/template-variables.json +12 -4
- package/definitions/user.json +52 -0
- package/definitions/workflow-definition.json +87 -202
- package/definitions/workflow.json +102 -0
- package/dist/{add-component-IW4644NE.js → add-component-AAVQVPKK.js} +68 -13
- package/dist/app-I3XXHZLD.js +24 -0
- package/dist/bin/epilot.js +12 -9
- package/dist/{chunk-POCU2J27.js → chunk-CEP7S7X3.js} +2 -1
- package/dist/{chunk-K2UQOP3Q.js → chunk-UOQMCAJN.js} +149 -60
- package/dist/{completion-HTO64G2S.js → completion-J7SWF5AO.js} +1 -1
- package/dist/configuration-hub-Y7W22GBW.js +54 -0
- package/dist/{data-management-KXAPA7ZU.js → data-governance-DJAAIE6F.js} +5 -5
- package/dist/{deploy-UQZAUHAB.js → deploy-4XDFWOEV.js} +1 -1
- package/dist/{export-US5GMHTS.js → export-JA5N4JCJ.js} +1 -1
- package/dist/{init-DGPWBRRB.js → init-5KGNJEWF.js} +1 -1
- package/dist/integration-toolkit-4CLQDSK7.js +54 -0
- package/dist/{erp-integration-DXFYJ2F3.js → query-IYW42QLU.js} +5 -5
- package/dist/{remove-component-B2GMICMD.js → remove-component-LXSRR23E.js} +1 -1
- package/dist/{review-QFPON37R.js → review-HFOO3NXE.js} +1 -1
- package/dist/sharing-X5U53KSU.js +54 -0
- package/dist/{upgrade-KZSOPDCR.js → upgrade-6Z53BXHL.js} +1 -1
- package/dist/{validate-G7K6AVBI.js → validate-TUMXW56Y.js} +1 -1
- package/dist/{versions-UTPAWTIU.js → versions-ZTWQAGXY.js} +1 -1
- package/package.json +4 -2
- package/definitions/data-management.json +0 -972
- package/dist/app-BKS7M4UQ.js +0 -24
package/definitions/user.json
CHANGED
|
@@ -1984,6 +1984,49 @@
|
|
|
1984
1984
|
}
|
|
1985
1985
|
}
|
|
1986
1986
|
},
|
|
1987
|
+
"GroupImageUri": {
|
|
1988
|
+
"description": "Group's profile image or gradient colors. Supports uploaded image URLs and generated gradient avatars.",
|
|
1989
|
+
"type": "object",
|
|
1990
|
+
"additionalProperties": true,
|
|
1991
|
+
"nullable": true,
|
|
1992
|
+
"properties": {
|
|
1993
|
+
"original": {
|
|
1994
|
+
"type": "string",
|
|
1995
|
+
"format": "uri",
|
|
1996
|
+
"example": "https://account-profile-images.epilot.cloud/org/group-avatar.png"
|
|
1997
|
+
},
|
|
1998
|
+
"thumbnail_32": {
|
|
1999
|
+
"type": "string",
|
|
2000
|
+
"format": "uri",
|
|
2001
|
+
"example": "https://account-profile-images.epilot.cloud/org/group-avatar_32x32.png"
|
|
2002
|
+
},
|
|
2003
|
+
"thumbnail_64": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"format": "uri",
|
|
2006
|
+
"example": "https://account-profile-images.epilot.cloud/org/group-avatar_64x64.png"
|
|
2007
|
+
},
|
|
2008
|
+
"gradient_colors": {
|
|
2009
|
+
"type": "array",
|
|
2010
|
+
"description": "Two hex color strings [base_color, accent_color] for mesh gradient avatar.",
|
|
2011
|
+
"items": {
|
|
2012
|
+
"type": "string",
|
|
2013
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
2014
|
+
},
|
|
2015
|
+
"minItems": 2,
|
|
2016
|
+
"maxItems": 2,
|
|
2017
|
+
"example": [
|
|
2018
|
+
"#0588f0",
|
|
2019
|
+
"#3358d4"
|
|
2020
|
+
]
|
|
2021
|
+
}
|
|
2022
|
+
},
|
|
2023
|
+
"example": {
|
|
2024
|
+
"gradient_colors": [
|
|
2025
|
+
"#0588f0",
|
|
2026
|
+
"#3358d4"
|
|
2027
|
+
]
|
|
2028
|
+
}
|
|
2029
|
+
},
|
|
1987
2030
|
"CreateGroupReq": {
|
|
1988
2031
|
"type": "object",
|
|
1989
2032
|
"properties": {
|
|
@@ -2002,6 +2045,9 @@
|
|
|
2002
2045
|
"123",
|
|
2003
2046
|
"456"
|
|
2004
2047
|
]
|
|
2048
|
+
},
|
|
2049
|
+
"image_uri": {
|
|
2050
|
+
"$ref": "#/components/schemas/GroupImageUri"
|
|
2005
2051
|
}
|
|
2006
2052
|
},
|
|
2007
2053
|
"required": [
|
|
@@ -2026,6 +2072,9 @@
|
|
|
2026
2072
|
"123",
|
|
2027
2073
|
"456"
|
|
2028
2074
|
]
|
|
2075
|
+
},
|
|
2076
|
+
"image_uri": {
|
|
2077
|
+
"$ref": "#/components/schemas/GroupImageUri"
|
|
2029
2078
|
}
|
|
2030
2079
|
}
|
|
2031
2080
|
},
|
|
@@ -2080,6 +2129,9 @@
|
|
|
2080
2129
|
"items": {
|
|
2081
2130
|
"$ref": "#/components/schemas/UserV2"
|
|
2082
2131
|
}
|
|
2132
|
+
},
|
|
2133
|
+
"image_uri": {
|
|
2134
|
+
"$ref": "#/components/schemas/GroupImageUri"
|
|
2083
2135
|
}
|
|
2084
2136
|
},
|
|
2085
2137
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Workflows Definitions",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"description": "Service for Workflow Definitions for different processes inside of an Organization\n"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
@@ -750,131 +750,6 @@
|
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
},
|
|
753
|
-
"/v2/flows/templates/{flowId}/export": {
|
|
754
|
-
"get": {
|
|
755
|
-
"operationId": "exportFlowTemplate",
|
|
756
|
-
"summary": "exportFlowTemplate",
|
|
757
|
-
"description": "Export a Flow Template with all referenced automations resolved and bundled alongside.",
|
|
758
|
-
"tags": [
|
|
759
|
-
"Flows V2"
|
|
760
|
-
],
|
|
761
|
-
"parameters": [
|
|
762
|
-
{
|
|
763
|
-
"in": "path",
|
|
764
|
-
"name": "flowId",
|
|
765
|
-
"schema": {
|
|
766
|
-
"$ref": "#/components/schemas/FlowTemplateId"
|
|
767
|
-
},
|
|
768
|
-
"required": true
|
|
769
|
-
}
|
|
770
|
-
],
|
|
771
|
-
"responses": {
|
|
772
|
-
"200": {
|
|
773
|
-
"description": "Exported flow template with resolved automations",
|
|
774
|
-
"content": {
|
|
775
|
-
"application/json": {
|
|
776
|
-
"schema": {
|
|
777
|
-
"$ref": "#/components/schemas/FlowTemplateExport"
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
"401": {
|
|
783
|
-
"description": "Authentication Errors",
|
|
784
|
-
"content": {
|
|
785
|
-
"application/json": {
|
|
786
|
-
"schema": {
|
|
787
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
},
|
|
792
|
-
"404": {
|
|
793
|
-
"description": "Flow template not found",
|
|
794
|
-
"content": {
|
|
795
|
-
"application/json": {
|
|
796
|
-
"schema": {
|
|
797
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
798
|
-
}
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
},
|
|
802
|
-
"500": {
|
|
803
|
-
"description": "Other errors",
|
|
804
|
-
"content": {
|
|
805
|
-
"application/json": {
|
|
806
|
-
"schema": {
|
|
807
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
"/v2/flows/templates/import": {
|
|
816
|
-
"post": {
|
|
817
|
-
"operationId": "importFlowTemplate",
|
|
818
|
-
"summary": "importFlowTemplate",
|
|
819
|
-
"description": "Import a Flow Template from an export payload. Creates all automations and the flow in the caller's organization.",
|
|
820
|
-
"tags": [
|
|
821
|
-
"Flows V2"
|
|
822
|
-
],
|
|
823
|
-
"requestBody": {
|
|
824
|
-
"description": "Export payload containing the flow template and resolved automations",
|
|
825
|
-
"required": true,
|
|
826
|
-
"content": {
|
|
827
|
-
"application/json": {
|
|
828
|
-
"schema": {
|
|
829
|
-
"$ref": "#/components/schemas/FlowTemplateExport"
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
|
-
"responses": {
|
|
835
|
-
"201": {
|
|
836
|
-
"description": "Flow template imported successfully",
|
|
837
|
-
"content": {
|
|
838
|
-
"application/json": {
|
|
839
|
-
"schema": {
|
|
840
|
-
"$ref": "#/components/schemas/FlowTemplateImportResult"
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
},
|
|
845
|
-
"400": {
|
|
846
|
-
"description": "Validation Errors",
|
|
847
|
-
"content": {
|
|
848
|
-
"application/json": {
|
|
849
|
-
"schema": {
|
|
850
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
"401": {
|
|
856
|
-
"description": "Authentication Errors",
|
|
857
|
-
"content": {
|
|
858
|
-
"application/json": {
|
|
859
|
-
"schema": {
|
|
860
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
"500": {
|
|
866
|
-
"description": "Other errors",
|
|
867
|
-
"content": {
|
|
868
|
-
"application/json": {
|
|
869
|
-
"schema": {
|
|
870
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
},
|
|
878
753
|
"/v1/workflows/definitions/{definitionId}": {
|
|
879
754
|
"get": {
|
|
880
755
|
"operationId": "getDefinition",
|
|
@@ -1823,6 +1698,13 @@
|
|
|
1823
1698
|
"singleClosingReasonSelection": {
|
|
1824
1699
|
"type": "boolean",
|
|
1825
1700
|
"description": "Whether only a single closing reason can be selected"
|
|
1701
|
+
},
|
|
1702
|
+
"_manifest": {
|
|
1703
|
+
"type": "array",
|
|
1704
|
+
"description": "The manifest IDs associated with this workflow",
|
|
1705
|
+
"items": {
|
|
1706
|
+
"type": "string"
|
|
1707
|
+
}
|
|
1826
1708
|
}
|
|
1827
1709
|
}
|
|
1828
1710
|
},
|
|
@@ -1851,7 +1733,7 @@
|
|
|
1851
1733
|
"v2",
|
|
1852
1734
|
"v3"
|
|
1853
1735
|
],
|
|
1854
|
-
"description": "Version of the workflow schema.\n\n- `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities
|
|
1736
|
+
"description": "Version of the workflow schema.\n\n- `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.\n- `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.\n- `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.\n",
|
|
1855
1737
|
"example": 2
|
|
1856
1738
|
},
|
|
1857
1739
|
"Trigger": {
|
|
@@ -2267,14 +2149,15 @@
|
|
|
2267
2149
|
"properties": {
|
|
2268
2150
|
"id": {
|
|
2269
2151
|
"type": "string",
|
|
2270
|
-
"description": "The id of the entity / workflow / task, based on the origin of the schedule"
|
|
2152
|
+
"description": "The id of the entity / workflow / task, based on the origin of the schedule. For all_preceding_tasks_completed, use the sentinel value \"all_preceding_tasks_completed\"."
|
|
2271
2153
|
},
|
|
2272
2154
|
"origin": {
|
|
2273
2155
|
"type": "string",
|
|
2274
2156
|
"enum": [
|
|
2275
2157
|
"flow_started",
|
|
2276
2158
|
"task_completed",
|
|
2277
|
-
"trigger_entity_attribute"
|
|
2159
|
+
"trigger_entity_attribute",
|
|
2160
|
+
"all_preceding_tasks_completed"
|
|
2278
2161
|
]
|
|
2279
2162
|
},
|
|
2280
2163
|
"schema": {
|
|
@@ -2339,7 +2222,7 @@
|
|
|
2339
2222
|
"description": "Maximum number of iterations for the loop branch",
|
|
2340
2223
|
"default": 3,
|
|
2341
2224
|
"minimum": 1,
|
|
2342
|
-
"maximum":
|
|
2225
|
+
"maximum": 100
|
|
2343
2226
|
}
|
|
2344
2227
|
},
|
|
2345
2228
|
"required": [
|
|
@@ -2404,6 +2287,10 @@
|
|
|
2404
2287
|
"installer": {
|
|
2405
2288
|
"$ref": "#/components/schemas/ECPDetails"
|
|
2406
2289
|
},
|
|
2290
|
+
"partner": {
|
|
2291
|
+
"$ref": "#/components/schemas/PartnerDetails",
|
|
2292
|
+
"description": "Partner-specific task details shown to partner org users viewing shared resources"
|
|
2293
|
+
},
|
|
2407
2294
|
"taxonomies": {
|
|
2408
2295
|
"type": "array",
|
|
2409
2296
|
"items": {
|
|
@@ -2476,9 +2363,14 @@
|
|
|
2476
2363
|
"example": "{{entity.owner}}"
|
|
2477
2364
|
},
|
|
2478
2365
|
"value": {
|
|
2479
|
-
"type": "
|
|
2480
|
-
"
|
|
2481
|
-
|
|
2366
|
+
"type": "array",
|
|
2367
|
+
"items": {
|
|
2368
|
+
"type": "string"
|
|
2369
|
+
},
|
|
2370
|
+
"description": "The resolved values after variable evaluation (populated during execution)",
|
|
2371
|
+
"example": [
|
|
2372
|
+
"user_12345"
|
|
2373
|
+
]
|
|
2482
2374
|
}
|
|
2483
2375
|
},
|
|
2484
2376
|
"required": [
|
|
@@ -2504,7 +2396,8 @@
|
|
|
2504
2396
|
"type": "string"
|
|
2505
2397
|
},
|
|
2506
2398
|
"to_id": {
|
|
2507
|
-
"type": "string"
|
|
2399
|
+
"type": "string",
|
|
2400
|
+
"nullable": true
|
|
2508
2401
|
},
|
|
2509
2402
|
"condition_id": {
|
|
2510
2403
|
"type": "string"
|
|
@@ -2516,8 +2409,7 @@
|
|
|
2516
2409
|
},
|
|
2517
2410
|
"required": [
|
|
2518
2411
|
"id",
|
|
2519
|
-
"from_id"
|
|
2520
|
-
"to_id"
|
|
2412
|
+
"from_id"
|
|
2521
2413
|
]
|
|
2522
2414
|
},
|
|
2523
2415
|
"Condition": {
|
|
@@ -2541,6 +2433,7 @@
|
|
|
2541
2433
|
},
|
|
2542
2434
|
"statements": {
|
|
2543
2435
|
"type": "array",
|
|
2436
|
+
"nullable": true,
|
|
2544
2437
|
"items": {
|
|
2545
2438
|
"$ref": "#/components/schemas/Statement"
|
|
2546
2439
|
}
|
|
@@ -2570,6 +2463,14 @@
|
|
|
2570
2463
|
"items": {
|
|
2571
2464
|
"type": "string"
|
|
2572
2465
|
}
|
|
2466
|
+
},
|
|
2467
|
+
"value_type": {
|
|
2468
|
+
"type": "string",
|
|
2469
|
+
"enum": [
|
|
2470
|
+
"static",
|
|
2471
|
+
"relative_date"
|
|
2472
|
+
],
|
|
2473
|
+
"description": "How to interpret values. \"static\" (default) means literal values. \"relative_date\" means values[0] is a dynamic date token like \"today\"."
|
|
2573
2474
|
}
|
|
2574
2475
|
},
|
|
2575
2476
|
"required": [
|
|
@@ -2646,7 +2547,26 @@
|
|
|
2646
2547
|
},
|
|
2647
2548
|
"attribute_sub_field": {
|
|
2648
2549
|
"type": "string",
|
|
2649
|
-
"description": "For complex attribute types, specifies which sub-field to extract (e.g.,
|
|
2550
|
+
"description": "For complex attribute types, specifies which sub-field to extract (e.g., \"address\", \"name\", \"email_type\")"
|
|
2551
|
+
},
|
|
2552
|
+
"date_offset": {
|
|
2553
|
+
"type": "object",
|
|
2554
|
+
"description": "Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry)",
|
|
2555
|
+
"properties": {
|
|
2556
|
+
"amount": {
|
|
2557
|
+
"type": "integer",
|
|
2558
|
+
"description": "Number of units to offset"
|
|
2559
|
+
},
|
|
2560
|
+
"unit": {
|
|
2561
|
+
"type": "string",
|
|
2562
|
+
"enum": [
|
|
2563
|
+
"days",
|
|
2564
|
+
"months",
|
|
2565
|
+
"years"
|
|
2566
|
+
],
|
|
2567
|
+
"description": "Unit of the offset"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2650
2570
|
}
|
|
2651
2571
|
}
|
|
2652
2572
|
},
|
|
@@ -2684,7 +2604,9 @@
|
|
|
2684
2604
|
"enum": [
|
|
2685
2605
|
"WORKFLOW_STARTED",
|
|
2686
2606
|
"TASK_FINISHED",
|
|
2687
|
-
"PHASE_FINISHED"
|
|
2607
|
+
"PHASE_FINISHED",
|
|
2608
|
+
"A_PRECEDING_TASK_COMPLETED",
|
|
2609
|
+
"ALL_PRECEDING_TASKS_COMPLETED"
|
|
2688
2610
|
]
|
|
2689
2611
|
},
|
|
2690
2612
|
"task_id": {
|
|
@@ -2821,6 +2743,13 @@
|
|
|
2821
2743
|
"singleClosingReasonSelection": {
|
|
2822
2744
|
"type": "boolean",
|
|
2823
2745
|
"description": "Whether only a single closing reason can be selected"
|
|
2746
|
+
},
|
|
2747
|
+
"_manifest": {
|
|
2748
|
+
"type": "array",
|
|
2749
|
+
"description": "The manifest IDs associated with this workflow",
|
|
2750
|
+
"items": {
|
|
2751
|
+
"type": "string"
|
|
2752
|
+
}
|
|
2824
2753
|
}
|
|
2825
2754
|
},
|
|
2826
2755
|
"required": [
|
|
@@ -2899,6 +2828,10 @@
|
|
|
2899
2828
|
"installer": {
|
|
2900
2829
|
"$ref": "#/components/schemas/ECPDetails"
|
|
2901
2830
|
},
|
|
2831
|
+
"partner": {
|
|
2832
|
+
"$ref": "#/components/schemas/PartnerDetails",
|
|
2833
|
+
"description": "Partner-specific task details shown to partner org users viewing shared resources"
|
|
2834
|
+
},
|
|
2902
2835
|
"taxonomies": {
|
|
2903
2836
|
"type": "array",
|
|
2904
2837
|
"items": {
|
|
@@ -3021,6 +2954,21 @@
|
|
|
3021
2954
|
}
|
|
3022
2955
|
}
|
|
3023
2956
|
},
|
|
2957
|
+
"PartnerDetails": {
|
|
2958
|
+
"type": "object",
|
|
2959
|
+
"description": "Details regarding partner for the workflow step",
|
|
2960
|
+
"properties": {
|
|
2961
|
+
"enabled": {
|
|
2962
|
+
"type": "boolean"
|
|
2963
|
+
},
|
|
2964
|
+
"label": {
|
|
2965
|
+
"type": "string"
|
|
2966
|
+
},
|
|
2967
|
+
"description": {
|
|
2968
|
+
"type": "string"
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2971
|
+
},
|
|
3024
2972
|
"StepDescription": {
|
|
3025
2973
|
"type": "object",
|
|
3026
2974
|
"description": "Longer information regarding Task",
|
|
@@ -3088,14 +3036,9 @@
|
|
|
3088
3036
|
"ClosingReason": {
|
|
3089
3037
|
"type": "object",
|
|
3090
3038
|
"description": "One Closing reason for a workflow",
|
|
3091
|
-
"required": [
|
|
3092
|
-
"title",
|
|
3093
|
-
"status"
|
|
3094
|
-
],
|
|
3095
3039
|
"properties": {
|
|
3096
3040
|
"id": {
|
|
3097
|
-
"type": "string"
|
|
3098
|
-
"readOnly": true
|
|
3041
|
+
"type": "string"
|
|
3099
3042
|
},
|
|
3100
3043
|
"title": {
|
|
3101
3044
|
"type": "string"
|
|
@@ -3353,64 +3296,6 @@
|
|
|
3353
3296
|
"type",
|
|
3354
3297
|
"condition"
|
|
3355
3298
|
]
|
|
3356
|
-
},
|
|
3357
|
-
"FlowTemplateExport": {
|
|
3358
|
-
"allOf": [
|
|
3359
|
-
{
|
|
3360
|
-
"$ref": "#/components/schemas/FlowTemplate"
|
|
3361
|
-
},
|
|
3362
|
-
{
|
|
3363
|
-
"type": "object",
|
|
3364
|
-
"properties": {
|
|
3365
|
-
"_resolved_automations": {
|
|
3366
|
-
"type": "object",
|
|
3367
|
-
"description": "Map of automation_id to full AutomationFlow object. Null values indicate automations that could not be resolved.",
|
|
3368
|
-
"additionalProperties": {
|
|
3369
|
-
"type": "object"
|
|
3370
|
-
}
|
|
3371
|
-
}
|
|
3372
|
-
}
|
|
3373
|
-
}
|
|
3374
|
-
]
|
|
3375
|
-
},
|
|
3376
|
-
"FlowTemplateImportResult": {
|
|
3377
|
-
"type": "object",
|
|
3378
|
-
"properties": {
|
|
3379
|
-
"flow": {
|
|
3380
|
-
"$ref": "#/components/schemas/FlowTemplate"
|
|
3381
|
-
},
|
|
3382
|
-
"_id_mappings": {
|
|
3383
|
-
"type": "object",
|
|
3384
|
-
"description": "Maps old IDs to new IDs for cross-referencing by callers (e.g. blueprint service)",
|
|
3385
|
-
"properties": {
|
|
3386
|
-
"flow_id": {
|
|
3387
|
-
"type": "object",
|
|
3388
|
-
"properties": {
|
|
3389
|
-
"old": {
|
|
3390
|
-
"type": "string"
|
|
3391
|
-
},
|
|
3392
|
-
"new": {
|
|
3393
|
-
"type": "string"
|
|
3394
|
-
}
|
|
3395
|
-
}
|
|
3396
|
-
},
|
|
3397
|
-
"task_ids": {
|
|
3398
|
-
"type": "object",
|
|
3399
|
-
"additionalProperties": {
|
|
3400
|
-
"type": "string"
|
|
3401
|
-
},
|
|
3402
|
-
"description": "Map of old_task_id to new_task_id"
|
|
3403
|
-
},
|
|
3404
|
-
"automation_ids": {
|
|
3405
|
-
"type": "object",
|
|
3406
|
-
"additionalProperties": {
|
|
3407
|
-
"type": "string"
|
|
3408
|
-
},
|
|
3409
|
-
"description": "Map of old_automation_id to new_automation_id"
|
|
3410
|
-
}
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
}
|
|
3414
3299
|
}
|
|
3415
3300
|
}
|
|
3416
3301
|
}
|
|
@@ -1317,6 +1317,76 @@
|
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
1319
|
},
|
|
1320
|
+
"/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule/run-now": {
|
|
1321
|
+
"post": {
|
|
1322
|
+
"operationId": "runTaskScheduleNow",
|
|
1323
|
+
"summary": "runTaskScheduleNow",
|
|
1324
|
+
"description": "Cancels the pending schedule for a task and immediately triggers its automation execution.",
|
|
1325
|
+
"tags": [
|
|
1326
|
+
"Flows V2"
|
|
1327
|
+
],
|
|
1328
|
+
"parameters": [
|
|
1329
|
+
{
|
|
1330
|
+
"$ref": "#/components/parameters/ExecutionIdParam"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"$ref": "#/components/parameters/TaskIdParam"
|
|
1334
|
+
}
|
|
1335
|
+
],
|
|
1336
|
+
"responses": {
|
|
1337
|
+
"200": {
|
|
1338
|
+
"description": "Success - task automation has been triggered",
|
|
1339
|
+
"content": {
|
|
1340
|
+
"application/json": {
|
|
1341
|
+
"schema": {
|
|
1342
|
+
"$ref": "#/components/schemas/Task"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
},
|
|
1347
|
+
"400": {
|
|
1348
|
+
"description": "Validation Errors",
|
|
1349
|
+
"content": {
|
|
1350
|
+
"application/json": {
|
|
1351
|
+
"schema": {
|
|
1352
|
+
"$ref": "#/components/schemas/ErrorResp"
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"401": {
|
|
1358
|
+
"description": "Authentication Errors",
|
|
1359
|
+
"content": {
|
|
1360
|
+
"application/json": {
|
|
1361
|
+
"schema": {
|
|
1362
|
+
"$ref": "#/components/schemas/ErrorResp"
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"404": {
|
|
1368
|
+
"description": "Not Found",
|
|
1369
|
+
"content": {
|
|
1370
|
+
"application/json": {
|
|
1371
|
+
"schema": {
|
|
1372
|
+
"$ref": "#/components/schemas/ErrorResp"
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
"500": {
|
|
1378
|
+
"description": "Other errors",
|
|
1379
|
+
"content": {
|
|
1380
|
+
"application/json": {
|
|
1381
|
+
"schema": {
|
|
1382
|
+
"$ref": "#/components/schemas/ErrorResp"
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1320
1390
|
"/v2/flows/executions/{execution_id}/schedules/{schedule_id}": {
|
|
1321
1391
|
"post": {
|
|
1322
1392
|
"operationId": "cancelSchedule",
|
|
@@ -1978,6 +2048,10 @@
|
|
|
1978
2048
|
"installer": {
|
|
1979
2049
|
"$ref": "#/components/schemas/ECPDetails"
|
|
1980
2050
|
},
|
|
2051
|
+
"partner": {
|
|
2052
|
+
"$ref": "#/components/schemas/PartnerDetails",
|
|
2053
|
+
"description": "Partner-specific task details shown to partner org users viewing shared resources"
|
|
2054
|
+
},
|
|
1981
2055
|
"enabled": {
|
|
1982
2056
|
"type": "boolean"
|
|
1983
2057
|
},
|
|
@@ -2209,6 +2283,21 @@
|
|
|
2209
2283
|
}
|
|
2210
2284
|
}
|
|
2211
2285
|
},
|
|
2286
|
+
"PartnerDetails": {
|
|
2287
|
+
"type": "object",
|
|
2288
|
+
"description": "Details regarding partner for the workflow step",
|
|
2289
|
+
"properties": {
|
|
2290
|
+
"enabled": {
|
|
2291
|
+
"type": "boolean"
|
|
2292
|
+
},
|
|
2293
|
+
"label": {
|
|
2294
|
+
"type": "string"
|
|
2295
|
+
},
|
|
2296
|
+
"description": {
|
|
2297
|
+
"type": "string"
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2212
2301
|
"StepDescription": {
|
|
2213
2302
|
"type": "object",
|
|
2214
2303
|
"description": "Longer information regarding Task",
|
|
@@ -3405,6 +3494,11 @@
|
|
|
3405
3494
|
"$ref": "#/components/schemas/Condition"
|
|
3406
3495
|
}
|
|
3407
3496
|
},
|
|
3497
|
+
"allow_parallel_execution": {
|
|
3498
|
+
"type": "boolean",
|
|
3499
|
+
"description": "When true, all branches with met conditions execute in parallel. When false, only the first branch with a met condition is executed. Defaults to true for backwards compatibility.",
|
|
3500
|
+
"default": true
|
|
3501
|
+
},
|
|
3408
3502
|
"schedule": {
|
|
3409
3503
|
"anyOf": [
|
|
3410
3504
|
{
|
|
@@ -3550,6 +3644,10 @@
|
|
|
3550
3644
|
"installer": {
|
|
3551
3645
|
"$ref": "#/components/schemas/ECPDetails"
|
|
3552
3646
|
},
|
|
3647
|
+
"partner": {
|
|
3648
|
+
"$ref": "#/components/schemas/PartnerDetails",
|
|
3649
|
+
"description": "Partner-specific task details shown to partner org users viewing shared resources"
|
|
3650
|
+
},
|
|
3553
3651
|
"taxonomies": {
|
|
3554
3652
|
"type": "array",
|
|
3555
3653
|
"items": {
|
|
@@ -4050,6 +4148,10 @@
|
|
|
4050
4148
|
"installer": {
|
|
4051
4149
|
"$ref": "#/components/schemas/ECPDetails"
|
|
4052
4150
|
},
|
|
4151
|
+
"partner": {
|
|
4152
|
+
"$ref": "#/components/schemas/PartnerDetails",
|
|
4153
|
+
"description": "Partner-specific task details shown to partner org users viewing shared resources"
|
|
4154
|
+
},
|
|
4053
4155
|
"next_condition_id": {
|
|
4054
4156
|
"type": "string",
|
|
4055
4157
|
"description": "Condition to evaluate as true for a decision task with a manual trigger mode"
|