|
6508 | 6508 | ] |
6509 | 6509 | } |
6510 | 6510 | }, |
6511 | | - "semanticCachingEnabled": { |
6512 | | - "type": "boolean", |
6513 | | - "example": true |
6514 | | - }, |
6515 | 6511 | "temperature": { |
6516 | 6512 | "type": "number", |
6517 | 6513 | "description": "This is the temperature that will be used for calls. Default is 0 to leverage caching for lower latency.", |
|
6848 | 6844 | "model" |
6849 | 6845 | ] |
6850 | 6846 | }, |
6851 | | - "SemanticEdgeCondition": { |
| 6847 | + "AIEdgeCondition": { |
6852 | 6848 | "type": "object", |
6853 | 6849 | "properties": { |
6854 | 6850 | "type": { |
6855 | 6851 | "type": "string", |
6856 | 6852 | "enum": [ |
6857 | | - "semantic" |
| 6853 | + "ai" |
6858 | 6854 | ] |
6859 | 6855 | }, |
6860 | 6856 | "matches": { |
|
6870 | 6866 | "matches" |
6871 | 6867 | ] |
6872 | 6868 | }, |
6873 | | - "ProgrammaticEdgeCondition": { |
| 6869 | + "LogicEdgeCondition": { |
6874 | 6870 | "type": "object", |
6875 | 6871 | "properties": { |
6876 | 6872 | "type": { |
6877 | 6873 | "type": "string", |
6878 | 6874 | "enum": [ |
6879 | | - "programmatic" |
| 6875 | + "logic" |
6880 | 6876 | ] |
6881 | 6877 | }, |
6882 | | - "booleanExpression": { |
| 6878 | + "liquid": { |
6883 | 6879 | "type": "string", |
6884 | 6880 | "maxLength": 100 |
6885 | 6881 | } |
6886 | 6882 | }, |
6887 | 6883 | "required": [ |
6888 | 6884 | "type", |
6889 | | - "booleanExpression" |
| 6885 | + "liquid" |
| 6886 | + ] |
| 6887 | + }, |
| 6888 | + "FailedEdgeCondition": { |
| 6889 | + "type": "object", |
| 6890 | + "properties": { |
| 6891 | + "type": { |
| 6892 | + "type": "string", |
| 6893 | + "enum": [ |
| 6894 | + "failed" |
| 6895 | + ] |
| 6896 | + } |
| 6897 | + }, |
| 6898 | + "required": [ |
| 6899 | + "type" |
6890 | 6900 | ] |
6891 | 6901 | }, |
6892 | 6902 | "Edge": { |
|
6895 | 6905 | "condition": { |
6896 | 6906 | "oneOf": [ |
6897 | 6907 | { |
6898 | | - "$ref": "#/components/schemas/SemanticEdgeCondition", |
6899 | | - "title": "SemanticEdgeCondition" |
| 6908 | + "$ref": "#/components/schemas/AIEdgeCondition", |
| 6909 | + "title": "AIEdgeCondition" |
6900 | 6910 | }, |
6901 | 6911 | { |
6902 | | - "$ref": "#/components/schemas/ProgrammaticEdgeCondition", |
6903 | | - "title": "ProgrammaticEdgeCondition" |
| 6912 | + "$ref": "#/components/schemas/LogicEdgeCondition", |
| 6913 | + "title": "LogicEdgeCondition" |
| 6914 | + }, |
| 6915 | + { |
| 6916 | + "$ref": "#/components/schemas/FailedEdgeCondition", |
| 6917 | + "title": "FailedEdgeCondition" |
6904 | 6918 | } |
6905 | 6919 | ] |
6906 | 6920 | }, |
|
6925 | 6939 | "Workflow": { |
6926 | 6940 | "type": "object", |
6927 | 6941 | "properties": { |
6928 | | - "type": { |
6929 | | - "type": "string", |
6930 | | - "enum": [ |
6931 | | - "workflow" |
6932 | | - ] |
6933 | | - }, |
6934 | 6942 | "nodes": { |
6935 | 6943 | "type": "array", |
6936 | 6944 | "items": { |
|
6954 | 6962 | { |
6955 | 6963 | "$ref": "#/components/schemas/Transfer", |
6956 | 6964 | "title": "Transfer" |
6957 | | - }, |
6958 | | - { |
6959 | | - "$ref": "#/components/schemas/CreateWorkflowDTO", |
6960 | | - "title": "CreateWorkflowDTO" |
6961 | 6965 | } |
6962 | 6966 | ] |
6963 | 6967 | } |
|
6988 | 6992 | } |
6989 | 6993 | }, |
6990 | 6994 | "required": [ |
6991 | | - "type", |
6992 | 6995 | "nodes", |
6993 | 6996 | "id", |
6994 | 6997 | "orgId", |
|
19545 | 19548 | ] |
19546 | 19549 | }, |
19547 | 19550 | "destination": { |
19548 | | - "$ref": "#/components/schemas/TransferDestinationNumber" |
| 19551 | + "type": "object" |
19549 | 19552 | }, |
19550 | 19553 | "name": { |
19551 | 19554 | "type": "string", |
|
19565 | 19568 | "CreateWorkflowDTO": { |
19566 | 19569 | "type": "object", |
19567 | 19570 | "properties": { |
19568 | | - "type": { |
19569 | | - "type": "string", |
19570 | | - "enum": [ |
19571 | | - "workflow" |
19572 | | - ] |
19573 | | - }, |
19574 | 19571 | "nodes": { |
19575 | 19572 | "type": "array", |
19576 | 19573 | "items": { |
|
19594 | 19591 | { |
19595 | 19592 | "$ref": "#/components/schemas/Transfer", |
19596 | 19593 | "title": "Transfer" |
19597 | | - }, |
19598 | | - { |
19599 | | - "$ref": "#/components/schemas/CreateWorkflowDTO", |
19600 | | - "title": "CreateWorkflowDTO" |
19601 | 19594 | } |
19602 | 19595 | ] |
19603 | 19596 | } |
|
19614 | 19607 | } |
19615 | 19608 | }, |
19616 | 19609 | "required": [ |
19617 | | - "type", |
19618 | 19610 | "nodes", |
19619 | 19611 | "name", |
19620 | 19612 | "edges" |
|
23916 | 23908 | { |
23917 | 23909 | "$ref": "#/components/schemas/Transfer", |
23918 | 23910 | "title": "Transfer" |
23919 | | - }, |
23920 | | - { |
23921 | | - "$ref": "#/components/schemas/CreateWorkflowDTO", |
23922 | | - "title": "CreateWorkflowDTO" |
23923 | 23911 | } |
23924 | 23912 | ] |
23925 | 23913 | } |
|
0 commit comments