@cognigy/rest-api-client 4.97.0 → 4.99.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 +14 -0
- package/build/RestAPIClient.js +7 -0
- package/build/apigroups/AIOpsCenterAPIGroup_2_0.js +22 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +8 -8
- package/build/apigroups/index.js +3 -1
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +0 -44
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +0 -45
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +0 -43
- package/build/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +0 -45
- package/build/shared/charts/descriptors/analytics/completeGoal.js +2 -2
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +6 -2
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/mistralProviderConnection.js +11 -0
- package/build/shared/charts/descriptors/index.js +2 -0
- package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +10 -1
- package/build/shared/charts/descriptors/logic/think.js +2 -4
- package/build/shared/charts/descriptors/message/say.js +6 -3
- package/build/shared/charts/descriptors/service/GPTPrompt.js +14 -4
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +226 -66
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +180 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +196 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +5 -1
- package/build/shared/charts/descriptors/service/index.js +5 -1
- package/build/shared/charts/descriptors/voice/mappers/hangup.mapper.js +9 -8
- package/build/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +24 -2
- package/build/shared/constants.js +8 -1
- package/build/shared/interfaces/IProfileSchema.js +1 -1
- package/build/shared/interfaces/amqpInterface.js +3 -0
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +10 -1
- package/build/shared/interfaces/messageAPI/endpoints.js +6 -1
- package/build/shared/interfaces/messageAPI/handover.js +6 -1
- package/build/shared/interfaces/resources/IAiAgent.js +3 -1
- package/build/shared/interfaces/resources/ILargeLanguageModel.js +10 -1
- package/build/shared/interfaces/resources/settings/IGenerativeAISettings.js +4 -0
- package/build/shared/interfaces/restAPI/opsCenter/alerts/IIndexOpsCenterAlertsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/alerts/IOpsCenterAlert.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/component/IOpsCenterComponents.js +34 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IDeleteOpsCenterErrorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IGetOpsCenterErrorRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IIndexOpsCenterErrorsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/errors/IOpsCenterError.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetrics.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRangeRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/metrics/IOpsCenterMetricsConfig.js +6 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IGetOpsCenterObservationConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +4 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/IPatchOpsCenterObservationConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/opsCenter/observationConfig/ISetupOpsCenterObservationConfigRest_2_0.js +3 -0
- package/build/shared/interfaces/security/IIdentityProvider.js +1 -0
- package/dist/esm/RestAPIClient.js +7 -0
- package/dist/esm/apigroups/AIOpsCenterAPIGroup_2_0.js +18 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +8 -8
- package/dist/esm/apigroups/index.js +1 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +0 -44
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +0 -45
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +0 -43
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +0 -45
- package/dist/esm/shared/charts/descriptors/analytics/completeGoal.js +2 -2
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +4 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/mistralProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/index.js +3 -1
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +12 -3
- package/dist/esm/shared/charts/descriptors/logic/think.js +2 -4
- package/dist/esm/shared/charts/descriptors/message/say.js +6 -3
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +18 -8
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +226 -66
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobCallMCPTool.js +178 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobMCPTool.js +193 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +5 -1
- package/dist/esm/shared/charts/descriptors/service/index.js +2 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/hangup.mapper.js +9 -8
- package/dist/esm/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/hangup.js +24 -2
- package/dist/esm/shared/constants.js +7 -0
- package/dist/esm/shared/interfaces/IProfileSchema.js +1 -1
- package/dist/esm/shared/interfaces/amqpInterface.js +3 -0
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +10 -1
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +6 -1
- package/dist/esm/shared/interfaces/messageAPI/handover.js +6 -1
- package/dist/esm/shared/interfaces/resources/IAiAgent.js +3 -1
- package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +9 -0
- package/dist/esm/shared/interfaces/resources/settings/IGenerativeAISettings.js +4 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/alerts/IIndexOpsCenterAlertsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/alerts/IOpsCenterAlert.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/component/IOpsCenterComponents.js +31 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IDeleteOpsCenterErrorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IGetOpsCenterErrorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IIndexOpsCenterErrorsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/errors/IOpsCenterError.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetrics.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRangeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IGetOpsCenterMetricsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/metrics/IOpsCenterMetricsConfig.js +5 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IGetOpsCenterObservationConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IOpsCenterObservationConfig.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/IPatchOpsCenterObservationConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/opsCenter/observationConfig/ISetupOpsCenterObservationConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/security/IIdentityProvider.js +1 -0
- package/package.json +2 -2
- package/types/index.d.ts +336 -7
package/types/index.d.ts
CHANGED
|
@@ -1315,6 +1315,9 @@ export interface IAllowedLocale {
|
|
|
1315
1315
|
* idpCertificate:
|
|
1316
1316
|
* type: string
|
|
1317
1317
|
* description: The certificate from the ID used to sign the SAML requests. It is base64 encoded.
|
|
1318
|
+
* wantAuthnResponseSigned:
|
|
1319
|
+
* type: boolean
|
|
1320
|
+
* description: If the SAML authentification response should be signed, not all providers support this.
|
|
1318
1321
|
* decryptionPrivateKey:
|
|
1319
1322
|
* type: string
|
|
1320
1323
|
* description: An optional decryption key. This is necessary if the SAML request is encoded.
|
|
@@ -1362,6 +1365,11 @@ export interface ISamlIdentityProvider {
|
|
|
1362
1365
|
* Reference the organisation this identity provider belongs to.
|
|
1363
1366
|
*/
|
|
1364
1367
|
organisationReference: TMongoId;
|
|
1368
|
+
/**
|
|
1369
|
+
* If the SAML authentification response should be signed,
|
|
1370
|
+
* not all providers support this.
|
|
1371
|
+
*/
|
|
1372
|
+
wantAuthnResponseSigned?: boolean;
|
|
1365
1373
|
}
|
|
1366
1374
|
declare const idpTokenEndpointAuthMethods: readonly [
|
|
1367
1375
|
"client_secret_basic",
|
|
@@ -1605,6 +1613,7 @@ export interface IRestAPIClientVersionConfiguration {
|
|
|
1605
1613
|
insights: "2.0";
|
|
1606
1614
|
analytics: "2.0";
|
|
1607
1615
|
jwt: "2.0";
|
|
1616
|
+
opsCenter: "2.0";
|
|
1608
1617
|
}
|
|
1609
1618
|
export declare type THttpLib = "axios";
|
|
1610
1619
|
/**
|
|
@@ -3439,6 +3448,12 @@ export interface IWebchat3EndpointBehaviorSettings {
|
|
|
3439
3448
|
* This setting enables output messages to appear progressively.
|
|
3440
3449
|
*/
|
|
3441
3450
|
progressiveMessageRendering: boolean;
|
|
3451
|
+
/**
|
|
3452
|
+
* This setting enables scroll-to-bottom button.
|
|
3453
|
+
*
|
|
3454
|
+
* Default: true
|
|
3455
|
+
*/
|
|
3456
|
+
enableScrollButton: boolean;
|
|
3442
3457
|
/**
|
|
3443
3458
|
* Whether the webchat renders Text messages as markdown
|
|
3444
3459
|
*/
|
|
@@ -3566,6 +3581,10 @@ export interface IWebchat3EndpointHomeScreenSettings {
|
|
|
3566
3581
|
*/
|
|
3567
3582
|
startConversationButtonText: string;
|
|
3568
3583
|
previousConversations: {
|
|
3584
|
+
/**
|
|
3585
|
+
* Enable the delete all conversations button
|
|
3586
|
+
*/
|
|
3587
|
+
enableDeleteAllConversations: boolean;
|
|
3569
3588
|
/**
|
|
3570
3589
|
* The text of the start new conversation button
|
|
3571
3590
|
*/
|
|
@@ -3673,6 +3692,10 @@ export interface IWebchat3EndpointChatOptionsSettings {
|
|
|
3673
3692
|
submitButtonText: string;
|
|
3674
3693
|
eventBannerText: string;
|
|
3675
3694
|
};
|
|
3695
|
+
/**
|
|
3696
|
+
* Enable to delete conversation
|
|
3697
|
+
*/
|
|
3698
|
+
enableDeleteConversation: boolean;
|
|
3676
3699
|
/**
|
|
3677
3700
|
* The configuration of the chat options footer
|
|
3678
3701
|
*/
|
|
@@ -4298,11 +4321,17 @@ declare const generativeAIModels: readonly [
|
|
|
4298
4321
|
"gemini-1.0-pro",
|
|
4299
4322
|
"gemini-1.5-pro",
|
|
4300
4323
|
"gemini-1.5-flash",
|
|
4324
|
+
"gemini-2.0-flash",
|
|
4325
|
+
"gemini-2.0-flash-lite",
|
|
4301
4326
|
"amazon.nova-lite-v1:0",
|
|
4302
4327
|
"amazon.nova-pro-v1:0",
|
|
4303
4328
|
"amazon.nova-micro-v1:0",
|
|
4304
4329
|
"anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
4305
4330
|
"claude-3-7-sonnet-20250219",
|
|
4331
|
+
"mistral-large-2411",
|
|
4332
|
+
"mistral-small-2503",
|
|
4333
|
+
"pixtral-large-2411",
|
|
4334
|
+
"pixtral-12b-2409",
|
|
4306
4335
|
"text-embedding-3-small",
|
|
4307
4336
|
"text-embedding-3-large",
|
|
4308
4337
|
"text-embedding-ada-002",
|
|
@@ -4333,6 +4362,12 @@ declare const generativeAIModels: readonly [
|
|
|
4333
4362
|
* - gemini-1.0-pro
|
|
4334
4363
|
* - gemini-1.5-pro
|
|
4335
4364
|
* - gemini-1.5-flash
|
|
4365
|
+
* - gemini-2.0-flash
|
|
4366
|
+
* - gemini-2.0-flash-lite
|
|
4367
|
+
* - mistral-large-2411
|
|
4368
|
+
* - mistral-small-2503
|
|
4369
|
+
* - pixtral-large-2411
|
|
4370
|
+
* - pixtral-12b-2409
|
|
4336
4371
|
*/
|
|
4337
4372
|
export declare type TGenerativeAIModels = (typeof generativeAIModels)[number];
|
|
4338
4373
|
declare const generativeAIProviders: readonly [
|
|
@@ -4343,7 +4378,8 @@ declare const generativeAIProviders: readonly [
|
|
|
4343
4378
|
"anthropic",
|
|
4344
4379
|
"googleVertexAI",
|
|
4345
4380
|
"googleGemini",
|
|
4346
|
-
"awsBedrock"
|
|
4381
|
+
"awsBedrock",
|
|
4382
|
+
"mistral"
|
|
4347
4383
|
];
|
|
4348
4384
|
/**
|
|
4349
4385
|
* @openapi
|
|
@@ -4360,6 +4396,7 @@ declare const generativeAIProviders: readonly [
|
|
|
4360
4396
|
* - googleGemini
|
|
4361
4397
|
* - alephAlpha
|
|
4362
4398
|
* - awsBedrock
|
|
4399
|
+
* - mistral
|
|
4363
4400
|
*/
|
|
4364
4401
|
export declare type TGenerativeAIProviders = (typeof generativeAIProviders)[number];
|
|
4365
4402
|
declare const generativeAIUseCases: readonly [
|
|
@@ -4369,6 +4406,7 @@ declare const generativeAIUseCases: readonly [
|
|
|
4369
4406
|
"gptPromptNode",
|
|
4370
4407
|
"aiEnhancedOutputs",
|
|
4371
4408
|
"sentimentAnalysis",
|
|
4409
|
+
"designTimeGeneration",
|
|
4372
4410
|
"intentSentenceGeneration",
|
|
4373
4411
|
"flowGeneration",
|
|
4374
4412
|
"generateNodeOutput",
|
|
@@ -5225,6 +5263,7 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5225
5263
|
* - googleGemini
|
|
5226
5264
|
* - alephAlpha
|
|
5227
5265
|
* - awsBedrock
|
|
5266
|
+
* - mistral
|
|
5228
5267
|
*/
|
|
5229
5268
|
export declare type TGenerativeAIProviders_2_0 = TGenerativeAIProviders;
|
|
5230
5269
|
/**
|
|
@@ -5240,6 +5279,8 @@ export declare type TGenerativeAIProviders_2_0 = TGenerativeAIProviders;
|
|
|
5240
5279
|
* useCasesSettings:
|
|
5241
5280
|
* type: object
|
|
5242
5281
|
* properties:
|
|
5282
|
+
* designTimeGeneration:
|
|
5283
|
+
* $ref: '#/components/schemas/IGenerativeAIMeta_2_0'
|
|
5243
5284
|
* intentSentenceGeneration:
|
|
5244
5285
|
* $ref: '#/components/schemas/IGenerativeAIMeta_2_0'
|
|
5245
5286
|
* aiEnhancedOutputs:
|
|
@@ -7518,6 +7559,7 @@ export interface ICreatePlaybookRestDataQuery_2_0 {
|
|
|
7518
7559
|
resourceId?: string;
|
|
7519
7560
|
}
|
|
7520
7561
|
export interface ICreatePlaybookRestDataBody_2_0 extends IProjectScope, Partial<Omit<IPlaybook_2_0, keyof IEntityMeta>> {
|
|
7562
|
+
resourceType?: TResourceType;
|
|
7521
7563
|
}
|
|
7522
7564
|
export interface ICreatePlaybookRestData_2_0 extends ICreatePlaybookRestDataBody_2_0, ICreatePlaybookRestDataQuery_2_0 {
|
|
7523
7565
|
}
|
|
@@ -8654,6 +8696,9 @@ export interface IAlephAlphaMeta {
|
|
|
8654
8696
|
export interface IAnthropicMeta {
|
|
8655
8697
|
customModel?: string;
|
|
8656
8698
|
}
|
|
8699
|
+
export interface IMistralMeta {
|
|
8700
|
+
customModel?: string;
|
|
8701
|
+
}
|
|
8657
8702
|
export interface IAwsBedrockMeta {
|
|
8658
8703
|
region: string;
|
|
8659
8704
|
customModel?: string;
|
|
@@ -8706,6 +8751,7 @@ export interface ILargeLanguageModel extends IEntityMeta, IGlobalResource {
|
|
|
8706
8751
|
openAICompatible?: IOpenAICompatibleMeta;
|
|
8707
8752
|
alephAlpha?: IAlephAlphaMeta;
|
|
8708
8753
|
anthropic?: IAnthropicMeta;
|
|
8754
|
+
mistral?: IMistralMeta;
|
|
8709
8755
|
awsBedrock?: IAwsBedrockMeta;
|
|
8710
8756
|
fallbacks?: TLLMFallback[];
|
|
8711
8757
|
}
|
|
@@ -9045,6 +9091,7 @@ export declare type TAudioPreviewProvider = typeof audioPreviewProviders[number]
|
|
|
9045
9091
|
* properties:
|
|
9046
9092
|
* useCase:
|
|
9047
9093
|
* enum:
|
|
9094
|
+
* - designTimeGeneration
|
|
9048
9095
|
* - intentSentenceGeneration
|
|
9049
9096
|
* - aiEnhancedOutputs
|
|
9050
9097
|
* - lexiconGeneration
|
|
@@ -9442,6 +9489,8 @@ export interface IVoiceConfigParams {
|
|
|
9442
9489
|
ttsLanguage: string;
|
|
9443
9490
|
ttsVendor: TVoiceGateway2TTSVendor | "none";
|
|
9444
9491
|
ttsModel: string;
|
|
9492
|
+
ttsLabel: string;
|
|
9493
|
+
ttsDisableCache: boolean;
|
|
9445
9494
|
}
|
|
9446
9495
|
declare const contactProfileOptions: readonly [
|
|
9447
9496
|
"none",
|
|
@@ -9904,6 +9953,9 @@ export interface ISessionStateWithoutMeta {
|
|
|
9904
9953
|
flow: string;
|
|
9905
9954
|
node: string;
|
|
9906
9955
|
};
|
|
9956
|
+
mcpServerUrl?: string;
|
|
9957
|
+
mcpToolNode?: string;
|
|
9958
|
+
timeout?: number;
|
|
9907
9959
|
};
|
|
9908
9960
|
tokenUsage?: TSessionUsageInformation;
|
|
9909
9961
|
}
|
|
@@ -10533,6 +10585,10 @@ export interface IActions {
|
|
|
10533
10585
|
setTimezoneOffset?: (offset: number | string) => void;
|
|
10534
10586
|
setTranslationSettings?: (translationSettings: IEndpointTranslationSettings) => void;
|
|
10535
10587
|
switchFlow?: (id: string, text: string, data: any, version?: number, absorbContext?: boolean) => void;
|
|
10588
|
+
/**
|
|
10589
|
+
* @deprecated since 4.98.0
|
|
10590
|
+
* Use thinkV2 instead
|
|
10591
|
+
* */
|
|
10536
10592
|
think?: (nodeId: string) => (text: string, data: any) => void;
|
|
10537
10593
|
thinkV2?: (nodeId: string) => (text: string, data: any) => void;
|
|
10538
10594
|
trackAnalyticsStep?: (stepLabel: string) => (trackArgs?: ITrackAnalyticsStepsArguments) => void;
|
|
@@ -11034,6 +11090,10 @@ export interface ISetStateNodeParams extends INodeFunctionBaseParams {
|
|
|
11034
11090
|
};
|
|
11035
11091
|
};
|
|
11036
11092
|
}
|
|
11093
|
+
/**
|
|
11094
|
+
* @deprecated since 4.98.0.
|
|
11095
|
+
* Use THINK_V2 instead
|
|
11096
|
+
*/
|
|
11037
11097
|
export interface IThinkNodeParams extends INodeFunctionBaseParams {
|
|
11038
11098
|
config: {
|
|
11039
11099
|
thinkType: "default" | "intent";
|
|
@@ -11086,6 +11146,10 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11086
11146
|
parseCognigyScriptText: (text: string) => string;
|
|
11087
11147
|
parseCognigyScriptResultLocation?: (text: string) => any;
|
|
11088
11148
|
evaluateRule: (rule: IRule) => boolean;
|
|
11149
|
+
/**
|
|
11150
|
+
* @deprecated since 4.98.0.
|
|
11151
|
+
* Use thinkV2 instead
|
|
11152
|
+
* */
|
|
11089
11153
|
think: (text: string, data: {
|
|
11090
11154
|
[key: string]: any;
|
|
11091
11155
|
}) => void;
|
|
@@ -11180,6 +11244,21 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11180
11244
|
title: string;
|
|
11181
11245
|
subComponent?: string;
|
|
11182
11246
|
}) => void;
|
|
11247
|
+
fetchMcpTools: (params: {
|
|
11248
|
+
mcpServerUrl: string;
|
|
11249
|
+
timeout: number;
|
|
11250
|
+
cacheTools: boolean;
|
|
11251
|
+
}) => Promise<any[]>;
|
|
11252
|
+
executeMcpTool: (params: {
|
|
11253
|
+
toolName: string;
|
|
11254
|
+
toolArgs: {
|
|
11255
|
+
[x: string]: unknown;
|
|
11256
|
+
};
|
|
11257
|
+
mcpServerUrl: string;
|
|
11258
|
+
timeout: number;
|
|
11259
|
+
}) => Promise<{
|
|
11260
|
+
[x: string]: unknown;
|
|
11261
|
+
}>;
|
|
11183
11262
|
}
|
|
11184
11263
|
export interface INodeExecutionCognigyObject extends IExecutionObjects {
|
|
11185
11264
|
api: INodeExecutionAPI;
|
|
@@ -15070,7 +15149,7 @@ export interface IBatchConnectionsRestData_2_0 extends IBatchConnectionsRestData
|
|
|
15070
15149
|
}
|
|
15071
15150
|
export interface IBatchConnectionsRestReturnValue_2_0 {
|
|
15072
15151
|
}
|
|
15073
|
-
export interface ICreateConnectionRestDataBody_2_0 extends IProjectScope
|
|
15152
|
+
export interface ICreateConnectionRestDataBody_2_0 extends Partial<IProjectScope>, Partial<Omit<IConnection_2_0, keyof IEntityMeta>> {
|
|
15074
15153
|
}
|
|
15075
15154
|
export interface ICreateConnectionRestData_2_0 extends ICreateConnectionRestDataBody_2_0 {
|
|
15076
15155
|
}
|
|
@@ -16500,6 +16579,7 @@ export interface IDtmfParams extends INodeFunctionBaseParams {
|
|
|
16500
16579
|
export interface IHangupParams extends INodeFunctionBaseParams {
|
|
16501
16580
|
config: {
|
|
16502
16581
|
hangupReason: string;
|
|
16582
|
+
hangupImmediately: boolean;
|
|
16503
16583
|
};
|
|
16504
16584
|
}
|
|
16505
16585
|
export interface IPlayParamsConfig extends IVoiceConfigParams {
|
|
@@ -17053,6 +17133,9 @@ export interface IGoogleVertexAIMeta_2_0 {
|
|
|
17053
17133
|
apiEndPoint: string;
|
|
17054
17134
|
publisher?: string;
|
|
17055
17135
|
}
|
|
17136
|
+
export interface IMistralMeta_2_0 {
|
|
17137
|
+
customModel?: string;
|
|
17138
|
+
}
|
|
17056
17139
|
/**
|
|
17057
17140
|
* @openapi
|
|
17058
17141
|
*
|
|
@@ -17272,6 +17355,8 @@ export interface ILargeLanguageModel_2_0 extends IGlobalResource {
|
|
|
17272
17355
|
anthropic?: IAnthropicMeta_2_0;
|
|
17273
17356
|
/** Meta data for the AwsBedrock connection */
|
|
17274
17357
|
awsBedrock?: IAwsBedrockMeta_2_0;
|
|
17358
|
+
/** Meta data for the Mistral connection */
|
|
17359
|
+
mistral?: IMistralMeta_2_0;
|
|
17275
17360
|
/** Fallback LLM configuration */
|
|
17276
17361
|
fallbacks?: ILLMFallback_2_0[];
|
|
17277
17362
|
}
|
|
@@ -18326,7 +18411,11 @@ export interface IGenerateNluScoresRestReturnValue_2_0 {
|
|
|
18326
18411
|
* type: string
|
|
18327
18412
|
* ttsModel:
|
|
18328
18413
|
* type: string
|
|
18329
|
-
*
|
|
18414
|
+
* ttsLabel:
|
|
18415
|
+
* type: string
|
|
18416
|
+
* ttsDisableCache:
|
|
18417
|
+
* type: boolean
|
|
18418
|
+
* example: { "ttsVoice": "Xb7hH8MSUJpSbSDYk0k2", "ttsLanguage": "zh", "ttsVendor": "Elevenlabs", "ttsModel": "eleven_multilingual_v2", "ttsLabel": "microsoft US", "ttsDisableCache": false }
|
|
18330
18419
|
* enableVoiceConfigs:
|
|
18331
18420
|
* type: boolean
|
|
18332
18421
|
* description: Enables the use of voice configuration.
|
|
@@ -19397,7 +19486,7 @@ export interface IProfile_2_0 {
|
|
|
19397
19486
|
* type: boolean
|
|
19398
19487
|
* privacy_policy:
|
|
19399
19488
|
* type: object
|
|
19400
|
-
*
|
|
19489
|
+
* tasks:
|
|
19401
19490
|
* type: array
|
|
19402
19491
|
* items:
|
|
19403
19492
|
* type: string
|
|
@@ -19424,7 +19513,7 @@ export interface IFlattenedProfile_2_0 {
|
|
|
19424
19513
|
prevent_data_collection: boolean;
|
|
19425
19514
|
accepted_gdpr: boolean;
|
|
19426
19515
|
privacy_policy: IProfilePrivacyPolicy;
|
|
19427
|
-
|
|
19516
|
+
tasks?: string[];
|
|
19428
19517
|
memories?: IMemory[];
|
|
19429
19518
|
firstname?: string;
|
|
19430
19519
|
lastname?: string;
|
|
@@ -19530,7 +19619,7 @@ export interface IProfileSchema_2_0 {
|
|
|
19530
19619
|
prevent_data_collection: "boolean";
|
|
19531
19620
|
accepted_gdpr: "boolean";
|
|
19532
19621
|
privacy_policy: "object";
|
|
19533
|
-
|
|
19622
|
+
tasks: "object";
|
|
19534
19623
|
memories: "object";
|
|
19535
19624
|
[key: string]: "string" | "boolean" | "number" | "object";
|
|
19536
19625
|
};
|
|
@@ -22326,7 +22415,242 @@ export interface AnalyticsAPIGroup_2_0 {
|
|
|
22326
22415
|
updateAnalyticsRecords: TRestAPIOperation<IUpdateAnalyticsRecordsRestData_2_0, IUpdateAnalyticsRecordsRestReturnValue_2_0>;
|
|
22327
22416
|
}
|
|
22328
22417
|
declare function AnalyticsAPIGroup_2_0(instance: Base): AnalyticsAPIGroup_2_0;
|
|
22329
|
-
export declare type
|
|
22418
|
+
export declare type PrometheusResponsePayload = {
|
|
22419
|
+
status: "success" | "error";
|
|
22420
|
+
/** Actual response data */
|
|
22421
|
+
data: unknown;
|
|
22422
|
+
/** Only set if the status is "error". */
|
|
22423
|
+
errorType?: string;
|
|
22424
|
+
/** Only set if the status is "error" */
|
|
22425
|
+
error?: string;
|
|
22426
|
+
/** Only set if there were warnings while executing the request */
|
|
22427
|
+
warnings?: string[];
|
|
22428
|
+
/** Only set if there were info-level annotations while executing the request */
|
|
22429
|
+
infos?: string[];
|
|
22430
|
+
};
|
|
22431
|
+
export interface IGetOpsCenterMetrics extends PrometheusResponsePayload {
|
|
22432
|
+
}
|
|
22433
|
+
export interface IGetOpsCenterMetricsRestDataQuery_2_0 {
|
|
22434
|
+
identifier: string;
|
|
22435
|
+
time: string;
|
|
22436
|
+
projectIds?: string[];
|
|
22437
|
+
}
|
|
22438
|
+
export interface IGetOpsCenterMetricsRestData_2_0 extends IGetOpsCenterMetricsRestDataQuery_2_0 {
|
|
22439
|
+
}
|
|
22440
|
+
export interface IGetOpsCenterMetricsRestReturnValue_2_0 extends IGetOpsCenterMetrics {
|
|
22441
|
+
}
|
|
22442
|
+
declare const chartTypes: readonly [
|
|
22443
|
+
"bar-chart",
|
|
22444
|
+
"heat-map",
|
|
22445
|
+
"line-chart",
|
|
22446
|
+
"alerts-errors",
|
|
22447
|
+
"health-status-monitor"
|
|
22448
|
+
];
|
|
22449
|
+
declare const segmentConfigArray: readonly [
|
|
22450
|
+
"voice-gateway",
|
|
22451
|
+
"endpoints",
|
|
22452
|
+
"flows",
|
|
22453
|
+
"overview",
|
|
22454
|
+
"handover-provider"
|
|
22455
|
+
];
|
|
22456
|
+
declare const availableColorsArray: readonly [
|
|
22457
|
+
"default",
|
|
22458
|
+
"blue",
|
|
22459
|
+
"yellow",
|
|
22460
|
+
"green",
|
|
22461
|
+
"purple",
|
|
22462
|
+
"red"
|
|
22463
|
+
];
|
|
22464
|
+
export declare type Segment = (typeof segmentConfigArray)[number];
|
|
22465
|
+
export declare type ChartType = (typeof chartTypes)[number];
|
|
22466
|
+
export declare type AvailableColors = (typeof availableColorsArray)[number];
|
|
22467
|
+
export declare type GridSize = "auto" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
22468
|
+
export interface ChartConfig {
|
|
22469
|
+
color?: string;
|
|
22470
|
+
height: number;
|
|
22471
|
+
}
|
|
22472
|
+
export interface ChartMeta {
|
|
22473
|
+
xs: GridSize;
|
|
22474
|
+
sm: GridSize;
|
|
22475
|
+
md: GridSize;
|
|
22476
|
+
lg: GridSize;
|
|
22477
|
+
xl: GridSize;
|
|
22478
|
+
}
|
|
22479
|
+
export interface ChartQueryConfig {
|
|
22480
|
+
metric: string;
|
|
22481
|
+
isPositiveTrend: boolean;
|
|
22482
|
+
identifier?: string;
|
|
22483
|
+
queryTemplate: string;
|
|
22484
|
+
}
|
|
22485
|
+
export interface ChartSegmentConfig {
|
|
22486
|
+
type: ChartType;
|
|
22487
|
+
title?: string;
|
|
22488
|
+
description?: string;
|
|
22489
|
+
queryConfig?: ChartQueryConfig;
|
|
22490
|
+
showCounts?: boolean;
|
|
22491
|
+
chartConfig?: ChartConfig;
|
|
22492
|
+
meta?: ChartMeta;
|
|
22493
|
+
}
|
|
22494
|
+
export declare type TColorConfig = {
|
|
22495
|
+
[key in AvailableColors]: string[];
|
|
22496
|
+
};
|
|
22497
|
+
export interface IGetOpsCenterMetricsConfig {
|
|
22498
|
+
meta: Record<string, never>;
|
|
22499
|
+
config: {
|
|
22500
|
+
[key in Segment]: ChartSegmentConfig[];
|
|
22501
|
+
};
|
|
22502
|
+
colorConfig: TColorConfig;
|
|
22503
|
+
}
|
|
22504
|
+
export interface IGetOpsCenterMetricsConfigRestReturnValue_2_0 extends IGetOpsCenterMetricsConfig {
|
|
22505
|
+
}
|
|
22506
|
+
export interface IGetOpsCenterMetricsRangeRestDataQuery_2_0 {
|
|
22507
|
+
identifier: string;
|
|
22508
|
+
projectIds?: string[];
|
|
22509
|
+
start: string;
|
|
22510
|
+
end: string;
|
|
22511
|
+
step: string;
|
|
22512
|
+
}
|
|
22513
|
+
export interface IGetOpsCenterMetricsRangeRestData_2_0 extends IGetOpsCenterMetricsRangeRestDataQuery_2_0 {
|
|
22514
|
+
}
|
|
22515
|
+
export interface IGetOpsCenterMetricsRangeRestReturnValue_2_0 extends IGetOpsCenterMetrics {
|
|
22516
|
+
}
|
|
22517
|
+
export interface IDeleteOpsCenterErrorRestDataParams_2_0 {
|
|
22518
|
+
errorId: string;
|
|
22519
|
+
}
|
|
22520
|
+
export interface IDeleteOpsCenterErrorRestData_2_0 extends IDeleteOpsCenterErrorRestDataParams_2_0 {
|
|
22521
|
+
}
|
|
22522
|
+
export interface IDeleteOpsCenterErrorRestReturnValue_2_0 {
|
|
22523
|
+
}
|
|
22524
|
+
declare const arrayOfTMainComponent: readonly [
|
|
22525
|
+
"VoiceGateway",
|
|
22526
|
+
"Endpoint",
|
|
22527
|
+
"Flow",
|
|
22528
|
+
"HandoverProvider"
|
|
22529
|
+
];
|
|
22530
|
+
/**
|
|
22531
|
+
* Errors and Alerts always belong to one of the main components.
|
|
22532
|
+
*/
|
|
22533
|
+
export declare type MainComponent = (typeof arrayOfTMainComponent)[number];
|
|
22534
|
+
declare const arrayOfTSubComponent: readonly [
|
|
22535
|
+
"SpeechToText",
|
|
22536
|
+
"TextToSpeech",
|
|
22537
|
+
"InputTransformer",
|
|
22538
|
+
"OutputTransformer",
|
|
22539
|
+
"ExecutionFinishedTransformer",
|
|
22540
|
+
"InjectTransformer",
|
|
22541
|
+
"NotifyTransformer",
|
|
22542
|
+
"RealtimeTranslation",
|
|
22543
|
+
"MessageRoundtrip",
|
|
22544
|
+
"FlowNodeExecution",
|
|
22545
|
+
"NaturalLanguageUnderstanding",
|
|
22546
|
+
"OutboundHTTPCalls",
|
|
22547
|
+
"LargeLanguageModelCalls",
|
|
22548
|
+
"KnowledgeAIQueries",
|
|
22549
|
+
"OutboundHTTPCalls"
|
|
22550
|
+
];
|
|
22551
|
+
/**
|
|
22552
|
+
* Each subcomponent belongs to a main component
|
|
22553
|
+
*/
|
|
22554
|
+
export declare type SubComponent = (typeof arrayOfTSubComponent)[number];
|
|
22555
|
+
export interface IOpsCenterError {
|
|
22556
|
+
id: string;
|
|
22557
|
+
organisationId: string;
|
|
22558
|
+
projectId?: string;
|
|
22559
|
+
title: string;
|
|
22560
|
+
firstOccurredAt: Date;
|
|
22561
|
+
lastOccurredAt: Date;
|
|
22562
|
+
component?: MainComponent;
|
|
22563
|
+
subComponent?: SubComponent;
|
|
22564
|
+
count: number;
|
|
22565
|
+
}
|
|
22566
|
+
export interface IGetOpsCenterError extends Partial<IOpsCenterError> {
|
|
22567
|
+
}
|
|
22568
|
+
export interface IGetOpsCenterErrorRestDataParams_2_0 {
|
|
22569
|
+
errorId: string;
|
|
22570
|
+
}
|
|
22571
|
+
export interface IGetOpsCenterErrorRestData_2_0 extends IGetOpsCenterErrorRestDataParams_2_0 {
|
|
22572
|
+
}
|
|
22573
|
+
export interface IGetOpsCenterErrorRestReturnValue_2_0 extends IGetOpsCenterError {
|
|
22574
|
+
}
|
|
22575
|
+
export interface IIndexOpsCenterErrorsRestDataQuery_2_0 {
|
|
22576
|
+
projectIds?: string[];
|
|
22577
|
+
component?: MainComponent;
|
|
22578
|
+
subComponent?: SubComponent;
|
|
22579
|
+
offset?: number;
|
|
22580
|
+
limit?: number;
|
|
22581
|
+
totalCountOnly?: string;
|
|
22582
|
+
sort?: string;
|
|
22583
|
+
}
|
|
22584
|
+
export interface IIndexOpsCenterErrorsRestData_2_0 extends IIndexOpsCenterErrorsRestDataQuery_2_0 {
|
|
22585
|
+
}
|
|
22586
|
+
export interface IIndexOpsCenterErrorsRestReturnValue_2_0 {
|
|
22587
|
+
total?: number;
|
|
22588
|
+
totalErrorCount?: number;
|
|
22589
|
+
items?: IGetOpsCenterError[];
|
|
22590
|
+
}
|
|
22591
|
+
declare const notificationChannels: readonly [
|
|
22592
|
+
"email"
|
|
22593
|
+
];
|
|
22594
|
+
export declare type NotificationChannel = (typeof notificationChannels)[number];
|
|
22595
|
+
export interface NotificationConfig {
|
|
22596
|
+
channel: NotificationChannel;
|
|
22597
|
+
/** List of email addresses to send notifications to. */
|
|
22598
|
+
addresses: string[];
|
|
22599
|
+
}
|
|
22600
|
+
export interface AlertingConfig {
|
|
22601
|
+
configuredAlerts: {
|
|
22602
|
+
[K in string]: boolean;
|
|
22603
|
+
};
|
|
22604
|
+
}
|
|
22605
|
+
export interface IOpsCenterObservationConfig {
|
|
22606
|
+
organisationId: string;
|
|
22607
|
+
observationActive: boolean;
|
|
22608
|
+
notificationConfig: NotificationConfig;
|
|
22609
|
+
alertingConfig: AlertingConfig;
|
|
22610
|
+
}
|
|
22611
|
+
export interface IGetOpsCenterObservationConfigRestReturnValue_2_0 extends IOpsCenterObservationConfig {
|
|
22612
|
+
}
|
|
22613
|
+
export interface IPatchOpsCenterObservationConfigRestDataBody_2_0 extends Partial<Omit<IOpsCenterObservationConfig, "organisationId">> {
|
|
22614
|
+
}
|
|
22615
|
+
export interface IPatchOpsCenterObservationConfigRestData_2_0 extends IPatchOpsCenterObservationConfigRestDataBody_2_0 {
|
|
22616
|
+
}
|
|
22617
|
+
export interface IPatchOpsCenterObservationConfigRestReturnValue_2_0 extends IOpsCenterObservationConfig {
|
|
22618
|
+
}
|
|
22619
|
+
export interface ISetupOpsCenterObservationConfigRestReturnValue_2_0 extends IOpsCenterObservationConfig {
|
|
22620
|
+
}
|
|
22621
|
+
export interface IOpsCenterAlert {
|
|
22622
|
+
type: string;
|
|
22623
|
+
name: string;
|
|
22624
|
+
description: string;
|
|
22625
|
+
component: MainComponent;
|
|
22626
|
+
subComponent: SubComponent;
|
|
22627
|
+
state: string;
|
|
22628
|
+
activeAt: string;
|
|
22629
|
+
}
|
|
22630
|
+
export interface IIndexOpsCenterAlertsRestDataQuery_2_0 {
|
|
22631
|
+
component?: MainComponent;
|
|
22632
|
+
subComponent?: SubComponent;
|
|
22633
|
+
}
|
|
22634
|
+
export interface IIndexOpsCenterAlertsRestData_2_0 extends IIndexOpsCenterAlertsRestDataQuery_2_0 {
|
|
22635
|
+
}
|
|
22636
|
+
export interface IIndexOpsCenterAlertsRestReturnValue_2_0 {
|
|
22637
|
+
items: IOpsCenterAlert[];
|
|
22638
|
+
total: number;
|
|
22639
|
+
}
|
|
22640
|
+
export interface AIOpsCenterAPIGroup_2_0 {
|
|
22641
|
+
indexOpsCenterErrors: TRestAPIOperation<IIndexOpsCenterErrorsRestData_2_0, IIndexOpsCenterErrorsRestReturnValue_2_0>;
|
|
22642
|
+
getOpsCenterErrorById: TRestAPIOperation<IGetOpsCenterErrorRestData_2_0, IGetOpsCenterErrorRestReturnValue_2_0>;
|
|
22643
|
+
deleteOpsCenterErrorById: TRestAPIOperation<IDeleteOpsCenterErrorRestData_2_0, IDeleteOpsCenterErrorRestReturnValue_2_0>;
|
|
22644
|
+
getOpsCenterMetrics: TRestAPIOperation<IGetOpsCenterMetricsRestData_2_0, IGetOpsCenterMetricsRestReturnValue_2_0>;
|
|
22645
|
+
getOpsCenterMetricsConfig: TRestAPIOperation<void, IGetOpsCenterMetricsConfigRestReturnValue_2_0>;
|
|
22646
|
+
getOpsCenterMetricsRange: TRestAPIOperation<IGetOpsCenterMetricsRangeRestData_2_0, IGetOpsCenterMetricsRangeRestReturnValue_2_0>;
|
|
22647
|
+
getOpsCenterObservationConfig: TRestAPIOperation<void, IGetOpsCenterObservationConfigRestReturnValue_2_0>;
|
|
22648
|
+
setupOpsCenterObservationConfig: TRestAPIOperation<void, ISetupOpsCenterObservationConfigRestReturnValue_2_0>;
|
|
22649
|
+
patchOpsCenterObservationConfig: TRestAPIOperation<IPatchOpsCenterObservationConfigRestData_2_0, IPatchOpsCenterObservationConfigRestReturnValue_2_0>;
|
|
22650
|
+
indexOpsCenterAlerts: TRestAPIOperation<IIndexOpsCenterAlertsRestData_2_0, IIndexOpsCenterAlertsRestReturnValue_2_0>;
|
|
22651
|
+
}
|
|
22652
|
+
declare function AIOpsCenterAPIGroup_2_0(instance: Base): AIOpsCenterAPIGroup_2_0;
|
|
22653
|
+
export declare type TRestAPIGroupsTypeByConfiguration<T extends IRestAPIClientConfig> = TResourceAPIVersionType<T> & TJWTAuthAPIVersionType<T> & TInsightsAPIVersionType<T> & TMetricsAPIVersionType<T> & TSessionAPIVersionType<T> & TExternalAPIVersionType<T> & TAdministrationAPIVersionType<T> & TManagementAPIVersionType<T> & TAnalyticsAPIVersionType<T> & TAIOpsCenterAPIVersionType<T>;
|
|
22330
22654
|
export declare type TResourceAPIVersionType<T> = T extends {
|
|
22331
22655
|
versions: {
|
|
22332
22656
|
resources: "2.0";
|
|
@@ -22372,6 +22696,11 @@ export declare type TAnalyticsAPIVersionType<T> = T extends {
|
|
|
22372
22696
|
analytics: "2.0";
|
|
22373
22697
|
};
|
|
22374
22698
|
} ? AnalyticsAPIGroup_2_0 : AnalyticsAPIGroup_2_0;
|
|
22699
|
+
export declare type TAIOpsCenterAPIVersionType<T> = T extends {
|
|
22700
|
+
versions: {
|
|
22701
|
+
aiops: "1.0";
|
|
22702
|
+
};
|
|
22703
|
+
} ? AIOpsCenterAPIGroup_2_0 : AIOpsCenterAPIGroup_2_0;
|
|
22375
22704
|
export declare type TRestAPIClient<T extends IRestAPIClientConfig = IRestAPIClientConfig> = TRestAPIGroupsTypeByConfiguration<T> & AuthenticationAPI & IRestAPIClientProperties<T> & IHttpAdapterAPI;
|
|
22376
22705
|
export interface IRestAPIClientConstructor {
|
|
22377
22706
|
new <T extends IRestAPIClientConfig>(config?: T): TRestAPIClient<T>;
|