@breign/client 1.0.75 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AgentApi.d.ts +95 -3
- package/dist/apis/AgentApi.js +218 -5
- package/dist/apis/AppApi.d.ts +75 -4
- package/dist/apis/AppApi.js +174 -7
- package/dist/apis/KnowledgeApi.d.ts +27 -1
- package/dist/apis/KnowledgeApi.js +60 -0
- package/dist/apis/OrganizationsApi.d.ts +67 -1
- package/dist/apis/OrganizationsApi.js +156 -0
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +1 -1
- package/dist/apis/ToolsApi.d.ts +26 -1
- package/dist/apis/ToolsApi.js +59 -0
- package/dist/models/AdvancedFlowEditorEdgeUio.d.ts +56 -0
- package/dist/models/AdvancedFlowEditorEdgeUio.js +62 -0
- package/dist/models/AdvancedFlowEditorNodePositionUio.d.ts +38 -0
- package/dist/models/AdvancedFlowEditorNodePositionUio.js +54 -0
- package/dist/models/AdvancedFlowEditorNodeUio.d.ts +53 -0
- package/dist/models/AdvancedFlowEditorNodeUio.js +63 -0
- package/dist/models/AdvancedFlowEditorUio.d.ts +46 -0
- package/dist/models/AdvancedFlowEditorUio.js +60 -0
- package/dist/models/AdvancedFlowEditorUpdateRequestUio.d.ts +40 -0
- package/dist/models/AdvancedFlowEditorUpdateRequestUio.js +56 -0
- package/dist/models/AgentFlowCreateUio.d.ts +6 -0
- package/dist/models/AgentFlowCreateUio.js +2 -0
- package/dist/models/AgentFlowUio.d.ts +6 -0
- package/dist/models/AgentFlowUio.js +2 -0
- package/dist/models/AnimationCreateRequestUio.d.ts +56 -0
- package/dist/models/AnimationCreateRequestUio.js +64 -0
- package/dist/models/AnimationUio.d.ts +56 -0
- package/dist/models/AnimationUio.js +64 -0
- package/dist/models/AppCommandsInnerUio.d.ts +46 -0
- package/dist/models/AppCommandsInnerUio.js +56 -0
- package/dist/models/AppConfigurationColorsUio.d.ts +68 -0
- package/dist/models/AppConfigurationColorsUio.js +60 -0
- package/dist/models/AppConfigurationLanguageInnerUio.d.ts +38 -0
- package/dist/models/AppConfigurationLanguageInnerUio.js +50 -0
- package/dist/models/AppConfigurationTextIntroIOSViewUio.d.ts +90 -0
- package/dist/models/AppConfigurationTextIntroIOSViewUio.js +62 -0
- package/dist/models/AppConfigurationTextSpeakIOSViewUio.d.ts +82 -0
- package/dist/models/AppConfigurationTextSpeakIOSViewUio.js +60 -0
- package/dist/models/AppConfigurationTextUio.d.ts +40 -0
- package/dist/models/AppConfigurationTextUio.js +52 -0
- package/dist/models/AppConfigurationUio.d.ts +40 -2
- package/dist/models/AppConfigurationUio.js +17 -6
- package/dist/models/AppUio.d.ts +17 -3
- package/dist/models/AppUio.js +9 -3
- package/dist/models/AppUpdateRequestUio.d.ts +8 -0
- package/dist/models/AppUpdateRequestUio.js +2 -0
- package/dist/models/Conversation1Uio.d.ts +46 -0
- package/dist/models/Conversation1Uio.js +60 -0
- package/dist/models/ConversationMessagesInnerFlowNodeEntrypointsUio.d.ts +32 -0
- package/dist/models/ConversationMessagesInnerFlowNodeEntrypointsUio.js +48 -0
- package/dist/models/ConversationMessagesInnerFlowNodeUio.d.ts +51 -0
- package/dist/models/ConversationMessagesInnerFlowNodeUio.js +55 -0
- package/dist/models/ConversationMessagesInnerSuggestionsInnerUio.d.ts +38 -0
- package/dist/models/ConversationMessagesInnerSuggestionsInnerUio.js +54 -0
- package/dist/models/ConversationMessagesInnerUio.d.ts +79 -0
- package/dist/models/ConversationMessagesInnerUio.js +73 -0
- package/dist/models/ConversationMetricsInnerSourceUio.d.ts +51 -0
- package/dist/models/ConversationMetricsInnerSourceUio.js +65 -0
- package/dist/models/ConversationMetricsInnerUio.d.ts +46 -0
- package/dist/models/ConversationMetricsInnerUio.js +60 -0
- package/dist/models/ConversationMetricsInnerValueInnerCostUio.d.ts +38 -0
- package/dist/models/ConversationMetricsInnerValueInnerCostUio.js +54 -0
- package/dist/models/ConversationMetricsInnerValueInnerUio.d.ts +63 -0
- package/dist/models/ConversationMetricsInnerValueInnerUio.js +69 -0
- package/dist/models/ConversationUio.d.ts +56 -6
- package/dist/models/ConversationUio.js +27 -7
- package/dist/models/FlowContentsUio.d.ts +6 -0
- package/dist/models/FlowContentsUio.js +2 -0
- package/dist/models/FlowEditorNodeUio.d.ts +39 -0
- package/dist/models/FlowEditorNodeUio.js +55 -0
- package/dist/models/FlowEditorUio.d.ts +39 -0
- package/dist/models/FlowEditorUio.js +55 -0
- package/dist/models/FlowEditorUpdateRequestUio.d.ts +33 -0
- package/dist/models/FlowEditorUpdateRequestUio.js +51 -0
- package/dist/models/KnowledgeFilesByIdsRequestUio.d.ts +32 -0
- package/dist/models/KnowledgeFilesByIdsRequestUio.js +50 -0
- package/dist/models/OrganizationUio.d.ts +20 -0
- package/dist/models/OrganizationUio.js +10 -0
- package/dist/models/OrganizationUserUio.d.ts +38 -0
- package/dist/models/OrganizationUserUio.js +54 -0
- package/dist/models/RoleCreateRequestUio.d.ts +44 -0
- package/dist/models/RoleCreateRequestUio.js +56 -0
- package/dist/models/SequenceContentsUio.d.ts +38 -0
- package/dist/models/SequenceContentsUio.js +50 -0
- package/dist/models/SequenceCreateRequestUio.d.ts +45 -0
- package/dist/models/SequenceCreateRequestUio.js +59 -0
- package/dist/models/SequenceUio.d.ts +45 -0
- package/dist/models/SequenceUio.js +59 -0
- package/dist/models/ToolUpdateRequestUio.d.ts +62 -0
- package/dist/models/ToolUpdateRequestUio.js +56 -0
- package/dist/models/index.d.ts +32 -4
- package/dist/models/index.js +32 -4
- package/dist/openapi.json +1725 -214
- package/package.json +1 -1
- package/dist/models/AppConfigurationUpdateRequestUio.d.ts +0 -33
- package/dist/models/AppConfigurationUpdateRequestUio.js +0 -50
- package/dist/models/AppSequencesInnerUio.d.ts +0 -38
- package/dist/models/AppSequencesInnerUio.js +0 -50
- package/dist/models/ConversationFlowNodeEntrypointsUio.d.ts +0 -32
- package/dist/models/ConversationFlowNodeEntrypointsUio.js +0 -48
- package/dist/models/ConversationFlowNodeUio.d.ts +0 -51
- package/dist/models/ConversationFlowNodeUio.js +0 -55
package/dist/openapi.json
CHANGED
|
@@ -892,7 +892,7 @@
|
|
|
892
892
|
"content" : {
|
|
893
893
|
"application/json" : {
|
|
894
894
|
"schema" : {
|
|
895
|
-
"$ref" : "#/components/schemas/
|
|
895
|
+
"$ref" : "#/components/schemas/AgentFlowCreate"
|
|
896
896
|
}
|
|
897
897
|
}
|
|
898
898
|
},
|
|
@@ -929,6 +929,128 @@
|
|
|
929
929
|
"tags" : [ "agent" ]
|
|
930
930
|
}
|
|
931
931
|
},
|
|
932
|
+
"/agents/{agentId}/advanced-flow-editor" : {
|
|
933
|
+
"get" : {
|
|
934
|
+
"description" : "Get the advanced flow editor state for an agent",
|
|
935
|
+
"operationId" : "getAdvancedFlowEditor",
|
|
936
|
+
"parameters" : [ {
|
|
937
|
+
"description" : "ID of the agent",
|
|
938
|
+
"in" : "path",
|
|
939
|
+
"name" : "agentId",
|
|
940
|
+
"required" : true,
|
|
941
|
+
"schema" : {
|
|
942
|
+
"format" : "uuid",
|
|
943
|
+
"type" : "string"
|
|
944
|
+
}
|
|
945
|
+
} ],
|
|
946
|
+
"responses" : {
|
|
947
|
+
"200" : {
|
|
948
|
+
"content" : {
|
|
949
|
+
"application/json" : {
|
|
950
|
+
"schema" : {
|
|
951
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditor"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
"description" : "Editor state retrieved successfully"
|
|
956
|
+
},
|
|
957
|
+
"404" : {
|
|
958
|
+
"description" : "Agent or editor state not found"
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"summary" : "Get advanced flow editor state",
|
|
962
|
+
"tags" : [ "agent" ]
|
|
963
|
+
},
|
|
964
|
+
"put" : {
|
|
965
|
+
"description" : "Create or update the advanced flow editor state for an agent",
|
|
966
|
+
"operationId" : "upsertAdvancedFlowEditor",
|
|
967
|
+
"parameters" : [ {
|
|
968
|
+
"description" : "ID of the agent",
|
|
969
|
+
"in" : "path",
|
|
970
|
+
"name" : "agentId",
|
|
971
|
+
"required" : true,
|
|
972
|
+
"schema" : {
|
|
973
|
+
"format" : "uuid",
|
|
974
|
+
"type" : "string"
|
|
975
|
+
}
|
|
976
|
+
} ],
|
|
977
|
+
"requestBody" : {
|
|
978
|
+
"content" : {
|
|
979
|
+
"application/json" : {
|
|
980
|
+
"schema" : {
|
|
981
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorUpdateRequest"
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
"required" : true
|
|
986
|
+
},
|
|
987
|
+
"responses" : {
|
|
988
|
+
"204" : {
|
|
989
|
+
"description" : "Editor state updated successfully"
|
|
990
|
+
},
|
|
991
|
+
"404" : {
|
|
992
|
+
"description" : "Agent not found"
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"summary" : "Upsert advanced flow editor state",
|
|
996
|
+
"tags" : [ "agent" ]
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"/agents/{agentId}/flow-editor" : {
|
|
1000
|
+
"get" : {
|
|
1001
|
+
"operationId" : "getFlowEditor",
|
|
1002
|
+
"parameters" : [ {
|
|
1003
|
+
"in" : "path",
|
|
1004
|
+
"name" : "agentId",
|
|
1005
|
+
"required" : true,
|
|
1006
|
+
"schema" : {
|
|
1007
|
+
"type" : "string"
|
|
1008
|
+
}
|
|
1009
|
+
} ],
|
|
1010
|
+
"responses" : {
|
|
1011
|
+
"200" : {
|
|
1012
|
+
"content" : {
|
|
1013
|
+
"application/json" : {
|
|
1014
|
+
"schema" : {
|
|
1015
|
+
"$ref" : "#/components/schemas/FlowEditor"
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
"description" : "Flow editor state"
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"summary" : "Get flow editor state for an agent",
|
|
1023
|
+
"tags" : [ "Agent" ]
|
|
1024
|
+
},
|
|
1025
|
+
"put" : {
|
|
1026
|
+
"operationId" : "upsertFlowEditor",
|
|
1027
|
+
"parameters" : [ {
|
|
1028
|
+
"in" : "path",
|
|
1029
|
+
"name" : "agentId",
|
|
1030
|
+
"required" : true,
|
|
1031
|
+
"schema" : {
|
|
1032
|
+
"type" : "string"
|
|
1033
|
+
}
|
|
1034
|
+
} ],
|
|
1035
|
+
"requestBody" : {
|
|
1036
|
+
"content" : {
|
|
1037
|
+
"application/json" : {
|
|
1038
|
+
"schema" : {
|
|
1039
|
+
"$ref" : "#/components/schemas/FlowEditorUpdateRequest"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"required" : true
|
|
1044
|
+
},
|
|
1045
|
+
"responses" : {
|
|
1046
|
+
"204" : {
|
|
1047
|
+
"description" : "Flow editor state updated"
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
"summary" : "Create or update flow editor state for an agent",
|
|
1051
|
+
"tags" : [ "Agent" ]
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
932
1054
|
"/agents/{agentId}/subscription" : {
|
|
933
1055
|
"delete" : {
|
|
934
1056
|
"description" : "Removes the subscription plan from an agent (admin only)",
|
|
@@ -1187,6 +1309,133 @@
|
|
|
1187
1309
|
"tags" : [ "agent" ]
|
|
1188
1310
|
}
|
|
1189
1311
|
},
|
|
1312
|
+
"/agents/{agentId}/tools/{toolId}" : {
|
|
1313
|
+
"delete" : {
|
|
1314
|
+
"description" : "Removes a tool from the specified agent",
|
|
1315
|
+
"operationId" : "unlinkToolFromAgent",
|
|
1316
|
+
"parameters" : [ {
|
|
1317
|
+
"description" : "ID of the agent",
|
|
1318
|
+
"in" : "path",
|
|
1319
|
+
"name" : "agentId",
|
|
1320
|
+
"required" : true,
|
|
1321
|
+
"schema" : {
|
|
1322
|
+
"format" : "uuid",
|
|
1323
|
+
"type" : "string"
|
|
1324
|
+
}
|
|
1325
|
+
}, {
|
|
1326
|
+
"description" : "ID of the tool to unlink",
|
|
1327
|
+
"in" : "path",
|
|
1328
|
+
"name" : "toolId",
|
|
1329
|
+
"required" : true,
|
|
1330
|
+
"schema" : {
|
|
1331
|
+
"type" : "string"
|
|
1332
|
+
}
|
|
1333
|
+
} ],
|
|
1334
|
+
"responses" : {
|
|
1335
|
+
"204" : {
|
|
1336
|
+
"description" : "Tool unlinked successfully"
|
|
1337
|
+
},
|
|
1338
|
+
"401" : {
|
|
1339
|
+
"description" : "Unauthorized"
|
|
1340
|
+
},
|
|
1341
|
+
"403" : {
|
|
1342
|
+
"description" : "Forbidden - User doesn't have access to this agent"
|
|
1343
|
+
},
|
|
1344
|
+
"404" : {
|
|
1345
|
+
"description" : "Agent not found"
|
|
1346
|
+
},
|
|
1347
|
+
"500" : {
|
|
1348
|
+
"description" : "Internal server error"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"summary" : "Unlink a tool from an agent",
|
|
1352
|
+
"tags" : [ "agent" ]
|
|
1353
|
+
},
|
|
1354
|
+
"post" : {
|
|
1355
|
+
"description" : "Links an organization tool to the specified agent",
|
|
1356
|
+
"operationId" : "linkToolToAgent",
|
|
1357
|
+
"parameters" : [ {
|
|
1358
|
+
"description" : "ID of the agent",
|
|
1359
|
+
"in" : "path",
|
|
1360
|
+
"name" : "agentId",
|
|
1361
|
+
"required" : true,
|
|
1362
|
+
"schema" : {
|
|
1363
|
+
"format" : "uuid",
|
|
1364
|
+
"type" : "string"
|
|
1365
|
+
}
|
|
1366
|
+
}, {
|
|
1367
|
+
"description" : "ID of the tool to link",
|
|
1368
|
+
"in" : "path",
|
|
1369
|
+
"name" : "toolId",
|
|
1370
|
+
"required" : true,
|
|
1371
|
+
"schema" : {
|
|
1372
|
+
"type" : "string"
|
|
1373
|
+
}
|
|
1374
|
+
} ],
|
|
1375
|
+
"responses" : {
|
|
1376
|
+
"204" : {
|
|
1377
|
+
"description" : "Tool linked successfully"
|
|
1378
|
+
},
|
|
1379
|
+
"401" : {
|
|
1380
|
+
"description" : "Unauthorized"
|
|
1381
|
+
},
|
|
1382
|
+
"403" : {
|
|
1383
|
+
"description" : "Forbidden - User doesn't have access to this agent"
|
|
1384
|
+
},
|
|
1385
|
+
"404" : {
|
|
1386
|
+
"description" : "Agent or tool not found"
|
|
1387
|
+
},
|
|
1388
|
+
"500" : {
|
|
1389
|
+
"description" : "Internal server error"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
"summary" : "Link a tool to an agent",
|
|
1393
|
+
"tags" : [ "agent" ]
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
"/agents/{agentId}/knowledge-bases/{knowledgeBaseId}" : {
|
|
1397
|
+
"delete" : {
|
|
1398
|
+
"description" : "Removes the association between a knowledge base and the specified agent",
|
|
1399
|
+
"operationId" : "removeKnowledgeBaseFromAgent",
|
|
1400
|
+
"parameters" : [ {
|
|
1401
|
+
"description" : "ID of the agent",
|
|
1402
|
+
"in" : "path",
|
|
1403
|
+
"name" : "agentId",
|
|
1404
|
+
"required" : true,
|
|
1405
|
+
"schema" : {
|
|
1406
|
+
"format" : "uuid",
|
|
1407
|
+
"type" : "string"
|
|
1408
|
+
}
|
|
1409
|
+
}, {
|
|
1410
|
+
"description" : "ID of the knowledge base to remove",
|
|
1411
|
+
"in" : "path",
|
|
1412
|
+
"name" : "knowledgeBaseId",
|
|
1413
|
+
"required" : true,
|
|
1414
|
+
"schema" : {
|
|
1415
|
+
"type" : "string"
|
|
1416
|
+
}
|
|
1417
|
+
} ],
|
|
1418
|
+
"responses" : {
|
|
1419
|
+
"204" : {
|
|
1420
|
+
"description" : "Knowledge base removed successfully"
|
|
1421
|
+
},
|
|
1422
|
+
"401" : {
|
|
1423
|
+
"description" : "Unauthorized"
|
|
1424
|
+
},
|
|
1425
|
+
"403" : {
|
|
1426
|
+
"description" : "Forbidden - User doesn't have access to this agent"
|
|
1427
|
+
},
|
|
1428
|
+
"404" : {
|
|
1429
|
+
"description" : "Agent not found"
|
|
1430
|
+
},
|
|
1431
|
+
"500" : {
|
|
1432
|
+
"description" : "Internal server error"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
"summary" : "Remove a knowledge base from an agent",
|
|
1436
|
+
"tags" : [ "agent" ]
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1190
1439
|
"/agents/{agentId}/conversations" : {
|
|
1191
1440
|
"get" : {
|
|
1192
1441
|
"description" : "Get conversations for an agent",
|
|
@@ -1602,6 +1851,13 @@
|
|
|
1602
1851
|
"schema" : {
|
|
1603
1852
|
"type" : "string"
|
|
1604
1853
|
}
|
|
1854
|
+
}, {
|
|
1855
|
+
"description" : "Instance id",
|
|
1856
|
+
"in" : "query",
|
|
1857
|
+
"name" : "instanceId",
|
|
1858
|
+
"schema" : {
|
|
1859
|
+
"type" : "string"
|
|
1860
|
+
}
|
|
1605
1861
|
} ],
|
|
1606
1862
|
"requestBody" : {
|
|
1607
1863
|
"content" : {
|
|
@@ -1958,7 +2214,7 @@
|
|
|
1958
2214
|
"content" : {
|
|
1959
2215
|
"application/json" : {
|
|
1960
2216
|
"schema" : {
|
|
1961
|
-
"$ref" : "#/components/schemas/
|
|
2217
|
+
"$ref" : "#/components/schemas/AppConfiguration"
|
|
1962
2218
|
}
|
|
1963
2219
|
}
|
|
1964
2220
|
},
|
|
@@ -2186,54 +2442,258 @@
|
|
|
2186
2442
|
"tags" : [ "app" ]
|
|
2187
2443
|
}
|
|
2188
2444
|
},
|
|
2189
|
-
"/
|
|
2445
|
+
"/apps/{appId}/animations" : {
|
|
2190
2446
|
"post" : {
|
|
2191
|
-
"description" : "
|
|
2192
|
-
"operationId" : "
|
|
2447
|
+
"description" : "Add an animation to an app",
|
|
2448
|
+
"operationId" : "addAnimation",
|
|
2449
|
+
"parameters" : [ {
|
|
2450
|
+
"description" : "ID of the app",
|
|
2451
|
+
"in" : "path",
|
|
2452
|
+
"name" : "appId",
|
|
2453
|
+
"required" : true,
|
|
2454
|
+
"schema" : {
|
|
2455
|
+
"type" : "string"
|
|
2456
|
+
}
|
|
2457
|
+
} ],
|
|
2193
2458
|
"requestBody" : {
|
|
2194
2459
|
"content" : {
|
|
2195
2460
|
"application/json" : {
|
|
2196
2461
|
"schema" : {
|
|
2197
|
-
"$ref" : "#/components/schemas/
|
|
2462
|
+
"$ref" : "#/components/schemas/AnimationCreateRequest"
|
|
2198
2463
|
}
|
|
2199
2464
|
}
|
|
2200
2465
|
},
|
|
2201
2466
|
"required" : true
|
|
2202
2467
|
},
|
|
2203
2468
|
"responses" : {
|
|
2204
|
-
"
|
|
2469
|
+
"201" : {
|
|
2205
2470
|
"content" : {
|
|
2206
2471
|
"application/json" : {
|
|
2207
2472
|
"schema" : {
|
|
2208
|
-
"$ref" : "#/components/schemas/
|
|
2473
|
+
"$ref" : "#/components/schemas/BodyWithId"
|
|
2209
2474
|
}
|
|
2210
2475
|
}
|
|
2211
2476
|
},
|
|
2212
|
-
"description" : "
|
|
2477
|
+
"description" : "Animation added successfully"
|
|
2213
2478
|
},
|
|
2214
|
-
"
|
|
2215
|
-
"description" : "
|
|
2479
|
+
"409" : {
|
|
2480
|
+
"description" : "Animation already exists"
|
|
2216
2481
|
}
|
|
2217
2482
|
},
|
|
2218
|
-
"summary" : "
|
|
2219
|
-
"tags" : [ "
|
|
2483
|
+
"summary" : "Add an animation to an app",
|
|
2484
|
+
"tags" : [ "app" ]
|
|
2220
2485
|
}
|
|
2221
2486
|
},
|
|
2222
|
-
"/
|
|
2223
|
-
"
|
|
2224
|
-
"description" : "
|
|
2225
|
-
"operationId" : "
|
|
2487
|
+
"/apps/{appId}/animations/{animationId}" : {
|
|
2488
|
+
"delete" : {
|
|
2489
|
+
"description" : "Remove an animation from an app",
|
|
2490
|
+
"operationId" : "removeAnimation",
|
|
2226
2491
|
"parameters" : [ {
|
|
2227
|
-
"description" : "ID of the
|
|
2492
|
+
"description" : "ID of the app",
|
|
2228
2493
|
"in" : "path",
|
|
2229
|
-
"name" : "
|
|
2494
|
+
"name" : "appId",
|
|
2495
|
+
"required" : true,
|
|
2496
|
+
"schema" : {
|
|
2497
|
+
"type" : "string"
|
|
2498
|
+
}
|
|
2499
|
+
}, {
|
|
2500
|
+
"description" : "ID of the animation",
|
|
2501
|
+
"in" : "path",
|
|
2502
|
+
"name" : "animationId",
|
|
2230
2503
|
"required" : true,
|
|
2231
2504
|
"schema" : {
|
|
2232
2505
|
"type" : "string"
|
|
2233
2506
|
}
|
|
2234
2507
|
} ],
|
|
2235
|
-
"
|
|
2236
|
-
"
|
|
2508
|
+
"responses" : {
|
|
2509
|
+
"200" : {
|
|
2510
|
+
"content" : {
|
|
2511
|
+
"application/json" : {
|
|
2512
|
+
"schema" : {
|
|
2513
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
},
|
|
2517
|
+
"description" : "Animation removed successfully"
|
|
2518
|
+
},
|
|
2519
|
+
"404" : {
|
|
2520
|
+
"description" : "Animation not found"
|
|
2521
|
+
}
|
|
2522
|
+
},
|
|
2523
|
+
"summary" : "Remove an animation from an app",
|
|
2524
|
+
"tags" : [ "app" ]
|
|
2525
|
+
}
|
|
2526
|
+
},
|
|
2527
|
+
"/apps/{appId}/sequences" : {
|
|
2528
|
+
"post" : {
|
|
2529
|
+
"description" : "Add a sequence to an app",
|
|
2530
|
+
"operationId" : "addSequence",
|
|
2531
|
+
"parameters" : [ {
|
|
2532
|
+
"description" : "ID of the app",
|
|
2533
|
+
"in" : "path",
|
|
2534
|
+
"name" : "appId",
|
|
2535
|
+
"required" : true,
|
|
2536
|
+
"schema" : {
|
|
2537
|
+
"type" : "string"
|
|
2538
|
+
}
|
|
2539
|
+
} ],
|
|
2540
|
+
"requestBody" : {
|
|
2541
|
+
"content" : {
|
|
2542
|
+
"application/json" : {
|
|
2543
|
+
"schema" : {
|
|
2544
|
+
"$ref" : "#/components/schemas/SequenceCreateRequest"
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
"required" : true
|
|
2549
|
+
},
|
|
2550
|
+
"responses" : {
|
|
2551
|
+
"201" : {
|
|
2552
|
+
"content" : {
|
|
2553
|
+
"application/json" : {
|
|
2554
|
+
"schema" : {
|
|
2555
|
+
"$ref" : "#/components/schemas/BodyWithId"
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
"description" : "Sequence added successfully"
|
|
2560
|
+
},
|
|
2561
|
+
"409" : {
|
|
2562
|
+
"description" : "Sequence already exists"
|
|
2563
|
+
}
|
|
2564
|
+
},
|
|
2565
|
+
"summary" : "Add a sequence to an app",
|
|
2566
|
+
"tags" : [ "app" ]
|
|
2567
|
+
}
|
|
2568
|
+
},
|
|
2569
|
+
"/apps/{appId}/sequences/{sequenceId}" : {
|
|
2570
|
+
"delete" : {
|
|
2571
|
+
"description" : "Remove a sequence from an app",
|
|
2572
|
+
"operationId" : "removeSequence",
|
|
2573
|
+
"parameters" : [ {
|
|
2574
|
+
"description" : "ID of the app",
|
|
2575
|
+
"in" : "path",
|
|
2576
|
+
"name" : "appId",
|
|
2577
|
+
"required" : true,
|
|
2578
|
+
"schema" : {
|
|
2579
|
+
"type" : "string"
|
|
2580
|
+
}
|
|
2581
|
+
}, {
|
|
2582
|
+
"description" : "ID of the sequence",
|
|
2583
|
+
"in" : "path",
|
|
2584
|
+
"name" : "sequenceId",
|
|
2585
|
+
"required" : true,
|
|
2586
|
+
"schema" : {
|
|
2587
|
+
"type" : "string"
|
|
2588
|
+
}
|
|
2589
|
+
} ],
|
|
2590
|
+
"responses" : {
|
|
2591
|
+
"200" : {
|
|
2592
|
+
"content" : {
|
|
2593
|
+
"application/json" : {
|
|
2594
|
+
"schema" : {
|
|
2595
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
"description" : "Sequence removed successfully"
|
|
2600
|
+
},
|
|
2601
|
+
"404" : {
|
|
2602
|
+
"description" : "Sequence not found"
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2605
|
+
"summary" : "Remove a sequence from an app",
|
|
2606
|
+
"tags" : [ "app" ]
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
"/apps/{appId}/conversations" : {
|
|
2610
|
+
"get" : {
|
|
2611
|
+
"description" : "Get paginated conversations for an app",
|
|
2612
|
+
"operationId" : "getAppConversations",
|
|
2613
|
+
"parameters" : [ {
|
|
2614
|
+
"description" : "ID of the app",
|
|
2615
|
+
"in" : "path",
|
|
2616
|
+
"name" : "appId",
|
|
2617
|
+
"required" : true,
|
|
2618
|
+
"schema" : {
|
|
2619
|
+
"type" : "string"
|
|
2620
|
+
}
|
|
2621
|
+
}, {
|
|
2622
|
+
"description" : "Page number (0-based)",
|
|
2623
|
+
"in" : "query",
|
|
2624
|
+
"name" : "page",
|
|
2625
|
+
"schema" : {
|
|
2626
|
+
"default" : 0,
|
|
2627
|
+
"type" : "integer"
|
|
2628
|
+
}
|
|
2629
|
+
} ],
|
|
2630
|
+
"responses" : {
|
|
2631
|
+
"200" : {
|
|
2632
|
+
"content" : {
|
|
2633
|
+
"application/json" : {
|
|
2634
|
+
"schema" : {
|
|
2635
|
+
"items" : {
|
|
2636
|
+
"$ref" : "#/components/schemas/Conversation"
|
|
2637
|
+
},
|
|
2638
|
+
"type" : "array"
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"description" : "Conversations retrieved successfully"
|
|
2643
|
+
}
|
|
2644
|
+
},
|
|
2645
|
+
"summary" : "Get conversations for an app",
|
|
2646
|
+
"tags" : [ "app" ]
|
|
2647
|
+
}
|
|
2648
|
+
},
|
|
2649
|
+
"/auth/code" : {
|
|
2650
|
+
"post" : {
|
|
2651
|
+
"description" : "Get auth code",
|
|
2652
|
+
"operationId" : "getAuthCode",
|
|
2653
|
+
"requestBody" : {
|
|
2654
|
+
"content" : {
|
|
2655
|
+
"application/json" : {
|
|
2656
|
+
"schema" : {
|
|
2657
|
+
"$ref" : "#/components/schemas/AuthCodeRequest"
|
|
2658
|
+
}
|
|
2659
|
+
}
|
|
2660
|
+
},
|
|
2661
|
+
"required" : true
|
|
2662
|
+
},
|
|
2663
|
+
"responses" : {
|
|
2664
|
+
"200" : {
|
|
2665
|
+
"content" : {
|
|
2666
|
+
"application/json" : {
|
|
2667
|
+
"schema" : {
|
|
2668
|
+
"$ref" : "#/components/schemas/AuthCodeResponse"
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
},
|
|
2672
|
+
"description" : "Auth code"
|
|
2673
|
+
},
|
|
2674
|
+
"400" : {
|
|
2675
|
+
"description" : "Invalid request"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
"summary" : "Get auth code",
|
|
2679
|
+
"tags" : [ "auth" ]
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
"/auth/{authFlowId}/confirm" : {
|
|
2683
|
+
"post" : {
|
|
2684
|
+
"description" : "Confirm auth code",
|
|
2685
|
+
"operationId" : "confirmAuthCode",
|
|
2686
|
+
"parameters" : [ {
|
|
2687
|
+
"description" : "ID of the auth flow",
|
|
2688
|
+
"in" : "path",
|
|
2689
|
+
"name" : "authFlowId",
|
|
2690
|
+
"required" : true,
|
|
2691
|
+
"schema" : {
|
|
2692
|
+
"type" : "string"
|
|
2693
|
+
}
|
|
2694
|
+
} ],
|
|
2695
|
+
"requestBody" : {
|
|
2696
|
+
"content" : {
|
|
2237
2697
|
"application/json" : {
|
|
2238
2698
|
"schema" : {
|
|
2239
2699
|
"$ref" : "#/components/schemas/AuthCodeConfirmRequest"
|
|
@@ -4190,55 +4650,42 @@
|
|
|
4190
4650
|
"tags" : [ "guardians" ]
|
|
4191
4651
|
}
|
|
4192
4652
|
},
|
|
4193
|
-
"/organizations
|
|
4653
|
+
"/organizations" : {
|
|
4194
4654
|
"get" : {
|
|
4195
|
-
"description" : "
|
|
4196
|
-
"operationId" : "
|
|
4197
|
-
"parameters" : [ {
|
|
4198
|
-
"description" : "ID of the organization",
|
|
4199
|
-
"in" : "path",
|
|
4200
|
-
"name" : "organizationId",
|
|
4201
|
-
"required" : true,
|
|
4202
|
-
"schema" : {
|
|
4203
|
-
"type" : "string"
|
|
4204
|
-
}
|
|
4205
|
-
} ],
|
|
4655
|
+
"description" : "Lists all organizations for the current user. Admins see all organizations.",
|
|
4656
|
+
"operationId" : "listOrganizations",
|
|
4206
4657
|
"responses" : {
|
|
4207
4658
|
"200" : {
|
|
4208
4659
|
"content" : {
|
|
4209
4660
|
"application/json" : {
|
|
4210
4661
|
"schema" : {
|
|
4211
|
-
"
|
|
4662
|
+
"items" : {
|
|
4663
|
+
"$ref" : "#/components/schemas/Organization"
|
|
4664
|
+
},
|
|
4665
|
+
"type" : "array"
|
|
4212
4666
|
}
|
|
4213
4667
|
}
|
|
4214
4668
|
},
|
|
4215
|
-
"description" : "
|
|
4669
|
+
"description" : "List of organizations"
|
|
4216
4670
|
},
|
|
4217
4671
|
"401" : {
|
|
4218
4672
|
"description" : "Unauthorized"
|
|
4219
4673
|
},
|
|
4220
|
-
"403" : {
|
|
4221
|
-
"description" : "Forbidden - User doesn't have permission"
|
|
4222
|
-
},
|
|
4223
|
-
"404" : {
|
|
4224
|
-
"description" : "Organization not found"
|
|
4225
|
-
},
|
|
4226
4674
|
"500" : {
|
|
4227
4675
|
"description" : "Server error"
|
|
4228
4676
|
}
|
|
4229
4677
|
},
|
|
4230
|
-
"summary" : "
|
|
4678
|
+
"summary" : "List organizations",
|
|
4231
4679
|
"tags" : [ "organizations" ]
|
|
4232
4680
|
}
|
|
4233
4681
|
},
|
|
4234
|
-
"/organizations/{
|
|
4682
|
+
"/organizations/by-slug/{slug}" : {
|
|
4235
4683
|
"get" : {
|
|
4236
|
-
"description" : "Retrieves
|
|
4237
|
-
"operationId" : "
|
|
4684
|
+
"description" : "Retrieves an organization by its slug",
|
|
4685
|
+
"operationId" : "getOrganizationBySlug",
|
|
4238
4686
|
"parameters" : [ {
|
|
4239
|
-
"description" : "ID of the organization",
|
|
4240
4687
|
"in" : "path",
|
|
4241
|
-
"name" : "
|
|
4688
|
+
"name" : "slug",
|
|
4242
4689
|
"required" : true,
|
|
4243
4690
|
"schema" : {
|
|
4244
4691
|
"type" : "string"
|
|
@@ -4249,14 +4696,11 @@
|
|
|
4249
4696
|
"content" : {
|
|
4250
4697
|
"application/json" : {
|
|
4251
4698
|
"schema" : {
|
|
4252
|
-
"
|
|
4253
|
-
"$ref" : "#/components/schemas/Role"
|
|
4254
|
-
},
|
|
4255
|
-
"type" : "array"
|
|
4699
|
+
"$ref" : "#/components/schemas/Organization"
|
|
4256
4700
|
}
|
|
4257
4701
|
}
|
|
4258
4702
|
},
|
|
4259
|
-
"description" : "
|
|
4703
|
+
"description" : "Organization found"
|
|
4260
4704
|
},
|
|
4261
4705
|
"401" : {
|
|
4262
4706
|
"description" : "Unauthorized"
|
|
@@ -4271,14 +4715,14 @@
|
|
|
4271
4715
|
"description" : "Server error"
|
|
4272
4716
|
}
|
|
4273
4717
|
},
|
|
4274
|
-
"summary" : "
|
|
4718
|
+
"summary" : "Get an organization by slug",
|
|
4275
4719
|
"tags" : [ "organizations" ]
|
|
4276
4720
|
}
|
|
4277
4721
|
},
|
|
4278
|
-
"/organizations/{organizationId}
|
|
4722
|
+
"/organizations/{organizationId}" : {
|
|
4279
4723
|
"get" : {
|
|
4280
|
-
"description" : "Retrieves
|
|
4281
|
-
"operationId" : "
|
|
4724
|
+
"description" : "Retrieves an organization by its ID",
|
|
4725
|
+
"operationId" : "getOrganizationById",
|
|
4282
4726
|
"parameters" : [ {
|
|
4283
4727
|
"description" : "ID of the organization",
|
|
4284
4728
|
"in" : "path",
|
|
@@ -4293,11 +4737,11 @@
|
|
|
4293
4737
|
"content" : {
|
|
4294
4738
|
"application/json" : {
|
|
4295
4739
|
"schema" : {
|
|
4296
|
-
"$ref" : "#/components/schemas/
|
|
4740
|
+
"$ref" : "#/components/schemas/Organization"
|
|
4297
4741
|
}
|
|
4298
4742
|
}
|
|
4299
4743
|
},
|
|
4300
|
-
"description" : "
|
|
4744
|
+
"description" : "Organization found"
|
|
4301
4745
|
},
|
|
4302
4746
|
"401" : {
|
|
4303
4747
|
"description" : "Unauthorized"
|
|
@@ -4312,46 +4756,70 @@
|
|
|
4312
4756
|
"description" : "Server error"
|
|
4313
4757
|
}
|
|
4314
4758
|
},
|
|
4315
|
-
"summary" : "Get an organization
|
|
4759
|
+
"summary" : "Get an organization by ID",
|
|
4316
4760
|
"tags" : [ "organizations" ]
|
|
4317
4761
|
}
|
|
4318
4762
|
},
|
|
4319
|
-
"/
|
|
4763
|
+
"/organizations/{organizationId}/roles" : {
|
|
4320
4764
|
"get" : {
|
|
4321
|
-
"description" : "Retrieves
|
|
4322
|
-
"operationId" : "
|
|
4765
|
+
"description" : "Retrieves all roles configured for the given organization",
|
|
4766
|
+
"operationId" : "listOrganizationRoles",
|
|
4767
|
+
"parameters" : [ {
|
|
4768
|
+
"description" : "ID of the organization",
|
|
4769
|
+
"in" : "path",
|
|
4770
|
+
"name" : "organizationId",
|
|
4771
|
+
"required" : true,
|
|
4772
|
+
"schema" : {
|
|
4773
|
+
"type" : "string"
|
|
4774
|
+
}
|
|
4775
|
+
} ],
|
|
4323
4776
|
"responses" : {
|
|
4324
|
-
"
|
|
4777
|
+
"200" : {
|
|
4325
4778
|
"content" : {
|
|
4326
4779
|
"application/json" : {
|
|
4327
4780
|
"schema" : {
|
|
4328
4781
|
"items" : {
|
|
4329
|
-
"$ref" : "#/components/schemas/
|
|
4782
|
+
"$ref" : "#/components/schemas/Role"
|
|
4330
4783
|
},
|
|
4331
4784
|
"type" : "array"
|
|
4332
4785
|
}
|
|
4333
4786
|
}
|
|
4334
4787
|
},
|
|
4335
|
-
"description" : "
|
|
4788
|
+
"description" : "Roles found"
|
|
4336
4789
|
},
|
|
4337
4790
|
"401" : {
|
|
4338
4791
|
"description" : "Unauthorized"
|
|
4339
4792
|
},
|
|
4793
|
+
"403" : {
|
|
4794
|
+
"description" : "Forbidden - User doesn't have permission"
|
|
4795
|
+
},
|
|
4796
|
+
"404" : {
|
|
4797
|
+
"description" : "Organization not found"
|
|
4798
|
+
},
|
|
4340
4799
|
"500" : {
|
|
4341
4800
|
"description" : "Server error"
|
|
4342
4801
|
}
|
|
4343
4802
|
},
|
|
4344
|
-
"summary" : "
|
|
4345
|
-
"tags" : [ "
|
|
4803
|
+
"summary" : "List roles of an organization",
|
|
4804
|
+
"tags" : [ "organizations" ]
|
|
4346
4805
|
},
|
|
4347
4806
|
"post" : {
|
|
4348
|
-
"description" : "Creates a new
|
|
4349
|
-
"operationId" : "
|
|
4807
|
+
"description" : "Creates a new agent role in the specified organization",
|
|
4808
|
+
"operationId" : "createOrganizationRole",
|
|
4809
|
+
"parameters" : [ {
|
|
4810
|
+
"description" : "ID of the organization",
|
|
4811
|
+
"in" : "path",
|
|
4812
|
+
"name" : "organizationId",
|
|
4813
|
+
"required" : true,
|
|
4814
|
+
"schema" : {
|
|
4815
|
+
"type" : "string"
|
|
4816
|
+
}
|
|
4817
|
+
} ],
|
|
4350
4818
|
"requestBody" : {
|
|
4351
4819
|
"content" : {
|
|
4352
4820
|
"application/json" : {
|
|
4353
4821
|
"schema" : {
|
|
4354
|
-
"$ref" : "#/components/schemas/
|
|
4822
|
+
"$ref" : "#/components/schemas/RoleCreateRequest"
|
|
4355
4823
|
}
|
|
4356
4824
|
}
|
|
4357
4825
|
},
|
|
@@ -4362,7 +4830,215 @@
|
|
|
4362
4830
|
"content" : {
|
|
4363
4831
|
"application/json" : {
|
|
4364
4832
|
"schema" : {
|
|
4365
|
-
"$ref" : "#/components/schemas/
|
|
4833
|
+
"$ref" : "#/components/schemas/Role"
|
|
4834
|
+
}
|
|
4835
|
+
}
|
|
4836
|
+
},
|
|
4837
|
+
"description" : "Role created successfully"
|
|
4838
|
+
},
|
|
4839
|
+
"400" : {
|
|
4840
|
+
"description" : "Invalid request body"
|
|
4841
|
+
},
|
|
4842
|
+
"401" : {
|
|
4843
|
+
"description" : "Unauthorized"
|
|
4844
|
+
},
|
|
4845
|
+
"403" : {
|
|
4846
|
+
"description" : "Forbidden - User doesn't have permission"
|
|
4847
|
+
},
|
|
4848
|
+
"404" : {
|
|
4849
|
+
"description" : "Organization not found"
|
|
4850
|
+
},
|
|
4851
|
+
"500" : {
|
|
4852
|
+
"description" : "Server error"
|
|
4853
|
+
}
|
|
4854
|
+
},
|
|
4855
|
+
"summary" : "Create a role in an organization",
|
|
4856
|
+
"tags" : [ "organizations" ]
|
|
4857
|
+
}
|
|
4858
|
+
},
|
|
4859
|
+
"/organizations/{organizationId}/roles/{roleId}" : {
|
|
4860
|
+
"delete" : {
|
|
4861
|
+
"description" : "Deletes an agent role from the specified organization",
|
|
4862
|
+
"operationId" : "deleteOrganizationRole",
|
|
4863
|
+
"parameters" : [ {
|
|
4864
|
+
"description" : "ID of the organization",
|
|
4865
|
+
"in" : "path",
|
|
4866
|
+
"name" : "organizationId",
|
|
4867
|
+
"required" : true,
|
|
4868
|
+
"schema" : {
|
|
4869
|
+
"type" : "string"
|
|
4870
|
+
}
|
|
4871
|
+
}, {
|
|
4872
|
+
"description" : "ID of the role to delete",
|
|
4873
|
+
"in" : "path",
|
|
4874
|
+
"name" : "roleId",
|
|
4875
|
+
"required" : true,
|
|
4876
|
+
"schema" : {
|
|
4877
|
+
"type" : "string"
|
|
4878
|
+
}
|
|
4879
|
+
} ],
|
|
4880
|
+
"responses" : {
|
|
4881
|
+
"204" : {
|
|
4882
|
+
"description" : "Role deleted successfully"
|
|
4883
|
+
},
|
|
4884
|
+
"401" : {
|
|
4885
|
+
"description" : "Unauthorized"
|
|
4886
|
+
},
|
|
4887
|
+
"403" : {
|
|
4888
|
+
"description" : "Forbidden - User doesn't have permission"
|
|
4889
|
+
},
|
|
4890
|
+
"404" : {
|
|
4891
|
+
"description" : "Organization not found"
|
|
4892
|
+
},
|
|
4893
|
+
"500" : {
|
|
4894
|
+
"description" : "Server error"
|
|
4895
|
+
}
|
|
4896
|
+
},
|
|
4897
|
+
"summary" : "Delete a role from an organization",
|
|
4898
|
+
"tags" : [ "organizations" ]
|
|
4899
|
+
},
|
|
4900
|
+
"put" : {
|
|
4901
|
+
"description" : "Updates an existing agent role in the specified organization",
|
|
4902
|
+
"operationId" : "updateOrganizationRole",
|
|
4903
|
+
"parameters" : [ {
|
|
4904
|
+
"description" : "ID of the organization",
|
|
4905
|
+
"in" : "path",
|
|
4906
|
+
"name" : "organizationId",
|
|
4907
|
+
"required" : true,
|
|
4908
|
+
"schema" : {
|
|
4909
|
+
"type" : "string"
|
|
4910
|
+
}
|
|
4911
|
+
}, {
|
|
4912
|
+
"description" : "ID of the role to update",
|
|
4913
|
+
"in" : "path",
|
|
4914
|
+
"name" : "roleId",
|
|
4915
|
+
"required" : true,
|
|
4916
|
+
"schema" : {
|
|
4917
|
+
"type" : "string"
|
|
4918
|
+
}
|
|
4919
|
+
} ],
|
|
4920
|
+
"requestBody" : {
|
|
4921
|
+
"content" : {
|
|
4922
|
+
"application/json" : {
|
|
4923
|
+
"schema" : {
|
|
4924
|
+
"$ref" : "#/components/schemas/RoleCreateRequest"
|
|
4925
|
+
}
|
|
4926
|
+
}
|
|
4927
|
+
},
|
|
4928
|
+
"required" : true
|
|
4929
|
+
},
|
|
4930
|
+
"responses" : {
|
|
4931
|
+
"204" : {
|
|
4932
|
+
"description" : "Role updated successfully"
|
|
4933
|
+
},
|
|
4934
|
+
"400" : {
|
|
4935
|
+
"description" : "Invalid request body"
|
|
4936
|
+
},
|
|
4937
|
+
"401" : {
|
|
4938
|
+
"description" : "Unauthorized"
|
|
4939
|
+
},
|
|
4940
|
+
"403" : {
|
|
4941
|
+
"description" : "Forbidden - User doesn't have permission"
|
|
4942
|
+
},
|
|
4943
|
+
"404" : {
|
|
4944
|
+
"description" : "Organization not found"
|
|
4945
|
+
},
|
|
4946
|
+
"500" : {
|
|
4947
|
+
"description" : "Server error"
|
|
4948
|
+
}
|
|
4949
|
+
},
|
|
4950
|
+
"summary" : "Update a role in an organization",
|
|
4951
|
+
"tags" : [ "organizations" ]
|
|
4952
|
+
}
|
|
4953
|
+
},
|
|
4954
|
+
"/organizations/{organizationId}/engine" : {
|
|
4955
|
+
"get" : {
|
|
4956
|
+
"description" : "Retrieves only the engine configuration (providerId, model, options) for a given organization.",
|
|
4957
|
+
"operationId" : "getOrganizationEngine",
|
|
4958
|
+
"parameters" : [ {
|
|
4959
|
+
"description" : "ID of the organization",
|
|
4960
|
+
"in" : "path",
|
|
4961
|
+
"name" : "organizationId",
|
|
4962
|
+
"required" : true,
|
|
4963
|
+
"schema" : {
|
|
4964
|
+
"type" : "string"
|
|
4965
|
+
}
|
|
4966
|
+
} ],
|
|
4967
|
+
"responses" : {
|
|
4968
|
+
"200" : {
|
|
4969
|
+
"content" : {
|
|
4970
|
+
"application/json" : {
|
|
4971
|
+
"schema" : {
|
|
4972
|
+
"$ref" : "#/components/schemas/OrganizationEngine"
|
|
4973
|
+
}
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4976
|
+
"description" : "Engine configuration found (or null if not configured)"
|
|
4977
|
+
},
|
|
4978
|
+
"401" : {
|
|
4979
|
+
"description" : "Unauthorized"
|
|
4980
|
+
},
|
|
4981
|
+
"403" : {
|
|
4982
|
+
"description" : "Forbidden - User doesn't have permission"
|
|
4983
|
+
},
|
|
4984
|
+
"404" : {
|
|
4985
|
+
"description" : "Organization not found"
|
|
4986
|
+
},
|
|
4987
|
+
"500" : {
|
|
4988
|
+
"description" : "Server error"
|
|
4989
|
+
}
|
|
4990
|
+
},
|
|
4991
|
+
"summary" : "Get an organization engine configuration",
|
|
4992
|
+
"tags" : [ "organizations" ]
|
|
4993
|
+
}
|
|
4994
|
+
},
|
|
4995
|
+
"/manifests" : {
|
|
4996
|
+
"get" : {
|
|
4997
|
+
"description" : "Retrieves manifests, filtered by user ID for non-admin users",
|
|
4998
|
+
"operationId" : "getManifests",
|
|
4999
|
+
"responses" : {
|
|
5000
|
+
"206" : {
|
|
5001
|
+
"content" : {
|
|
5002
|
+
"application/json" : {
|
|
5003
|
+
"schema" : {
|
|
5004
|
+
"items" : {
|
|
5005
|
+
"$ref" : "#/components/schemas/Manifest"
|
|
5006
|
+
},
|
|
5007
|
+
"type" : "array"
|
|
5008
|
+
}
|
|
5009
|
+
}
|
|
5010
|
+
},
|
|
5011
|
+
"description" : "Manifests retrieved successfully"
|
|
5012
|
+
},
|
|
5013
|
+
"401" : {
|
|
5014
|
+
"description" : "Unauthorized"
|
|
5015
|
+
},
|
|
5016
|
+
"500" : {
|
|
5017
|
+
"description" : "Server error"
|
|
5018
|
+
}
|
|
5019
|
+
},
|
|
5020
|
+
"summary" : "Get manifests",
|
|
5021
|
+
"tags" : [ "manifests" ]
|
|
5022
|
+
},
|
|
5023
|
+
"post" : {
|
|
5024
|
+
"description" : "Creates a new manifest document",
|
|
5025
|
+
"operationId" : "createManifest",
|
|
5026
|
+
"requestBody" : {
|
|
5027
|
+
"content" : {
|
|
5028
|
+
"application/json" : {
|
|
5029
|
+
"schema" : {
|
|
5030
|
+
"$ref" : "#/components/schemas/ManifestCreateRequest"
|
|
5031
|
+
}
|
|
5032
|
+
}
|
|
5033
|
+
},
|
|
5034
|
+
"required" : true
|
|
5035
|
+
},
|
|
5036
|
+
"responses" : {
|
|
5037
|
+
"201" : {
|
|
5038
|
+
"content" : {
|
|
5039
|
+
"application/json" : {
|
|
5040
|
+
"schema" : {
|
|
5041
|
+
"$ref" : "#/components/schemas/Manifest"
|
|
4366
5042
|
}
|
|
4367
5043
|
}
|
|
4368
5044
|
},
|
|
@@ -5363,48 +6039,19 @@
|
|
|
5363
6039
|
"tags" : [ "knowledge" ]
|
|
5364
6040
|
}
|
|
5365
6041
|
},
|
|
5366
|
-
"/
|
|
6042
|
+
"/knowledge-bases/{knowledgebaseId}/inactive-file-ids" : {
|
|
5367
6043
|
"get" : {
|
|
5368
|
-
"description" : "Returns
|
|
5369
|
-
"operationId" : "
|
|
6044
|
+
"description" : "Returns an array of file IDs that are marked as inactive in the given knowledge base.",
|
|
6045
|
+
"operationId" : "getInactiveKnowledgeFileIds",
|
|
5370
6046
|
"parameters" : [ {
|
|
5371
|
-
"description" : "
|
|
5372
|
-
"in" : "
|
|
5373
|
-
"name" : "
|
|
6047
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
6048
|
+
"in" : "path",
|
|
6049
|
+
"name" : "knowledgebaseId",
|
|
5374
6050
|
"required" : true,
|
|
5375
6051
|
"schema" : {
|
|
6052
|
+
"format" : "uuid",
|
|
5376
6053
|
"type" : "string"
|
|
5377
6054
|
}
|
|
5378
|
-
}, {
|
|
5379
|
-
"description" : "Search query to filter tools by name or description",
|
|
5380
|
-
"in" : "query",
|
|
5381
|
-
"name" : "search",
|
|
5382
|
-
"schema" : {
|
|
5383
|
-
"type" : "string"
|
|
5384
|
-
}
|
|
5385
|
-
}, {
|
|
5386
|
-
"description" : "Comma-separated list of tool IDs to exclude",
|
|
5387
|
-
"in" : "query",
|
|
5388
|
-
"name" : "excludeIds",
|
|
5389
|
-
"schema" : {
|
|
5390
|
-
"type" : "string"
|
|
5391
|
-
}
|
|
5392
|
-
}, {
|
|
5393
|
-
"description" : "Maximum number of tools to return",
|
|
5394
|
-
"in" : "query",
|
|
5395
|
-
"name" : "limit",
|
|
5396
|
-
"schema" : {
|
|
5397
|
-
"default" : 20,
|
|
5398
|
-
"maximum" : 100,
|
|
5399
|
-
"type" : "integer"
|
|
5400
|
-
}
|
|
5401
|
-
}, {
|
|
5402
|
-
"description" : "Page number",
|
|
5403
|
-
"in" : "query",
|
|
5404
|
-
"name" : "page",
|
|
5405
|
-
"schema" : {
|
|
5406
|
-
"type" : "integer"
|
|
5407
|
-
}
|
|
5408
6055
|
} ],
|
|
5409
6056
|
"responses" : {
|
|
5410
6057
|
"200" : {
|
|
@@ -5412,38 +6059,148 @@
|
|
|
5412
6059
|
"application/json" : {
|
|
5413
6060
|
"schema" : {
|
|
5414
6061
|
"items" : {
|
|
5415
|
-
"
|
|
6062
|
+
"type" : "string"
|
|
5416
6063
|
},
|
|
5417
6064
|
"type" : "array"
|
|
5418
6065
|
}
|
|
5419
6066
|
}
|
|
5420
6067
|
},
|
|
5421
|
-
"description" : "List of
|
|
5422
|
-
"headers" : {
|
|
5423
|
-
"X-Total-Count" : {
|
|
5424
|
-
"description" : "Total number of matching tools",
|
|
5425
|
-
"schema" : {
|
|
5426
|
-
"type" : "integer"
|
|
5427
|
-
}
|
|
5428
|
-
}
|
|
5429
|
-
}
|
|
5430
|
-
},
|
|
5431
|
-
"400" : {
|
|
5432
|
-
"description" : "MISSING_ORG_ID"
|
|
6068
|
+
"description" : "List of inactive file IDs"
|
|
5433
6069
|
},
|
|
5434
6070
|
"401" : {
|
|
5435
6071
|
"description" : "Unauthorized"
|
|
5436
6072
|
},
|
|
5437
6073
|
"403" : {
|
|
5438
6074
|
"description" : "Forbidden"
|
|
6075
|
+
},
|
|
6076
|
+
"404" : {
|
|
6077
|
+
"description" : "Knowledge base not found"
|
|
5439
6078
|
}
|
|
5440
6079
|
},
|
|
5441
|
-
"summary" : "
|
|
5442
|
-
"tags" : [ "
|
|
5443
|
-
}
|
|
6080
|
+
"summary" : "Get inactive knowledge file IDs for a knowledge base",
|
|
6081
|
+
"tags" : [ "knowledge" ]
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
"/knowledge-files/by-ids" : {
|
|
5444
6085
|
"post" : {
|
|
5445
|
-
"description" : "
|
|
5446
|
-
"operationId" : "
|
|
6086
|
+
"description" : "Returns knowledge file summaries (id and name) for the given file IDs.",
|
|
6087
|
+
"operationId" : "getKnowledgeFilesByIds",
|
|
6088
|
+
"requestBody" : {
|
|
6089
|
+
"content" : {
|
|
6090
|
+
"application/json" : {
|
|
6091
|
+
"schema" : {
|
|
6092
|
+
"$ref" : "#/components/schemas/KnowledgeFilesByIdsRequest"
|
|
6093
|
+
}
|
|
6094
|
+
}
|
|
6095
|
+
},
|
|
6096
|
+
"required" : true
|
|
6097
|
+
},
|
|
6098
|
+
"responses" : {
|
|
6099
|
+
"200" : {
|
|
6100
|
+
"content" : {
|
|
6101
|
+
"application/json" : {
|
|
6102
|
+
"schema" : {
|
|
6103
|
+
"items" : {
|
|
6104
|
+
"$ref" : "#/components/schemas/KnowledgeFileSummary"
|
|
6105
|
+
},
|
|
6106
|
+
"type" : "array"
|
|
6107
|
+
}
|
|
6108
|
+
}
|
|
6109
|
+
},
|
|
6110
|
+
"description" : "List of knowledge file summaries"
|
|
6111
|
+
},
|
|
6112
|
+
"400" : {
|
|
6113
|
+
"description" : "Invalid request - ids array is required"
|
|
6114
|
+
},
|
|
6115
|
+
"401" : {
|
|
6116
|
+
"description" : "Unauthorized"
|
|
6117
|
+
}
|
|
6118
|
+
},
|
|
6119
|
+
"summary" : "Get knowledge files by IDs",
|
|
6120
|
+
"tags" : [ "knowledge" ]
|
|
6121
|
+
}
|
|
6122
|
+
},
|
|
6123
|
+
"/tools" : {
|
|
6124
|
+
"get" : {
|
|
6125
|
+
"description" : "Returns tools matching optional search query, with pagination",
|
|
6126
|
+
"operationId" : "searchTools",
|
|
6127
|
+
"parameters" : [ {
|
|
6128
|
+
"description" : "Organization ID",
|
|
6129
|
+
"in" : "query",
|
|
6130
|
+
"name" : "organizationId",
|
|
6131
|
+
"required" : true,
|
|
6132
|
+
"schema" : {
|
|
6133
|
+
"type" : "string"
|
|
6134
|
+
}
|
|
6135
|
+
}, {
|
|
6136
|
+
"description" : "Search query to filter tools by name or description",
|
|
6137
|
+
"in" : "query",
|
|
6138
|
+
"name" : "search",
|
|
6139
|
+
"schema" : {
|
|
6140
|
+
"type" : "string"
|
|
6141
|
+
}
|
|
6142
|
+
}, {
|
|
6143
|
+
"description" : "Comma-separated list of tool IDs to exclude",
|
|
6144
|
+
"in" : "query",
|
|
6145
|
+
"name" : "excludeIds",
|
|
6146
|
+
"schema" : {
|
|
6147
|
+
"type" : "string"
|
|
6148
|
+
}
|
|
6149
|
+
}, {
|
|
6150
|
+
"description" : "Maximum number of tools to return",
|
|
6151
|
+
"in" : "query",
|
|
6152
|
+
"name" : "limit",
|
|
6153
|
+
"schema" : {
|
|
6154
|
+
"default" : 20,
|
|
6155
|
+
"maximum" : 100,
|
|
6156
|
+
"type" : "integer"
|
|
6157
|
+
}
|
|
6158
|
+
}, {
|
|
6159
|
+
"description" : "Page number",
|
|
6160
|
+
"in" : "query",
|
|
6161
|
+
"name" : "page",
|
|
6162
|
+
"schema" : {
|
|
6163
|
+
"type" : "integer"
|
|
6164
|
+
}
|
|
6165
|
+
} ],
|
|
6166
|
+
"responses" : {
|
|
6167
|
+
"200" : {
|
|
6168
|
+
"content" : {
|
|
6169
|
+
"application/json" : {
|
|
6170
|
+
"schema" : {
|
|
6171
|
+
"items" : {
|
|
6172
|
+
"$ref" : "#/components/schemas/AgentTool"
|
|
6173
|
+
},
|
|
6174
|
+
"type" : "array"
|
|
6175
|
+
}
|
|
6176
|
+
}
|
|
6177
|
+
},
|
|
6178
|
+
"description" : "List of tools",
|
|
6179
|
+
"headers" : {
|
|
6180
|
+
"X-Total-Count" : {
|
|
6181
|
+
"description" : "Total number of matching tools",
|
|
6182
|
+
"schema" : {
|
|
6183
|
+
"type" : "integer"
|
|
6184
|
+
}
|
|
6185
|
+
}
|
|
6186
|
+
}
|
|
6187
|
+
},
|
|
6188
|
+
"400" : {
|
|
6189
|
+
"description" : "MISSING_ORG_ID"
|
|
6190
|
+
},
|
|
6191
|
+
"401" : {
|
|
6192
|
+
"description" : "Unauthorized"
|
|
6193
|
+
},
|
|
6194
|
+
"403" : {
|
|
6195
|
+
"description" : "Forbidden"
|
|
6196
|
+
}
|
|
6197
|
+
},
|
|
6198
|
+
"summary" : "Search tools in an organization",
|
|
6199
|
+
"tags" : [ "tools" ]
|
|
6200
|
+
},
|
|
6201
|
+
"post" : {
|
|
6202
|
+
"description" : "Creates a tool in an organization (admin only)",
|
|
6203
|
+
"operationId" : "createTool",
|
|
5447
6204
|
"parameters" : [ {
|
|
5448
6205
|
"description" : "ID of the organization",
|
|
5449
6206
|
"in" : "path",
|
|
@@ -5683,6 +6440,44 @@
|
|
|
5683
6440
|
},
|
|
5684
6441
|
"summary" : "Get a specific tool (UI-safe)",
|
|
5685
6442
|
"tags" : [ "tools" ]
|
|
6443
|
+
},
|
|
6444
|
+
"put" : {
|
|
6445
|
+
"operationId" : "updateTool",
|
|
6446
|
+
"parameters" : [ {
|
|
6447
|
+
"description" : "Tool identifier",
|
|
6448
|
+
"in" : "path",
|
|
6449
|
+
"name" : "toolId",
|
|
6450
|
+
"required" : true,
|
|
6451
|
+
"schema" : {
|
|
6452
|
+
"type" : "string"
|
|
6453
|
+
}
|
|
6454
|
+
} ],
|
|
6455
|
+
"requestBody" : {
|
|
6456
|
+
"content" : {
|
|
6457
|
+
"application/json" : {
|
|
6458
|
+
"schema" : {
|
|
6459
|
+
"$ref" : "#/components/schemas/ToolUpdateRequest"
|
|
6460
|
+
}
|
|
6461
|
+
}
|
|
6462
|
+
},
|
|
6463
|
+
"required" : true
|
|
6464
|
+
},
|
|
6465
|
+
"responses" : {
|
|
6466
|
+
"204" : {
|
|
6467
|
+
"description" : "Updated"
|
|
6468
|
+
},
|
|
6469
|
+
"401" : {
|
|
6470
|
+
"description" : "Unauthorized"
|
|
6471
|
+
},
|
|
6472
|
+
"403" : {
|
|
6473
|
+
"description" : "Forbidden"
|
|
6474
|
+
},
|
|
6475
|
+
"404" : {
|
|
6476
|
+
"description" : "TOOL_NOT_FOUND"
|
|
6477
|
+
}
|
|
6478
|
+
},
|
|
6479
|
+
"summary" : "Update a tool",
|
|
6480
|
+
"tags" : [ "tools" ]
|
|
5686
6481
|
}
|
|
5687
6482
|
},
|
|
5688
6483
|
"/tools/{toolId}/setup" : {
|
|
@@ -5864,6 +6659,40 @@
|
|
|
5864
6659
|
"tags" : [ "tools" ]
|
|
5865
6660
|
}
|
|
5866
6661
|
},
|
|
6662
|
+
"/tools/{toolId}/oauth/disconnect" : {
|
|
6663
|
+
"delete" : {
|
|
6664
|
+
"description" : "Removes OAuth2 tokens/credentials from the specified tool",
|
|
6665
|
+
"operationId" : "disconnectOAuth2Tool",
|
|
6666
|
+
"parameters" : [ {
|
|
6667
|
+
"description" : "ID of the tool to disconnect",
|
|
6668
|
+
"in" : "path",
|
|
6669
|
+
"name" : "toolId",
|
|
6670
|
+
"required" : true,
|
|
6671
|
+
"schema" : {
|
|
6672
|
+
"type" : "string"
|
|
6673
|
+
}
|
|
6674
|
+
} ],
|
|
6675
|
+
"responses" : {
|
|
6676
|
+
"204" : {
|
|
6677
|
+
"description" : "OAuth2 disconnected successfully"
|
|
6678
|
+
},
|
|
6679
|
+
"401" : {
|
|
6680
|
+
"description" : "Unauthorized"
|
|
6681
|
+
},
|
|
6682
|
+
"403" : {
|
|
6683
|
+
"description" : "Forbidden - User doesn't have access to this tool"
|
|
6684
|
+
},
|
|
6685
|
+
"404" : {
|
|
6686
|
+
"description" : "Tool not found"
|
|
6687
|
+
},
|
|
6688
|
+
"500" : {
|
|
6689
|
+
"description" : "Internal server error"
|
|
6690
|
+
}
|
|
6691
|
+
},
|
|
6692
|
+
"summary" : "Disconnect OAuth2 from a tool",
|
|
6693
|
+
"tags" : [ "tools" ]
|
|
6694
|
+
}
|
|
6695
|
+
},
|
|
5867
6696
|
"/remote/pin-requests" : {
|
|
5868
6697
|
"post" : {
|
|
5869
6698
|
"description" : "Creates a PIN request for remote access",
|
|
@@ -6071,7 +6900,7 @@
|
|
|
6071
6900
|
"content" : {
|
|
6072
6901
|
"application/json" : {
|
|
6073
6902
|
"schema" : {
|
|
6074
|
-
"$ref" : "#/components/schemas/
|
|
6903
|
+
"$ref" : "#/components/schemas/Conversation_1"
|
|
6075
6904
|
}
|
|
6076
6905
|
}
|
|
6077
6906
|
},
|
|
@@ -6529,6 +7358,24 @@
|
|
|
6529
7358
|
"type" : "string"
|
|
6530
7359
|
}
|
|
6531
7360
|
},
|
|
7361
|
+
"animationIdPath" : {
|
|
7362
|
+
"description" : "ID of the animation",
|
|
7363
|
+
"in" : "path",
|
|
7364
|
+
"name" : "animationId",
|
|
7365
|
+
"required" : true,
|
|
7366
|
+
"schema" : {
|
|
7367
|
+
"type" : "string"
|
|
7368
|
+
}
|
|
7369
|
+
},
|
|
7370
|
+
"sequenceIdPath" : {
|
|
7371
|
+
"description" : "ID of the sequence",
|
|
7372
|
+
"in" : "path",
|
|
7373
|
+
"name" : "sequenceId",
|
|
7374
|
+
"required" : true,
|
|
7375
|
+
"schema" : {
|
|
7376
|
+
"type" : "string"
|
|
7377
|
+
}
|
|
7378
|
+
},
|
|
6532
7379
|
"authFlowIdPath" : {
|
|
6533
7380
|
"description" : "ID of the auth flow",
|
|
6534
7381
|
"in" : "path",
|
|
@@ -7546,6 +8393,9 @@
|
|
|
7546
8393
|
},
|
|
7547
8394
|
"AgentFlowCreate" : {
|
|
7548
8395
|
"properties" : {
|
|
8396
|
+
"name" : {
|
|
8397
|
+
"type" : "string"
|
|
8398
|
+
},
|
|
7549
8399
|
"entrypoints" : {
|
|
7550
8400
|
"$ref" : "#/components/schemas/FlowEntrypoints"
|
|
7551
8401
|
},
|
|
@@ -7599,6 +8449,12 @@
|
|
|
7599
8449
|
"instructions" : {
|
|
7600
8450
|
"type" : "string"
|
|
7601
8451
|
},
|
|
8452
|
+
"instructionItems" : {
|
|
8453
|
+
"items" : {
|
|
8454
|
+
"type" : "string"
|
|
8455
|
+
},
|
|
8456
|
+
"type" : "array"
|
|
8457
|
+
},
|
|
7602
8458
|
"tools" : {
|
|
7603
8459
|
"$ref" : "#/components/schemas/ContentsTools"
|
|
7604
8460
|
},
|
|
@@ -7664,65 +8520,183 @@
|
|
|
7664
8520
|
"required" : [ "conditions" ],
|
|
7665
8521
|
"type" : "object"
|
|
7666
8522
|
},
|
|
7667
|
-
"
|
|
8523
|
+
"AdvancedFlowEditor" : {
|
|
7668
8524
|
"properties" : {
|
|
7669
|
-
"
|
|
8525
|
+
"agentId" : {
|
|
7670
8526
|
"type" : "string"
|
|
7671
8527
|
},
|
|
7672
|
-
"
|
|
7673
|
-
"
|
|
7674
|
-
|
|
8528
|
+
"nodes" : {
|
|
8529
|
+
"items" : {
|
|
8530
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorNode"
|
|
8531
|
+
},
|
|
8532
|
+
"type" : "array"
|
|
7675
8533
|
},
|
|
7676
|
-
"
|
|
7677
|
-
"
|
|
7678
|
-
|
|
8534
|
+
"edges" : {
|
|
8535
|
+
"items" : {
|
|
8536
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorEdge"
|
|
8537
|
+
},
|
|
8538
|
+
"type" : "array"
|
|
8539
|
+
}
|
|
8540
|
+
},
|
|
8541
|
+
"required" : [ "agentId", "edges", "nodes" ],
|
|
8542
|
+
"type" : "object"
|
|
8543
|
+
},
|
|
8544
|
+
"AdvancedFlowEditorNode" : {
|
|
8545
|
+
"properties" : {
|
|
8546
|
+
"id" : {
|
|
7679
8547
|
"type" : "string"
|
|
7680
8548
|
},
|
|
7681
|
-
"
|
|
7682
|
-
"
|
|
7683
|
-
"type" : "number"
|
|
8549
|
+
"position" : {
|
|
8550
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorNode_position"
|
|
7684
8551
|
},
|
|
7685
|
-
"
|
|
7686
|
-
"description" : "File hash",
|
|
8552
|
+
"type" : {
|
|
7687
8553
|
"type" : "string"
|
|
8554
|
+
},
|
|
8555
|
+
"data" : {
|
|
8556
|
+
"additionalProperties" : true,
|
|
8557
|
+
"type" : "object"
|
|
7688
8558
|
}
|
|
7689
8559
|
},
|
|
7690
|
-
"required" : [ "
|
|
8560
|
+
"required" : [ "data", "id", "position", "type" ],
|
|
7691
8561
|
"type" : "object"
|
|
7692
8562
|
},
|
|
7693
|
-
"
|
|
7694
|
-
"allOf" : [ {
|
|
7695
|
-
"$ref" : "#/components/schemas/File"
|
|
7696
|
-
}, {
|
|
7697
|
-
"$ref" : "#/components/schemas/S3UploadBody"
|
|
7698
|
-
} ]
|
|
7699
|
-
},
|
|
7700
|
-
"File" : {
|
|
8563
|
+
"AdvancedFlowEditorEdge" : {
|
|
7701
8564
|
"properties" : {
|
|
7702
|
-
"name" : {
|
|
7703
|
-
"type" : "string"
|
|
7704
|
-
},
|
|
7705
8565
|
"id" : {
|
|
7706
8566
|
"type" : "string"
|
|
7707
8567
|
},
|
|
7708
|
-
"
|
|
8568
|
+
"source" : {
|
|
7709
8569
|
"type" : "string"
|
|
7710
8570
|
},
|
|
7711
|
-
"
|
|
8571
|
+
"sourceHandle" : {
|
|
7712
8572
|
"type" : "string"
|
|
7713
8573
|
},
|
|
7714
|
-
"
|
|
8574
|
+
"target" : {
|
|
7715
8575
|
"type" : "string"
|
|
7716
8576
|
},
|
|
7717
|
-
"
|
|
7718
|
-
"type" : "number"
|
|
7719
|
-
},
|
|
7720
|
-
"postURL" : {
|
|
8577
|
+
"targetHandle" : {
|
|
7721
8578
|
"type" : "string"
|
|
8579
|
+
}
|
|
8580
|
+
},
|
|
8581
|
+
"required" : [ "id", "source", "target" ],
|
|
8582
|
+
"type" : "object"
|
|
8583
|
+
},
|
|
8584
|
+
"AdvancedFlowEditorUpdateRequest" : {
|
|
8585
|
+
"properties" : {
|
|
8586
|
+
"nodes" : {
|
|
8587
|
+
"items" : {
|
|
8588
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorNode"
|
|
8589
|
+
},
|
|
8590
|
+
"type" : "array"
|
|
8591
|
+
},
|
|
8592
|
+
"edges" : {
|
|
8593
|
+
"items" : {
|
|
8594
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorEdge"
|
|
8595
|
+
},
|
|
8596
|
+
"type" : "array"
|
|
8597
|
+
}
|
|
8598
|
+
},
|
|
8599
|
+
"required" : [ "edges", "nodes" ],
|
|
8600
|
+
"type" : "object"
|
|
8601
|
+
},
|
|
8602
|
+
"FlowEditor" : {
|
|
8603
|
+
"properties" : {
|
|
8604
|
+
"agentId" : {
|
|
8605
|
+
"type" : "string"
|
|
8606
|
+
},
|
|
8607
|
+
"nodes" : {
|
|
8608
|
+
"items" : {
|
|
8609
|
+
"$ref" : "#/components/schemas/FlowEditorNode"
|
|
8610
|
+
},
|
|
8611
|
+
"type" : "array"
|
|
8612
|
+
}
|
|
8613
|
+
},
|
|
8614
|
+
"required" : [ "agentId", "nodes" ],
|
|
8615
|
+
"type" : "object"
|
|
8616
|
+
},
|
|
8617
|
+
"FlowEditorNode" : {
|
|
8618
|
+
"properties" : {
|
|
8619
|
+
"id" : {
|
|
8620
|
+
"type" : "string"
|
|
8621
|
+
},
|
|
8622
|
+
"position" : {
|
|
8623
|
+
"$ref" : "#/components/schemas/AdvancedFlowEditorNode_position"
|
|
8624
|
+
}
|
|
8625
|
+
},
|
|
8626
|
+
"required" : [ "id", "position" ],
|
|
8627
|
+
"type" : "object"
|
|
8628
|
+
},
|
|
8629
|
+
"FlowEditorUpdateRequest" : {
|
|
8630
|
+
"properties" : {
|
|
8631
|
+
"nodes" : {
|
|
8632
|
+
"items" : {
|
|
8633
|
+
"$ref" : "#/components/schemas/FlowEditorNode"
|
|
8634
|
+
},
|
|
8635
|
+
"type" : "array"
|
|
8636
|
+
}
|
|
8637
|
+
},
|
|
8638
|
+
"required" : [ "nodes" ],
|
|
8639
|
+
"type" : "object"
|
|
8640
|
+
},
|
|
8641
|
+
"FileCreationRequest" : {
|
|
8642
|
+
"properties" : {
|
|
8643
|
+
"name" : {
|
|
8644
|
+
"type" : "string"
|
|
8645
|
+
},
|
|
8646
|
+
"contentType" : {
|
|
8647
|
+
"description" : "MIME type of the image file",
|
|
8648
|
+
"type" : "string"
|
|
8649
|
+
},
|
|
8650
|
+
"ext" : {
|
|
8651
|
+
"description" : "File extension",
|
|
8652
|
+
"pattern" : "^[a-zA-Z0-9]{1,10}$",
|
|
8653
|
+
"type" : "string"
|
|
8654
|
+
},
|
|
8655
|
+
"size" : {
|
|
8656
|
+
"description" : "File size in bytes",
|
|
8657
|
+
"type" : "number"
|
|
8658
|
+
},
|
|
8659
|
+
"hash" : {
|
|
8660
|
+
"description" : "File hash",
|
|
8661
|
+
"type" : "string"
|
|
8662
|
+
}
|
|
8663
|
+
},
|
|
8664
|
+
"required" : [ "contentType", "ext", "size" ],
|
|
8665
|
+
"type" : "object"
|
|
8666
|
+
},
|
|
8667
|
+
"FileCreationResponse" : {
|
|
8668
|
+
"allOf" : [ {
|
|
8669
|
+
"$ref" : "#/components/schemas/File"
|
|
8670
|
+
}, {
|
|
8671
|
+
"$ref" : "#/components/schemas/S3UploadBody"
|
|
8672
|
+
} ]
|
|
8673
|
+
},
|
|
8674
|
+
"File" : {
|
|
8675
|
+
"properties" : {
|
|
8676
|
+
"name" : {
|
|
8677
|
+
"type" : "string"
|
|
8678
|
+
},
|
|
8679
|
+
"id" : {
|
|
8680
|
+
"type" : "string"
|
|
8681
|
+
},
|
|
8682
|
+
"contentType" : {
|
|
8683
|
+
"type" : "string"
|
|
8684
|
+
},
|
|
8685
|
+
"ext" : {
|
|
8686
|
+
"type" : "string"
|
|
8687
|
+
},
|
|
8688
|
+
"key" : {
|
|
8689
|
+
"type" : "string"
|
|
8690
|
+
},
|
|
8691
|
+
"size" : {
|
|
8692
|
+
"type" : "number"
|
|
8693
|
+
},
|
|
8694
|
+
"postURL" : {
|
|
8695
|
+
"type" : "string"
|
|
8696
|
+
},
|
|
8697
|
+
"formData" : {
|
|
8698
|
+
"$ref" : "#/components/schemas/File_formData"
|
|
7722
8699
|
},
|
|
7723
|
-
"formData" : {
|
|
7724
|
-
"$ref" : "#/components/schemas/File_formData"
|
|
7725
|
-
},
|
|
7726
8700
|
"createdAt" : {
|
|
7727
8701
|
"type" : "string"
|
|
7728
8702
|
},
|
|
@@ -8147,7 +9121,19 @@
|
|
|
8147
9121
|
},
|
|
8148
9122
|
"sequences" : {
|
|
8149
9123
|
"items" : {
|
|
8150
|
-
"$ref" : "#/components/schemas/
|
|
9124
|
+
"$ref" : "#/components/schemas/Sequence"
|
|
9125
|
+
},
|
|
9126
|
+
"type" : "array"
|
|
9127
|
+
},
|
|
9128
|
+
"animations" : {
|
|
9129
|
+
"items" : {
|
|
9130
|
+
"$ref" : "#/components/schemas/Animation"
|
|
9131
|
+
},
|
|
9132
|
+
"type" : "array"
|
|
9133
|
+
},
|
|
9134
|
+
"commands" : {
|
|
9135
|
+
"items" : {
|
|
9136
|
+
"$ref" : "#/components/schemas/App_commands_inner"
|
|
8151
9137
|
},
|
|
8152
9138
|
"type" : "array"
|
|
8153
9139
|
},
|
|
@@ -8247,6 +9233,42 @@
|
|
|
8247
9233
|
"required" : [ "id", "name" ],
|
|
8248
9234
|
"type" : "object"
|
|
8249
9235
|
},
|
|
9236
|
+
"Sequence" : {
|
|
9237
|
+
"properties" : {
|
|
9238
|
+
"id" : {
|
|
9239
|
+
"type" : "string"
|
|
9240
|
+
},
|
|
9241
|
+
"name" : {
|
|
9242
|
+
"type" : "string"
|
|
9243
|
+
},
|
|
9244
|
+
"contents" : {
|
|
9245
|
+
"$ref" : "#/components/schemas/Sequence_contents"
|
|
9246
|
+
}
|
|
9247
|
+
},
|
|
9248
|
+
"required" : [ "contents", "id", "name" ],
|
|
9249
|
+
"type" : "object"
|
|
9250
|
+
},
|
|
9251
|
+
"Animation" : {
|
|
9252
|
+
"properties" : {
|
|
9253
|
+
"category" : {
|
|
9254
|
+
"type" : "string"
|
|
9255
|
+
},
|
|
9256
|
+
"type" : {
|
|
9257
|
+
"type" : "string"
|
|
9258
|
+
},
|
|
9259
|
+
"animationId" : {
|
|
9260
|
+
"type" : "string"
|
|
9261
|
+
},
|
|
9262
|
+
"code" : {
|
|
9263
|
+
"type" : "string"
|
|
9264
|
+
},
|
|
9265
|
+
"name" : {
|
|
9266
|
+
"type" : "string"
|
|
9267
|
+
}
|
|
9268
|
+
},
|
|
9269
|
+
"required" : [ "animationId", "code", "name", "type" ],
|
|
9270
|
+
"type" : "object"
|
|
9271
|
+
},
|
|
8250
9272
|
"Instance" : {
|
|
8251
9273
|
"properties" : {
|
|
8252
9274
|
"id" : {
|
|
@@ -8299,13 +9321,34 @@
|
|
|
8299
9321
|
"type" : "object"
|
|
8300
9322
|
},
|
|
8301
9323
|
"AppConfiguration" : {
|
|
8302
|
-
"additionalProperties" :
|
|
9324
|
+
"additionalProperties" : false,
|
|
8303
9325
|
"properties" : {
|
|
9326
|
+
"colors" : {
|
|
9327
|
+
"$ref" : "#/components/schemas/AppConfiguration_colors"
|
|
9328
|
+
},
|
|
9329
|
+
"text" : {
|
|
9330
|
+
"$ref" : "#/components/schemas/AppConfiguration_text"
|
|
9331
|
+
},
|
|
9332
|
+
"image" : {
|
|
9333
|
+
"type" : "string"
|
|
9334
|
+
},
|
|
9335
|
+
"agentImage" : {
|
|
9336
|
+
"type" : "string"
|
|
9337
|
+
},
|
|
9338
|
+
"language" : {
|
|
9339
|
+
"items" : {
|
|
9340
|
+
"$ref" : "#/components/schemas/AppConfiguration_language_inner"
|
|
9341
|
+
},
|
|
9342
|
+
"type" : "array"
|
|
9343
|
+
},
|
|
8304
9344
|
"date" : {
|
|
9345
|
+
"format" : "date-time",
|
|
9346
|
+
"type" : "string"
|
|
9347
|
+
},
|
|
9348
|
+
"defaultLanguage" : {
|
|
8305
9349
|
"type" : "string"
|
|
8306
9350
|
}
|
|
8307
9351
|
},
|
|
8308
|
-
"required" : [ "date" ],
|
|
8309
9352
|
"type" : "object"
|
|
8310
9353
|
},
|
|
8311
9354
|
"AppUpdateRequest" : {
|
|
@@ -8336,6 +9379,11 @@
|
|
|
8336
9379
|
},
|
|
8337
9380
|
"lipsync" : {
|
|
8338
9381
|
"$ref" : "#/components/schemas/Lipsync"
|
|
9382
|
+
},
|
|
9383
|
+
"favoriteOutfit" : {
|
|
9384
|
+
"additionalProperties" : true,
|
|
9385
|
+
"maxProperties" : 100,
|
|
9386
|
+
"type" : "object"
|
|
8339
9387
|
}
|
|
8340
9388
|
},
|
|
8341
9389
|
"type" : "object"
|
|
@@ -8489,15 +9537,6 @@
|
|
|
8489
9537
|
"required" : [ "date" ],
|
|
8490
9538
|
"type" : "object"
|
|
8491
9539
|
},
|
|
8492
|
-
"AppConfigurationUpdateRequest" : {
|
|
8493
|
-
"additionalProperties" : true,
|
|
8494
|
-
"properties" : {
|
|
8495
|
-
"date" : {
|
|
8496
|
-
"type" : "string"
|
|
8497
|
-
}
|
|
8498
|
-
},
|
|
8499
|
-
"type" : "object"
|
|
8500
|
-
},
|
|
8501
9540
|
"AppTextToSpeechRequest" : {
|
|
8502
9541
|
"properties" : {
|
|
8503
9542
|
"text" : {
|
|
@@ -8541,6 +9580,100 @@
|
|
|
8541
9580
|
"required" : [ "ephemeral", "name" ],
|
|
8542
9581
|
"type" : "object"
|
|
8543
9582
|
},
|
|
9583
|
+
"AnimationCreateRequest" : {
|
|
9584
|
+
"properties" : {
|
|
9585
|
+
"category" : {
|
|
9586
|
+
"type" : "string"
|
|
9587
|
+
},
|
|
9588
|
+
"type" : {
|
|
9589
|
+
"type" : "string"
|
|
9590
|
+
},
|
|
9591
|
+
"animationId" : {
|
|
9592
|
+
"type" : "string"
|
|
9593
|
+
},
|
|
9594
|
+
"code" : {
|
|
9595
|
+
"type" : "string"
|
|
9596
|
+
},
|
|
9597
|
+
"name" : {
|
|
9598
|
+
"type" : "string"
|
|
9599
|
+
}
|
|
9600
|
+
},
|
|
9601
|
+
"required" : [ "animationId", "code", "name", "type" ],
|
|
9602
|
+
"type" : "object"
|
|
9603
|
+
},
|
|
9604
|
+
"BodyWithMessage" : {
|
|
9605
|
+
"properties" : {
|
|
9606
|
+
"message" : {
|
|
9607
|
+
"type" : "string"
|
|
9608
|
+
}
|
|
9609
|
+
},
|
|
9610
|
+
"required" : [ "message" ],
|
|
9611
|
+
"type" : "object"
|
|
9612
|
+
},
|
|
9613
|
+
"SequenceCreateRequest" : {
|
|
9614
|
+
"properties" : {
|
|
9615
|
+
"id" : {
|
|
9616
|
+
"type" : "string"
|
|
9617
|
+
},
|
|
9618
|
+
"name" : {
|
|
9619
|
+
"type" : "string"
|
|
9620
|
+
},
|
|
9621
|
+
"contents" : {
|
|
9622
|
+
"$ref" : "#/components/schemas/Sequence_contents"
|
|
9623
|
+
}
|
|
9624
|
+
},
|
|
9625
|
+
"required" : [ "contents", "id", "name" ],
|
|
9626
|
+
"type" : "object"
|
|
9627
|
+
},
|
|
9628
|
+
"Conversation" : {
|
|
9629
|
+
"properties" : {
|
|
9630
|
+
"id" : {
|
|
9631
|
+
"type" : "string"
|
|
9632
|
+
},
|
|
9633
|
+
"brainId" : {
|
|
9634
|
+
"type" : "string"
|
|
9635
|
+
},
|
|
9636
|
+
"agentId" : {
|
|
9637
|
+
"type" : "string"
|
|
9638
|
+
},
|
|
9639
|
+
"userId" : {
|
|
9640
|
+
"type" : "string"
|
|
9641
|
+
},
|
|
9642
|
+
"customUserId" : {
|
|
9643
|
+
"type" : "string"
|
|
9644
|
+
},
|
|
9645
|
+
"title" : {
|
|
9646
|
+
"nullable" : true,
|
|
9647
|
+
"type" : "string"
|
|
9648
|
+
},
|
|
9649
|
+
"messages" : {
|
|
9650
|
+
"items" : {
|
|
9651
|
+
"$ref" : "#/components/schemas/Conversation_messages_inner"
|
|
9652
|
+
},
|
|
9653
|
+
"type" : "array"
|
|
9654
|
+
},
|
|
9655
|
+
"metrics" : {
|
|
9656
|
+
"items" : {
|
|
9657
|
+
"$ref" : "#/components/schemas/Conversation_metrics_inner"
|
|
9658
|
+
},
|
|
9659
|
+
"type" : "array"
|
|
9660
|
+
},
|
|
9661
|
+
"cost" : {
|
|
9662
|
+
"additionalProperties" : {
|
|
9663
|
+
"type" : "number"
|
|
9664
|
+
},
|
|
9665
|
+
"type" : "object"
|
|
9666
|
+
},
|
|
9667
|
+
"createdAt" : {
|
|
9668
|
+
"type" : "string"
|
|
9669
|
+
},
|
|
9670
|
+
"updatedAt" : {
|
|
9671
|
+
"type" : "string"
|
|
9672
|
+
}
|
|
9673
|
+
},
|
|
9674
|
+
"required" : [ "brainId", "createdAt", "id", "messages", "updatedAt" ],
|
|
9675
|
+
"type" : "object"
|
|
9676
|
+
},
|
|
8544
9677
|
"AuthCodeRequest" : {
|
|
8545
9678
|
"properties" : {
|
|
8546
9679
|
"user" : {
|
|
@@ -9029,18 +10162,9 @@
|
|
|
9029
10162
|
"type" : "object"
|
|
9030
10163
|
} ]
|
|
9031
10164
|
},
|
|
9032
|
-
"
|
|
10165
|
+
"DefaultEngineRequest" : {
|
|
9033
10166
|
"properties" : {
|
|
9034
|
-
"
|
|
9035
|
-
"type" : "string"
|
|
9036
|
-
}
|
|
9037
|
-
},
|
|
9038
|
-
"required" : [ "message" ],
|
|
9039
|
-
"type" : "object"
|
|
9040
|
-
},
|
|
9041
|
-
"DefaultEngineRequest" : {
|
|
9042
|
-
"properties" : {
|
|
9043
|
-
"providerId" : {
|
|
10167
|
+
"providerId" : {
|
|
9044
10168
|
"type" : "string"
|
|
9045
10169
|
},
|
|
9046
10170
|
"model" : {
|
|
@@ -9433,9 +10557,33 @@
|
|
|
9433
10557
|
},
|
|
9434
10558
|
"name" : {
|
|
9435
10559
|
"type" : "string"
|
|
10560
|
+
},
|
|
10561
|
+
"slug" : {
|
|
10562
|
+
"type" : "string"
|
|
10563
|
+
},
|
|
10564
|
+
"engine" : {
|
|
10565
|
+
"$ref" : "#/components/schemas/OrganizationEngine"
|
|
10566
|
+
},
|
|
10567
|
+
"users" : {
|
|
10568
|
+
"items" : {
|
|
10569
|
+
"$ref" : "#/components/schemas/OrganizationUser"
|
|
10570
|
+
},
|
|
10571
|
+
"type" : "array"
|
|
10572
|
+
}
|
|
10573
|
+
},
|
|
10574
|
+
"required" : [ "id", "name", "slug" ],
|
|
10575
|
+
"type" : "object"
|
|
10576
|
+
},
|
|
10577
|
+
"OrganizationUser" : {
|
|
10578
|
+
"properties" : {
|
|
10579
|
+
"id" : {
|
|
10580
|
+
"type" : "string"
|
|
10581
|
+
},
|
|
10582
|
+
"role" : {
|
|
10583
|
+
"type" : "string"
|
|
9436
10584
|
}
|
|
9437
10585
|
},
|
|
9438
|
-
"required" : [ "id", "
|
|
10586
|
+
"required" : [ "id", "role" ],
|
|
9439
10587
|
"type" : "object"
|
|
9440
10588
|
},
|
|
9441
10589
|
"Role" : {
|
|
@@ -9462,6 +10610,21 @@
|
|
|
9462
10610
|
"required" : [ "color", "createdAt", "id", "name", "organizationId" ],
|
|
9463
10611
|
"type" : "object"
|
|
9464
10612
|
},
|
|
10613
|
+
"RoleCreateRequest" : {
|
|
10614
|
+
"properties" : {
|
|
10615
|
+
"name" : {
|
|
10616
|
+
"type" : "string"
|
|
10617
|
+
},
|
|
10618
|
+
"color" : {
|
|
10619
|
+
"type" : "string"
|
|
10620
|
+
},
|
|
10621
|
+
"description" : {
|
|
10622
|
+
"type" : "string"
|
|
10623
|
+
}
|
|
10624
|
+
},
|
|
10625
|
+
"required" : [ "color", "name" ],
|
|
10626
|
+
"type" : "object"
|
|
10627
|
+
},
|
|
9465
10628
|
"OrganizationEngine" : {
|
|
9466
10629
|
"additionalProperties" : false,
|
|
9467
10630
|
"description" : "Engine configuration attached to an organization.",
|
|
@@ -9607,6 +10770,19 @@
|
|
|
9607
10770
|
"enum" : [ "SCRAPING", "PENDING", "UPLOADED", "PROCESSING", "INDEXED" ],
|
|
9608
10771
|
"type" : "string"
|
|
9609
10772
|
},
|
|
10773
|
+
"KnowledgeFilesByIdsRequest" : {
|
|
10774
|
+
"properties" : {
|
|
10775
|
+
"ids" : {
|
|
10776
|
+
"items" : {
|
|
10777
|
+
"type" : "string"
|
|
10778
|
+
},
|
|
10779
|
+
"minItems" : 1,
|
|
10780
|
+
"type" : "array"
|
|
10781
|
+
}
|
|
10782
|
+
},
|
|
10783
|
+
"required" : [ "ids" ],
|
|
10784
|
+
"type" : "object"
|
|
10785
|
+
},
|
|
9610
10786
|
"ToolCreateRequest" : {
|
|
9611
10787
|
"additionalProperties" : false,
|
|
9612
10788
|
"properties" : {
|
|
@@ -9723,6 +10899,38 @@
|
|
|
9723
10899
|
"title" : "ToolSecure",
|
|
9724
10900
|
"type" : "object"
|
|
9725
10901
|
},
|
|
10902
|
+
"ToolUpdateRequest" : {
|
|
10903
|
+
"additionalProperties" : false,
|
|
10904
|
+
"properties" : {
|
|
10905
|
+
"name" : {
|
|
10906
|
+
"maxLength" : 150,
|
|
10907
|
+
"minLength" : 2,
|
|
10908
|
+
"type" : "string"
|
|
10909
|
+
},
|
|
10910
|
+
"description" : {
|
|
10911
|
+
"maxLength" : 1000,
|
|
10912
|
+
"minLength" : 0,
|
|
10913
|
+
"nullable" : true,
|
|
10914
|
+
"type" : "string"
|
|
10915
|
+
},
|
|
10916
|
+
"configuration" : {
|
|
10917
|
+
"additionalProperties" : true,
|
|
10918
|
+
"type" : "object"
|
|
10919
|
+
},
|
|
10920
|
+
"manifest" : {
|
|
10921
|
+
"additionalProperties" : true,
|
|
10922
|
+
"nullable" : true,
|
|
10923
|
+
"type" : "object"
|
|
10924
|
+
},
|
|
10925
|
+
"mcp" : {
|
|
10926
|
+
"additionalProperties" : true,
|
|
10927
|
+
"nullable" : true,
|
|
10928
|
+
"type" : "object"
|
|
10929
|
+
}
|
|
10930
|
+
},
|
|
10931
|
+
"title" : "ToolUpdateRequest",
|
|
10932
|
+
"type" : "object"
|
|
10933
|
+
},
|
|
9726
10934
|
"SetTokenRequest" : {
|
|
9727
10935
|
"additionalProperties" : false,
|
|
9728
10936
|
"properties" : {
|
|
@@ -9880,13 +11088,13 @@
|
|
|
9880
11088
|
"required" : [ "name" ],
|
|
9881
11089
|
"type" : "object"
|
|
9882
11090
|
},
|
|
9883
|
-
"
|
|
11091
|
+
"Conversation_1" : {
|
|
9884
11092
|
"properties" : {
|
|
9885
11093
|
"id" : {
|
|
9886
11094
|
"type" : "string"
|
|
9887
11095
|
},
|
|
9888
11096
|
"flowNode" : {
|
|
9889
|
-
"$ref" : "#/components/schemas/
|
|
11097
|
+
"$ref" : "#/components/schemas/Conversation_messages_inner_flowNode"
|
|
9890
11098
|
},
|
|
9891
11099
|
"messages" : {
|
|
9892
11100
|
"items" : {
|
|
@@ -10330,6 +11538,18 @@
|
|
|
10330
11538
|
"required" : [ "model", "providerId" ],
|
|
10331
11539
|
"type" : "object"
|
|
10332
11540
|
},
|
|
11541
|
+
"AdvancedFlowEditorNode_position" : {
|
|
11542
|
+
"properties" : {
|
|
11543
|
+
"x" : {
|
|
11544
|
+
"type" : "number"
|
|
11545
|
+
},
|
|
11546
|
+
"y" : {
|
|
11547
|
+
"type" : "number"
|
|
11548
|
+
}
|
|
11549
|
+
},
|
|
11550
|
+
"required" : [ "x", "y" ],
|
|
11551
|
+
"type" : "object"
|
|
11552
|
+
},
|
|
10333
11553
|
"File_formData" : {
|
|
10334
11554
|
"properties" : {
|
|
10335
11555
|
"fileName" : {
|
|
@@ -10428,15 +11648,20 @@
|
|
|
10428
11648
|
"required" : [ "latitude", "longitude" ],
|
|
10429
11649
|
"type" : "object"
|
|
10430
11650
|
},
|
|
10431
|
-
"
|
|
11651
|
+
"App_commands_inner" : {
|
|
10432
11652
|
"properties" : {
|
|
10433
|
-
"
|
|
11653
|
+
"name" : {
|
|
10434
11654
|
"type" : "string"
|
|
10435
11655
|
},
|
|
10436
|
-
"
|
|
11656
|
+
"command" : {
|
|
11657
|
+
"additionalProperties" : true,
|
|
11658
|
+
"type" : "object"
|
|
11659
|
+
},
|
|
11660
|
+
"category" : {
|
|
10437
11661
|
"type" : "string"
|
|
10438
11662
|
}
|
|
10439
11663
|
},
|
|
11664
|
+
"required" : [ "command", "name" ],
|
|
10440
11665
|
"type" : "object"
|
|
10441
11666
|
},
|
|
10442
11667
|
"App_instances_inner" : {
|
|
@@ -10458,6 +11683,171 @@
|
|
|
10458
11683
|
},
|
|
10459
11684
|
"type" : "object"
|
|
10460
11685
|
},
|
|
11686
|
+
"Sequence_contents" : {
|
|
11687
|
+
"properties" : {
|
|
11688
|
+
"text" : {
|
|
11689
|
+
"type" : "string"
|
|
11690
|
+
},
|
|
11691
|
+
"code" : {
|
|
11692
|
+
"type" : "string"
|
|
11693
|
+
}
|
|
11694
|
+
},
|
|
11695
|
+
"type" : "object"
|
|
11696
|
+
},
|
|
11697
|
+
"AppConfiguration_colors" : {
|
|
11698
|
+
"additionalProperties" : false,
|
|
11699
|
+
"properties" : {
|
|
11700
|
+
"primaryColors" : {
|
|
11701
|
+
"type" : "string"
|
|
11702
|
+
},
|
|
11703
|
+
"secondaryColors" : {
|
|
11704
|
+
"type" : "string"
|
|
11705
|
+
},
|
|
11706
|
+
"interruptColors" : {
|
|
11707
|
+
"type" : "string"
|
|
11708
|
+
},
|
|
11709
|
+
"wrongPushColors" : {
|
|
11710
|
+
"type" : "string"
|
|
11711
|
+
},
|
|
11712
|
+
"topTextColors" : {
|
|
11713
|
+
"type" : "string"
|
|
11714
|
+
},
|
|
11715
|
+
"primaryTextColors" : {
|
|
11716
|
+
"type" : "string"
|
|
11717
|
+
},
|
|
11718
|
+
"secondaryTextColors" : {
|
|
11719
|
+
"type" : "string"
|
|
11720
|
+
}
|
|
11721
|
+
},
|
|
11722
|
+
"type" : "object"
|
|
11723
|
+
},
|
|
11724
|
+
"AppConfiguration_text_introIOSView" : {
|
|
11725
|
+
"additionalProperties" : false,
|
|
11726
|
+
"properties" : {
|
|
11727
|
+
"topTextRotate" : {
|
|
11728
|
+
"additionalProperties" : {
|
|
11729
|
+
"type" : "string"
|
|
11730
|
+
},
|
|
11731
|
+
"type" : "object"
|
|
11732
|
+
},
|
|
11733
|
+
"topText1" : {
|
|
11734
|
+
"additionalProperties" : {
|
|
11735
|
+
"type" : "string"
|
|
11736
|
+
},
|
|
11737
|
+
"type" : "object"
|
|
11738
|
+
},
|
|
11739
|
+
"topText2" : {
|
|
11740
|
+
"additionalProperties" : {
|
|
11741
|
+
"type" : "string"
|
|
11742
|
+
},
|
|
11743
|
+
"type" : "object"
|
|
11744
|
+
},
|
|
11745
|
+
"primaryText1" : {
|
|
11746
|
+
"additionalProperties" : {
|
|
11747
|
+
"type" : "string"
|
|
11748
|
+
},
|
|
11749
|
+
"type" : "object"
|
|
11750
|
+
},
|
|
11751
|
+
"primaryText2" : {
|
|
11752
|
+
"additionalProperties" : {
|
|
11753
|
+
"type" : "string"
|
|
11754
|
+
},
|
|
11755
|
+
"type" : "object"
|
|
11756
|
+
},
|
|
11757
|
+
"buttonText" : {
|
|
11758
|
+
"additionalProperties" : {
|
|
11759
|
+
"type" : "string"
|
|
11760
|
+
},
|
|
11761
|
+
"type" : "object"
|
|
11762
|
+
},
|
|
11763
|
+
"quizzText" : {
|
|
11764
|
+
"additionalProperties" : {
|
|
11765
|
+
"type" : "string"
|
|
11766
|
+
},
|
|
11767
|
+
"type" : "object"
|
|
11768
|
+
},
|
|
11769
|
+
"bottomText" : {
|
|
11770
|
+
"additionalProperties" : {
|
|
11771
|
+
"type" : "string"
|
|
11772
|
+
},
|
|
11773
|
+
"type" : "object"
|
|
11774
|
+
}
|
|
11775
|
+
},
|
|
11776
|
+
"type" : "object"
|
|
11777
|
+
},
|
|
11778
|
+
"AppConfiguration_text_speakIOSView" : {
|
|
11779
|
+
"additionalProperties" : false,
|
|
11780
|
+
"properties" : {
|
|
11781
|
+
"quitText" : {
|
|
11782
|
+
"additionalProperties" : {
|
|
11783
|
+
"type" : "string"
|
|
11784
|
+
},
|
|
11785
|
+
"type" : "object"
|
|
11786
|
+
},
|
|
11787
|
+
"speakText" : {
|
|
11788
|
+
"additionalProperties" : {
|
|
11789
|
+
"type" : "string"
|
|
11790
|
+
},
|
|
11791
|
+
"type" : "object"
|
|
11792
|
+
},
|
|
11793
|
+
"interruptText" : {
|
|
11794
|
+
"additionalProperties" : {
|
|
11795
|
+
"type" : "string"
|
|
11796
|
+
},
|
|
11797
|
+
"type" : "object"
|
|
11798
|
+
},
|
|
11799
|
+
"wrongPushText" : {
|
|
11800
|
+
"additionalProperties" : {
|
|
11801
|
+
"type" : "string"
|
|
11802
|
+
},
|
|
11803
|
+
"type" : "object"
|
|
11804
|
+
},
|
|
11805
|
+
"suggestionUnderlineText" : {
|
|
11806
|
+
"additionalProperties" : {
|
|
11807
|
+
"type" : "string"
|
|
11808
|
+
},
|
|
11809
|
+
"type" : "object"
|
|
11810
|
+
},
|
|
11811
|
+
"suggestionText" : {
|
|
11812
|
+
"additionalProperties" : {
|
|
11813
|
+
"type" : "string"
|
|
11814
|
+
},
|
|
11815
|
+
"type" : "object"
|
|
11816
|
+
},
|
|
11817
|
+
"bottomText" : {
|
|
11818
|
+
"additionalProperties" : {
|
|
11819
|
+
"type" : "string"
|
|
11820
|
+
},
|
|
11821
|
+
"type" : "object"
|
|
11822
|
+
}
|
|
11823
|
+
},
|
|
11824
|
+
"type" : "object"
|
|
11825
|
+
},
|
|
11826
|
+
"AppConfiguration_text" : {
|
|
11827
|
+
"additionalProperties" : false,
|
|
11828
|
+
"properties" : {
|
|
11829
|
+
"introIOSView" : {
|
|
11830
|
+
"$ref" : "#/components/schemas/AppConfiguration_text_introIOSView"
|
|
11831
|
+
},
|
|
11832
|
+
"speakIOSView" : {
|
|
11833
|
+
"$ref" : "#/components/schemas/AppConfiguration_text_speakIOSView"
|
|
11834
|
+
}
|
|
11835
|
+
},
|
|
11836
|
+
"type" : "object"
|
|
11837
|
+
},
|
|
11838
|
+
"AppConfiguration_language_inner" : {
|
|
11839
|
+
"properties" : {
|
|
11840
|
+
"code" : {
|
|
11841
|
+
"example" : "fr",
|
|
11842
|
+
"type" : "string"
|
|
11843
|
+
},
|
|
11844
|
+
"label" : {
|
|
11845
|
+
"example" : "Français",
|
|
11846
|
+
"type" : "string"
|
|
11847
|
+
}
|
|
11848
|
+
},
|
|
11849
|
+
"type" : "object"
|
|
11850
|
+
},
|
|
10461
11851
|
"AppInstanceCreateRequest_oneOf" : {
|
|
10462
11852
|
"properties" : {
|
|
10463
11853
|
"name" : {
|
|
@@ -10467,6 +11857,151 @@
|
|
|
10467
11857
|
"required" : [ "name" ],
|
|
10468
11858
|
"type" : "object"
|
|
10469
11859
|
},
|
|
11860
|
+
"Conversation_messages_inner_suggestions_inner" : {
|
|
11861
|
+
"properties" : {
|
|
11862
|
+
"id" : {
|
|
11863
|
+
"type" : "string"
|
|
11864
|
+
},
|
|
11865
|
+
"text" : {
|
|
11866
|
+
"type" : "string"
|
|
11867
|
+
}
|
|
11868
|
+
},
|
|
11869
|
+
"required" : [ "id", "text" ],
|
|
11870
|
+
"type" : "object"
|
|
11871
|
+
},
|
|
11872
|
+
"Conversation_messages_inner_flowNode_entrypoints" : {
|
|
11873
|
+
"properties" : {
|
|
11874
|
+
"intents" : {
|
|
11875
|
+
"items" : {
|
|
11876
|
+
"type" : "string"
|
|
11877
|
+
},
|
|
11878
|
+
"type" : "array"
|
|
11879
|
+
}
|
|
11880
|
+
},
|
|
11881
|
+
"type" : "object"
|
|
11882
|
+
},
|
|
11883
|
+
"Conversation_messages_inner_flowNode" : {
|
|
11884
|
+
"properties" : {
|
|
11885
|
+
"id" : {
|
|
11886
|
+
"type" : "string"
|
|
11887
|
+
},
|
|
11888
|
+
"contents" : { },
|
|
11889
|
+
"entrypoints" : {
|
|
11890
|
+
"$ref" : "#/components/schemas/Conversation_messages_inner_flowNode_entrypoints"
|
|
11891
|
+
},
|
|
11892
|
+
"exits" : { }
|
|
11893
|
+
},
|
|
11894
|
+
"type" : "object"
|
|
11895
|
+
},
|
|
11896
|
+
"Conversation_messages_inner" : {
|
|
11897
|
+
"properties" : {
|
|
11898
|
+
"id" : {
|
|
11899
|
+
"type" : "string"
|
|
11900
|
+
},
|
|
11901
|
+
"role" : {
|
|
11902
|
+
"type" : "string"
|
|
11903
|
+
},
|
|
11904
|
+
"content" : {
|
|
11905
|
+
"type" : "string"
|
|
11906
|
+
},
|
|
11907
|
+
"timestamp" : {
|
|
11908
|
+
"type" : "string"
|
|
11909
|
+
},
|
|
11910
|
+
"cost" : {
|
|
11911
|
+
"additionalProperties" : {
|
|
11912
|
+
"type" : "number"
|
|
11913
|
+
},
|
|
11914
|
+
"type" : "object"
|
|
11915
|
+
},
|
|
11916
|
+
"suggestions" : {
|
|
11917
|
+
"items" : {
|
|
11918
|
+
"$ref" : "#/components/schemas/Conversation_messages_inner_suggestions_inner"
|
|
11919
|
+
},
|
|
11920
|
+
"type" : "array"
|
|
11921
|
+
},
|
|
11922
|
+
"flowNode" : {
|
|
11923
|
+
"$ref" : "#/components/schemas/Conversation_messages_inner_flowNode"
|
|
11924
|
+
},
|
|
11925
|
+
"audio" : {
|
|
11926
|
+
"items" : {
|
|
11927
|
+
"$ref" : "#/components/schemas/ChatMessage_audio_inner"
|
|
11928
|
+
},
|
|
11929
|
+
"type" : "array"
|
|
11930
|
+
}
|
|
11931
|
+
},
|
|
11932
|
+
"required" : [ "content", "id", "role", "timestamp" ],
|
|
11933
|
+
"type" : "object"
|
|
11934
|
+
},
|
|
11935
|
+
"Conversation_metrics_inner_source" : {
|
|
11936
|
+
"properties" : {
|
|
11937
|
+
"type" : {
|
|
11938
|
+
"enum" : [ "CONVERSATION" ],
|
|
11939
|
+
"type" : "string"
|
|
11940
|
+
},
|
|
11941
|
+
"conversationId" : {
|
|
11942
|
+
"type" : "string"
|
|
11943
|
+
},
|
|
11944
|
+
"messageId" : {
|
|
11945
|
+
"type" : "string"
|
|
11946
|
+
}
|
|
11947
|
+
},
|
|
11948
|
+
"required" : [ "conversationId", "messageId", "type" ],
|
|
11949
|
+
"type" : "object"
|
|
11950
|
+
},
|
|
11951
|
+
"Conversation_metrics_inner_value_inner_cost" : {
|
|
11952
|
+
"properties" : {
|
|
11953
|
+
"amount" : {
|
|
11954
|
+
"type" : "number"
|
|
11955
|
+
},
|
|
11956
|
+
"currency" : {
|
|
11957
|
+
"type" : "string"
|
|
11958
|
+
}
|
|
11959
|
+
},
|
|
11960
|
+
"required" : [ "amount", "currency" ],
|
|
11961
|
+
"type" : "object"
|
|
11962
|
+
},
|
|
11963
|
+
"Conversation_metrics_inner_value_inner" : {
|
|
11964
|
+
"properties" : {
|
|
11965
|
+
"units" : {
|
|
11966
|
+
"type" : "string"
|
|
11967
|
+
},
|
|
11968
|
+
"type" : {
|
|
11969
|
+
"type" : "string"
|
|
11970
|
+
},
|
|
11971
|
+
"amount" : {
|
|
11972
|
+
"type" : "number"
|
|
11973
|
+
},
|
|
11974
|
+
"model" : {
|
|
11975
|
+
"type" : "string"
|
|
11976
|
+
},
|
|
11977
|
+
"provider" : {
|
|
11978
|
+
"type" : "string"
|
|
11979
|
+
},
|
|
11980
|
+
"cost" : {
|
|
11981
|
+
"$ref" : "#/components/schemas/Conversation_metrics_inner_value_inner_cost"
|
|
11982
|
+
}
|
|
11983
|
+
},
|
|
11984
|
+
"required" : [ "amount", "model", "provider", "type", "units" ],
|
|
11985
|
+
"type" : "object"
|
|
11986
|
+
},
|
|
11987
|
+
"Conversation_metrics_inner" : {
|
|
11988
|
+
"properties" : {
|
|
11989
|
+
"source" : {
|
|
11990
|
+
"$ref" : "#/components/schemas/Conversation_metrics_inner_source"
|
|
11991
|
+
},
|
|
11992
|
+
"task" : {
|
|
11993
|
+
"type" : "string"
|
|
11994
|
+
},
|
|
11995
|
+
"value" : {
|
|
11996
|
+
"items" : {
|
|
11997
|
+
"$ref" : "#/components/schemas/Conversation_metrics_inner_value_inner"
|
|
11998
|
+
},
|
|
11999
|
+
"type" : "array"
|
|
12000
|
+
}
|
|
12001
|
+
},
|
|
12002
|
+
"required" : [ "source", "task", "value" ],
|
|
12003
|
+
"type" : "object"
|
|
12004
|
+
},
|
|
10470
12005
|
"ChunkCreateRequest_content_inner" : {
|
|
10471
12006
|
"properties" : {
|
|
10472
12007
|
"fileName" : {
|
|
@@ -10643,30 +12178,6 @@
|
|
|
10643
12178
|
},
|
|
10644
12179
|
"type" : "object"
|
|
10645
12180
|
},
|
|
10646
|
-
"Conversation_flowNode_entrypoints" : {
|
|
10647
|
-
"properties" : {
|
|
10648
|
-
"intents" : {
|
|
10649
|
-
"items" : {
|
|
10650
|
-
"type" : "string"
|
|
10651
|
-
},
|
|
10652
|
-
"type" : "array"
|
|
10653
|
-
}
|
|
10654
|
-
},
|
|
10655
|
-
"type" : "object"
|
|
10656
|
-
},
|
|
10657
|
-
"Conversation_flowNode" : {
|
|
10658
|
-
"properties" : {
|
|
10659
|
-
"id" : {
|
|
10660
|
-
"type" : "string"
|
|
10661
|
-
},
|
|
10662
|
-
"contents" : { },
|
|
10663
|
-
"entrypoints" : {
|
|
10664
|
-
"$ref" : "#/components/schemas/Conversation_flowNode_entrypoints"
|
|
10665
|
-
},
|
|
10666
|
-
"exits" : { }
|
|
10667
|
-
},
|
|
10668
|
-
"type" : "object"
|
|
10669
|
-
},
|
|
10670
12181
|
"FillersArray_inner" : {
|
|
10671
12182
|
"properties" : {
|
|
10672
12183
|
"id" : {
|