@cognigy/rest-api-client 4.95.0 → 4.97.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/ManagementAPIGroup_2_0.js +2 -1
- package/build/apigroups/ResourcesAPIGroup_2_0.js +9 -0
- package/build/authentication/AuthenticationAPI.js +6 -1
- package/build/authentication/JWT/IJwtTokenAuthentication.js +3 -0
- package/build/authentication/JWT/JwtTokenAuthentication.js +22 -0
- package/build/shared/charts/descriptors/allFields.js +6 -0
- package/build/shared/charts/descriptors/analytics/addMemory.js +1 -1
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +6 -2
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/openAICompatibleProviderConnection.js +11 -0
- package/build/shared/charts/descriptors/connectionNodes/speechProviders/deepgramSpeechProviderConnection.js +11 -0
- package/build/shared/charts/descriptors/connectionNodes/speechProviders/index.js +2 -0
- package/build/shared/charts/descriptors/index.js +6 -0
- package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +13 -1
- package/build/shared/charts/descriptors/message/question/question.js +21 -13
- package/build/shared/charts/descriptors/message/say.js +25 -2
- package/build/shared/charts/descriptors/service/GPTPrompt.js +10 -2
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +184 -51
- package/build/shared/charts/descriptors/service/checkAgentAvailability.js +63 -3
- package/build/shared/charts/descriptors/service/handoverConnections.js +51 -0
- package/build/shared/charts/descriptors/service/handoverV2.js +124 -64
- package/build/shared/charts/descriptors/service/index.js +8 -1
- package/build/shared/charts/descriptors/voice/mappers/transfer.mapper.js +4 -1
- package/build/shared/charts/descriptors/voice/nodes/bargeIn.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/continuousAsr.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/dtmf.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/muteSpeechInput.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/noUserInput.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/play.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/sendMetadata.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +1 -1
- package/build/shared/charts/descriptors/voice/nodes/transfer.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/hangup.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/muteSpeechInput.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/record.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/refer.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/sendMetadata.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +1 -1
- package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +47 -2
- package/build/shared/constants.js +10 -1
- package/build/shared/helper/nlu/textCleaner.js +10 -2
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +3 -0
- package/build/shared/interfaces/handover.js +74 -10
- package/build/shared/interfaces/handoverProviders.js +23 -0
- package/build/shared/interfaces/messageAPI/endpoints.js +2 -0
- package/build/shared/interfaces/messageAPI/handover.js +25 -5
- package/build/shared/interfaces/resources/IAiAgent.js +10 -0
- package/build/shared/interfaces/resources/IExternalModel.js +3 -0
- package/build/shared/interfaces/resources/IHandoverProvider.js +3 -0
- package/build/shared/interfaces/resources/ILargeLanguageModel.js +13 -2
- package/build/shared/interfaces/resources/INodeDescriptorSet.js +9 -5
- package/build/shared/interfaces/resources/TResourceType.js +6 -0
- package/build/shared/interfaces/resources/intent/IDefaultReply.js +0 -1
- package/build/shared/interfaces/resources/settings/IAudioPreviewSettings.js +8 -2
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/ICreateHandoverProviderRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IDeleteHandoverProviderRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IHandoverProvider_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IHandoverService_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IIndexHandoverProvidersRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IIndexHandoverServicesRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IReadHandoverProviderRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IUpdateHandoverProviderRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/resources/handoverProvider/v2.0/index.js +3 -0
- package/build/shared/interfaces/security/IPermission.js +2 -0
- package/build/shared/interfaces/security/IRole.js +2 -0
- package/build/shared/interfaces/security/index.js +1 -1
- package/dist/esm/apigroups/ManagementAPIGroup_2_0.js +2 -1
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +9 -0
- package/dist/esm/authentication/AuthenticationAPI.js +6 -1
- package/dist/esm/authentication/JWT/IJwtTokenAuthentication.js +2 -0
- package/dist/esm/authentication/JWT/JwtTokenAuthentication.js +21 -0
- package/dist/esm/shared/charts/descriptors/allFields.js +6 -0
- package/dist/esm/shared/charts/descriptors/analytics/addMemory.js +1 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +4 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/openAICompatibleProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/deepgramSpeechProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/index.js +2 -0
- package/dist/esm/shared/charts/descriptors/index.js +7 -1
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +13 -1
- package/dist/esm/shared/charts/descriptors/message/question/question.js +21 -13
- package/dist/esm/shared/charts/descriptors/message/say.js +25 -2
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +10 -2
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +184 -51
- package/dist/esm/shared/charts/descriptors/service/checkAgentAvailability.js +63 -3
- package/dist/esm/shared/charts/descriptors/service/handoverConnections.js +48 -0
- package/dist/esm/shared/charts/descriptors/service/handoverV2.js +124 -64
- package/dist/esm/shared/charts/descriptors/service/index.js +1 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/transfer.mapper.js +4 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/bargeIn.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/continuousAsr.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/dtmf.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/muteSpeechInput.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/noUserInput.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/play.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/sendMetadata.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +1 -1
- package/dist/esm/shared/charts/descriptors/voice/nodes/transfer.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/hangup.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/muteSpeechInput.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/play.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/record.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/refer.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/sendMetadata.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +1 -1
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/transfer.js +47 -2
- package/dist/esm/shared/constants.js +9 -0
- package/dist/esm/shared/helper/nlu/textCleaner.js +10 -2
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +3 -0
- package/dist/esm/shared/interfaces/handover.js +73 -9
- package/dist/esm/shared/interfaces/handoverProviders.js +20 -0
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +2 -0
- package/dist/esm/shared/interfaces/messageAPI/handover.js +24 -4
- package/dist/esm/shared/interfaces/resources/IAiAgent.js +10 -0
- package/dist/esm/shared/interfaces/resources/IExternalModel.js +2 -0
- package/dist/esm/shared/interfaces/resources/IHandoverProvider.js +2 -0
- package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +12 -1
- package/dist/esm/shared/interfaces/resources/INodeDescriptorSet.js +9 -5
- package/dist/esm/shared/interfaces/resources/TResourceType.js +6 -0
- package/dist/esm/shared/interfaces/resources/intent/IDefaultReply.js +0 -1
- package/dist/esm/shared/interfaces/resources/settings/IAudioPreviewSettings.js +8 -2
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/ICreateHandoverProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IDeleteHandoverProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IHandoverProvider_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IHandoverService_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IIndexHandoverProvidersRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IIndexHandoverServicesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IReadHandoverProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/IUpdateHandoverProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/handoverProvider/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/security/IPermission.js +2 -0
- package/dist/esm/shared/interfaces/security/IRole.js +2 -0
- package/dist/esm/shared/interfaces/security/index.js +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +626 -25
package/types/index.d.ts
CHANGED
|
@@ -59,7 +59,11 @@ export interface IOAuth2Authentication {
|
|
|
59
59
|
*/
|
|
60
60
|
clientSecret: string;
|
|
61
61
|
}
|
|
62
|
-
export
|
|
62
|
+
export interface IJwtTokenAuthentication {
|
|
63
|
+
type: "JWT";
|
|
64
|
+
token: string;
|
|
65
|
+
}
|
|
66
|
+
export declare type TAuthenticationCredentials = IApiKeyAuthentication | IBasicAuthentication | IOAuth2Authentication | IJwtTokenAuthentication;
|
|
63
67
|
export interface ILoginByPasswordParameters {
|
|
64
68
|
type: "password";
|
|
65
69
|
/**
|
|
@@ -449,6 +453,7 @@ declare const projectWidePermissions: readonly [
|
|
|
449
453
|
"memberDetails",
|
|
450
454
|
"members",
|
|
451
455
|
"goals",
|
|
456
|
+
"handoverProviders",
|
|
452
457
|
"nluConnectors",
|
|
453
458
|
"packages",
|
|
454
459
|
"playbooks",
|
|
@@ -927,6 +932,7 @@ declare const arrayTResourceType: readonly [
|
|
|
927
932
|
"flowSettings",
|
|
928
933
|
"flowState",
|
|
929
934
|
"function",
|
|
935
|
+
"handoverProvider",
|
|
930
936
|
"intent",
|
|
931
937
|
"intentDefaultReply",
|
|
932
938
|
"intentLearningSentence",
|
|
@@ -1027,6 +1033,7 @@ declare const projectWideRoles: readonly [
|
|
|
1027
1033
|
"followUser",
|
|
1028
1034
|
"function_admin",
|
|
1029
1035
|
"function_editor",
|
|
1036
|
+
"handoverProviderAdmin",
|
|
1030
1037
|
"intents",
|
|
1031
1038
|
"knowledgeAdmin",
|
|
1032
1039
|
"large_language_model_admin",
|
|
@@ -1197,6 +1204,8 @@ export interface IOrganisationWideAcl {
|
|
|
1197
1204
|
* $ref: '#/components/schemas/ICrudPermissions'
|
|
1198
1205
|
* flows:
|
|
1199
1206
|
* $ref: '#/components/schemas/ICrudPermissions'
|
|
1207
|
+
* handoverProviders:
|
|
1208
|
+
* $ref: '#/components/schemas/ICrudPermissions'
|
|
1200
1209
|
* intents:
|
|
1201
1210
|
* $ref: '#/components/schemas/ICrudPermissions'
|
|
1202
1211
|
* largeLanguageModels:
|
|
@@ -1575,6 +1584,9 @@ export interface AuthenticationAPI {
|
|
|
1575
1584
|
webfinger: TRestAPIOperation<IWebfingerRestData, IWebfingerRestReturnValue>;
|
|
1576
1585
|
getAuthorizationCode?: (data: IGetAuthorizationCodeParameters) => Promise<IGetAuthorizationCodeResponse>;
|
|
1577
1586
|
exchangeOneTimeTokenForRefreshToken: TRestAPIOperation<IExchangeOneTimeTokenForRefreshTokenRestData_2_0, IExchangeOneTimeTokenForRefreshTokenRestReturnValue_2_0>;
|
|
1587
|
+
generateManagementUIAuthToken: TRestAPIOperation<void, {
|
|
1588
|
+
token: string;
|
|
1589
|
+
}>;
|
|
1578
1590
|
}
|
|
1579
1591
|
declare function AuthenticationAPI(instance: Base): AuthenticationAPI;
|
|
1580
1592
|
export interface IHttpResponse {
|
|
@@ -1982,7 +1994,7 @@ declare const analyticsSourceTypes: readonly [
|
|
|
1982
1994
|
export interface IBaseAnalyticsSourceData extends IBaseAnalyticsData {
|
|
1983
1995
|
intentScore: number;
|
|
1984
1996
|
intentFlow: string;
|
|
1985
|
-
understood: boolean;
|
|
1997
|
+
understood: boolean | null;
|
|
1986
1998
|
type: TAnalyticsType;
|
|
1987
1999
|
source: TAnalyticsSource;
|
|
1988
2000
|
schemaVersion: number;
|
|
@@ -2089,6 +2101,7 @@ declare const handoverProviders: readonly [
|
|
|
2089
2101
|
"rce",
|
|
2090
2102
|
"chatwoot",
|
|
2091
2103
|
"salesforce",
|
|
2104
|
+
"salesforceMIAW",
|
|
2092
2105
|
"liveAgent",
|
|
2093
2106
|
"genesysCloud",
|
|
2094
2107
|
"genesysCloudOM",
|
|
@@ -2112,7 +2125,7 @@ declare const copilotType: readonly [
|
|
|
2112
2125
|
"whisper"
|
|
2113
2126
|
];
|
|
2114
2127
|
export declare type TCopilotType = typeof copilotType[number];
|
|
2115
|
-
export declare type TProviderSettings = IRCEHandoverSettings | IChatwootHandoverSettings | ICognigyHandoverSettings | ISalesForceHandoverSettings | ILiveAgentHandoverSettings | IEightByEightHandoverSettings | IGenesysCloudHandoverSettings | IGenesysCloudOMHandoverSettings;
|
|
2128
|
+
export declare type TProviderSettings = IRCEHandoverSettings | IChatwootHandoverSettings | ICognigyHandoverSettings | ISalesForceHandoverSettings | ISalesforceMIAWHandoverSettings | ILiveAgentHandoverSettings | IEightByEightHandoverSettings | IGenesysCloudHandoverSettings | IGenesysCloudOMHandoverSettings;
|
|
2116
2129
|
export interface IRCEHandoverSettings {
|
|
2117
2130
|
/**
|
|
2118
2131
|
* Whether to forward all conversations
|
|
@@ -2130,6 +2143,8 @@ export interface IRCEHandoverSettings {
|
|
|
2130
2143
|
/**
|
|
2131
2144
|
* The API access token
|
|
2132
2145
|
* you can create within RCE
|
|
2146
|
+
*
|
|
2147
|
+
* @deprecated It will be removed in the future, used if rceConnection is not set
|
|
2133
2148
|
*/
|
|
2134
2149
|
apiAccessToken: string;
|
|
2135
2150
|
/**
|
|
@@ -2140,6 +2155,8 @@ export interface IRCEHandoverSettings {
|
|
|
2140
2155
|
/**
|
|
2141
2156
|
* The access token for your
|
|
2142
2157
|
* rce source sdk source
|
|
2158
|
+
*
|
|
2159
|
+
* @deprecated It will be removed in the future, used if rceConnection is not set
|
|
2143
2160
|
*/
|
|
2144
2161
|
realtimeAccessToken: string;
|
|
2145
2162
|
/**
|
|
@@ -2150,6 +2167,8 @@ export interface IRCEHandoverSettings {
|
|
|
2150
2167
|
/**
|
|
2151
2168
|
* The secret used to secure
|
|
2152
2169
|
* webhooks in RCE
|
|
2170
|
+
*
|
|
2171
|
+
* @deprecated It will be removed in the future, used if rceConnection is not set
|
|
2153
2172
|
*/
|
|
2154
2173
|
webhookSecret: string;
|
|
2155
2174
|
/**
|
|
@@ -2162,6 +2181,10 @@ export interface IRCEHandoverSettings {
|
|
|
2162
2181
|
* as the 'bot category' within RCE
|
|
2163
2182
|
*/
|
|
2164
2183
|
agentCategoryId: string;
|
|
2184
|
+
/**
|
|
2185
|
+
* The connection id of the RCE connection to retrieve webhook secret from
|
|
2186
|
+
*/
|
|
2187
|
+
rceConnection: string;
|
|
2165
2188
|
}
|
|
2166
2189
|
export interface IEightByEightHandoverSettings {
|
|
2167
2190
|
/**
|
|
@@ -2175,6 +2198,8 @@ export interface IEightByEightHandoverSettings {
|
|
|
2175
2198
|
/**
|
|
2176
2199
|
* The API access token
|
|
2177
2200
|
* you can create within 8x8
|
|
2201
|
+
*
|
|
2202
|
+
* @deprecated It will be removed in the future, used if eightByEightConnection is not set
|
|
2178
2203
|
*/
|
|
2179
2204
|
apiKey: string;
|
|
2180
2205
|
/**
|
|
@@ -2189,10 +2214,17 @@ export interface IEightByEightHandoverSettings {
|
|
|
2189
2214
|
* is therefore set to 'true'
|
|
2190
2215
|
*/
|
|
2191
2216
|
forwardOnlyHandoverConversations: true;
|
|
2217
|
+
/**
|
|
2218
|
+
* The connection id of the 8x8 connection to retrieve apiKey from
|
|
2219
|
+
*/
|
|
2220
|
+
eightByEightConnection: string;
|
|
2192
2221
|
}
|
|
2193
2222
|
export interface IChatwootHandoverSettings {
|
|
2194
2223
|
baseUrl: string;
|
|
2195
2224
|
accountId: string;
|
|
2225
|
+
/**
|
|
2226
|
+
* @deprecated It will be removed in the future, used if chatwootConnection is not set
|
|
2227
|
+
*/
|
|
2196
2228
|
apiKey: string;
|
|
2197
2229
|
chatwootInboxId: string;
|
|
2198
2230
|
/**
|
|
@@ -2202,10 +2234,17 @@ export interface IChatwootHandoverSettings {
|
|
|
2202
2234
|
* is therefore set to 'true'
|
|
2203
2235
|
*/
|
|
2204
2236
|
forwardOnlyHandoverConversations: true;
|
|
2237
|
+
/**
|
|
2238
|
+
* The connection id of the Chatwoot connection to retrieve apiKey secret from
|
|
2239
|
+
*/
|
|
2240
|
+
chatwootConnection: string;
|
|
2205
2241
|
}
|
|
2206
2242
|
export interface ILiveAgentHandoverSettings {
|
|
2207
2243
|
baseUrl: string;
|
|
2208
2244
|
accountId: string;
|
|
2245
|
+
/**
|
|
2246
|
+
* Used for legacy and platform settings
|
|
2247
|
+
*/
|
|
2209
2248
|
apiKey: string;
|
|
2210
2249
|
liveAgentInboxId: string;
|
|
2211
2250
|
/** if this is set to "true", the apiKey and baseUrl will be automatically picked from the system configuration as overrides */
|
|
@@ -2217,6 +2256,10 @@ export interface ILiveAgentHandoverSettings {
|
|
|
2217
2256
|
* is therefore set to 'true'
|
|
2218
2257
|
*/
|
|
2219
2258
|
forwardOnlyHandoverConversations: true;
|
|
2259
|
+
/**
|
|
2260
|
+
* The connection id of the Live Agent connection to retrieve apiKey secret from
|
|
2261
|
+
*/
|
|
2262
|
+
liveAgentConnection: string;
|
|
2220
2263
|
}
|
|
2221
2264
|
export interface ICognigyHandoverSettings {
|
|
2222
2265
|
/**
|
|
@@ -2244,6 +2287,22 @@ export interface ISalesForceHandoverSettings {
|
|
|
2244
2287
|
*/
|
|
2245
2288
|
forwardUnknownEventsToFlow: boolean;
|
|
2246
2289
|
}
|
|
2290
|
+
export interface ISalesforceMIAWHandoverSettings {
|
|
2291
|
+
baseUrl: string;
|
|
2292
|
+
capabilitiesVersion: string;
|
|
2293
|
+
organizationId: string;
|
|
2294
|
+
esDeveloperName: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Same as other clients, this setting cannot be changed,
|
|
2297
|
+
* and is therefore set to 'true'
|
|
2298
|
+
*/
|
|
2299
|
+
forwardOnlyHandoverConversations: true;
|
|
2300
|
+
/**
|
|
2301
|
+
* Whether to forward any unknown event to the flow as an
|
|
2302
|
+
* agentInject message
|
|
2303
|
+
*/
|
|
2304
|
+
forwardUnknownEventsToFlow: boolean;
|
|
2305
|
+
}
|
|
2247
2306
|
export interface IAgentAssistSettings {
|
|
2248
2307
|
copilotType: TCopilotType;
|
|
2249
2308
|
agentAssistFlowId: string;
|
|
@@ -2262,7 +2321,16 @@ export interface IGenesysCloudHandoverSettings {
|
|
|
2262
2321
|
queueId: string;
|
|
2263
2322
|
sessionDuration: number;
|
|
2264
2323
|
sendProfile: boolean;
|
|
2265
|
-
|
|
2324
|
+
/**
|
|
2325
|
+
* The connection id of the Genesys Cloud connection to retrieve clientId and clientSecret from
|
|
2326
|
+
*
|
|
2327
|
+
* @deprecated It will be removed in the future, used if genesysCloudConnection is not set
|
|
2328
|
+
*/
|
|
2329
|
+
oAuth2Connection?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* The connection id of the Genesys Cloud connection to retrieve clientId and clientSecret from
|
|
2332
|
+
*/
|
|
2333
|
+
genesysCloudConnection: string;
|
|
2266
2334
|
/**
|
|
2267
2335
|
* This setting cannot be changed,
|
|
2268
2336
|
* since the cognigy client only supports
|
|
@@ -2277,8 +2345,12 @@ export interface IGenesysCloudOMHandoverSettings {
|
|
|
2277
2345
|
queue: string;
|
|
2278
2346
|
webhookSecret: string;
|
|
2279
2347
|
sendProfile: boolean;
|
|
2280
|
-
clientId
|
|
2281
|
-
clientSecret
|
|
2348
|
+
clientId?: string;
|
|
2349
|
+
clientSecret?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* The connection id of the Genesys Cloud OM connection to retrieve clientId and clientSecret from
|
|
2352
|
+
*/
|
|
2353
|
+
genesysCloudOMConnection: string;
|
|
2282
2354
|
/**
|
|
2283
2355
|
* This setting cannot be changed,
|
|
2284
2356
|
* since the cognigy client only supports
|
|
@@ -2413,7 +2485,7 @@ export interface IGraphEndpointDependency {
|
|
|
2413
2485
|
* schemas:
|
|
2414
2486
|
* TChannelType:
|
|
2415
2487
|
* type: string
|
|
2416
|
-
* example:
|
|
2488
|
+
* example: webchat3
|
|
2417
2489
|
* enum:
|
|
2418
2490
|
* - facebook
|
|
2419
2491
|
* - alexa
|
|
@@ -2536,6 +2608,8 @@ export interface ICallEventFailoverSettings {
|
|
|
2536
2608
|
dialCallerId?: string;
|
|
2537
2609
|
dialMusic?: string;
|
|
2538
2610
|
dialTimeout?: number;
|
|
2611
|
+
enableTimeLimit?: boolean;
|
|
2612
|
+
timeLimit?: number;
|
|
2539
2613
|
dialTranscribeEnabled?: boolean;
|
|
2540
2614
|
dialTranscribeVendor?: string;
|
|
2541
2615
|
dialTranscribeLanguage?: string;
|
|
@@ -2946,8 +3020,8 @@ export interface IWebchatEndpointSharedSettings extends ITypingIndicatorSettings
|
|
|
2946
3020
|
*/
|
|
2947
3021
|
enableFileUpload: boolean;
|
|
2948
3022
|
/**
|
|
2949
|
-
|
|
2950
|
-
|
|
3023
|
+
* Whether to display a persistent
|
|
3024
|
+
* menu in the Webchat.
|
|
2951
3025
|
*/
|
|
2952
3026
|
enablePersistentMenu: boolean;
|
|
2953
3027
|
/**
|
|
@@ -3207,6 +3281,15 @@ export interface IWebchat3EndpointLayoutSettings {
|
|
|
3207
3281
|
* of input messages with a delay for the webchat
|
|
3208
3282
|
*/
|
|
3209
3283
|
enableInputCollation: boolean;
|
|
3284
|
+
/**
|
|
3285
|
+
* Whether to display a persistent
|
|
3286
|
+
* menu in the Webchat.
|
|
3287
|
+
*/
|
|
3288
|
+
enablePersistentMenu: boolean;
|
|
3289
|
+
/**
|
|
3290
|
+
* The persistent menu for the webchat
|
|
3291
|
+
*/
|
|
3292
|
+
persistentMenu: IWebchatPersistentMenu;
|
|
3210
3293
|
/**
|
|
3211
3294
|
* This setting configures the delay for the automatic
|
|
3212
3295
|
* input collation in miliseconds. Defaults to 1000
|
|
@@ -3252,6 +3335,18 @@ export interface IWebchat3EndpointLayoutSettings {
|
|
|
3252
3335
|
* Advanced watermark URL settings for the webchat
|
|
3253
3336
|
*/
|
|
3254
3337
|
watermarkUrl: string;
|
|
3338
|
+
/**
|
|
3339
|
+
* Setting to hide the chat bubble around AI Agent Messages
|
|
3340
|
+
*/
|
|
3341
|
+
disableBotOutputBorder: boolean;
|
|
3342
|
+
/**
|
|
3343
|
+
* Set a number that will be used as a percentage value for the max-width of AI Agent Messages
|
|
3344
|
+
*/
|
|
3345
|
+
botOutputMaxWidthPercentage: number;
|
|
3346
|
+
/**
|
|
3347
|
+
* Configure the width of the Webchat in px
|
|
3348
|
+
*/
|
|
3349
|
+
chatWindowWidth: number;
|
|
3255
3350
|
}
|
|
3256
3351
|
export interface IWebchat3EndpointColorsSettings {
|
|
3257
3352
|
/**
|
|
@@ -3335,6 +3430,23 @@ export interface IWebchat3EndpointBehaviorSettings {
|
|
|
3335
3430
|
* a connectivity indicator should be displayed
|
|
3336
3431
|
*/
|
|
3337
3432
|
enableConnectionStatusIndicator: boolean;
|
|
3433
|
+
/**
|
|
3434
|
+
* This setting enables collation of streamed
|
|
3435
|
+
* messages into one message bubble.
|
|
3436
|
+
*/
|
|
3437
|
+
collateStreamedOutputs: boolean;
|
|
3438
|
+
/**
|
|
3439
|
+
* This setting enables output messages to appear progressively.
|
|
3440
|
+
*/
|
|
3441
|
+
progressiveMessageRendering: boolean;
|
|
3442
|
+
/**
|
|
3443
|
+
* Whether the webchat renders Text messages as markdown
|
|
3444
|
+
*/
|
|
3445
|
+
renderMarkdown: boolean;
|
|
3446
|
+
/**
|
|
3447
|
+
* This setting determines how scrolling behaves if chat is scrolled to bottom and a new message comes in.
|
|
3448
|
+
*/
|
|
3449
|
+
scrollingBehavior: string;
|
|
3338
3450
|
}
|
|
3339
3451
|
export interface IWebchat3EndpointStartBehaviorSettings {
|
|
3340
3452
|
/**
|
|
@@ -3454,6 +3566,10 @@ export interface IWebchat3EndpointHomeScreenSettings {
|
|
|
3454
3566
|
*/
|
|
3455
3567
|
startConversationButtonText: string;
|
|
3456
3568
|
previousConversations: {
|
|
3569
|
+
/**
|
|
3570
|
+
* The text of the start new conversation button
|
|
3571
|
+
*/
|
|
3572
|
+
startNewConversationButtonText: string;
|
|
3457
3573
|
/**
|
|
3458
3574
|
* Whether the previous conversations are enabled
|
|
3459
3575
|
*/
|
|
@@ -4186,6 +4302,7 @@ declare const generativeAIModels: readonly [
|
|
|
4186
4302
|
"amazon.nova-pro-v1:0",
|
|
4187
4303
|
"amazon.nova-micro-v1:0",
|
|
4188
4304
|
"anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
4305
|
+
"claude-3-7-sonnet-20250219",
|
|
4189
4306
|
"text-embedding-3-small",
|
|
4190
4307
|
"text-embedding-3-large",
|
|
4191
4308
|
"text-embedding-ada-002",
|
|
@@ -4221,6 +4338,7 @@ export declare type TGenerativeAIModels = (typeof generativeAIModels)[number];
|
|
|
4221
4338
|
declare const generativeAIProviders: readonly [
|
|
4222
4339
|
"azureOpenAI",
|
|
4223
4340
|
"openAI",
|
|
4341
|
+
"openAICompatible",
|
|
4224
4342
|
"alephAlpha",
|
|
4225
4343
|
"anthropic",
|
|
4226
4344
|
"googleVertexAI",
|
|
@@ -5041,7 +5159,7 @@ export interface IAgentTranslationSettings_2_0 {
|
|
|
5041
5159
|
* - google
|
|
5042
5160
|
* - aws
|
|
5043
5161
|
*/
|
|
5044
|
-
export declare type TAudioPreviewProvider_2_0 = "microsoft" | "google" | "aws" | null;
|
|
5162
|
+
export declare type TAudioPreviewProvider_2_0 = "microsoft" | "google" | "aws" | "deepgram" | null;
|
|
5045
5163
|
/**
|
|
5046
5164
|
* @openapi
|
|
5047
5165
|
*
|
|
@@ -5085,6 +5203,9 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5085
5203
|
aws: {
|
|
5086
5204
|
connectionId: string;
|
|
5087
5205
|
};
|
|
5206
|
+
deepgram: {
|
|
5207
|
+
connectionId: string;
|
|
5208
|
+
};
|
|
5088
5209
|
};
|
|
5089
5210
|
}
|
|
5090
5211
|
/**
|
|
@@ -5097,6 +5218,7 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5097
5218
|
* description: Supported Generative AI Providers
|
|
5098
5219
|
* enum:
|
|
5099
5220
|
* - openAI
|
|
5221
|
+
* - openAICompatible
|
|
5100
5222
|
* - azureOpenAI
|
|
5101
5223
|
* - anthropic
|
|
5102
5224
|
* - googleVertexAI
|
|
@@ -8519,6 +8641,11 @@ export interface IGraphConnection {
|
|
|
8519
8641
|
}
|
|
8520
8642
|
export interface IOpenAIMeta {
|
|
8521
8643
|
customModel?: string;
|
|
8644
|
+
baseCustomUrl?: string | null;
|
|
8645
|
+
}
|
|
8646
|
+
export interface IOpenAICompatibleMeta {
|
|
8647
|
+
customModel: string;
|
|
8648
|
+
baseCustomUrl: string;
|
|
8522
8649
|
}
|
|
8523
8650
|
export interface IAlephAlphaMeta {
|
|
8524
8651
|
customModel?: string;
|
|
@@ -8576,6 +8703,7 @@ export interface ILargeLanguageModel extends IEntityMeta, IGlobalResource {
|
|
|
8576
8703
|
googleVertexAI?: IGoogleVertexAIMeta;
|
|
8577
8704
|
googleGemini?: IGoogleGeminiMeta;
|
|
8578
8705
|
openAI?: IOpenAIMeta;
|
|
8706
|
+
openAICompatible?: IOpenAICompatibleMeta;
|
|
8579
8707
|
alephAlpha?: IAlephAlphaMeta;
|
|
8580
8708
|
anthropic?: IAnthropicMeta;
|
|
8581
8709
|
awsBedrock?: IAwsBedrockMeta;
|
|
@@ -8705,6 +8833,8 @@ export interface IHandoverNodeParams extends INodeFunctionBaseParams {
|
|
|
8705
8833
|
quickReply: string;
|
|
8706
8834
|
chatwootInboxId: string;
|
|
8707
8835
|
liveAgentInboxId: string;
|
|
8836
|
+
handoverProviderConfig: object;
|
|
8837
|
+
handoverProvider: string;
|
|
8708
8838
|
};
|
|
8709
8839
|
}
|
|
8710
8840
|
export interface IHttpBasicAuthConnectionFields {
|
|
@@ -8902,7 +9032,8 @@ export declare type TDebugEventPayload = IInputChangedEventPayload | IContextCha
|
|
|
8902
9032
|
declare const audioPreviewProviders: readonly [
|
|
8903
9033
|
"microsoft",
|
|
8904
9034
|
"google",
|
|
8905
|
-
"aws"
|
|
9035
|
+
"aws",
|
|
9036
|
+
"deepgram"
|
|
8906
9037
|
];
|
|
8907
9038
|
export declare type TAudioPreviewProvider = typeof audioPreviewProviders[number];
|
|
8908
9039
|
/**
|
|
@@ -9224,6 +9355,8 @@ export interface IHandoverRequestStatus {
|
|
|
9224
9355
|
}
|
|
9225
9356
|
export interface IHandoverNodeV2Params extends INodeFunctionBaseParams {
|
|
9226
9357
|
config: {
|
|
9358
|
+
handoverProvider: THandoverProvider | "legacyEndpoint" | null;
|
|
9359
|
+
handoverProviderConfig: Record<string, any>;
|
|
9227
9360
|
text: string;
|
|
9228
9361
|
cancelIntent: string;
|
|
9229
9362
|
quickReply: string;
|
|
@@ -9237,10 +9370,6 @@ export interface IHandoverNodeV2Params extends INodeFunctionBaseParams {
|
|
|
9237
9370
|
buttonId: string;
|
|
9238
9371
|
salesforcePrechatDetails: object[];
|
|
9239
9372
|
salesforcePrechatEntities: object[];
|
|
9240
|
-
buttonIdMIAW: string;
|
|
9241
|
-
sendTranscriptAsFirstMessageMIAW: boolean;
|
|
9242
|
-
salesforcePrechatDetailsMIAW: object[];
|
|
9243
|
-
salesforcePrechatEntitiesMIAW: object;
|
|
9244
9373
|
eightByEightChannelId: string;
|
|
9245
9374
|
eightByEightQueueId: string;
|
|
9246
9375
|
eightByEightJSONProps: object;
|
|
@@ -9287,6 +9416,8 @@ export interface ICheckAgentAvailabilityNodeParams extends INodeFunctionBasePara
|
|
|
9287
9416
|
abortOnError: boolean;
|
|
9288
9417
|
errorLogging: "none" | "basic" | "full";
|
|
9289
9418
|
logWarning: string;
|
|
9419
|
+
checkAgentAvailabilityProvider: THandoverProvider | "legacyEndpoint" | null;
|
|
9420
|
+
checkAgentAvailabilityConfig: Record<string, any>;
|
|
9290
9421
|
};
|
|
9291
9422
|
}
|
|
9292
9423
|
export interface ITriggerFunctionNodeParams extends INodeFunctionBaseParams {
|
|
@@ -9306,6 +9437,12 @@ export interface ISpeakingStyle {
|
|
|
9306
9437
|
formality: string;
|
|
9307
9438
|
[key: string]: string;
|
|
9308
9439
|
}
|
|
9440
|
+
export interface IVoiceConfigParams {
|
|
9441
|
+
ttsVoice: string;
|
|
9442
|
+
ttsLanguage: string;
|
|
9443
|
+
ttsVendor: TVoiceGateway2TTSVendor | "none";
|
|
9444
|
+
ttsModel: string;
|
|
9445
|
+
}
|
|
9309
9446
|
declare const contactProfileOptions: readonly [
|
|
9310
9447
|
"none",
|
|
9311
9448
|
"selectedProfileFields",
|
|
@@ -9327,6 +9464,8 @@ export interface IAiAgent extends IEntityMeta {
|
|
|
9327
9464
|
knowledgeReferenceId: string;
|
|
9328
9465
|
description: string;
|
|
9329
9466
|
speakingStyle: ISpeakingStyle;
|
|
9467
|
+
voiceConfigs: IVoiceConfigParams;
|
|
9468
|
+
enableVoiceConfigs: boolean;
|
|
9330
9469
|
safetySettings: ISafetySettings;
|
|
9331
9470
|
instructions: string;
|
|
9332
9471
|
contactProfilesOption: TContactProfileOptions;
|
|
@@ -9390,6 +9529,7 @@ export interface ISayNodeConfigParams {
|
|
|
9390
9529
|
export interface ISayNodeConfig extends INodeWithAiRephraseConfig {
|
|
9391
9530
|
say: ISayNodeConfigParams;
|
|
9392
9531
|
handoverOutput: ISayNodeSettings["liveAgentSettings"]["outputDestination"];
|
|
9532
|
+
preventTranscript: boolean;
|
|
9393
9533
|
}
|
|
9394
9534
|
export interface ISayParams extends INodeFunctionBaseParams {
|
|
9395
9535
|
config: ISayNodeConfig;
|
|
@@ -9455,6 +9595,7 @@ export interface IQuestionNodeSharedConfig extends INodeWithAiRephraseConfig {
|
|
|
9455
9595
|
maxExecutionDiff: number;
|
|
9456
9596
|
resultLocation: string;
|
|
9457
9597
|
skipRepromptOnIntent: boolean;
|
|
9598
|
+
preventTranscript: boolean;
|
|
9458
9599
|
escalateAnswersAction: "none" | "goto" | "execute" | "skip" | "text" | "handover";
|
|
9459
9600
|
escalateAnswersThreshold: number;
|
|
9460
9601
|
escalateAnswersGotoTarget: string;
|
|
@@ -10057,6 +10198,10 @@ export interface IRunGenerativeAIPromptOptions {
|
|
|
10057
10198
|
maxImageFileSizeInBytes?: number;
|
|
10058
10199
|
};
|
|
10059
10200
|
};
|
|
10201
|
+
/**
|
|
10202
|
+
* Option to prevent the replacing of \n with " " in streamed outputs
|
|
10203
|
+
*/
|
|
10204
|
+
preventNewLineRemoval?: boolean;
|
|
10060
10205
|
}
|
|
10061
10206
|
export interface IAzureOpenAIProviderFieldsV2 {
|
|
10062
10207
|
apiKey: string;
|
|
@@ -11031,6 +11176,10 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11031
11176
|
updateSessionStateValues(values: Partial<ISessionState>): void;
|
|
11032
11177
|
getLLMTokenUsageForSession(): TSessionUsageInformation | null;
|
|
11033
11178
|
loadSessionState: () => Promise<Partial<ISessionStateWithoutMeta>>;
|
|
11179
|
+
emitToOpsCenter: (params: {
|
|
11180
|
+
title: string;
|
|
11181
|
+
subComponent?: string;
|
|
11182
|
+
}) => void;
|
|
11034
11183
|
}
|
|
11035
11184
|
export interface INodeExecutionCognigyObject extends IExecutionObjects {
|
|
11036
11185
|
api: INodeExecutionAPI;
|
|
@@ -11199,10 +11348,13 @@ export interface INodeDependencies {
|
|
|
11199
11348
|
declare const nodeFieldTypes: readonly [
|
|
11200
11349
|
"adaptivecard",
|
|
11201
11350
|
"agentAssistConfig",
|
|
11351
|
+
"aiAgentSelect",
|
|
11202
11352
|
"appTemplate",
|
|
11203
11353
|
"backgroundSelector",
|
|
11204
11354
|
"caseNode",
|
|
11205
11355
|
"checkbox",
|
|
11356
|
+
"checkAgentAvailabilityProvider",
|
|
11357
|
+
"checkAgentAvailabilityConfig",
|
|
11206
11358
|
"chipInput",
|
|
11207
11359
|
"code",
|
|
11208
11360
|
"cognigyLLMText",
|
|
@@ -11217,16 +11369,16 @@ declare const nodeFieldTypes: readonly [
|
|
|
11217
11369
|
"flow",
|
|
11218
11370
|
"flowNode",
|
|
11219
11371
|
"function",
|
|
11372
|
+
"goalAndStepsSelect",
|
|
11373
|
+
"handoverProvider",
|
|
11374
|
+
"handoverProviderConfig",
|
|
11220
11375
|
"json",
|
|
11221
11376
|
"keyValuePairs",
|
|
11222
|
-
"
|
|
11377
|
+
"knowledgeSourceTags",
|
|
11223
11378
|
"knowledgeStore",
|
|
11224
11379
|
"knowledgeStoreSelect",
|
|
11225
|
-
"knowledgeSourceTags",
|
|
11226
|
-
"llmSelect",
|
|
11227
|
-
"aiAgentSelect",
|
|
11228
|
-
"goalAndStepsSelect",
|
|
11229
11380
|
"lexicon",
|
|
11381
|
+
"llmSelect",
|
|
11230
11382
|
"localeField",
|
|
11231
11383
|
"node",
|
|
11232
11384
|
"number",
|
|
@@ -11246,6 +11398,7 @@ declare const nodeFieldTypes: readonly [
|
|
|
11246
11398
|
"textArray",
|
|
11247
11399
|
"time",
|
|
11248
11400
|
"toggle",
|
|
11401
|
+
"toolParameters",
|
|
11249
11402
|
"ttsSelect",
|
|
11250
11403
|
"typescript",
|
|
11251
11404
|
"xml"
|
|
@@ -11664,7 +11817,247 @@ export interface IGraphGoal {
|
|
|
11664
11817
|
name: string;
|
|
11665
11818
|
properties: Pick<IGoal, "createdAt" | "createdBy" | "lastChanged" | "lastChangedBy">;
|
|
11666
11819
|
}
|
|
11667
|
-
|
|
11820
|
+
declare const handoverServices: readonly [
|
|
11821
|
+
"cognigy",
|
|
11822
|
+
"none",
|
|
11823
|
+
"rce",
|
|
11824
|
+
"chatwoot",
|
|
11825
|
+
"salesforce",
|
|
11826
|
+
"liveAgent",
|
|
11827
|
+
"genesysCloud",
|
|
11828
|
+
"genesysCloudOM",
|
|
11829
|
+
"eightByEight",
|
|
11830
|
+
"salesforceMIAW"
|
|
11831
|
+
];
|
|
11832
|
+
export declare type THandoverService = typeof handoverServices[number];
|
|
11833
|
+
export declare type TServiceSettings = IRCEHandoverSettings | IChatwootHandoverSettings | ICognigyHandoverSettings | ISalesForceHandoverSettings | ILiveAgentHandoverSettings | IEightByEightHandoverSettings | IGenesysCloudHandoverSettings | IGenesysCloudOMHandoverSettings | ISalesforceMIAWHandoverSettings;
|
|
11834
|
+
export interface IHandoverServiceProperties {
|
|
11835
|
+
key: "basicActionTile";
|
|
11836
|
+
type: "cognigyText";
|
|
11837
|
+
label: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__LABEL";
|
|
11838
|
+
description: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__DESCRIPTION";
|
|
11839
|
+
defaultValue: "";
|
|
11840
|
+
condition: {
|
|
11841
|
+
key: "cardType";
|
|
11842
|
+
value: "basic";
|
|
11843
|
+
};
|
|
11844
|
+
}
|
|
11845
|
+
export interface IHandoverProviderProperties {
|
|
11846
|
+
key: "basicActionTile";
|
|
11847
|
+
type: "cognigyText";
|
|
11848
|
+
label: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__LABEL";
|
|
11849
|
+
description: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__DESCRIPTION";
|
|
11850
|
+
defaultValue: "";
|
|
11851
|
+
condition: {
|
|
11852
|
+
key: "cardType";
|
|
11853
|
+
value: "basic";
|
|
11854
|
+
};
|
|
11855
|
+
}
|
|
11856
|
+
export interface IRCEHandoverSettings {
|
|
11857
|
+
/**
|
|
11858
|
+
* Whether to forward all conversations
|
|
11859
|
+
* to the Service, or only the conversations
|
|
11860
|
+
* that trigger a handover. If this setting is true,
|
|
11861
|
+
* then we will only forward conversations were handover
|
|
11862
|
+
* was triggered.
|
|
11863
|
+
*/
|
|
11864
|
+
forwardOnlyHandoverConversations?: boolean;
|
|
11865
|
+
/**
|
|
11866
|
+
* Indicates if queue updates should be enabled
|
|
11867
|
+
* to receive events about the estimated wait time
|
|
11868
|
+
*/
|
|
11869
|
+
getQueueUpdates?: boolean;
|
|
11870
|
+
/**
|
|
11871
|
+
* The API access token
|
|
11872
|
+
* you can create within RCE
|
|
11873
|
+
*/
|
|
11874
|
+
apiAccessToken: string;
|
|
11875
|
+
/**
|
|
11876
|
+
* The API URL to your
|
|
11877
|
+
* RCE installation
|
|
11878
|
+
*/
|
|
11879
|
+
baseApiUrl: string;
|
|
11880
|
+
/**
|
|
11881
|
+
* The access token for your
|
|
11882
|
+
* rce source sdk source
|
|
11883
|
+
*/
|
|
11884
|
+
realtimeAccessToken: string;
|
|
11885
|
+
/**
|
|
11886
|
+
* The endpoint URL of your
|
|
11887
|
+
* rce source sdk source
|
|
11888
|
+
*/
|
|
11889
|
+
realtimeEndpointUrl: string;
|
|
11890
|
+
/**
|
|
11891
|
+
* The secret used to secure
|
|
11892
|
+
* webhooks in RCE
|
|
11893
|
+
*/
|
|
11894
|
+
webhookSecret: string;
|
|
11895
|
+
/**
|
|
11896
|
+
* The ID of the category you use
|
|
11897
|
+
* as the 'bot category' within RCE
|
|
11898
|
+
*/
|
|
11899
|
+
botCategoryId: string;
|
|
11900
|
+
/**
|
|
11901
|
+
* The ID of the category you use
|
|
11902
|
+
* as the 'bot category' within RCE
|
|
11903
|
+
*/
|
|
11904
|
+
agentCategoryId: string;
|
|
11905
|
+
}
|
|
11906
|
+
export interface IEightByEightHandoverSettings {
|
|
11907
|
+
/**
|
|
11908
|
+
* The API access token
|
|
11909
|
+
* you can create within 8x8
|
|
11910
|
+
*/
|
|
11911
|
+
/**
|
|
11912
|
+
* The API URL to the 8x8 environment
|
|
11913
|
+
*/
|
|
11914
|
+
baseUrl: string;
|
|
11915
|
+
/**
|
|
11916
|
+
* The API access token
|
|
11917
|
+
* you can create within 8x8
|
|
11918
|
+
*/
|
|
11919
|
+
apiKey: string;
|
|
11920
|
+
/**
|
|
11921
|
+
* It is a key which has
|
|
11922
|
+
* to be included in the header
|
|
11923
|
+
*/
|
|
11924
|
+
apiTenant: string;
|
|
11925
|
+
/**
|
|
11926
|
+
* This setting cannot be changed,
|
|
11927
|
+
* since the chatwoot client only supports
|
|
11928
|
+
* forwarding handover conversations. The value
|
|
11929
|
+
* is therefore set to 'true'
|
|
11930
|
+
*/
|
|
11931
|
+
forwardOnlyHandoverConversations: true;
|
|
11932
|
+
}
|
|
11933
|
+
export interface IChatwootHandoverSettings {
|
|
11934
|
+
baseUrl: string;
|
|
11935
|
+
accountId: string;
|
|
11936
|
+
apiKey: string;
|
|
11937
|
+
chatwootInboxId: string;
|
|
11938
|
+
/**
|
|
11939
|
+
* This setting cannot be changed,
|
|
11940
|
+
* since the chatwoot client only supports
|
|
11941
|
+
* forwarding handover conversations. The value
|
|
11942
|
+
* is therefore set to 'true'
|
|
11943
|
+
*/
|
|
11944
|
+
forwardOnlyHandoverConversations: true;
|
|
11945
|
+
}
|
|
11946
|
+
export interface ILiveAgentHandoverSettings {
|
|
11947
|
+
baseUrl: string;
|
|
11948
|
+
accountId: string;
|
|
11949
|
+
apiKey: string;
|
|
11950
|
+
liveAgentInboxId: string;
|
|
11951
|
+
/** if this is set to "true", the apiKey and baseUrl will be automatically picked from the system configuration as overrides */
|
|
11952
|
+
usePlatformToken: boolean;
|
|
11953
|
+
/**
|
|
11954
|
+
* This setting cannot be changed,
|
|
11955
|
+
* since the chatwoot client only supports
|
|
11956
|
+
* forwarding handover conversations. The value
|
|
11957
|
+
* is therefore set to 'true'
|
|
11958
|
+
*/
|
|
11959
|
+
forwardOnlyHandoverConversations: true;
|
|
11960
|
+
}
|
|
11961
|
+
export interface ICognigyHandoverSettings {
|
|
11962
|
+
/**
|
|
11963
|
+
* This setting cannot be changed,
|
|
11964
|
+
* since the cognigy client only supports
|
|
11965
|
+
* forwarding handover conversations. The value
|
|
11966
|
+
* is therefore set to 'true'
|
|
11967
|
+
*/
|
|
11968
|
+
forwardOnlyHandoverConversations: true;
|
|
11969
|
+
}
|
|
11970
|
+
export interface ISalesForceHandoverSettings {
|
|
11971
|
+
apiVersion: string;
|
|
11972
|
+
baseUrl: string;
|
|
11973
|
+
organizationId: string;
|
|
11974
|
+
deploymentId: string;
|
|
11975
|
+
buttonId: string;
|
|
11976
|
+
/**
|
|
11977
|
+
* Same as other clients, this setting cannot be changed,
|
|
11978
|
+
* and is therefore set to 'true'
|
|
11979
|
+
*/
|
|
11980
|
+
forwardOnlyHandoverConversations: true;
|
|
11981
|
+
/**
|
|
11982
|
+
* Whether to forward any unknown event to the flow as an
|
|
11983
|
+
* agentInject message
|
|
11984
|
+
*/
|
|
11985
|
+
forwardUnknownEventsToFlow: boolean;
|
|
11986
|
+
}
|
|
11987
|
+
export interface IGenesysCloudHandoverSettings {
|
|
11988
|
+
host: string;
|
|
11989
|
+
organizationId: string;
|
|
11990
|
+
deploymentId: string;
|
|
11991
|
+
queue: string;
|
|
11992
|
+
queueId: string;
|
|
11993
|
+
sessionDuration: number;
|
|
11994
|
+
sendProfile: boolean;
|
|
11995
|
+
oAuth2Connection: string;
|
|
11996
|
+
/**
|
|
11997
|
+
* This setting cannot be changed,
|
|
11998
|
+
* since the cognigy client only supports
|
|
11999
|
+
* forwarding handover conversations. The value
|
|
12000
|
+
* is therefore set to 'true'
|
|
12001
|
+
*/
|
|
12002
|
+
forwardOnlyHandoverConversations: true;
|
|
12003
|
+
}
|
|
12004
|
+
export interface IGenesysCloudOMHandoverSettings {
|
|
12005
|
+
host: string;
|
|
12006
|
+
deploymentName: string;
|
|
12007
|
+
queue: string;
|
|
12008
|
+
webhookSecret: string;
|
|
12009
|
+
sendProfile: boolean;
|
|
12010
|
+
clientId: string;
|
|
12011
|
+
clientSecret: string;
|
|
12012
|
+
/**
|
|
12013
|
+
* This setting cannot be changed,
|
|
12014
|
+
* since the cognigy client only supports
|
|
12015
|
+
* forwarding handover conversations. The value
|
|
12016
|
+
* is therefore set to 'true'
|
|
12017
|
+
*/
|
|
12018
|
+
forwardOnlyHandoverConversations: true;
|
|
12019
|
+
}
|
|
12020
|
+
export interface ISalesforceMIAWHandoverSettings {
|
|
12021
|
+
baseUrl: string;
|
|
12022
|
+
capabilitiesVersion: string;
|
|
12023
|
+
organizationId: string;
|
|
12024
|
+
esDeveloperName: string;
|
|
12025
|
+
/**
|
|
12026
|
+
* Same as other clients, this setting cannot be changed,
|
|
12027
|
+
* and is therefore set to 'true'
|
|
12028
|
+
*/
|
|
12029
|
+
forwardOnlyHandoverConversations: true;
|
|
12030
|
+
/**
|
|
12031
|
+
* Whether to forward any unknown event to the flow as an
|
|
12032
|
+
* agentInject message
|
|
12033
|
+
*/
|
|
12034
|
+
forwardUnknownEventsToFlow: boolean;
|
|
12035
|
+
}
|
|
12036
|
+
export interface IHandoverProvider {
|
|
12037
|
+
_id: TMongoId;
|
|
12038
|
+
referenceId: string;
|
|
12039
|
+
organisationId: string;
|
|
12040
|
+
serviceId: string;
|
|
12041
|
+
service: THandoverService;
|
|
12042
|
+
/** The referenceId of the locale to use */
|
|
12043
|
+
localeId: string;
|
|
12044
|
+
/** The name of the handover provider resource */
|
|
12045
|
+
name: string;
|
|
12046
|
+
createdAt: number;
|
|
12047
|
+
lastChanged: number;
|
|
12048
|
+
createdBy: TMongoId;
|
|
12049
|
+
lastChangedBy: TMongoId;
|
|
12050
|
+
properties: IHandoverProviderProperties[];
|
|
12051
|
+
settings: IHandoverProviderSettings;
|
|
12052
|
+
}
|
|
12053
|
+
export interface IGraphHandoverProvider extends IHandoverProvider {
|
|
12054
|
+
type: "handoverProvider";
|
|
12055
|
+
}
|
|
12056
|
+
export interface IHandoverProviderSettings {
|
|
12057
|
+
service: THandoverService;
|
|
12058
|
+
serviceSettings?: TServiceSettings;
|
|
12059
|
+
}
|
|
12060
|
+
export declare type IGraphResourceWithReferenceId = IGraphAgentAssistConfig | IGraphConnection | IGraphFlow | IGraphFunction | IGraphLargeLanguageModel | IGraphLexicon | IGraphLocale | IGraphNLUConnector | IGraphSnippet | IGraphAgentAssistConfig | IGraphKnowledgeStore | IGraphGoal | IGraphHandoverProvider | IGraphAiAgent;
|
|
11668
12061
|
export declare type IGraphResourceWithoutReferenceId = IGraphEndpoint | IGraphExtension | IGraphFile | IGraphPlaybook;
|
|
11669
12062
|
export declare type IGraphResource = IGraphResourceWithReferenceId | IGraphResourceWithoutReferenceId;
|
|
11670
12063
|
/**
|
|
@@ -14583,7 +14976,7 @@ export interface IConnectionIndexItem_2_0 extends Pick<IGlobalResource, "resourc
|
|
|
14583
14976
|
createdBy: TMongoId;
|
|
14584
14977
|
lastChangedBy: TMongoId;
|
|
14585
14978
|
}
|
|
14586
|
-
export interface IIndexConnectionsRestData_2_0 extends IRestPagination<IConnectionIndexItem_2_0>, Partial<IProjectScope> {
|
|
14979
|
+
export interface IIndexConnectionsRestData_2_0 extends IRestPagination<IConnectionIndexItem_2_0>, Pick<IGlobalResource, "resourceLevel">, Partial<IProjectScope> {
|
|
14587
14980
|
}
|
|
14588
14981
|
export interface IIndexConnectionsRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<IConnectionIndexItem_2_0> {
|
|
14589
14982
|
}
|
|
@@ -16134,6 +16527,8 @@ export interface ITransferNodeParams extends INodeFunctionBaseParams {
|
|
|
16134
16527
|
dialCallerId?: string;
|
|
16135
16528
|
dialMusic?: string;
|
|
16136
16529
|
dialTimeout?: number;
|
|
16530
|
+
enableTimeLimit?: boolean;
|
|
16531
|
+
timeLimit?: number;
|
|
16137
16532
|
dialTranscriptionWebhook?: string;
|
|
16138
16533
|
recognitionChannel: number;
|
|
16139
16534
|
sttLanguage: string;
|
|
@@ -16307,7 +16702,7 @@ export interface ICognigyNodes {
|
|
|
16307
16702
|
}
|
|
16308
16703
|
export interface IUploadFileRestDataQuery_2_0 extends IProjectScope {
|
|
16309
16704
|
}
|
|
16310
|
-
export interface IUploadFileRestDataBody_2_0 {
|
|
16705
|
+
export interface IUploadFileRestDataBody_2_0 extends Pick<IGlobalResource, "resourceLevel"> {
|
|
16311
16706
|
file: File | Buffer;
|
|
16312
16707
|
}
|
|
16313
16708
|
export interface IUploadFileRestData_2_0 extends IUploadFileRestDataBody_2_0, IUploadFileRestDataQuery_2_0 {
|
|
@@ -16630,6 +17025,11 @@ export interface IIndexAgentAssistConfigsRestReturnValue_2_0 extends ICursorBase
|
|
|
16630
17025
|
}
|
|
16631
17026
|
export interface IOpenAIMeta_2_0 {
|
|
16632
17027
|
customModel?: string;
|
|
17028
|
+
baseCustomUrl?: string;
|
|
17029
|
+
}
|
|
17030
|
+
export interface IOpenAICompatibleMeta_2_0 {
|
|
17031
|
+
customModel: string;
|
|
17032
|
+
baseCustomUrl: string;
|
|
16633
17033
|
}
|
|
16634
17034
|
export interface IAnthropicMeta_2_0 {
|
|
16635
17035
|
customModel?: string;
|
|
@@ -16860,6 +17260,8 @@ export interface ILargeLanguageModel_2_0 extends IGlobalResource {
|
|
|
16860
17260
|
azureOpenAI?: IAzureOpenAIMeta_2_0;
|
|
16861
17261
|
/** Meta data for the OpenAI LLM */
|
|
16862
17262
|
openAI?: IOpenAIMeta_2_0;
|
|
17263
|
+
/** Meta data for OpenAI Compatible LLMs */
|
|
17264
|
+
openAICompatible?: IOpenAICompatibleMeta_2_0;
|
|
16863
17265
|
/** Meta Data for the AlephAlpha LLM */
|
|
16864
17266
|
alephAlpha?: IAlephAlphaMeta_2_0;
|
|
16865
17267
|
/** Meta data for the GoogleVertexAI connection */
|
|
@@ -16922,11 +17324,11 @@ export interface ILargeLanguageModelIndexItem_2_0 extends IGlobalResource {
|
|
|
16922
17324
|
createdBy: TMongoId;
|
|
16923
17325
|
lastChangedBy: TMongoId;
|
|
16924
17326
|
}
|
|
16925
|
-
export interface IIndexLargeLanguageModelsRestData_2_0 extends IRestPagination<ILargeLanguageModelIndexItem_2_0>, Partial<IProjectScope>, Partial<IGenerativeAIUseCase> {
|
|
17327
|
+
export interface IIndexLargeLanguageModelsRestData_2_0 extends IRestPagination<ILargeLanguageModelIndexItem_2_0>, Pick<IGlobalResource, "resourceLevel">, Partial<IProjectScope>, Partial<IGenerativeAIUseCase> {
|
|
16926
17328
|
}
|
|
16927
17329
|
export interface IIndexLargeLanguageModelsRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<ILargeLanguageModelIndexItem_2_0> {
|
|
16928
17330
|
}
|
|
16929
|
-
export interface ICreateLargeLanguageModelRestDataBody_2_0 extends IProjectScope
|
|
17331
|
+
export interface ICreateLargeLanguageModelRestDataBody_2_0 extends Partial<IProjectScope>, Partial<Omit<ILargeLanguageModel_2_0, keyof IEntityMeta>> {
|
|
16930
17332
|
}
|
|
16931
17333
|
export interface ICreateLargeLanguageModelRestData_2_0 extends ICreateLargeLanguageModelRestDataBody_2_0 {
|
|
16932
17334
|
}
|
|
@@ -17599,6 +18001,177 @@ export interface IDeleteGoalRestData_2_0 extends IDeleteGoalRestDataParams_2_0 {
|
|
|
17599
18001
|
}
|
|
17600
18002
|
export interface IDeleteGoalRestReturnValue_2_0 {
|
|
17601
18003
|
}
|
|
18004
|
+
/**
|
|
18005
|
+
* @openapi
|
|
18006
|
+
*
|
|
18007
|
+
* components:
|
|
18008
|
+
* schemas:
|
|
18009
|
+
* IHandoverProvider_2_0:
|
|
18010
|
+
* type: object
|
|
18011
|
+
* properties:
|
|
18012
|
+
* _id:
|
|
18013
|
+
* type: string
|
|
18014
|
+
* format: mongoId
|
|
18015
|
+
* description: The object id of the handover provider
|
|
18016
|
+
* referenceId:
|
|
18017
|
+
* type: string
|
|
18018
|
+
* description: The referenceId of the handover provider
|
|
18019
|
+
* organisationId:
|
|
18020
|
+
* type: string
|
|
18021
|
+
* description: The organisation Id associated with the handover provider
|
|
18022
|
+
* serviceId:
|
|
18023
|
+
* type: string
|
|
18024
|
+
* description: The id of the service
|
|
18025
|
+
* service:
|
|
18026
|
+
* type: string
|
|
18027
|
+
* description: The handover provider's specified service; e.g., Live Agent, Genesys
|
|
18028
|
+
* localeId:
|
|
18029
|
+
* type: string
|
|
18030
|
+
* description: The referenceId of the locale to use
|
|
18031
|
+
* name:
|
|
18032
|
+
* type: string
|
|
18033
|
+
* description: The name of the handover provider resource
|
|
18034
|
+
* createdAt:
|
|
18035
|
+
* type: integer
|
|
18036
|
+
* format: int64
|
|
18037
|
+
* description: Unix-timestamp when the entity was created initially
|
|
18038
|
+
* lastChangedAt:
|
|
18039
|
+
* type: integer
|
|
18040
|
+
* format: int64
|
|
18041
|
+
* description: Unix-timestamp when the entity was last modified
|
|
18042
|
+
* createdBy:
|
|
18043
|
+
* type: string
|
|
18044
|
+
* format: mongoId
|
|
18045
|
+
* description: Id of the user who created the entity initially
|
|
18046
|
+
* lastChangedBy:
|
|
18047
|
+
* type: string
|
|
18048
|
+
* format: mongoId
|
|
18049
|
+
* description: Id of the user who made the last modification
|
|
18050
|
+
* properties:
|
|
18051
|
+
* type: array
|
|
18052
|
+
* items:
|
|
18053
|
+
* type: object
|
|
18054
|
+
* description: Properties associated with the handover provider
|
|
18055
|
+
* additionalProperties:
|
|
18056
|
+
* type: string
|
|
18057
|
+
* description: A list of properties associated with the handover provider
|
|
18058
|
+
* settings:
|
|
18059
|
+
* type: object
|
|
18060
|
+
* description: Settings related to the handover provider
|
|
18061
|
+
* additionalProperties:
|
|
18062
|
+
* type: string
|
|
18063
|
+
*/
|
|
18064
|
+
export interface IHandoverProvider_2_0 {
|
|
18065
|
+
_id: TMongoId;
|
|
18066
|
+
referenceId: string;
|
|
18067
|
+
organisationId: string;
|
|
18068
|
+
serviceId: string;
|
|
18069
|
+
service: THandoverService;
|
|
18070
|
+
/** The referenceId of the locale to use */
|
|
18071
|
+
localeId: string;
|
|
18072
|
+
/** The name of the handover provider resource */
|
|
18073
|
+
name: string;
|
|
18074
|
+
createdAt: number;
|
|
18075
|
+
lastChangedAt: number;
|
|
18076
|
+
createdBy: TMongoId;
|
|
18077
|
+
lastChangedBy: TMongoId;
|
|
18078
|
+
properties: IHandoverProviderProperties[];
|
|
18079
|
+
settings: IHandoverProviderSettings_2_0;
|
|
18080
|
+
}
|
|
18081
|
+
export interface IHandoverProviderSettings_2_0 {
|
|
18082
|
+
service: THandoverService;
|
|
18083
|
+
serviceSettings?: TServiceSettings;
|
|
18084
|
+
}
|
|
18085
|
+
export interface IIndexHandoverProvidersRestData_2_0 extends IRestPagination<IHandoverProvider_2_0>, Partial<IProjectScope> {
|
|
18086
|
+
}
|
|
18087
|
+
export interface IIndexHandoverProvidersRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<IHandoverProvider_2_0> {
|
|
18088
|
+
}
|
|
18089
|
+
export interface ICreateHandoverProviderRestDataBody_2_0 extends IProjectScope, Partial<Omit<IHandoverProvider_2_0, keyof IEntityMeta | "URLToken">> {
|
|
18090
|
+
}
|
|
18091
|
+
export interface ICreateHandoverProviderRestDataQuery_2_0 {
|
|
18092
|
+
resourceId?: string;
|
|
18093
|
+
}
|
|
18094
|
+
export interface ICreateHandoverProviderRestData_2_0 extends ICreateHandoverProviderRestDataBody_2_0, ICreateHandoverProviderRestDataQuery_2_0 {
|
|
18095
|
+
}
|
|
18096
|
+
export interface ICreateHandoverProviderRestReturnValue_2_0 extends IHandoverProvider_2_0 {
|
|
18097
|
+
}
|
|
18098
|
+
export interface IReadHandoverProviderRestDataParams_2_0 {
|
|
18099
|
+
handoverProviderId: string;
|
|
18100
|
+
}
|
|
18101
|
+
export interface IReadHandoverProviderRestData_2_0 extends IReadHandoverProviderRestDataParams_2_0 {
|
|
18102
|
+
}
|
|
18103
|
+
export interface IReadHandoverProviderRestReturnValue_2_0 extends IHandoverProvider_2_0 {
|
|
18104
|
+
}
|
|
18105
|
+
export interface IUpdateHandoverProviderRestDataBody_2_0 extends Partial<Omit<IHandoverProvider_2_0, keyof IEntityMeta | "URLToken">> {
|
|
18106
|
+
}
|
|
18107
|
+
export interface IUpdateHandoverProviderRestDataParams_2_0 {
|
|
18108
|
+
handoverProviderId: string;
|
|
18109
|
+
projectId: string;
|
|
18110
|
+
}
|
|
18111
|
+
export interface IUpdateHandoverProviderRestData_2_0 extends IUpdateHandoverProviderRestDataBody_2_0, IUpdateHandoverProviderRestDataParams_2_0 {
|
|
18112
|
+
}
|
|
18113
|
+
export interface IUpdateHandoverProviderRestReturnValue_2_0 extends IHandoverProvider_2_0 {
|
|
18114
|
+
}
|
|
18115
|
+
export interface IDeleteHandoverProviderRestDataParams_2_0 {
|
|
18116
|
+
handoverProviderId: string;
|
|
18117
|
+
projectId: string;
|
|
18118
|
+
}
|
|
18119
|
+
export interface IDeleteHandoverProviderRestData_2_0 extends IDeleteHandoverProviderRestDataParams_2_0 {
|
|
18120
|
+
}
|
|
18121
|
+
export interface IDeleteHandoverProviderRestReturnValue_2_0 {
|
|
18122
|
+
}
|
|
18123
|
+
/**
|
|
18124
|
+
* @openapi
|
|
18125
|
+
*
|
|
18126
|
+
* components:
|
|
18127
|
+
* schemas:
|
|
18128
|
+
* IHandoverService_2_0:
|
|
18129
|
+
* type: object
|
|
18130
|
+
* properties:
|
|
18131
|
+
* _id:
|
|
18132
|
+
* type: string
|
|
18133
|
+
* format: mongoId
|
|
18134
|
+
* description: The object id of the handover service
|
|
18135
|
+
* referenceId:
|
|
18136
|
+
* type: string
|
|
18137
|
+
* format: uuid
|
|
18138
|
+
* description: The referenceId of the handover service
|
|
18139
|
+
* version:
|
|
18140
|
+
* type: string
|
|
18141
|
+
* description: The version of the handover service
|
|
18142
|
+
* name:
|
|
18143
|
+
* type: string
|
|
18144
|
+
* description: The name of the handover service
|
|
18145
|
+
* serviceUrl:
|
|
18146
|
+
* type: string
|
|
18147
|
+
* format: uri
|
|
18148
|
+
* description: The service URL of the handover service
|
|
18149
|
+
* logoUrl:
|
|
18150
|
+
* type: string
|
|
18151
|
+
* format: uri
|
|
18152
|
+
* description: The logo URL of the handover service
|
|
18153
|
+
* properties:
|
|
18154
|
+
* type: array
|
|
18155
|
+
* items:
|
|
18156
|
+
* type: object
|
|
18157
|
+
* description: Properties associated with the handover service
|
|
18158
|
+
* additionalProperties:
|
|
18159
|
+
* type: string
|
|
18160
|
+
* description: A list of properties for the handover service
|
|
18161
|
+
*/
|
|
18162
|
+
export interface IHandoverService_2_0 {
|
|
18163
|
+
_id: TMongoId;
|
|
18164
|
+
referenceId: string;
|
|
18165
|
+
version: string;
|
|
18166
|
+
name: string;
|
|
18167
|
+
serviceUrl: string;
|
|
18168
|
+
logoUrl: string;
|
|
18169
|
+
properties: IHandoverServiceProperties[];
|
|
18170
|
+
}
|
|
18171
|
+
export interface IIndexHandoverServicesRestData_2_0 extends IRestPagination<IHandoverService_2_0>, Partial<IProjectScope> {
|
|
18172
|
+
}
|
|
18173
|
+
export interface IIndexHandoverServicesRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<IHandoverService_2_0> {
|
|
18174
|
+
}
|
|
17602
18175
|
declare const uploadResumableTypes: readonly [
|
|
17603
18176
|
"snapshots",
|
|
17604
18177
|
"packages"
|
|
@@ -17741,6 +18314,23 @@ export interface IGenerateNluScoresRestReturnValue_2_0 {
|
|
|
17741
18314
|
* formality:
|
|
17742
18315
|
* type: string
|
|
17743
18316
|
* example: { "completeness": "concise", "formality": "formal" }
|
|
18317
|
+
* voiceConfigs:
|
|
18318
|
+
* type: object
|
|
18319
|
+
* properties:
|
|
18320
|
+
* ttsVoice:
|
|
18321
|
+
* type: string
|
|
18322
|
+
* ttsLanguage:
|
|
18323
|
+
* type: string
|
|
18324
|
+
* ttsVendor:
|
|
18325
|
+
* enum: ["aws", "deepgram", "elevenlabs", "google", "microsoft", "nuance", "default", "custom", "none"]
|
|
18326
|
+
* type: string
|
|
18327
|
+
* ttsModel:
|
|
18328
|
+
* type: string
|
|
18329
|
+
* example: { "ttsVoice": "Xb7hH8MSUJpSbSDYk0k2", "ttsLanguage": "zh", "ttsVendor": "Elevenlabs", "ttsModel": "eleven_multilingual_v2" }
|
|
18330
|
+
* enableVoiceConfigs:
|
|
18331
|
+
* type: boolean
|
|
18332
|
+
* description: Enables the use of voice configuration.
|
|
18333
|
+
* example: false
|
|
17744
18334
|
* safetySettings:
|
|
17745
18335
|
* type: object
|
|
17746
18336
|
* properties:
|
|
@@ -17787,6 +18377,8 @@ export interface IAiAgent_2_0 {
|
|
|
17787
18377
|
knowledgeReferenceId: string;
|
|
17788
18378
|
description: string;
|
|
17789
18379
|
speakingStyle: ISpeakingStyle;
|
|
18380
|
+
voiceConfigs: IVoiceConfigParams;
|
|
18381
|
+
enableVoiceConfigs: boolean;
|
|
17790
18382
|
safetySettings: ISafetySettings;
|
|
17791
18383
|
contactProfilesOption: TContactProfileOptions;
|
|
17792
18384
|
contactProfilesSelected: string[];
|
|
@@ -17973,6 +18565,12 @@ export interface ResourcesAPIGroup_2_0 {
|
|
|
17973
18565
|
readGoal: TRestAPIOperation<IReadGoalRestData_2_0, IReadGoalRestReturnValue_2_0>;
|
|
17974
18566
|
updateGoal: TRestAPIOperation<IUpdateGoalRestData_2_0, IUpdateGoalRestReturnValue_2_0>;
|
|
17975
18567
|
deleteGoal: TRestAPIOperation<IDeleteGoalRestData_2_0, IDeleteGoalRestReturnValue_2_0>;
|
|
18568
|
+
indexHandoverServices: TRestAPIOperation<TRestAPIOptionalParameter<IIndexHandoverServicesRestData_2_0>, IIndexHandoverServicesRestReturnValue_2_0>;
|
|
18569
|
+
indexHandoverProviders: TRestAPIOperation<TRestAPIOptionalParameter<IIndexHandoverProvidersRestData_2_0>, IIndexHandoverProvidersRestReturnValue_2_0>;
|
|
18570
|
+
createHandoverProvider: TRestAPIOperation<ICreateHandoverProviderRestData_2_0, ICreateHandoverProviderRestReturnValue_2_0>;
|
|
18571
|
+
readHandoverProvider: TRestAPIOperation<IReadHandoverProviderRestData_2_0, IReadHandoverProviderRestReturnValue_2_0>;
|
|
18572
|
+
updateHandoverProvider: TRestAPIOperation<IUpdateHandoverProviderRestData_2_0, IUpdateHandoverProviderRestReturnValue_2_0>;
|
|
18573
|
+
deleteHandoverProvider: TRestAPIOperation<IDeleteHandoverProviderRestData_2_0, IDeleteHandoverProviderRestReturnValue_2_0>;
|
|
17976
18574
|
indexPlaybooks: TRestAPIOperation<TRestAPIOptionalParameter<IIndexPlaybooksRestData_2_0>, IIndexPlaybooksRestReturnValue_2_0>;
|
|
17977
18575
|
batchPlaybooks: TRestAPIOperation<IBatchPlaybooksRestData_2_0, IBatchPlaybooksRestReturnValue_2_0>;
|
|
17978
18576
|
createPlaybook: TRestAPIOperation<ICreatePlaybookRestData_2_0, ICreatePlaybookRestReturnValue_2_0>;
|
|
@@ -21635,6 +22233,9 @@ export interface ManagementAPIGroup_2_0 {
|
|
|
21635
22233
|
impersonateUserManagement: TRestAPIOperation<IImpersonateUserRestManagementData_2_0, IImpersonateUserRestManagementReturnValue_2_0>;
|
|
21636
22234
|
createApiKeyManagement: TRestAPIOperation<ICreateApiKeyRestManagementData_2_0, ICreateApiKeyRestManagementReturnValue_2_0>;
|
|
21637
22235
|
createSystemMessage: TRestAPIOperation<ICreateSystemMessageRestData_2_0, ICreateSystemMessageRestReturnValue_2_0>;
|
|
22236
|
+
generateAuthenticationToken: TRestAPIOperation<void, {
|
|
22237
|
+
token: string;
|
|
22238
|
+
}>;
|
|
21638
22239
|
}
|
|
21639
22240
|
declare function ManagementAPIGroup_2_0(instance: Base): ManagementAPIGroup_2_0;
|
|
21640
22241
|
/**
|