summaryrefslogtreecommitdiff
path: root/data/chatbot/2017-10-11
diff options
context:
space:
mode:
Diffstat (limited to 'data/chatbot/2017-10-11')
-rw-r--r--data/chatbot/2017-10-11/api-docs.php2598
1 files changed, 524 insertions, 2074 deletions
diff --git a/data/chatbot/2017-10-11/api-docs.php b/data/chatbot/2017-10-11/api-docs.php
index c9f84a6..fbc2085 100644
--- a/data/chatbot/2017-10-11/api-docs.php
+++ b/data/chatbot/2017-10-11/api-docs.php
@@ -1,79 +1,46 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Chatbot',
- 'version' => '2017-10-11',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Chatbot', 'version' => '2017-10-11'],
'components' => [
'schemas' => [
'Children' => [
'type' => 'object',
'properties' => [
- 'CategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ParentCategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'AreaCode' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'CategoryId' => ['type' => 'integer', 'format' => 'int64'],
+ 'ParentCategoryId' => ['type' => 'integer', 'format' => 'int64'],
+ 'AreaCode' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
'Childrens' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Children',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Children'],
],
],
],
'IntentCreateDTO' => [
'type' => 'object',
'properties' => [
- 'IntentId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'IntentId' => ['type' => 'integer', 'format' => 'int64'],
+ 'Name' => ['type' => 'string'],
'UserSay' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UsersayMtopDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UsersayMtopDTO'],
],
'RuleCheck' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/RuleMtopDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/RuleMtopDTO'],
],
'Slot' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SlotrecordMtopDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/SlotrecordMtopDTO'],
],
],
],
'PaasButtonDTO' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Text' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
+ 'Name' => ['type' => 'string'],
+ 'Text' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
],
],
'PaasButtonListDTO' => [
@@ -81,33 +48,19 @@
'properties' => [
'Button' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasButtonDTO',
- ],
- ],
- 'Intro' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/PaasButtonDTO'],
],
+ 'Intro' => ['type' => 'string'],
],
],
'PaasConditionEntryDTO' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'string',
- ],
- 'Term' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'string'],
+ 'Term' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
'PaasConditionSetDTO' => [
@@ -115,35 +68,23 @@
'properties' => [
'ConditionEntries' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasConditionEntryDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/PaasConditionEntryDTO'],
],
],
],
'PaasEdgeDTO' => [
'type' => 'object',
'properties' => [
- 'Target' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Source' => [
- 'type' => 'string',
- ],
- 'Label' => [
- 'type' => 'string',
- ],
+ 'Target' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Source' => ['type' => 'string'],
+ 'Label' => ['type' => 'string'],
],
],
'PaasEntryDTO' => [
'type' => 'object',
'properties' => [
- 'PluginFieldDataEntry' => [
- '$ref' => '#/components/schemas/PaasEntryPluginFieldDataDTO',
- ],
+ 'PluginFieldDataEntry' => ['$ref' => '#/components/schemas/PaasEntryPluginFieldDataDTO'],
],
],
'PaasEntryPluginFieldDataDTO' => [
@@ -151,133 +92,70 @@
'properties' => [
'ContentEntry' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasConditionSetDTO',
- ],
- ],
- 'LifeSpan' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Name' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/PaasConditionSetDTO'],
],
+ 'LifeSpan' => ['type' => 'integer', 'format' => 'int64'],
+ 'Name' => ['type' => 'string'],
],
],
'PaasFunctionDTO' => [
'type' => 'object',
'properties' => [
- 'PluginFieldDataFunction' => [
- '$ref' => '#/components/schemas/PaasFunctionPluginFieldDataDTO',
- ],
+ 'PluginFieldDataFunction' => ['$ref' => '#/components/schemas/PaasFunctionPluginFieldDataDTO'],
],
],
'PaasFunctionPluginFieldDataDTO' => [
'type' => 'object',
'properties' => [
- 'Function' => [
- 'type' => 'string',
- ],
- 'AliyunFunction' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'EndPoint' => [
- 'type' => 'string',
- ],
- 'Code' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'AliyunService' => [
- 'type' => 'string',
- ],
+ 'Function' => ['type' => 'string'],
+ 'AliyunFunction' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'EndPoint' => ['type' => 'string'],
+ 'Code' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'AliyunService' => ['type' => 'string'],
'Switch' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasSwitchCaseDTO',
- ],
- ],
- 'Params' => [
- 'type' => 'object',
+ 'items' => ['$ref' => '#/components/schemas/PaasSwitchCaseDTO'],
],
+ 'Params' => ['type' => 'object'],
],
],
'PaasFunctionPluginParams' => [
'type' => 'object',
'properties' => [
- 'Method' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Method' => ['type' => 'string', 'required' => true],
'Query' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
'Header' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'Body' => [
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- 'required' => true,
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'Body' => ['type' => 'string'],
+ 'Url' => ['type' => 'string', 'required' => true],
],
],
'PaasNodeDTO' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Label' => [
- 'type' => 'string',
- ],
- 'Xx' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'Yy' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'PluginData' => [
- '$ref' => '#/components/schemas/PaasPluginDataDTO',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
+ 'Label' => ['type' => 'string'],
+ 'Xx' => ['type' => 'number', 'format' => 'double'],
+ 'Yy' => ['type' => 'number', 'format' => 'double'],
+ 'PluginData' => ['$ref' => '#/components/schemas/PaasPluginDataDTO'],
],
],
'PaasPluginDataDTO' => [
'type' => 'object',
'properties' => [
- 'Entry' => [
- '$ref' => '#/components/schemas/PaasEntryDTO',
- ],
- 'Slot' => [
- '$ref' => '#/components/schemas/PaasSlotDTO',
- ],
- 'Response' => [
- '$ref' => '#/components/schemas/PaasResponseDTO',
- ],
- 'Function' => [
- '$ref' => '#/components/schemas/PaasFunctionDTO',
- ],
+ 'Entry' => ['$ref' => '#/components/schemas/PaasEntryDTO'],
+ 'Slot' => ['$ref' => '#/components/schemas/PaasSlotDTO'],
+ 'Response' => ['$ref' => '#/components/schemas/PaasResponseDTO'],
+ 'Function' => ['$ref' => '#/components/schemas/PaasFunctionDTO'],
],
],
'PaasProcessData' => [
@@ -285,211 +163,125 @@
'properties' => [
'Nodes' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasNodeDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/PaasNodeDTO'],
],
'Edges' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasEdgeDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/PaasEdgeDTO'],
],
],
],
'PaasResponseDTO' => [
'type' => 'object',
'properties' => [
- 'PluginFieldDataResponse' => [
- '$ref' => '#/components/schemas/PaasResponsePluginFieldDataDTO',
- ],
+ 'PluginFieldDataResponse' => ['$ref' => '#/components/schemas/PaasResponsePluginFieldDataDTO'],
],
],
'PaasResponseNodeContentDTO' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'Text' => [
- 'type' => 'string',
- ],
- 'Image' => [
- 'type' => 'string',
- ],
- 'ButtonList' => [
- '$ref' => '#/components/schemas/PaasButtonListDTO',
- ],
+ 'Type' => ['type' => 'string'],
+ 'Text' => ['type' => 'string'],
+ 'Image' => ['type' => 'string'],
+ 'ButtonList' => ['$ref' => '#/components/schemas/PaasButtonListDTO'],
],
],
'PaasResponsePluginFieldDataDTO' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'ContentResponse' => [
- '$ref' => '#/components/schemas/PaasResponseNodeContentDTO',
- ],
+ 'Name' => ['type' => 'string'],
+ 'ContentResponse' => ['$ref' => '#/components/schemas/PaasResponseNodeContentDTO'],
],
],
'PaasSlotConfigDTO' => [
'type' => 'object',
'properties' => [
- 'IsArray' => [
- 'type' => 'boolean',
- ],
- 'IsNecessary' => [
- 'type' => 'boolean',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'LifeSpan' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'IsArray' => ['type' => 'boolean'],
+ 'IsNecessary' => ['type' => 'boolean'],
+ 'Value' => ['type' => 'string'],
+ 'LifeSpan' => ['type' => 'integer', 'format' => 'int32'],
+ 'Name' => ['type' => 'string'],
'Question' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'PaasSlotDTO' => [
'type' => 'object',
'properties' => [
- 'PluginFieldDataSlot' => [
- '$ref' => '#/components/schemas/PaasSlotPluginFieldDataDTO',
- ],
+ 'PluginFieldDataSlot' => ['$ref' => '#/components/schemas/PaasSlotPluginFieldDataDTO'],
],
],
'PaasSlotPluginFieldDataDTO' => [
'type' => 'object',
'properties' => [
- 'IntentName' => [
- 'type' => 'string',
- ],
- 'IntentId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'IsSysIntent' => [
- 'type' => 'boolean',
- ],
+ 'IntentName' => ['type' => 'string'],
+ 'IntentId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'IsSysIntent' => ['type' => 'boolean'],
'ContentSlot' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasSlotConfigDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/PaasSlotConfigDTO'],
],
],
],
'PaasSwitchCaseDTO' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'string',
- ],
- 'Label' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'VariableName' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'string'],
+ 'Label' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'VariableName' => ['type' => 'string'],
],
],
'RuleMtopDTO' => [
'type' => 'object',
'properties' => [
- 'Strict' => [
- 'type' => 'boolean',
- ],
- 'Text' => [
- 'type' => 'string',
- ],
+ 'Strict' => ['type' => 'boolean'],
+ 'Text' => ['type' => 'string'],
'Warning' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'Error' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'SectionMtopDTO' => [
'type' => 'object',
'properties' => [
- 'SlotId' => [
- 'type' => 'string',
- ],
- 'Text' => [
- 'type' => 'string',
- ],
+ 'SlotId' => ['type' => 'string'],
+ 'Text' => ['type' => 'string'],
],
],
'SlotrecordMtopDTO' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'string'],
'Question' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'LifeSpan' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'IsArray' => [
- 'type' => 'boolean',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'IsNecessary' => [
- 'type' => 'boolean',
+ 'items' => ['type' => 'string'],
],
+ 'LifeSpan' => ['type' => 'integer', 'format' => 'int32'],
+ 'Name' => ['type' => 'string'],
+ 'IsArray' => ['type' => 'boolean'],
+ 'Value' => ['type' => 'string'],
+ 'IsNecessary' => ['type' => 'boolean'],
'Tags' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TagMtopDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/TagMtopDTO'],
],
],
],
'TagMtopDTO' => [
'type' => 'object',
'properties' => [
- 'UserSayId' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'UserSayId' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
'UpdateDialogFlowModuleDefinition' => [
@@ -497,47 +289,31 @@
'properties' => [
'Nodes' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasNodeDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/PaasNodeDTO'],
],
'Edges' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PaasEdgeDTO',
- ],
+ 'items' => ['$ref' => '#/components/schemas/PaasEdgeDTO'],
],
],
],
'UsersayMtopDTO' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'string'],
'Data' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SectionMtopDTO',
- ],
- ],
- 'Strict' => [
- 'type' => 'boolean',
+ 'items' => ['$ref' => '#/components/schemas/SectionMtopDTO'],
],
+ 'Strict' => ['type' => 'boolean'],
],
],
],
],
'apis' => [
'GetAsyncResult' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -548,32 +324,18 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minimum' => '0',
- 'maximum' => '100000000',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minimum' => '0', 'maximum' => '100000000'],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'Associate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -584,37 +346,22 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Utterance',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RecommendNum',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'exclusiveMinimum' => false,
- 'exclusiveMaximum' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'exclusiveMinimum' => false, 'exclusiveMaximum' => false],
],
[
'name' => 'Perspective',
@@ -623,32 +370,20 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 20,
],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'Chat' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -659,74 +394,47 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'KnowledgeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SenderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SenderNick',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Tag',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Utterance',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'IntentName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VendorParam',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Perspective',
@@ -735,32 +443,20 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 20,
],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'Feedback' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -770,54 +466,33 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MessageId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Feedback',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreatePerspective' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -828,30 +503,18 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeletePerspective' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -862,30 +525,18 @@
[
'name' => 'PerspectiveId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdatePerspective' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -896,38 +547,23 @@
[
'name' => 'PerspectiveId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ActivatePerspective' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -938,30 +574,18 @@
[
'name' => 'PerspectiveId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribePerspective' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -972,30 +596,18 @@
[
'name' => 'PerspectiveId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryPerspectives' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1006,22 +618,13 @@
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateCategory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1031,39 +634,23 @@
[
'name' => 'ParentCategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteCategory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1073,31 +660,18 @@
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateCategory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1107,39 +681,23 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeCategory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1149,31 +707,18 @@
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryCategories' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1183,47 +728,28 @@
[
'name' => 'ParentCategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'ShowChildrens',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'KnowledgeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateKnowledge' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1238,20 +764,9 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'CategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- 'KnowledgeTitle' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'KnowledgeType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'CategoryId' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'KnowledgeTitle' => ['type' => 'string', 'required' => true],
+ 'KnowledgeType' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
'Solutions' => [
'type' => 'array',
'required' => true,
@@ -1259,33 +774,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Content' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'PlainText' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Content' => ['type' => 'string', 'required' => true],
+ 'PlainText' => ['type' => 'string', 'required' => true],
'PerspectiveIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'StartDate' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EndDate' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'StartDate' => ['type' => 'string', 'required' => false],
+ 'EndDate' => ['type' => 'string', 'required' => false],
'Outlines' => [
'type' => 'array',
'required' => false,
@@ -1293,20 +793,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'KnowledgeId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'OutlineId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'Title' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'KnowledgeId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'OutlineId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'Title' => ['type' => 'string', 'required' => false],
],
],
],
@@ -1317,10 +806,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Title' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Title' => ['type' => 'string', 'required' => true],
],
],
],
@@ -1330,22 +816,13 @@
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteKnowledge' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1355,30 +832,18 @@
[
'name' => 'KnowledgeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateKnowledge' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1393,20 +858,9 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'CategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'KnowledgeTitle' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'KnowledgeType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'CategoryId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'KnowledgeTitle' => ['type' => 'string', 'required' => true],
+ 'KnowledgeType' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
'Solutions' => [
'type' => 'array',
'required' => true,
@@ -1414,42 +868,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Content' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'PlainText' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SolutionId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'Content' => ['type' => 'string', 'required' => true],
+ 'PlainText' => ['type' => 'string', 'required' => true],
+ 'SolutionId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
'PerspectiveIds' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'Action' => [
- 'type' => 'string',
- 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'Action' => ['type' => 'string', 'required' => true],
],
],
],
- 'StartDate' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EndDate' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'StartDate' => ['type' => 'string', 'required' => false],
+ 'EndDate' => ['type' => 'string', 'required' => false],
'Outlines' => [
'type' => 'array',
'required' => false,
@@ -1457,24 +889,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'KnowledgeId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- 'Title' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'OutlineId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'Action' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'KnowledgeId' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'Title' => ['type' => 'string', 'required' => true],
+ 'OutlineId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'Action' => ['type' => 'string', 'required' => true],
],
],
],
@@ -1485,49 +903,26 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Title' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SimQuestionId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'Action' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Title' => ['type' => 'string', 'required' => true],
+ 'SimQuestionId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'Action' => ['type' => 'string', 'required' => true],
],
],
],
- 'KnowledgeId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'KnowledgeId' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DisableKnowledge' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1537,31 +932,18 @@
[
'name' => 'KnowledgeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeKnowledge' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1571,31 +953,18 @@
[
'name' => 'KnowledgeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetBotKnowledgeStatData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1606,46 +975,28 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryKnowledges' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1655,65 +1006,38 @@
[
'name' => 'KnowledgeTitle',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'PublishKnowledge' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1723,39 +1047,23 @@
[
'name' => 'KnowledgeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'Async',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'MoveKnowledgeCategory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1765,40 +1073,23 @@
[
'name' => 'KnowledgeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'AddSynonym' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1808,38 +1099,23 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Synonym',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateCoreWord' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1849,30 +1125,18 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteCoreWord' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1882,30 +1146,18 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateCoreWord' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1915,38 +1167,23 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'CoreWordCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeCoreWord' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1956,30 +1193,18 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryCoreWords' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1989,56 +1214,33 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Synonym',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'RemoveSynonym' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2048,38 +1250,23 @@
[
'name' => 'CoreWordName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Synonym',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2089,35 +1276,22 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'EntityName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EntityType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Regex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Members',
@@ -2130,17 +1304,11 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'MemberName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'MemberName' => ['type' => 'string', 'required' => false],
'Synonyms' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -2149,22 +1317,13 @@
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2174,31 +1333,18 @@
[
'name' => 'EntityId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2208,35 +1354,22 @@
[
'name' => 'EntityId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'EntityName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EntityType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Regex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Members',
@@ -2249,17 +1382,11 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'MemberName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'MemberName' => ['type' => 'string', 'required' => false],
'Synonyms' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -2268,22 +1395,13 @@
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeEntities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2293,31 +1411,18 @@
[
'name' => 'EntityId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QuerySystemEntities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2327,30 +1432,18 @@
[
'name' => 'EntityName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryEntities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2360,57 +1453,33 @@
[
'name' => 'EntityName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'AppendEntityMember' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2420,19 +1489,12 @@
[
'name' => 'EntityId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'ApplyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Member',
@@ -2442,17 +1504,11 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'MemberName' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'MemberName' => ['type' => 'string', 'required' => true],
'Synonyms' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -2460,22 +1516,13 @@
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'RemoveEntityMember' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2485,19 +1532,12 @@
[
'name' => 'EntityId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'RemoveType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Member',
@@ -2507,17 +1547,11 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'MemberName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'MemberName' => ['type' => 'string', 'required' => false],
'Synonyms' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -2525,22 +1559,13 @@
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateDialog' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2550,46 +1575,28 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DialogName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteDialog' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2599,31 +1606,18 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateDialog' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2633,47 +1627,28 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'DialogName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeDialog' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2683,31 +1658,18 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryDialogs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2718,56 +1680,33 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DialogName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DisableDialogFlow' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2777,31 +1716,18 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateDialogFlow' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2811,11 +1737,7 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'ModuleDefinition',
@@ -2825,36 +1747,21 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'GlobalVars' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'ModuleDefinition' => [
- '$ref' => '#/components/schemas/PaasProcessData',
- 'required' => false,
- ],
+ 'GlobalVars' => ['type' => 'object', 'required' => false],
+ 'ModuleDefinition' => ['$ref' => '#/components/schemas/PaasProcessData', 'required' => false],
],
],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeDialogFlow' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2864,31 +1771,18 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'PublishDialogFlow' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2898,31 +1792,18 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'TestDialogFlow' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2932,31 +1813,18 @@
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateIntent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2967,39 +1835,23 @@
'name' => 'IntentDefinition',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- '$ref' => '#/components/schemas/IntentCreateDTO',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/IntentCreateDTO', 'required' => true],
],
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteIntent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3009,31 +1861,18 @@
[
'name' => 'IntentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateIntent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3044,39 +1883,23 @@
'name' => 'IntentDefinition',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- '$ref' => '#/components/schemas/IntentCreateDTO',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/IntentCreateDTO', 'required' => true],
],
[
'name' => 'IntentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryIntents' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3086,65 +1909,38 @@
[
'name' => 'IntentName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DialogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeIntent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3154,31 +1950,18 @@
[
'name' => 'IntentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateBot' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3189,62 +1972,38 @@
[
'name' => 'LanguageCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Avatar',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Introduction',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RobotType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteBot' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3255,30 +2014,18 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeBot' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3289,30 +2036,18 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryBots' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3323,40 +2058,23 @@
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListConversationLogs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3366,30 +2084,18 @@
[
'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotChatHistorys' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3399,55 +2105,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetConversationList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3458,78 +2142,48 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SenderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetBotDsStatData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3540,46 +2194,28 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotColdDsDatas' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3589,55 +2225,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotDsDetails' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3647,55 +2261,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotHotDsDatas' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3705,55 +2297,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetBotChatData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3764,46 +2334,28 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetBotSessionData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3814,46 +2366,28 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotColdKnowledges' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3863,55 +2397,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotHotKnowledges' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3922,55 +2434,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotKnowledgeDetails' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3980,54 +2470,33 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListBotReceptionDetailDatas' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4037,46 +2506,27 @@
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RobotInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AgentKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'chatbot.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'chatbot.cn-hongkong.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'chatbot.cn-shanghai.aliyuncs.com'],
],
];