@epilot/cli 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -21
- package/definitions/app.json +56 -6
- package/definitions/automation.json +214 -1
- package/definitions/blueprint-manifest.json +1303 -60
- package/definitions/customer-portal.json +757 -81
- package/definitions/data-governance.json +1126 -0
- package/definitions/deduplication.json +135 -4
- package/definitions/design.json +103 -57
- package/definitions/email-settings.json +150 -0
- package/definitions/email-template.json +25 -3
- package/definitions/entity.json +405 -5
- package/definitions/erp-integration.json +3140 -1049
- package/definitions/integration-toolkit.json +7998 -0
- package/definitions/journey.json +18 -1
- package/definitions/kanban.json +25 -1
- package/definitions/message.json +202 -0
- package/definitions/organization.json +35 -1
- package/definitions/partner-directory.json +795 -229
- package/definitions/permissions.json +41 -6
- package/definitions/sharing.json +956 -0
- package/definitions/template-variables.json +12 -4
- package/definitions/webhooks.json +111 -2
- package/definitions/workflow-definition.json +87 -202
- package/definitions/workflow.json +142 -0
- package/dist/{access-token-PTTCRMGK.js → access-token-CIM4RLBP.js} +1 -1
- package/dist/add-component-AAVQVPKK.js +296 -0
- package/dist/{address-2FDPEPR6.js → address-EDRTUWTP.js} +1 -1
- package/dist/{address-suggestions-XBEK5DDQ.js → address-suggestions-S5WEST2N.js} +1 -1
- package/dist/{ai-agents-ZY5BNVTN.js → ai-agents-RXDDJDAR.js} +1 -1
- package/dist/{app-IT5FWGUK.js → api-36XROHLK.js} +5 -5
- package/dist/app-I3XXHZLD.js +24 -0
- package/dist/{audit-logs-FB4TE4TI.js → audit-logs-PXGDGJGV.js} +1 -1
- package/dist/{automation-JE5LDKJM.js → automation-LS6MVLP2.js} +1 -1
- package/dist/{billing-GOFCP5T3.js → billing-KVYFUKZK.js} +1 -1
- package/dist/bin/epilot.js +53 -52
- package/dist/{blueprint-manifest-WJIQKFYK.js → blueprint-manifest-W4ZGJD2Z.js} +1 -1
- package/dist/{chunk-P5IZZW4Y.js → chunk-BYAEI4Z2.js} +1 -1
- package/dist/chunk-CEP7S7X3.js +366 -0
- package/dist/{chunk-MNSG22DM.js → chunk-F6KWKTQJ.js} +124 -63
- package/dist/{completion-HZNPHJI4.js → completion-QP4IYMVI.js} +1 -1
- package/dist/{consent-DSMWWHUL.js → consent-M4QB2HPM.js} +1 -1
- package/dist/{customer-portal-IJYTJYUZ.js → customer-portal-SVO2YCXA.js} +1 -1
- package/dist/{dashboard-DOAX6XDG.js → dashboard-CYCXIX74.js} +1 -1
- package/dist/{data-management-C4JPPUPD.js → data-governance-DJAAIE6F.js} +6 -6
- package/dist/{deduplication-7OGLZLAC.js → deduplication-M3KEVJRG.js} +1 -1
- package/dist/deploy-4XDFWOEV.js +214 -0
- package/dist/{design-3CAYTWFY.js → design-UVJJ2KO2.js} +1 -1
- package/dist/{document-NT5JOJQV.js → document-5HB632XE.js} +1 -1
- package/dist/{email-settings-2M3WJTQS.js → email-settings-H7HQTDYE.js} +1 -1
- package/dist/{email-template-F4PLBPPC.js → email-template-2DHZ3VKF.js} +1 -1
- package/dist/{entity-32LKMZAU.js → entity-HED6QHG7.js} +1 -1
- package/dist/{entity-mapping-OBCZDYQJ.js → entity-mapping-QP22B65Z.js} +1 -1
- package/dist/{environments-H3TBCDQE.js → environments-6LLEIGWV.js} +1 -1
- package/dist/{event-catalog-NVAPTZ4M.js → event-catalog-2ZCZTATY.js} +1 -1
- package/dist/export-JA5N4JCJ.js +44 -0
- package/dist/{file-US2HR4SV.js → file-R6IIXOIZ.js} +1 -1
- package/dist/{iban-7QUCOULB.js → iban-EQD2VROZ.js} +1 -1
- package/dist/init-5KGNJEWF.js +524 -0
- package/dist/integration-toolkit-4CLQDSK7.js +54 -0
- package/dist/{journey-E5T4BZZX.js → journey-V7X2KUKH.js} +1 -1
- package/dist/{kanban-7UHU5VE6.js → kanban-EPI6C3FR.js} +1 -1
- package/dist/{message-7KY33RJE.js → message-477EJ5JO.js} +1 -1
- package/dist/{metering-P7BZGMY7.js → metering-5EAEKRSL.js} +1 -1
- package/dist/{notes-TNJ7FPA3.js → notes-CVXNRULU.js} +1 -1
- package/dist/{notification-6KXEFVO5.js → notification-6HXS76XP.js} +1 -1
- package/dist/{organization-FF4Y3PBO.js → organization-O33CZQKD.js} +1 -1
- package/dist/{partner-directory-VH2SBAS2.js → partner-directory-NZWGCKSB.js} +2 -2
- package/dist/{permissions-KENZ4HNY.js → permissions-6QEOBJ6M.js} +1 -1
- package/dist/{pricing-P6QZ77VJ.js → pricing-KNYSULCW.js} +1 -1
- package/dist/{pricing-tier-2IRJMTM6.js → pricing-tier-OCHP6SHT.js} +1 -1
- package/dist/{purpose-IHROR6LQ.js → purpose-NGM42XWB.js} +1 -1
- package/dist/remove-component-LXSRR23E.js +89 -0
- package/dist/review-HFOO3NXE.js +69 -0
- package/dist/{sandbox-62XQPOU6.js → sandbox-YX3VVAQG.js} +1 -1
- package/dist/sharing-X5U53KSU.js +54 -0
- package/dist/{submission-PUWGOYQB.js → submission-YOWVSZNA.js} +1 -1
- package/dist/{targeting-QB3DFYNI.js → targeting-BMZCOG72.js} +1 -1
- package/dist/{template-variables-IPKRUJ4E.js → template-variables-YTABZL3E.js} +1 -1
- package/dist/{upgrade-TNDH4WGQ.js → upgrade-SYSSIAQC.js} +1 -1
- package/dist/{user-2CP75TFC.js → user-3N5ZOUYS.js} +1 -1
- package/dist/validate-TUMXW56Y.js +53 -0
- package/dist/{validation-rules-GNI4EEG5.js → validation-rules-QVS7LKEP.js} +1 -1
- package/dist/versions-ZTWQAGXY.js +109 -0
- package/dist/{webhooks-2OWUX7UL.js → webhooks-6WMWACOW.js} +1 -1
- package/dist/{workflow-WSLERVJI.js → workflow-ZO2MKDBS.js} +1 -1
- package/dist/{workflow-definition-FP3WKHGG.js → workflow-definition-RCWKIPYI.js} +1 -1
- package/package.json +2 -1
- package/definitions/data-management.json +0 -962
- package/dist/erp-integration-UW6H55EK.js +0 -54
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Template Variables API",
|
|
5
5
|
"description": "This API provides dynamic template processing and variable management, seamless Handlebars template compilation, custom variable operations, and context-aware content generation across email, document templates and snippets.\n",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.1.0"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
|
-
{
|
|
10
|
-
"url": "https://template-variables-api.sls.epilot.io"
|
|
11
|
-
},
|
|
12
9
|
{
|
|
13
10
|
"url": "https://template-variables-api.sls.epilot.io"
|
|
14
11
|
},
|
|
@@ -644,6 +641,10 @@
|
|
|
644
641
|
"type": "string"
|
|
645
642
|
}
|
|
646
643
|
},
|
|
644
|
+
"template_id": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "The Id of email template"
|
|
647
|
+
},
|
|
647
648
|
"variables_version": {
|
|
648
649
|
"type": "string",
|
|
649
650
|
"description": "The version of the variables syntax supported. Default is 1.0",
|
|
@@ -1081,6 +1082,13 @@
|
|
|
1081
1082
|
"type": "string"
|
|
1082
1083
|
}
|
|
1083
1084
|
},
|
|
1085
|
+
"_manifest": {
|
|
1086
|
+
"type": "array",
|
|
1087
|
+
"description": "The manifest IDs associated with this custom variable",
|
|
1088
|
+
"items": {
|
|
1089
|
+
"type": "string"
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1084
1092
|
"helper_params": {
|
|
1085
1093
|
"type": "array",
|
|
1086
1094
|
"description": "The helper function parameter's names",
|
|
@@ -928,7 +928,8 @@
|
|
|
928
928
|
"description": "Filter by event outcome",
|
|
929
929
|
"enum": [
|
|
930
930
|
"succeeded",
|
|
931
|
-
"failed"
|
|
931
|
+
"failed",
|
|
932
|
+
"skipped"
|
|
932
933
|
],
|
|
933
934
|
"example": "succeeded"
|
|
934
935
|
}
|
|
@@ -1006,6 +1007,89 @@
|
|
|
1006
1007
|
"supportedValues"
|
|
1007
1008
|
]
|
|
1008
1009
|
},
|
|
1010
|
+
"WebhookCondition": {
|
|
1011
|
+
"type": "object",
|
|
1012
|
+
"description": "A condition that must be met for the webhook to fire.",
|
|
1013
|
+
"properties": {
|
|
1014
|
+
"field": {
|
|
1015
|
+
"type": "string",
|
|
1016
|
+
"description": "Dot-notation path to the field in the event payload (e.g. \"entity.status\", \"entity.line_items\")"
|
|
1017
|
+
},
|
|
1018
|
+
"operation": {
|
|
1019
|
+
"type": "string",
|
|
1020
|
+
"enum": [
|
|
1021
|
+
"equals",
|
|
1022
|
+
"not_equals",
|
|
1023
|
+
"any_of",
|
|
1024
|
+
"none_of",
|
|
1025
|
+
"contains",
|
|
1026
|
+
"not_contains",
|
|
1027
|
+
"starts_with",
|
|
1028
|
+
"ends_with",
|
|
1029
|
+
"greater_than",
|
|
1030
|
+
"less_than",
|
|
1031
|
+
"greater_than_or_equals",
|
|
1032
|
+
"less_than_or_equals",
|
|
1033
|
+
"is_empty",
|
|
1034
|
+
"is_not_empty"
|
|
1035
|
+
]
|
|
1036
|
+
},
|
|
1037
|
+
"values": {
|
|
1038
|
+
"type": "array",
|
|
1039
|
+
"description": "Values to compare against (not required for is_empty/is_not_empty)",
|
|
1040
|
+
"items": {
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"field_type": {
|
|
1045
|
+
"type": "string",
|
|
1046
|
+
"description": "Type hint for the field (affects comparison logic)",
|
|
1047
|
+
"enum": [
|
|
1048
|
+
"string",
|
|
1049
|
+
"number",
|
|
1050
|
+
"boolean",
|
|
1051
|
+
"date",
|
|
1052
|
+
"datetime"
|
|
1053
|
+
],
|
|
1054
|
+
"default": "string"
|
|
1055
|
+
},
|
|
1056
|
+
"is_array_field": {
|
|
1057
|
+
"type": "boolean",
|
|
1058
|
+
"description": "Whether the target field is an array (repeatable)",
|
|
1059
|
+
"default": false
|
|
1060
|
+
},
|
|
1061
|
+
"repeatable_item_op": {
|
|
1062
|
+
"type": "boolean",
|
|
1063
|
+
"description": "When true, evaluates conditions per-item in repeatable array fields",
|
|
1064
|
+
"default": false
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"required": [
|
|
1068
|
+
"field",
|
|
1069
|
+
"operation"
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"WebhookConditionGroup": {
|
|
1073
|
+
"type": "object",
|
|
1074
|
+
"description": "A group of conditions with a logical operator. Multiple conditions are AND-ed by default.",
|
|
1075
|
+
"properties": {
|
|
1076
|
+
"conditions": {
|
|
1077
|
+
"type": "array",
|
|
1078
|
+
"items": {
|
|
1079
|
+
"$ref": "#/components/schemas/WebhookCondition"
|
|
1080
|
+
},
|
|
1081
|
+
"maxItems": 10
|
|
1082
|
+
},
|
|
1083
|
+
"logical_operator": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"enum": [
|
|
1086
|
+
"AND",
|
|
1087
|
+
"OR"
|
|
1088
|
+
],
|
|
1089
|
+
"default": "AND"
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1009
1093
|
"Auth": {
|
|
1010
1094
|
"type": "object",
|
|
1011
1095
|
"properties": {
|
|
@@ -1137,6 +1221,27 @@
|
|
|
1137
1221
|
"enableStaticIP": {
|
|
1138
1222
|
"type": "boolean"
|
|
1139
1223
|
},
|
|
1224
|
+
"protected": {
|
|
1225
|
+
"type": "boolean",
|
|
1226
|
+
"description": "When true, indicates this webhook configuration is protected and should not be modified without explicit intent."
|
|
1227
|
+
},
|
|
1228
|
+
"secureProxy": {
|
|
1229
|
+
"type": "object",
|
|
1230
|
+
"description": "Routes webhook requests through a secure VPC proxy (ERP integration service). When set, takes precedence over enableStaticIP.",
|
|
1231
|
+
"properties": {
|
|
1232
|
+
"integration_id": {
|
|
1233
|
+
"type": "string",
|
|
1234
|
+
"format": "uuid"
|
|
1235
|
+
},
|
|
1236
|
+
"use_case_slug": {
|
|
1237
|
+
"type": "string"
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
"required": [
|
|
1241
|
+
"integration_id",
|
|
1242
|
+
"use_case_slug"
|
|
1243
|
+
]
|
|
1244
|
+
},
|
|
1140
1245
|
"status": {
|
|
1141
1246
|
"type": "string",
|
|
1142
1247
|
"enum": [
|
|
@@ -1149,6 +1254,9 @@
|
|
|
1149
1254
|
"type": "string",
|
|
1150
1255
|
"description": "JSONata expression to transform the payload"
|
|
1151
1256
|
},
|
|
1257
|
+
"filterConditions": {
|
|
1258
|
+
"$ref": "#/components/schemas/WebhookConditionGroup"
|
|
1259
|
+
},
|
|
1152
1260
|
"_manifest": {
|
|
1153
1261
|
"type": "array",
|
|
1154
1262
|
"description": "Manifest ID used to create/update the webhook resource",
|
|
@@ -1427,7 +1535,8 @@
|
|
|
1427
1535
|
"enum": [
|
|
1428
1536
|
"succeeded",
|
|
1429
1537
|
"failed",
|
|
1430
|
-
"in_progress"
|
|
1538
|
+
"in_progress",
|
|
1539
|
+
"skipped"
|
|
1431
1540
|
]
|
|
1432
1541
|
},
|
|
1433
1542
|
"http_method": {
|
|
@@ -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
|
}
|