@cognigy/rest-api-client 2025.15.1 → 2025.16.0
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/CHANGELOG.md +10 -0
- package/build/apigroups/MetricsAPIGroup_2_0.js +10 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +6 -0
- package/build/apigroups/SimulationAPIGroup_2_0.js +4 -0
- package/build/shared/charts/descriptors/logic/if/if.js +2 -2
- package/build/shared/charts/descriptors/logic/switch/switch.js +30 -21
- package/build/shared/charts/descriptors/message/question/question.js +3 -3
- package/build/shared/charts/descriptors/message/question/utils/validateQuestionAnswer.js +2 -2
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +29 -22
- package/build/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +4 -4
- package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +24 -18
- package/build/shared/charts/descriptors/transcripts/addTranscriptStep.js +3 -3
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/build/shared/interfaces/resources/IGetAiAgentJobsTools.js +3 -0
- package/build/shared/interfaces/resources/IKnowledgeDescriptor.js +38 -5
- package/build/shared/interfaces/resources/ILargeLanguageModel.js +15 -1
- package/build/shared/interfaces/restAPI/metrics/callCounter/v3.0/ICallCounterPreAggregatedValue_3_0.js +3 -0
- package/build/shared/interfaces/restAPI/metrics/callCounter/v3.0/IGetCallCounterOrganisationRest_3_0.js +3 -0
- package/build/shared/interfaces/restAPI/metrics/callCounter/v3.0/IGetCallCounterRest_3_0.js +3 -0
- package/build/shared/interfaces/restAPI/metrics/callCounter/v3.0/index.js +3 -0
- package/build/shared/interfaces/restAPI/resources/aiAgent/v2.0/IAiAgentJobNodeWithTools_2_0.js +65 -0
- package/build/shared/interfaces/restAPI/resources/aiAgent/v2.0/IGetAiAgentJobAndToolsRest_2_0 .js +4 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IIndexKnowledgeDescriptorsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/extension/IRunKnowledgeExtensionRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/index.js +16 -0
- package/build/shared/interfaces/restAPI/simulation/simulationRunBatch/IStopSimulationRunBatchRest_2_0.js +3 -0
- package/build/shared/interfaces/security/ICallCounterPreAggregatedValue.js +3 -0
- package/dist/esm/apigroups/MetricsAPIGroup_2_0.js +10 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +6 -0
- package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +4 -0
- package/dist/esm/shared/charts/descriptors/logic/if/if.js +2 -2
- package/dist/esm/shared/charts/descriptors/logic/switch/switch.js +30 -21
- package/dist/esm/shared/charts/descriptors/message/question/question.js +3 -3
- package/dist/esm/shared/charts/descriptors/message/question/utils/validateQuestionAnswer.js +4 -3
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +28 -21
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +4 -4
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +31 -25
- package/dist/esm/shared/charts/descriptors/transcripts/addTranscriptStep.js +3 -3
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/dist/esm/shared/interfaces/resources/IGetAiAgentJobsTools.js +2 -0
- package/dist/esm/shared/interfaces/resources/IKnowledgeDescriptor.js +37 -5
- package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +13 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v3.0/ICallCounterPreAggregatedValue_3_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v3.0/IGetCallCounterOrganisationRest_3_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v3.0/IGetCallCounterRest_3_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v3.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IAiAgentJobNodeWithTools_2_0.js +65 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IGetAiAgentJobAndToolsRest_2_0 .js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IIndexKnowledgeDescriptorsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/extension/IRunKnowledgeExtensionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/index.js +2 -1
- package/dist/esm/shared/interfaces/restAPI/simulation/simulationRunBatch/IStopSimulationRunBatchRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/security/ICallCounterPreAggregatedValue.js +2 -0
- package/package.json +1 -1
- package/types/index.d.ts +257 -23
package/types/index.d.ts
CHANGED
|
@@ -4389,6 +4389,7 @@ declare const generativeAIModels: readonly [
|
|
|
4389
4389
|
"pixtral-large-latest",
|
|
4390
4390
|
"mistral-medium-latest",
|
|
4391
4391
|
"mistral-small-latest",
|
|
4392
|
+
"text-davinci-003",
|
|
4392
4393
|
"text-embedding-3-small",
|
|
4393
4394
|
"text-embedding-3-large",
|
|
4394
4395
|
"text-embedding-ada-002",
|
|
@@ -4416,11 +4417,7 @@ declare const generativeAIModels: readonly [
|
|
|
4416
4417
|
* - claude-v1-100k
|
|
4417
4418
|
* - claude-instant-v1
|
|
4418
4419
|
* - claude-3-opus-20240229
|
|
4419
|
-
* - text-bison@001
|
|
4420
4420
|
* - custom-model
|
|
4421
|
-
* - gemini-1.0-pro
|
|
4422
|
-
* - gemini-1.5-pro
|
|
4423
|
-
* - gemini-1.5-flash
|
|
4424
4421
|
* - gemini-2.0-flash
|
|
4425
4422
|
* - gemini-2.0-flash-lite
|
|
4426
4423
|
* - mistral-large-2411
|
|
@@ -8835,7 +8832,7 @@ export interface IGraphLargeLanguageModel {
|
|
|
8835
8832
|
_id: TMongoId;
|
|
8836
8833
|
name: string;
|
|
8837
8834
|
referenceId: string;
|
|
8838
|
-
properties: Pick<ILargeLanguageModel, "connectionId" | "createdAt" | "createdBy" | "lastChanged" | "lastChangedBy">;
|
|
8835
|
+
properties: Pick<ILargeLanguageModel, "modelType" | "connectionId" | "createdAt" | "createdBy" | "lastChanged" | "lastChangedBy">;
|
|
8839
8836
|
dependencies?: IGraphLargeLanguageModelDependencyAttachment[];
|
|
8840
8837
|
}
|
|
8841
8838
|
export interface ISystemSlots {
|
|
@@ -10671,9 +10668,9 @@ export interface IActions {
|
|
|
10671
10668
|
logDebugMessageWithMeta?: (message: string | object, metadata: IOutputEventMetadata, header?: string) => void;
|
|
10672
10669
|
logDebugErrorWithMeta?: (message: string | object, metadata: IOutputEventMetadata, header?: string) => void;
|
|
10673
10670
|
mergeProfile?: (contactId: string) => Promise<any>;
|
|
10674
|
-
parseCognigyScriptText?: (executionObjects: IExecutionObjects) => (text: string) => string
|
|
10675
|
-
parseCognigyScriptCondition?: (executionObjects: IExecutionObjects, nodeId: string) => (condition: string) => string
|
|
10676
|
-
parseCognigyScriptResultLocation?: (executionObjects: IExecutionObjects, nodeId: string) => (condition: string) => any
|
|
10671
|
+
parseCognigyScriptText?: (executionObjects: IExecutionObjects) => (text: string) => Promise<string>;
|
|
10672
|
+
parseCognigyScriptCondition?: (executionObjects: IExecutionObjects, nodeId: string) => (condition: string) => Promise<string>;
|
|
10673
|
+
parseCognigyScriptResultLocation?: (executionObjects: IExecutionObjects, nodeId: string) => (condition: string) => Promise<any>;
|
|
10677
10674
|
output?: (text: string, data: any, settings?: ISayNodeSettings) => Promise<void>;
|
|
10678
10675
|
outputWithMeta?: (text: string, data: any, metadata?: IOutputEventMetadata, settings?: ISayNodeSettings) => Promise<void>;
|
|
10679
10676
|
reloadBrainFlow?: (flowReferenceId: string) => Promise<void>;
|
|
@@ -11267,10 +11264,10 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11267
11264
|
setNextNode: (nodeId: string, newFlowId?: string) => void;
|
|
11268
11265
|
resetNextNodes: () => void;
|
|
11269
11266
|
stopExecution: () => void;
|
|
11270
|
-
parseCognigyScriptCondition: (condition: string) => string
|
|
11271
|
-
parseCognigyScriptText: (text: string) => string
|
|
11272
|
-
parseCognigyScriptResultLocation?: (text: string) => any
|
|
11273
|
-
evaluateRule: (rule: IRule) => boolean
|
|
11267
|
+
parseCognigyScriptCondition: (condition: string) => Promise<string>;
|
|
11268
|
+
parseCognigyScriptText: (text: string) => Promise<string>;
|
|
11269
|
+
parseCognigyScriptResultLocation?: (text: string) => Promise<any>;
|
|
11270
|
+
evaluateRule: (rule: IRule) => Promise<boolean>;
|
|
11274
11271
|
/**
|
|
11275
11272
|
* @deprecated since 4.98.0.
|
|
11276
11273
|
* Use thinkV2 instead
|
|
@@ -11340,7 +11337,7 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11340
11337
|
addToInput: (key: string, value: any) => void;
|
|
11341
11338
|
resetCognigyScriptInput?: () => void;
|
|
11342
11339
|
setForwardDatesOnly?: () => void;
|
|
11343
|
-
parseCognigyScript?: (text: string, condition?: boolean) => string
|
|
11340
|
+
parseCognigyScript?: (text: string, condition?: boolean) => Promise<string>;
|
|
11344
11341
|
trackAnalyticsStep?: (step: string) => void;
|
|
11345
11342
|
triggerFunction?: (config: ITriggerFunctionNodeParams["config"]) => Promise<boolean>;
|
|
11346
11343
|
initAppSession: (params: {
|
|
@@ -11761,9 +11758,9 @@ export interface IKnowledgeField<K extends string | number | symbol = string> {
|
|
|
11761
11758
|
* label:
|
|
11762
11759
|
* oneOf:
|
|
11763
11760
|
* - type: string
|
|
11764
|
-
* description: The label that should be used when a new
|
|
11761
|
+
* description: The label that should be used when a new Knowledge of this type is created
|
|
11765
11762
|
* - type: object
|
|
11766
|
-
* description: A localized version of the label that should be used when a new
|
|
11763
|
+
* description: A localized version of the label that should be used when a new Knowledge of this type is created
|
|
11767
11764
|
* properties:
|
|
11768
11765
|
* default:
|
|
11769
11766
|
* type: string
|
|
@@ -11782,7 +11779,7 @@ export interface IKnowledgeField<K extends string | number | symbol = string> {
|
|
|
11782
11779
|
* - type: string
|
|
11783
11780
|
* description: A short line of text that describes what this Node is used for
|
|
11784
11781
|
* - type: object
|
|
11785
|
-
* description: A localized version of a short line of text that describes what this
|
|
11782
|
+
* description: A localized version of a short line of text that describes what this Knowledge is used for
|
|
11786
11783
|
* properties:
|
|
11787
11784
|
* default:
|
|
11788
11785
|
* type: string
|
|
@@ -11801,11 +11798,27 @@ export interface IKnowledgeField<K extends string | number | symbol = string> {
|
|
|
11801
11798
|
* items:
|
|
11802
11799
|
* type: object
|
|
11803
11800
|
* properties:
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11801
|
+
* type:
|
|
11802
|
+
* type: string
|
|
11803
|
+
* enum:
|
|
11804
|
+
* - text
|
|
11805
|
+
* - rule
|
|
11806
|
+
* - json
|
|
11807
|
+
* - checkbox
|
|
11808
|
+
* - time
|
|
11809
|
+
* - date
|
|
11810
|
+
* - datetime
|
|
11811
|
+
* - select
|
|
11812
|
+
* - xml
|
|
11813
|
+
* - textArray
|
|
11814
|
+
* - chipInput
|
|
11815
|
+
* - toggle
|
|
11816
|
+
* - slider
|
|
11817
|
+
* - number
|
|
11818
|
+
* - daterange
|
|
11819
|
+
* - connection
|
|
11820
|
+
* - condition
|
|
11821
|
+
* - description
|
|
11809
11822
|
* key:
|
|
11810
11823
|
* type: string
|
|
11811
11824
|
* label:
|
|
@@ -11846,6 +11859,27 @@ export interface IKnowledgeDescriptor {
|
|
|
11846
11859
|
/** The form defines how fields and sections should be rendered in order */
|
|
11847
11860
|
form?: INodeFieldAndSectionFormElement[];
|
|
11848
11861
|
}
|
|
11862
|
+
/**
|
|
11863
|
+
* @openapi
|
|
11864
|
+
*
|
|
11865
|
+
* components:
|
|
11866
|
+
* schemas:
|
|
11867
|
+
* IKnowledgeDescriptorAggregatedItem:
|
|
11868
|
+
* allOf:
|
|
11869
|
+
* - $ref: '#/components/schemas/IKnowledgeDescriptor'
|
|
11870
|
+
* - type: object
|
|
11871
|
+
* properties:
|
|
11872
|
+
* extension:
|
|
11873
|
+
* type: string
|
|
11874
|
+
* description: The extension name that this knowledge descriptor belongs to
|
|
11875
|
+
* extensionImg:
|
|
11876
|
+
* type: string
|
|
11877
|
+
* description: The image URL of the extension that this knowledge descriptor belongs to
|
|
11878
|
+
*/
|
|
11879
|
+
export interface IKnowledgeDescriptorAggregatedItem extends IKnowledgeDescriptor {
|
|
11880
|
+
extension: string;
|
|
11881
|
+
extensionImg: string;
|
|
11882
|
+
}
|
|
11849
11883
|
export declare type IExtensionType = "nodes";
|
|
11850
11884
|
export interface IExtension extends IExtensionData, IExtensionNodePackage {
|
|
11851
11885
|
}
|
|
@@ -13832,7 +13866,7 @@ export interface IGetAiAgentHiringTemplatesRestReturnValue_2_0 {
|
|
|
13832
13866
|
* templateId:
|
|
13833
13867
|
* type: string
|
|
13834
13868
|
* description: The ID of the AI Agent template to hire.
|
|
13835
|
-
* example:
|
|
13869
|
+
* example: airline-support-agent-en
|
|
13836
13870
|
* overrideAiAgentReferenceId:
|
|
13837
13871
|
* type: string
|
|
13838
13872
|
* description: The reference ID of the AI Agent to override the AI Agent from the hired package.
|
|
@@ -13853,6 +13887,51 @@ export interface IValidateAiAgentNameRestData_2_0 extends IValidateAiAgentNameRe
|
|
|
13853
13887
|
}
|
|
13854
13888
|
export interface IValidateAiAgentNameRestReturnValue_2_0 {
|
|
13855
13889
|
}
|
|
13890
|
+
export interface IGetAiAgentJobAndToolsRestDataParams_2_0 {
|
|
13891
|
+
aiAgentId: string;
|
|
13892
|
+
}
|
|
13893
|
+
export interface IGetAiAgentJobAndToolsRestData_2_0 extends IGetAiAgentJobAndToolsRestDataParams_2_0 {
|
|
13894
|
+
}
|
|
13895
|
+
/**
|
|
13896
|
+
* Interface for a Tool attached to a Job node.
|
|
13897
|
+
* Allows future tool types without code changes.
|
|
13898
|
+
*/
|
|
13899
|
+
export interface IAiAgentJobToolNode_2_0 {
|
|
13900
|
+
_id: string;
|
|
13901
|
+
referenceId: string;
|
|
13902
|
+
type: string;
|
|
13903
|
+
label: string;
|
|
13904
|
+
comment: string;
|
|
13905
|
+
commentColor: string;
|
|
13906
|
+
analyticsLabel: string | null;
|
|
13907
|
+
isDisabled: boolean;
|
|
13908
|
+
isEntryPoint: boolean;
|
|
13909
|
+
extension: string;
|
|
13910
|
+
config: Record<string, any>;
|
|
13911
|
+
}
|
|
13912
|
+
/**
|
|
13913
|
+
* Interface for a Job Node with its associated Tool nodes, as returned by the endpoint.
|
|
13914
|
+
*/
|
|
13915
|
+
export interface IAiAgentJobNodeWithTools_2_0 {
|
|
13916
|
+
_id: string;
|
|
13917
|
+
referenceId: string;
|
|
13918
|
+
type: string;
|
|
13919
|
+
label: string;
|
|
13920
|
+
comment: string;
|
|
13921
|
+
commentColor: string;
|
|
13922
|
+
analyticsLabel: string | null;
|
|
13923
|
+
isDisabled: boolean;
|
|
13924
|
+
isEntryPoint: boolean;
|
|
13925
|
+
extension: string;
|
|
13926
|
+
chartId: string;
|
|
13927
|
+
flowId: string;
|
|
13928
|
+
config: Record<string, any>;
|
|
13929
|
+
tools: IAiAgentJobToolNode_2_0[];
|
|
13930
|
+
}
|
|
13931
|
+
/**
|
|
13932
|
+
* The main return type for the endpoint - always an array of job nodes (each with tools).
|
|
13933
|
+
*/
|
|
13934
|
+
export declare type IGetAiAgentJobAndToolsRestReturnValue_2_0 = IAiAgentJobNodeWithTools_2_0[];
|
|
13856
13935
|
/**
|
|
13857
13936
|
* @openapi
|
|
13858
13937
|
*
|
|
@@ -18122,6 +18201,13 @@ export interface IUpdateKnowledgeStoreRestData_2_0 extends IUpdateKnowledgeStore
|
|
|
18122
18201
|
}
|
|
18123
18202
|
export interface IUpdateKnowledgeStoreRestReturnValue_2_0 {
|
|
18124
18203
|
}
|
|
18204
|
+
export interface IIndexKnowledgeDescriptorsRestDataParams_2_0 {
|
|
18205
|
+
knowledgeStoreId: string;
|
|
18206
|
+
}
|
|
18207
|
+
export interface IIndexKnowledgeDescriptorsRestData_2_0 extends IIndexKnowledgeDescriptorsRestDataParams_2_0 {
|
|
18208
|
+
}
|
|
18209
|
+
export interface IIndexKnowledgeDescriptorsRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<IKnowledgeDescriptorAggregatedItem> {
|
|
18210
|
+
}
|
|
18125
18211
|
declare const knowledgeSourceStatus: readonly [
|
|
18126
18212
|
"ready",
|
|
18127
18213
|
"ingesting",
|
|
@@ -18437,6 +18523,17 @@ export interface IUpdateKnowledgeChunkRestData_2_0 extends IUpdateKnowledgeChunk
|
|
|
18437
18523
|
}
|
|
18438
18524
|
export interface IUpdateKnowledgeChunkRestReturnValue_2_0 {
|
|
18439
18525
|
}
|
|
18526
|
+
export interface IRunKnowledgeExtensionRestDataParams_2_0 {
|
|
18527
|
+
knowledgeStoreId: string;
|
|
18528
|
+
}
|
|
18529
|
+
export interface IRunKnowledgeExtensionRestDataBody_2_0 {
|
|
18530
|
+
extension: string;
|
|
18531
|
+
type: string;
|
|
18532
|
+
updateKnowledge: boolean;
|
|
18533
|
+
config: object;
|
|
18534
|
+
}
|
|
18535
|
+
export interface IRunKnowledgeExtensionRestData_2_0 extends IRunKnowledgeExtensionRestDataParams_2_0, IRunKnowledgeExtensionRestDataBody_2_0 {
|
|
18536
|
+
}
|
|
18440
18537
|
/**
|
|
18441
18538
|
* @openapi
|
|
18442
18539
|
*
|
|
@@ -18884,6 +18981,13 @@ export interface IGenerateDesignTimeLLMOutputRestDataBody_2_0 {
|
|
|
18884
18981
|
role: "user" | "assistant";
|
|
18885
18982
|
content: string;
|
|
18886
18983
|
}[];
|
|
18984
|
+
runGenerativeAIParams?: {
|
|
18985
|
+
responseFormat?: "json_object" | "text" | "default";
|
|
18986
|
+
maxTokens?: number;
|
|
18987
|
+
topK?: number;
|
|
18988
|
+
timeoutInMs?: number;
|
|
18989
|
+
temperature?: number;
|
|
18990
|
+
};
|
|
18887
18991
|
}
|
|
18888
18992
|
export interface IGenerateDesignTimeLLMOutputRestDataParams_2_0 {
|
|
18889
18993
|
projectId: string;
|
|
@@ -18891,7 +18995,7 @@ export interface IGenerateDesignTimeLLMOutputRestDataParams_2_0 {
|
|
|
18891
18995
|
export interface IGenerateDesignTimeLLMOutputRestData_2_0 extends IGenerateDesignTimeLLMOutputRestDataBody_2_0, IGenerateDesignTimeLLMOutputRestDataParams_2_0 {
|
|
18892
18996
|
}
|
|
18893
18997
|
export interface IGenerateDesignTimeLLMOutputRestReturnValue_2_0 {
|
|
18894
|
-
output: string;
|
|
18998
|
+
output: string | object;
|
|
18895
18999
|
}
|
|
18896
19000
|
export interface ResourcesAPIGroup_2_0 {
|
|
18897
19001
|
searchResources: TRestAPIOperation<ISearchResourcesRestData_2_0, ISearchResourcesRestReturnValue_2_0>;
|
|
@@ -19116,6 +19220,7 @@ export interface ResourcesAPIGroup_2_0 {
|
|
|
19116
19220
|
validateAiAgentName: TRestAPIOperation<IValidateAiAgentNameRestData_2_0, IValidateAiAgentNameRestReturnValue_2_0>;
|
|
19117
19221
|
getAiAgentHiringTemplates: TRestAPIOperation<IGetAiAgentHiringTemplatesRestData_2_0, IGetAiAgentHiringTemplatesRestReturnValue_2_0>;
|
|
19118
19222
|
hireAiAgent: TRestAPIOperation<IHireAiAgentRestData_2_0, IHireAiAgentRestReturnValue_2_0>;
|
|
19223
|
+
getAiAgentJobsAndTools: TRestAPIOperation<IGetAiAgentJobAndToolsRestData_2_0, IGetAiAgentJobAndToolsRestReturnValue_2_0>;
|
|
19119
19224
|
generateNodeOutput: TRestAPIOperation<IGenerateNodeOutputRestData_2_0, IGenerateNodeOutputRestReturnValue_2_0>;
|
|
19120
19225
|
indexLargeLanguageModels: TRestAPIOperation<IIndexLargeLanguageModelsRestData_2_0, IIndexLargeLanguageModelsRestReturnValue_2_0>;
|
|
19121
19226
|
createLargeLanguageModel: TRestAPIOperation<ICreateLargeLanguageModelRestData_2_0, ICreateLargeLanguageModelRestReturnValue_2_0>;
|
|
@@ -19130,6 +19235,8 @@ export interface ResourcesAPIGroup_2_0 {
|
|
|
19130
19235
|
readKnowledgeStore: TRestAPIOperation<IReadKnowledgeStoreRestData_2_0, IReadKnowledgeStoreRestReturnValue_2_0>;
|
|
19131
19236
|
deleteKnowledgeStore: TRestAPIOperation<IDeleteKnowledgeStoreRestData_2_0, IDeleteKnowledgeStoreRestReturnValue_2_0>;
|
|
19132
19237
|
updateKnowledgeStore: TRestAPIOperation<IUpdateKnowledgeStoreRestData_2_0, IUpdateKnowledgeStoreRestReturnValue_2_0>;
|
|
19238
|
+
runKnowledgeExtension: TRestAPIOperation<IRunKnowledgeExtensionRestData_2_0, IRunKnowledgeExtensionRestDataBody_2_0>;
|
|
19239
|
+
indexKnowledgeDescriptors: TRestAPIOperation<IIndexKnowledgeDescriptorsRestData_2_0, IIndexKnowledgeDescriptorsRestReturnValue_2_0>;
|
|
19133
19240
|
indexKnowledgeSources: TRestAPIOperation<IIndexKnowledgeSourcesRestData_2_0, IIndexKnowledgeSourcesRestReturnValue_2_0>;
|
|
19134
19241
|
createKnowledgeSource: TRestAPIOperation<ICreateKnowledgeSourceRestData_2_0, ICreateKnowledgeSourceRestReturnValue_2_0>;
|
|
19135
19242
|
readKnowledgeSource: TRestAPIOperation<IReadKnowledgeSourceRestData_2_0, IReadKnowledgeSourceRestReturnValue_2_0>;
|
|
@@ -20625,6 +20732,118 @@ export interface IGetKnowledgeQueryCounterOrganisationRestData_2_0 {
|
|
|
20625
20732
|
export interface IGetKnowledgeQueryCounterOrganisationRestReturnValue_2_0 {
|
|
20626
20733
|
items: IKnowledgeQueryCounterAggregatedValue_2_0[];
|
|
20627
20734
|
}
|
|
20735
|
+
/**
|
|
20736
|
+
* @openapi
|
|
20737
|
+
*
|
|
20738
|
+
* components:
|
|
20739
|
+
* schemas:
|
|
20740
|
+
* IConversationCounterAggregatedValue_3_0:
|
|
20741
|
+
* type: object
|
|
20742
|
+
* properties:
|
|
20743
|
+
* conversations:
|
|
20744
|
+
* type: number
|
|
20745
|
+
* day:
|
|
20746
|
+
* type: number
|
|
20747
|
+
* month:
|
|
20748
|
+
* type: number
|
|
20749
|
+
* year:
|
|
20750
|
+
* type: number
|
|
20751
|
+
* perChannel:
|
|
20752
|
+
* type: array
|
|
20753
|
+
* items:
|
|
20754
|
+
* type: object
|
|
20755
|
+
* properties:
|
|
20756
|
+
* channel:
|
|
20757
|
+
* type: string
|
|
20758
|
+
* conversations:
|
|
20759
|
+
* type: number
|
|
20760
|
+
*/
|
|
20761
|
+
export interface IConversationCounterPreAggregatedValue_3_0 {
|
|
20762
|
+
/** The number of conversations in the time-span */
|
|
20763
|
+
conversations: number;
|
|
20764
|
+
/** The day, e.g., 1 for the first day in the month */
|
|
20765
|
+
day: number;
|
|
20766
|
+
/** The month of the year, e.g., 1 for January */
|
|
20767
|
+
month: number;
|
|
20768
|
+
/** The year, e.g., 2020 */
|
|
20769
|
+
year: number;
|
|
20770
|
+
/** Details on which channels those conversations happened */
|
|
20771
|
+
perChannel: Array<{
|
|
20772
|
+
/** The channel name */
|
|
20773
|
+
channel: string;
|
|
20774
|
+
/** The number of conversations for the specific channel */
|
|
20775
|
+
conversations: number;
|
|
20776
|
+
}>;
|
|
20777
|
+
}
|
|
20778
|
+
export interface IGetConversationCounterRestDataParams_3_0 {
|
|
20779
|
+
projectId: string;
|
|
20780
|
+
}
|
|
20781
|
+
export interface IGetConversationCounterRestData_3_0 extends IGetConversationCounterRestDataParams_3_0 {
|
|
20782
|
+
year: number;
|
|
20783
|
+
month: number;
|
|
20784
|
+
}
|
|
20785
|
+
export interface IGetConversationCounterRestReturnValue_3_0 {
|
|
20786
|
+
items: IConversationCounterPreAggregatedValue_3_0[];
|
|
20787
|
+
}
|
|
20788
|
+
export interface IGetConversationCounterOrganisationRestData_3_0 {
|
|
20789
|
+
year: number;
|
|
20790
|
+
month: number;
|
|
20791
|
+
}
|
|
20792
|
+
export interface IGetConversationCounterOrganisationRestReturnValue_3_0 {
|
|
20793
|
+
items: IConversationCounterPreAggregatedValue_3_0[];
|
|
20794
|
+
}
|
|
20795
|
+
/**
|
|
20796
|
+
* @openapi
|
|
20797
|
+
*
|
|
20798
|
+
* components:
|
|
20799
|
+
* schemas:
|
|
20800
|
+
* ICallCounterAggregatedValue_3_0:
|
|
20801
|
+
* type: object
|
|
20802
|
+
* properties:
|
|
20803
|
+
* day:
|
|
20804
|
+
* type: number
|
|
20805
|
+
* month:
|
|
20806
|
+
* type: number
|
|
20807
|
+
* year:
|
|
20808
|
+
* type: number
|
|
20809
|
+
* maxConcurrency:
|
|
20810
|
+
* type: number
|
|
20811
|
+
* callMinutes:
|
|
20812
|
+
* type: number
|
|
20813
|
+
* processedCalls:
|
|
20814
|
+
* type: number
|
|
20815
|
+
*/
|
|
20816
|
+
export interface ICallCounterPreAggregatedValue_3_0 {
|
|
20817
|
+
/** The number of calls in the time-span */
|
|
20818
|
+
processedCalls: number;
|
|
20819
|
+
/** The day, e.g., 1 for the first day in the month */
|
|
20820
|
+
day: number;
|
|
20821
|
+
/** The month of the year, e.g., 1 for January */
|
|
20822
|
+
month: number;
|
|
20823
|
+
/** The year, e.g., 2020 */
|
|
20824
|
+
year: number;
|
|
20825
|
+
/** The maximum concurrency in the time-span */
|
|
20826
|
+
maxConcurrency: number;
|
|
20827
|
+
/** The number of call minutes in the time-span */
|
|
20828
|
+
callMinutes: number;
|
|
20829
|
+
}
|
|
20830
|
+
export interface IGetCallCounterRestDataParams_3_0 {
|
|
20831
|
+
projectId: string;
|
|
20832
|
+
}
|
|
20833
|
+
export interface IGetCallCounterRestData_3_0 extends IGetCallCounterRestDataParams_3_0 {
|
|
20834
|
+
year: number;
|
|
20835
|
+
month: number;
|
|
20836
|
+
}
|
|
20837
|
+
export interface IGetCallCounterRestReturnValue_3_0 {
|
|
20838
|
+
items: ICallCounterPreAggregatedValue_3_0[];
|
|
20839
|
+
}
|
|
20840
|
+
export interface IGetCallCounterOrganisationRestData_3_0 {
|
|
20841
|
+
year: number;
|
|
20842
|
+
month: number;
|
|
20843
|
+
}
|
|
20844
|
+
export interface IGetCallCounterOrganisationRestReturnValue_3_0 {
|
|
20845
|
+
items: ICallCounterPreAggregatedValue_3_0[];
|
|
20846
|
+
}
|
|
20628
20847
|
export interface MetricsAPIGroup_2_0 {
|
|
20629
20848
|
indexTasks: TRestAPIOperation<TRestAPIOptionalParameter<IIndexTasksRestData_2_0>, IIndexTasksRestReturnValue_2_0>;
|
|
20630
20849
|
readTask: TRestAPIOperation<IReadTaskRestData_2_0, IReadTaskRestReturnValue_2_0>;
|
|
@@ -20651,6 +20870,10 @@ export interface MetricsAPIGroup_2_0 {
|
|
|
20651
20870
|
batchTrainerRecords: TRestAPIOperation<IBatchTrainerRecordsRestData_2_0, IBatchTrainerRecordsRestReturnValue_2_0>;
|
|
20652
20871
|
getConversationCounter: TRestAPIOperation<IGetConversationCounterRestData_2_0, IGetConversationCounterRestReturnValue_2_0>;
|
|
20653
20872
|
getConversationCounterOrganisation: TRestAPIOperation<IGetConversationCounterOrganisationRestData_2_0, IGetConversationCounterOrganisationRestReturnValue_2_0>;
|
|
20873
|
+
getPreAggregatedConversationCounter: TRestAPIOperation<IGetConversationCounterRestData_3_0, IGetConversationCounterRestReturnValue_3_0>;
|
|
20874
|
+
getPreAggregatedConversationCounterOrganisation: TRestAPIOperation<IGetConversationCounterOrganisationRestData_3_0, IGetConversationCounterOrganisationRestReturnValue_3_0>;
|
|
20875
|
+
getPreAggregatedCallCounter: TRestAPIOperation<IGetCallCounterRestData_3_0, IGetCallCounterRestReturnValue_3_0>;
|
|
20876
|
+
getPreAggregatedCallCounterOrganisation: TRestAPIOperation<IGetCallCounterOrganisationRestData_3_0, IGetCallCounterOrganisationRestReturnValue_3_0>;
|
|
20654
20877
|
getKnowledgeQueryCounter: TRestAPIOperation<IGetKnowledgeQueryCounterRestData_2_0, IGetKnowledgeQueryCounterRestReturnValue_2_0>;
|
|
20655
20878
|
getKnowledgeQueryCounterOrganisation: TRestAPIOperation<IGetKnowledgeQueryCounterOrganisationRestData_2_0, IGetKnowledgeQueryCounterOrganisationRestReturnValue_2_0>;
|
|
20656
20879
|
indexConversations: TRestAPIOperation<IIndexConversationsRestRestData_2_0, IIndexConversationsRestRestReturnValue_2_0>;
|
|
@@ -23380,6 +23603,16 @@ export interface IGenerateBulkPersonaRestReturnValue_2_0 {
|
|
|
23380
23603
|
missionTypesCount: number;
|
|
23381
23604
|
};
|
|
23382
23605
|
}
|
|
23606
|
+
export interface IStopSimulationRunBatchRestDataQuery_2_0 {
|
|
23607
|
+
projectId: string;
|
|
23608
|
+
}
|
|
23609
|
+
export interface IStopSimulationRunBatchRestData_2_0 extends IStopSimulationRunBatchRestDataQuery_2_0 {
|
|
23610
|
+
simulationReference: string;
|
|
23611
|
+
simulationRunBatchReference: string;
|
|
23612
|
+
}
|
|
23613
|
+
export interface IStopSimulationRunBatchRestReturnValue_2_0 {
|
|
23614
|
+
simulationRunBatchId: ISimulationRunBatchRest_2_0;
|
|
23615
|
+
}
|
|
23383
23616
|
export interface SimulationAPIGroup_2_0 {
|
|
23384
23617
|
indexSimulations: TRestAPIOperation<IIndexSimulationsRestData_2_0, IIndexSimulationsRestReturnValue_2_0>;
|
|
23385
23618
|
createSimulation: TRestAPIOperation<ICreateSimulationRestData_2_0, ICreateSimulationRestReturnValue_2_0>;
|
|
@@ -23390,6 +23623,7 @@ export interface SimulationAPIGroup_2_0 {
|
|
|
23390
23623
|
indexSimulationRunBatches: TRestAPIOperation<IIndexSimulationRunBatchesRestData_2_0, IIndexSimulationRunBatchesRestReturnValue_2_0>;
|
|
23391
23624
|
getAllSimulationRunBatches: TRestAPIOperation<IGetAllSimulationRunBatchesRestData_2_0, IGetAllSimulationRunBatchesRestReturnValue_2_0>;
|
|
23392
23625
|
readSimulationRunBatch: TRestAPIOperation<IReadSimulationRunBatchRestData_2_0, IReadSimulationRunBatchRestReturnValue_2_0>;
|
|
23626
|
+
stopSimulationRunBatch: TRestAPIOperation<IStopSimulationRunBatchRestData_2_0, IStopSimulationRunBatchRestReturnValue_2_0>;
|
|
23393
23627
|
indexSimulationRuns: TRestAPIOperation<IIndexSimulationRunsRestData_2_0, IIndexSimulationRunsRestReturnValue_2_0>;
|
|
23394
23628
|
readSimulationRun: TRestAPIOperation<IReadSimulationRunRestData_2_0, IReadSimulationRunRestReturnValue_2_0>;
|
|
23395
23629
|
getPersonaOptions: TRestAPIOperation<IGetPersonaOptionsRestData_2_0, IGetPersonaOptionsRestReturnValue_2_0>;
|