@cognigy/rest-api-client 4.96.0 → 4.98.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 +12 -3
- 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/completeGoal.js +2 -2
- 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 +5 -1
- package/build/shared/charts/descriptors/logic/think.js +2 -4
- package/build/shared/charts/descriptors/message/question/question.js +21 -13
- package/build/shared/charts/descriptors/message/say.js +29 -3
- package/build/shared/charts/descriptors/service/GPTPrompt.js +1 -1
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +80 -30
- 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/constants.js +8 -1
- package/build/shared/interfaces/IProfileSchema.js +1 -1
- 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 +6 -1
- package/build/shared/interfaces/messageAPI/handover.js +27 -2
- package/build/shared/interfaces/resources/IAiAgent.js +3 -1
- 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/settings/IAudioPreviewSettings.js +8 -2
- package/build/shared/interfaces/resources/settings/IGenerativeAISettings.js +4 -0
- 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/completeGoal.js +2 -2
- 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 +5 -1
- package/dist/esm/shared/charts/descriptors/logic/think.js +2 -4
- package/dist/esm/shared/charts/descriptors/message/question/question.js +21 -13
- package/dist/esm/shared/charts/descriptors/message/say.js +29 -3
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +1 -1
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +80 -30
- 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/constants.js +7 -0
- package/dist/esm/shared/interfaces/IProfileSchema.js +1 -1
- 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 +6 -1
- package/dist/esm/shared/interfaces/messageAPI/handover.js +27 -2
- package/dist/esm/shared/interfaces/resources/IAiAgent.js +3 -1
- 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/settings/IAudioPreviewSettings.js +8 -2
- package/dist/esm/shared/interfaces/resources/settings/IGenerativeAISettings.js +4 -0
- 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 +573 -23
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 {
|
|
@@ -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
|
|
@@ -3494,6 +3566,10 @@ export interface IWebchat3EndpointHomeScreenSettings {
|
|
|
3494
3566
|
*/
|
|
3495
3567
|
startConversationButtonText: string;
|
|
3496
3568
|
previousConversations: {
|
|
3569
|
+
/**
|
|
3570
|
+
* The text of the start new conversation button
|
|
3571
|
+
*/
|
|
3572
|
+
startNewConversationButtonText: string;
|
|
3497
3573
|
/**
|
|
3498
3574
|
* Whether the previous conversations are enabled
|
|
3499
3575
|
*/
|
|
@@ -4262,6 +4338,7 @@ export declare type TGenerativeAIModels = (typeof generativeAIModels)[number];
|
|
|
4262
4338
|
declare const generativeAIProviders: readonly [
|
|
4263
4339
|
"azureOpenAI",
|
|
4264
4340
|
"openAI",
|
|
4341
|
+
"openAICompatible",
|
|
4265
4342
|
"alephAlpha",
|
|
4266
4343
|
"anthropic",
|
|
4267
4344
|
"googleVertexAI",
|
|
@@ -4292,6 +4369,7 @@ declare const generativeAIUseCases: readonly [
|
|
|
4292
4369
|
"gptPromptNode",
|
|
4293
4370
|
"aiEnhancedOutputs",
|
|
4294
4371
|
"sentimentAnalysis",
|
|
4372
|
+
"designTimeGeneration",
|
|
4295
4373
|
"intentSentenceGeneration",
|
|
4296
4374
|
"flowGeneration",
|
|
4297
4375
|
"generateNodeOutput",
|
|
@@ -5082,7 +5160,7 @@ export interface IAgentTranslationSettings_2_0 {
|
|
|
5082
5160
|
* - google
|
|
5083
5161
|
* - aws
|
|
5084
5162
|
*/
|
|
5085
|
-
export declare type TAudioPreviewProvider_2_0 = "microsoft" | "google" | "aws" | null;
|
|
5163
|
+
export declare type TAudioPreviewProvider_2_0 = "microsoft" | "google" | "aws" | "deepgram" | null;
|
|
5086
5164
|
/**
|
|
5087
5165
|
* @openapi
|
|
5088
5166
|
*
|
|
@@ -5126,6 +5204,9 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5126
5204
|
aws: {
|
|
5127
5205
|
connectionId: string;
|
|
5128
5206
|
};
|
|
5207
|
+
deepgram: {
|
|
5208
|
+
connectionId: string;
|
|
5209
|
+
};
|
|
5129
5210
|
};
|
|
5130
5211
|
}
|
|
5131
5212
|
/**
|
|
@@ -5138,6 +5219,7 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5138
5219
|
* description: Supported Generative AI Providers
|
|
5139
5220
|
* enum:
|
|
5140
5221
|
* - openAI
|
|
5222
|
+
* - openAICompatible
|
|
5141
5223
|
* - azureOpenAI
|
|
5142
5224
|
* - anthropic
|
|
5143
5225
|
* - googleVertexAI
|
|
@@ -5159,6 +5241,8 @@ export declare type TGenerativeAIProviders_2_0 = TGenerativeAIProviders;
|
|
|
5159
5241
|
* useCasesSettings:
|
|
5160
5242
|
* type: object
|
|
5161
5243
|
* properties:
|
|
5244
|
+
* designTimeGeneration:
|
|
5245
|
+
* $ref: '#/components/schemas/IGenerativeAIMeta_2_0'
|
|
5162
5246
|
* intentSentenceGeneration:
|
|
5163
5247
|
* $ref: '#/components/schemas/IGenerativeAIMeta_2_0'
|
|
5164
5248
|
* aiEnhancedOutputs:
|
|
@@ -7437,6 +7521,7 @@ export interface ICreatePlaybookRestDataQuery_2_0 {
|
|
|
7437
7521
|
resourceId?: string;
|
|
7438
7522
|
}
|
|
7439
7523
|
export interface ICreatePlaybookRestDataBody_2_0 extends IProjectScope, Partial<Omit<IPlaybook_2_0, keyof IEntityMeta>> {
|
|
7524
|
+
resourceType?: TResourceType;
|
|
7440
7525
|
}
|
|
7441
7526
|
export interface ICreatePlaybookRestData_2_0 extends ICreatePlaybookRestDataBody_2_0, ICreatePlaybookRestDataQuery_2_0 {
|
|
7442
7527
|
}
|
|
@@ -8560,6 +8645,11 @@ export interface IGraphConnection {
|
|
|
8560
8645
|
}
|
|
8561
8646
|
export interface IOpenAIMeta {
|
|
8562
8647
|
customModel?: string;
|
|
8648
|
+
baseCustomUrl?: string | null;
|
|
8649
|
+
}
|
|
8650
|
+
export interface IOpenAICompatibleMeta {
|
|
8651
|
+
customModel: string;
|
|
8652
|
+
baseCustomUrl: string;
|
|
8563
8653
|
}
|
|
8564
8654
|
export interface IAlephAlphaMeta {
|
|
8565
8655
|
customModel?: string;
|
|
@@ -8617,6 +8707,7 @@ export interface ILargeLanguageModel extends IEntityMeta, IGlobalResource {
|
|
|
8617
8707
|
googleVertexAI?: IGoogleVertexAIMeta;
|
|
8618
8708
|
googleGemini?: IGoogleGeminiMeta;
|
|
8619
8709
|
openAI?: IOpenAIMeta;
|
|
8710
|
+
openAICompatible?: IOpenAICompatibleMeta;
|
|
8620
8711
|
alephAlpha?: IAlephAlphaMeta;
|
|
8621
8712
|
anthropic?: IAnthropicMeta;
|
|
8622
8713
|
awsBedrock?: IAwsBedrockMeta;
|
|
@@ -8746,6 +8837,8 @@ export interface IHandoverNodeParams extends INodeFunctionBaseParams {
|
|
|
8746
8837
|
quickReply: string;
|
|
8747
8838
|
chatwootInboxId: string;
|
|
8748
8839
|
liveAgentInboxId: string;
|
|
8840
|
+
handoverProviderConfig: object;
|
|
8841
|
+
handoverProvider: string;
|
|
8749
8842
|
};
|
|
8750
8843
|
}
|
|
8751
8844
|
export interface IHttpBasicAuthConnectionFields {
|
|
@@ -8943,7 +9036,8 @@ export declare type TDebugEventPayload = IInputChangedEventPayload | IContextCha
|
|
|
8943
9036
|
declare const audioPreviewProviders: readonly [
|
|
8944
9037
|
"microsoft",
|
|
8945
9038
|
"google",
|
|
8946
|
-
"aws"
|
|
9039
|
+
"aws",
|
|
9040
|
+
"deepgram"
|
|
8947
9041
|
];
|
|
8948
9042
|
export declare type TAudioPreviewProvider = typeof audioPreviewProviders[number];
|
|
8949
9043
|
/**
|
|
@@ -8955,6 +9049,7 @@ export declare type TAudioPreviewProvider = typeof audioPreviewProviders[number]
|
|
|
8955
9049
|
* properties:
|
|
8956
9050
|
* useCase:
|
|
8957
9051
|
* enum:
|
|
9052
|
+
* - designTimeGeneration
|
|
8958
9053
|
* - intentSentenceGeneration
|
|
8959
9054
|
* - aiEnhancedOutputs
|
|
8960
9055
|
* - lexiconGeneration
|
|
@@ -9265,6 +9360,8 @@ export interface IHandoverRequestStatus {
|
|
|
9265
9360
|
}
|
|
9266
9361
|
export interface IHandoverNodeV2Params extends INodeFunctionBaseParams {
|
|
9267
9362
|
config: {
|
|
9363
|
+
handoverProvider: THandoverProvider | "legacyEndpoint" | null;
|
|
9364
|
+
handoverProviderConfig: Record<string, any>;
|
|
9268
9365
|
text: string;
|
|
9269
9366
|
cancelIntent: string;
|
|
9270
9367
|
quickReply: string;
|
|
@@ -9278,10 +9375,6 @@ export interface IHandoverNodeV2Params extends INodeFunctionBaseParams {
|
|
|
9278
9375
|
buttonId: string;
|
|
9279
9376
|
salesforcePrechatDetails: object[];
|
|
9280
9377
|
salesforcePrechatEntities: object[];
|
|
9281
|
-
buttonIdMIAW: string;
|
|
9282
|
-
sendTranscriptAsFirstMessageMIAW: boolean;
|
|
9283
|
-
salesforcePrechatDetailsMIAW: object[];
|
|
9284
|
-
salesforcePrechatEntitiesMIAW: object;
|
|
9285
9378
|
eightByEightChannelId: string;
|
|
9286
9379
|
eightByEightQueueId: string;
|
|
9287
9380
|
eightByEightJSONProps: object;
|
|
@@ -9328,6 +9421,8 @@ export interface ICheckAgentAvailabilityNodeParams extends INodeFunctionBasePara
|
|
|
9328
9421
|
abortOnError: boolean;
|
|
9329
9422
|
errorLogging: "none" | "basic" | "full";
|
|
9330
9423
|
logWarning: string;
|
|
9424
|
+
checkAgentAvailabilityProvider: THandoverProvider | "legacyEndpoint" | null;
|
|
9425
|
+
checkAgentAvailabilityConfig: Record<string, any>;
|
|
9331
9426
|
};
|
|
9332
9427
|
}
|
|
9333
9428
|
export interface ITriggerFunctionNodeParams extends INodeFunctionBaseParams {
|
|
@@ -9352,6 +9447,8 @@ export interface IVoiceConfigParams {
|
|
|
9352
9447
|
ttsLanguage: string;
|
|
9353
9448
|
ttsVendor: TVoiceGateway2TTSVendor | "none";
|
|
9354
9449
|
ttsModel: string;
|
|
9450
|
+
ttsLabel: string;
|
|
9451
|
+
ttsDisableCache: boolean;
|
|
9355
9452
|
}
|
|
9356
9453
|
declare const contactProfileOptions: readonly [
|
|
9357
9454
|
"none",
|
|
@@ -9439,6 +9536,7 @@ export interface ISayNodeConfigParams {
|
|
|
9439
9536
|
export interface ISayNodeConfig extends INodeWithAiRephraseConfig {
|
|
9440
9537
|
say: ISayNodeConfigParams;
|
|
9441
9538
|
handoverOutput: ISayNodeSettings["liveAgentSettings"]["outputDestination"];
|
|
9539
|
+
preventTranscript: boolean;
|
|
9442
9540
|
}
|
|
9443
9541
|
export interface ISayParams extends INodeFunctionBaseParams {
|
|
9444
9542
|
config: ISayNodeConfig;
|
|
@@ -9504,6 +9602,7 @@ export interface IQuestionNodeSharedConfig extends INodeWithAiRephraseConfig {
|
|
|
9504
9602
|
maxExecutionDiff: number;
|
|
9505
9603
|
resultLocation: string;
|
|
9506
9604
|
skipRepromptOnIntent: boolean;
|
|
9605
|
+
preventTranscript: boolean;
|
|
9507
9606
|
escalateAnswersAction: "none" | "goto" | "execute" | "skip" | "text" | "handover";
|
|
9508
9607
|
escalateAnswersThreshold: number;
|
|
9509
9608
|
escalateAnswersGotoTarget: string;
|
|
@@ -10441,6 +10540,10 @@ export interface IActions {
|
|
|
10441
10540
|
setTimezoneOffset?: (offset: number | string) => void;
|
|
10442
10541
|
setTranslationSettings?: (translationSettings: IEndpointTranslationSettings) => void;
|
|
10443
10542
|
switchFlow?: (id: string, text: string, data: any, version?: number, absorbContext?: boolean) => void;
|
|
10543
|
+
/**
|
|
10544
|
+
* @deprecated since 4.98.0
|
|
10545
|
+
* Use thinkV2 instead
|
|
10546
|
+
* */
|
|
10444
10547
|
think?: (nodeId: string) => (text: string, data: any) => void;
|
|
10445
10548
|
thinkV2?: (nodeId: string) => (text: string, data: any) => void;
|
|
10446
10549
|
trackAnalyticsStep?: (stepLabel: string) => (trackArgs?: ITrackAnalyticsStepsArguments) => void;
|
|
@@ -10942,6 +11045,10 @@ export interface ISetStateNodeParams extends INodeFunctionBaseParams {
|
|
|
10942
11045
|
};
|
|
10943
11046
|
};
|
|
10944
11047
|
}
|
|
11048
|
+
/**
|
|
11049
|
+
* @deprecated since 4.98.0.
|
|
11050
|
+
* Use THINK_V2 instead
|
|
11051
|
+
*/
|
|
10945
11052
|
export interface IThinkNodeParams extends INodeFunctionBaseParams {
|
|
10946
11053
|
config: {
|
|
10947
11054
|
thinkType: "default" | "intent";
|
|
@@ -10994,6 +11101,10 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
10994
11101
|
parseCognigyScriptText: (text: string) => string;
|
|
10995
11102
|
parseCognigyScriptResultLocation?: (text: string) => any;
|
|
10996
11103
|
evaluateRule: (rule: IRule) => boolean;
|
|
11104
|
+
/**
|
|
11105
|
+
* @deprecated since 4.98.0.
|
|
11106
|
+
* Use thinkV2 instead
|
|
11107
|
+
* */
|
|
10997
11108
|
think: (text: string, data: {
|
|
10998
11109
|
[key: string]: any;
|
|
10999
11110
|
}) => void;
|
|
@@ -11084,6 +11195,10 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11084
11195
|
updateSessionStateValues(values: Partial<ISessionState>): void;
|
|
11085
11196
|
getLLMTokenUsageForSession(): TSessionUsageInformation | null;
|
|
11086
11197
|
loadSessionState: () => Promise<Partial<ISessionStateWithoutMeta>>;
|
|
11198
|
+
emitToOpsCenter: (params: {
|
|
11199
|
+
title: string;
|
|
11200
|
+
subComponent?: string;
|
|
11201
|
+
}) => void;
|
|
11087
11202
|
}
|
|
11088
11203
|
export interface INodeExecutionCognigyObject extends IExecutionObjects {
|
|
11089
11204
|
api: INodeExecutionAPI;
|
|
@@ -11252,10 +11367,13 @@ export interface INodeDependencies {
|
|
|
11252
11367
|
declare const nodeFieldTypes: readonly [
|
|
11253
11368
|
"adaptivecard",
|
|
11254
11369
|
"agentAssistConfig",
|
|
11370
|
+
"aiAgentSelect",
|
|
11255
11371
|
"appTemplate",
|
|
11256
11372
|
"backgroundSelector",
|
|
11257
11373
|
"caseNode",
|
|
11258
11374
|
"checkbox",
|
|
11375
|
+
"checkAgentAvailabilityProvider",
|
|
11376
|
+
"checkAgentAvailabilityConfig",
|
|
11259
11377
|
"chipInput",
|
|
11260
11378
|
"code",
|
|
11261
11379
|
"cognigyLLMText",
|
|
@@ -11270,16 +11388,16 @@ declare const nodeFieldTypes: readonly [
|
|
|
11270
11388
|
"flow",
|
|
11271
11389
|
"flowNode",
|
|
11272
11390
|
"function",
|
|
11391
|
+
"goalAndStepsSelect",
|
|
11392
|
+
"handoverProvider",
|
|
11393
|
+
"handoverProviderConfig",
|
|
11273
11394
|
"json",
|
|
11274
11395
|
"keyValuePairs",
|
|
11275
|
-
"
|
|
11396
|
+
"knowledgeSourceTags",
|
|
11276
11397
|
"knowledgeStore",
|
|
11277
11398
|
"knowledgeStoreSelect",
|
|
11278
|
-
"knowledgeSourceTags",
|
|
11279
|
-
"llmSelect",
|
|
11280
|
-
"aiAgentSelect",
|
|
11281
|
-
"goalAndStepsSelect",
|
|
11282
11399
|
"lexicon",
|
|
11400
|
+
"llmSelect",
|
|
11283
11401
|
"localeField",
|
|
11284
11402
|
"node",
|
|
11285
11403
|
"number",
|
|
@@ -11299,6 +11417,7 @@ declare const nodeFieldTypes: readonly [
|
|
|
11299
11417
|
"textArray",
|
|
11300
11418
|
"time",
|
|
11301
11419
|
"toggle",
|
|
11420
|
+
"toolParameters",
|
|
11302
11421
|
"ttsSelect",
|
|
11303
11422
|
"typescript",
|
|
11304
11423
|
"xml"
|
|
@@ -11717,7 +11836,247 @@ export interface IGraphGoal {
|
|
|
11717
11836
|
name: string;
|
|
11718
11837
|
properties: Pick<IGoal, "createdAt" | "createdBy" | "lastChanged" | "lastChangedBy">;
|
|
11719
11838
|
}
|
|
11720
|
-
|
|
11839
|
+
declare const handoverServices: readonly [
|
|
11840
|
+
"cognigy",
|
|
11841
|
+
"none",
|
|
11842
|
+
"rce",
|
|
11843
|
+
"chatwoot",
|
|
11844
|
+
"salesforce",
|
|
11845
|
+
"liveAgent",
|
|
11846
|
+
"genesysCloud",
|
|
11847
|
+
"genesysCloudOM",
|
|
11848
|
+
"eightByEight",
|
|
11849
|
+
"salesforceMIAW"
|
|
11850
|
+
];
|
|
11851
|
+
export declare type THandoverService = typeof handoverServices[number];
|
|
11852
|
+
export declare type TServiceSettings = IRCEHandoverSettings | IChatwootHandoverSettings | ICognigyHandoverSettings | ISalesForceHandoverSettings | ILiveAgentHandoverSettings | IEightByEightHandoverSettings | IGenesysCloudHandoverSettings | IGenesysCloudOMHandoverSettings | ISalesforceMIAWHandoverSettings;
|
|
11853
|
+
export interface IHandoverServiceProperties {
|
|
11854
|
+
key: "basicActionTile";
|
|
11855
|
+
type: "cognigyText";
|
|
11856
|
+
label: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__LABEL";
|
|
11857
|
+
description: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__DESCRIPTION";
|
|
11858
|
+
defaultValue: "";
|
|
11859
|
+
condition: {
|
|
11860
|
+
key: "cardType";
|
|
11861
|
+
value: "basic";
|
|
11862
|
+
};
|
|
11863
|
+
}
|
|
11864
|
+
export interface IHandoverProviderProperties {
|
|
11865
|
+
key: "basicActionTile";
|
|
11866
|
+
type: "cognigyText";
|
|
11867
|
+
label: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__LABEL";
|
|
11868
|
+
description: "UI__NODE_EDITOR__ASSIST_INFO__ACTION_TITLE__DESCRIPTION";
|
|
11869
|
+
defaultValue: "";
|
|
11870
|
+
condition: {
|
|
11871
|
+
key: "cardType";
|
|
11872
|
+
value: "basic";
|
|
11873
|
+
};
|
|
11874
|
+
}
|
|
11875
|
+
export interface IRCEHandoverSettings {
|
|
11876
|
+
/**
|
|
11877
|
+
* Whether to forward all conversations
|
|
11878
|
+
* to the Service, or only the conversations
|
|
11879
|
+
* that trigger a handover. If this setting is true,
|
|
11880
|
+
* then we will only forward conversations were handover
|
|
11881
|
+
* was triggered.
|
|
11882
|
+
*/
|
|
11883
|
+
forwardOnlyHandoverConversations?: boolean;
|
|
11884
|
+
/**
|
|
11885
|
+
* Indicates if queue updates should be enabled
|
|
11886
|
+
* to receive events about the estimated wait time
|
|
11887
|
+
*/
|
|
11888
|
+
getQueueUpdates?: boolean;
|
|
11889
|
+
/**
|
|
11890
|
+
* The API access token
|
|
11891
|
+
* you can create within RCE
|
|
11892
|
+
*/
|
|
11893
|
+
apiAccessToken: string;
|
|
11894
|
+
/**
|
|
11895
|
+
* The API URL to your
|
|
11896
|
+
* RCE installation
|
|
11897
|
+
*/
|
|
11898
|
+
baseApiUrl: string;
|
|
11899
|
+
/**
|
|
11900
|
+
* The access token for your
|
|
11901
|
+
* rce source sdk source
|
|
11902
|
+
*/
|
|
11903
|
+
realtimeAccessToken: string;
|
|
11904
|
+
/**
|
|
11905
|
+
* The endpoint URL of your
|
|
11906
|
+
* rce source sdk source
|
|
11907
|
+
*/
|
|
11908
|
+
realtimeEndpointUrl: string;
|
|
11909
|
+
/**
|
|
11910
|
+
* The secret used to secure
|
|
11911
|
+
* webhooks in RCE
|
|
11912
|
+
*/
|
|
11913
|
+
webhookSecret: string;
|
|
11914
|
+
/**
|
|
11915
|
+
* The ID of the category you use
|
|
11916
|
+
* as the 'bot category' within RCE
|
|
11917
|
+
*/
|
|
11918
|
+
botCategoryId: string;
|
|
11919
|
+
/**
|
|
11920
|
+
* The ID of the category you use
|
|
11921
|
+
* as the 'bot category' within RCE
|
|
11922
|
+
*/
|
|
11923
|
+
agentCategoryId: string;
|
|
11924
|
+
}
|
|
11925
|
+
export interface IEightByEightHandoverSettings {
|
|
11926
|
+
/**
|
|
11927
|
+
* The API access token
|
|
11928
|
+
* you can create within 8x8
|
|
11929
|
+
*/
|
|
11930
|
+
/**
|
|
11931
|
+
* The API URL to the 8x8 environment
|
|
11932
|
+
*/
|
|
11933
|
+
baseUrl: string;
|
|
11934
|
+
/**
|
|
11935
|
+
* The API access token
|
|
11936
|
+
* you can create within 8x8
|
|
11937
|
+
*/
|
|
11938
|
+
apiKey: string;
|
|
11939
|
+
/**
|
|
11940
|
+
* It is a key which has
|
|
11941
|
+
* to be included in the header
|
|
11942
|
+
*/
|
|
11943
|
+
apiTenant: string;
|
|
11944
|
+
/**
|
|
11945
|
+
* This setting cannot be changed,
|
|
11946
|
+
* since the chatwoot client only supports
|
|
11947
|
+
* forwarding handover conversations. The value
|
|
11948
|
+
* is therefore set to 'true'
|
|
11949
|
+
*/
|
|
11950
|
+
forwardOnlyHandoverConversations: true;
|
|
11951
|
+
}
|
|
11952
|
+
export interface IChatwootHandoverSettings {
|
|
11953
|
+
baseUrl: string;
|
|
11954
|
+
accountId: string;
|
|
11955
|
+
apiKey: string;
|
|
11956
|
+
chatwootInboxId: string;
|
|
11957
|
+
/**
|
|
11958
|
+
* This setting cannot be changed,
|
|
11959
|
+
* since the chatwoot client only supports
|
|
11960
|
+
* forwarding handover conversations. The value
|
|
11961
|
+
* is therefore set to 'true'
|
|
11962
|
+
*/
|
|
11963
|
+
forwardOnlyHandoverConversations: true;
|
|
11964
|
+
}
|
|
11965
|
+
export interface ILiveAgentHandoverSettings {
|
|
11966
|
+
baseUrl: string;
|
|
11967
|
+
accountId: string;
|
|
11968
|
+
apiKey: string;
|
|
11969
|
+
liveAgentInboxId: string;
|
|
11970
|
+
/** if this is set to "true", the apiKey and baseUrl will be automatically picked from the system configuration as overrides */
|
|
11971
|
+
usePlatformToken: boolean;
|
|
11972
|
+
/**
|
|
11973
|
+
* This setting cannot be changed,
|
|
11974
|
+
* since the chatwoot client only supports
|
|
11975
|
+
* forwarding handover conversations. The value
|
|
11976
|
+
* is therefore set to 'true'
|
|
11977
|
+
*/
|
|
11978
|
+
forwardOnlyHandoverConversations: true;
|
|
11979
|
+
}
|
|
11980
|
+
export interface ICognigyHandoverSettings {
|
|
11981
|
+
/**
|
|
11982
|
+
* This setting cannot be changed,
|
|
11983
|
+
* since the cognigy client only supports
|
|
11984
|
+
* forwarding handover conversations. The value
|
|
11985
|
+
* is therefore set to 'true'
|
|
11986
|
+
*/
|
|
11987
|
+
forwardOnlyHandoverConversations: true;
|
|
11988
|
+
}
|
|
11989
|
+
export interface ISalesForceHandoverSettings {
|
|
11990
|
+
apiVersion: string;
|
|
11991
|
+
baseUrl: string;
|
|
11992
|
+
organizationId: string;
|
|
11993
|
+
deploymentId: string;
|
|
11994
|
+
buttonId: string;
|
|
11995
|
+
/**
|
|
11996
|
+
* Same as other clients, this setting cannot be changed,
|
|
11997
|
+
* and is therefore set to 'true'
|
|
11998
|
+
*/
|
|
11999
|
+
forwardOnlyHandoverConversations: true;
|
|
12000
|
+
/**
|
|
12001
|
+
* Whether to forward any unknown event to the flow as an
|
|
12002
|
+
* agentInject message
|
|
12003
|
+
*/
|
|
12004
|
+
forwardUnknownEventsToFlow: boolean;
|
|
12005
|
+
}
|
|
12006
|
+
export interface IGenesysCloudHandoverSettings {
|
|
12007
|
+
host: string;
|
|
12008
|
+
organizationId: string;
|
|
12009
|
+
deploymentId: string;
|
|
12010
|
+
queue: string;
|
|
12011
|
+
queueId: string;
|
|
12012
|
+
sessionDuration: number;
|
|
12013
|
+
sendProfile: boolean;
|
|
12014
|
+
oAuth2Connection: string;
|
|
12015
|
+
/**
|
|
12016
|
+
* This setting cannot be changed,
|
|
12017
|
+
* since the cognigy client only supports
|
|
12018
|
+
* forwarding handover conversations. The value
|
|
12019
|
+
* is therefore set to 'true'
|
|
12020
|
+
*/
|
|
12021
|
+
forwardOnlyHandoverConversations: true;
|
|
12022
|
+
}
|
|
12023
|
+
export interface IGenesysCloudOMHandoverSettings {
|
|
12024
|
+
host: string;
|
|
12025
|
+
deploymentName: string;
|
|
12026
|
+
queue: string;
|
|
12027
|
+
webhookSecret: string;
|
|
12028
|
+
sendProfile: boolean;
|
|
12029
|
+
clientId: string;
|
|
12030
|
+
clientSecret: string;
|
|
12031
|
+
/**
|
|
12032
|
+
* This setting cannot be changed,
|
|
12033
|
+
* since the cognigy client only supports
|
|
12034
|
+
* forwarding handover conversations. The value
|
|
12035
|
+
* is therefore set to 'true'
|
|
12036
|
+
*/
|
|
12037
|
+
forwardOnlyHandoverConversations: true;
|
|
12038
|
+
}
|
|
12039
|
+
export interface ISalesforceMIAWHandoverSettings {
|
|
12040
|
+
baseUrl: string;
|
|
12041
|
+
capabilitiesVersion: string;
|
|
12042
|
+
organizationId: string;
|
|
12043
|
+
esDeveloperName: string;
|
|
12044
|
+
/**
|
|
12045
|
+
* Same as other clients, this setting cannot be changed,
|
|
12046
|
+
* and is therefore set to 'true'
|
|
12047
|
+
*/
|
|
12048
|
+
forwardOnlyHandoverConversations: true;
|
|
12049
|
+
/**
|
|
12050
|
+
* Whether to forward any unknown event to the flow as an
|
|
12051
|
+
* agentInject message
|
|
12052
|
+
*/
|
|
12053
|
+
forwardUnknownEventsToFlow: boolean;
|
|
12054
|
+
}
|
|
12055
|
+
export interface IHandoverProvider {
|
|
12056
|
+
_id: TMongoId;
|
|
12057
|
+
referenceId: string;
|
|
12058
|
+
organisationId: string;
|
|
12059
|
+
serviceId: string;
|
|
12060
|
+
service: THandoverService;
|
|
12061
|
+
/** The referenceId of the locale to use */
|
|
12062
|
+
localeId: string;
|
|
12063
|
+
/** The name of the handover provider resource */
|
|
12064
|
+
name: string;
|
|
12065
|
+
createdAt: number;
|
|
12066
|
+
lastChanged: number;
|
|
12067
|
+
createdBy: TMongoId;
|
|
12068
|
+
lastChangedBy: TMongoId;
|
|
12069
|
+
properties: IHandoverProviderProperties[];
|
|
12070
|
+
settings: IHandoverProviderSettings;
|
|
12071
|
+
}
|
|
12072
|
+
export interface IGraphHandoverProvider extends IHandoverProvider {
|
|
12073
|
+
type: "handoverProvider";
|
|
12074
|
+
}
|
|
12075
|
+
export interface IHandoverProviderSettings {
|
|
12076
|
+
service: THandoverService;
|
|
12077
|
+
serviceSettings?: TServiceSettings;
|
|
12078
|
+
}
|
|
12079
|
+
export declare type IGraphResourceWithReferenceId = IGraphAgentAssistConfig | IGraphConnection | IGraphFlow | IGraphFunction | IGraphLargeLanguageModel | IGraphLexicon | IGraphLocale | IGraphNLUConnector | IGraphSnippet | IGraphAgentAssistConfig | IGraphKnowledgeStore | IGraphGoal | IGraphHandoverProvider | IGraphAiAgent;
|
|
11721
12080
|
export declare type IGraphResourceWithoutReferenceId = IGraphEndpoint | IGraphExtension | IGraphFile | IGraphPlaybook;
|
|
11722
12081
|
export declare type IGraphResource = IGraphResourceWithReferenceId | IGraphResourceWithoutReferenceId;
|
|
11723
12082
|
/**
|
|
@@ -16362,7 +16721,7 @@ export interface ICognigyNodes {
|
|
|
16362
16721
|
}
|
|
16363
16722
|
export interface IUploadFileRestDataQuery_2_0 extends IProjectScope {
|
|
16364
16723
|
}
|
|
16365
|
-
export interface IUploadFileRestDataBody_2_0 {
|
|
16724
|
+
export interface IUploadFileRestDataBody_2_0 extends Pick<IGlobalResource, "resourceLevel"> {
|
|
16366
16725
|
file: File | Buffer;
|
|
16367
16726
|
}
|
|
16368
16727
|
export interface IUploadFileRestData_2_0 extends IUploadFileRestDataBody_2_0, IUploadFileRestDataQuery_2_0 {
|
|
@@ -16685,6 +17044,11 @@ export interface IIndexAgentAssistConfigsRestReturnValue_2_0 extends ICursorBase
|
|
|
16685
17044
|
}
|
|
16686
17045
|
export interface IOpenAIMeta_2_0 {
|
|
16687
17046
|
customModel?: string;
|
|
17047
|
+
baseCustomUrl?: string;
|
|
17048
|
+
}
|
|
17049
|
+
export interface IOpenAICompatibleMeta_2_0 {
|
|
17050
|
+
customModel: string;
|
|
17051
|
+
baseCustomUrl: string;
|
|
16688
17052
|
}
|
|
16689
17053
|
export interface IAnthropicMeta_2_0 {
|
|
16690
17054
|
customModel?: string;
|
|
@@ -16915,6 +17279,8 @@ export interface ILargeLanguageModel_2_0 extends IGlobalResource {
|
|
|
16915
17279
|
azureOpenAI?: IAzureOpenAIMeta_2_0;
|
|
16916
17280
|
/** Meta data for the OpenAI LLM */
|
|
16917
17281
|
openAI?: IOpenAIMeta_2_0;
|
|
17282
|
+
/** Meta data for OpenAI Compatible LLMs */
|
|
17283
|
+
openAICompatible?: IOpenAICompatibleMeta_2_0;
|
|
16918
17284
|
/** Meta Data for the AlephAlpha LLM */
|
|
16919
17285
|
alephAlpha?: IAlephAlphaMeta_2_0;
|
|
16920
17286
|
/** Meta data for the GoogleVertexAI connection */
|
|
@@ -17654,6 +18020,177 @@ export interface IDeleteGoalRestData_2_0 extends IDeleteGoalRestDataParams_2_0 {
|
|
|
17654
18020
|
}
|
|
17655
18021
|
export interface IDeleteGoalRestReturnValue_2_0 {
|
|
17656
18022
|
}
|
|
18023
|
+
/**
|
|
18024
|
+
* @openapi
|
|
18025
|
+
*
|
|
18026
|
+
* components:
|
|
18027
|
+
* schemas:
|
|
18028
|
+
* IHandoverProvider_2_0:
|
|
18029
|
+
* type: object
|
|
18030
|
+
* properties:
|
|
18031
|
+
* _id:
|
|
18032
|
+
* type: string
|
|
18033
|
+
* format: mongoId
|
|
18034
|
+
* description: The object id of the handover provider
|
|
18035
|
+
* referenceId:
|
|
18036
|
+
* type: string
|
|
18037
|
+
* description: The referenceId of the handover provider
|
|
18038
|
+
* organisationId:
|
|
18039
|
+
* type: string
|
|
18040
|
+
* description: The organisation Id associated with the handover provider
|
|
18041
|
+
* serviceId:
|
|
18042
|
+
* type: string
|
|
18043
|
+
* description: The id of the service
|
|
18044
|
+
* service:
|
|
18045
|
+
* type: string
|
|
18046
|
+
* description: The handover provider's specified service; e.g., Live Agent, Genesys
|
|
18047
|
+
* localeId:
|
|
18048
|
+
* type: string
|
|
18049
|
+
* description: The referenceId of the locale to use
|
|
18050
|
+
* name:
|
|
18051
|
+
* type: string
|
|
18052
|
+
* description: The name of the handover provider resource
|
|
18053
|
+
* createdAt:
|
|
18054
|
+
* type: integer
|
|
18055
|
+
* format: int64
|
|
18056
|
+
* description: Unix-timestamp when the entity was created initially
|
|
18057
|
+
* lastChangedAt:
|
|
18058
|
+
* type: integer
|
|
18059
|
+
* format: int64
|
|
18060
|
+
* description: Unix-timestamp when the entity was last modified
|
|
18061
|
+
* createdBy:
|
|
18062
|
+
* type: string
|
|
18063
|
+
* format: mongoId
|
|
18064
|
+
* description: Id of the user who created the entity initially
|
|
18065
|
+
* lastChangedBy:
|
|
18066
|
+
* type: string
|
|
18067
|
+
* format: mongoId
|
|
18068
|
+
* description: Id of the user who made the last modification
|
|
18069
|
+
* properties:
|
|
18070
|
+
* type: array
|
|
18071
|
+
* items:
|
|
18072
|
+
* type: object
|
|
18073
|
+
* description: Properties associated with the handover provider
|
|
18074
|
+
* additionalProperties:
|
|
18075
|
+
* type: string
|
|
18076
|
+
* description: A list of properties associated with the handover provider
|
|
18077
|
+
* settings:
|
|
18078
|
+
* type: object
|
|
18079
|
+
* description: Settings related to the handover provider
|
|
18080
|
+
* additionalProperties:
|
|
18081
|
+
* type: string
|
|
18082
|
+
*/
|
|
18083
|
+
export interface IHandoverProvider_2_0 {
|
|
18084
|
+
_id: TMongoId;
|
|
18085
|
+
referenceId: string;
|
|
18086
|
+
organisationId: string;
|
|
18087
|
+
serviceId: string;
|
|
18088
|
+
service: THandoverService;
|
|
18089
|
+
/** The referenceId of the locale to use */
|
|
18090
|
+
localeId: string;
|
|
18091
|
+
/** The name of the handover provider resource */
|
|
18092
|
+
name: string;
|
|
18093
|
+
createdAt: number;
|
|
18094
|
+
lastChangedAt: number;
|
|
18095
|
+
createdBy: TMongoId;
|
|
18096
|
+
lastChangedBy: TMongoId;
|
|
18097
|
+
properties: IHandoverProviderProperties[];
|
|
18098
|
+
settings: IHandoverProviderSettings_2_0;
|
|
18099
|
+
}
|
|
18100
|
+
export interface IHandoverProviderSettings_2_0 {
|
|
18101
|
+
service: THandoverService;
|
|
18102
|
+
serviceSettings?: TServiceSettings;
|
|
18103
|
+
}
|
|
18104
|
+
export interface IIndexHandoverProvidersRestData_2_0 extends IRestPagination<IHandoverProvider_2_0>, Partial<IProjectScope> {
|
|
18105
|
+
}
|
|
18106
|
+
export interface IIndexHandoverProvidersRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<IHandoverProvider_2_0> {
|
|
18107
|
+
}
|
|
18108
|
+
export interface ICreateHandoverProviderRestDataBody_2_0 extends IProjectScope, Partial<Omit<IHandoverProvider_2_0, keyof IEntityMeta | "URLToken">> {
|
|
18109
|
+
}
|
|
18110
|
+
export interface ICreateHandoverProviderRestDataQuery_2_0 {
|
|
18111
|
+
resourceId?: string;
|
|
18112
|
+
}
|
|
18113
|
+
export interface ICreateHandoverProviderRestData_2_0 extends ICreateHandoverProviderRestDataBody_2_0, ICreateHandoverProviderRestDataQuery_2_0 {
|
|
18114
|
+
}
|
|
18115
|
+
export interface ICreateHandoverProviderRestReturnValue_2_0 extends IHandoverProvider_2_0 {
|
|
18116
|
+
}
|
|
18117
|
+
export interface IReadHandoverProviderRestDataParams_2_0 {
|
|
18118
|
+
handoverProviderId: string;
|
|
18119
|
+
}
|
|
18120
|
+
export interface IReadHandoverProviderRestData_2_0 extends IReadHandoverProviderRestDataParams_2_0 {
|
|
18121
|
+
}
|
|
18122
|
+
export interface IReadHandoverProviderRestReturnValue_2_0 extends IHandoverProvider_2_0 {
|
|
18123
|
+
}
|
|
18124
|
+
export interface IUpdateHandoverProviderRestDataBody_2_0 extends Partial<Omit<IHandoverProvider_2_0, keyof IEntityMeta | "URLToken">> {
|
|
18125
|
+
}
|
|
18126
|
+
export interface IUpdateHandoverProviderRestDataParams_2_0 {
|
|
18127
|
+
handoverProviderId: string;
|
|
18128
|
+
projectId: string;
|
|
18129
|
+
}
|
|
18130
|
+
export interface IUpdateHandoverProviderRestData_2_0 extends IUpdateHandoverProviderRestDataBody_2_0, IUpdateHandoverProviderRestDataParams_2_0 {
|
|
18131
|
+
}
|
|
18132
|
+
export interface IUpdateHandoverProviderRestReturnValue_2_0 extends IHandoverProvider_2_0 {
|
|
18133
|
+
}
|
|
18134
|
+
export interface IDeleteHandoverProviderRestDataParams_2_0 {
|
|
18135
|
+
handoverProviderId: string;
|
|
18136
|
+
projectId: string;
|
|
18137
|
+
}
|
|
18138
|
+
export interface IDeleteHandoverProviderRestData_2_0 extends IDeleteHandoverProviderRestDataParams_2_0 {
|
|
18139
|
+
}
|
|
18140
|
+
export interface IDeleteHandoverProviderRestReturnValue_2_0 {
|
|
18141
|
+
}
|
|
18142
|
+
/**
|
|
18143
|
+
* @openapi
|
|
18144
|
+
*
|
|
18145
|
+
* components:
|
|
18146
|
+
* schemas:
|
|
18147
|
+
* IHandoverService_2_0:
|
|
18148
|
+
* type: object
|
|
18149
|
+
* properties:
|
|
18150
|
+
* _id:
|
|
18151
|
+
* type: string
|
|
18152
|
+
* format: mongoId
|
|
18153
|
+
* description: The object id of the handover service
|
|
18154
|
+
* referenceId:
|
|
18155
|
+
* type: string
|
|
18156
|
+
* format: uuid
|
|
18157
|
+
* description: The referenceId of the handover service
|
|
18158
|
+
* version:
|
|
18159
|
+
* type: string
|
|
18160
|
+
* description: The version of the handover service
|
|
18161
|
+
* name:
|
|
18162
|
+
* type: string
|
|
18163
|
+
* description: The name of the handover service
|
|
18164
|
+
* serviceUrl:
|
|
18165
|
+
* type: string
|
|
18166
|
+
* format: uri
|
|
18167
|
+
* description: The service URL of the handover service
|
|
18168
|
+
* logoUrl:
|
|
18169
|
+
* type: string
|
|
18170
|
+
* format: uri
|
|
18171
|
+
* description: The logo URL of the handover service
|
|
18172
|
+
* properties:
|
|
18173
|
+
* type: array
|
|
18174
|
+
* items:
|
|
18175
|
+
* type: object
|
|
18176
|
+
* description: Properties associated with the handover service
|
|
18177
|
+
* additionalProperties:
|
|
18178
|
+
* type: string
|
|
18179
|
+
* description: A list of properties for the handover service
|
|
18180
|
+
*/
|
|
18181
|
+
export interface IHandoverService_2_0 {
|
|
18182
|
+
_id: TMongoId;
|
|
18183
|
+
referenceId: string;
|
|
18184
|
+
version: string;
|
|
18185
|
+
name: string;
|
|
18186
|
+
serviceUrl: string;
|
|
18187
|
+
logoUrl: string;
|
|
18188
|
+
properties: IHandoverServiceProperties[];
|
|
18189
|
+
}
|
|
18190
|
+
export interface IIndexHandoverServicesRestData_2_0 extends IRestPagination<IHandoverService_2_0>, Partial<IProjectScope> {
|
|
18191
|
+
}
|
|
18192
|
+
export interface IIndexHandoverServicesRestReturnValue_2_0 extends ICursorBasedPaginationReturnValue<IHandoverService_2_0> {
|
|
18193
|
+
}
|
|
17657
18194
|
declare const uploadResumableTypes: readonly [
|
|
17658
18195
|
"snapshots",
|
|
17659
18196
|
"packages"
|
|
@@ -17808,7 +18345,11 @@ export interface IGenerateNluScoresRestReturnValue_2_0 {
|
|
|
17808
18345
|
* type: string
|
|
17809
18346
|
* ttsModel:
|
|
17810
18347
|
* type: string
|
|
17811
|
-
*
|
|
18348
|
+
* ttsLabel:
|
|
18349
|
+
* type: string
|
|
18350
|
+
* ttsDisableCache:
|
|
18351
|
+
* type: boolean
|
|
18352
|
+
* example: { "ttsVoice": "Xb7hH8MSUJpSbSDYk0k2", "ttsLanguage": "zh", "ttsVendor": "Elevenlabs", "ttsModel": "eleven_multilingual_v2", "ttsLabel": "microsoft US", "ttsDisableCache": false }
|
|
17812
18353
|
* enableVoiceConfigs:
|
|
17813
18354
|
* type: boolean
|
|
17814
18355
|
* description: Enables the use of voice configuration.
|
|
@@ -18047,6 +18588,12 @@ export interface ResourcesAPIGroup_2_0 {
|
|
|
18047
18588
|
readGoal: TRestAPIOperation<IReadGoalRestData_2_0, IReadGoalRestReturnValue_2_0>;
|
|
18048
18589
|
updateGoal: TRestAPIOperation<IUpdateGoalRestData_2_0, IUpdateGoalRestReturnValue_2_0>;
|
|
18049
18590
|
deleteGoal: TRestAPIOperation<IDeleteGoalRestData_2_0, IDeleteGoalRestReturnValue_2_0>;
|
|
18591
|
+
indexHandoverServices: TRestAPIOperation<TRestAPIOptionalParameter<IIndexHandoverServicesRestData_2_0>, IIndexHandoverServicesRestReturnValue_2_0>;
|
|
18592
|
+
indexHandoverProviders: TRestAPIOperation<TRestAPIOptionalParameter<IIndexHandoverProvidersRestData_2_0>, IIndexHandoverProvidersRestReturnValue_2_0>;
|
|
18593
|
+
createHandoverProvider: TRestAPIOperation<ICreateHandoverProviderRestData_2_0, ICreateHandoverProviderRestReturnValue_2_0>;
|
|
18594
|
+
readHandoverProvider: TRestAPIOperation<IReadHandoverProviderRestData_2_0, IReadHandoverProviderRestReturnValue_2_0>;
|
|
18595
|
+
updateHandoverProvider: TRestAPIOperation<IUpdateHandoverProviderRestData_2_0, IUpdateHandoverProviderRestReturnValue_2_0>;
|
|
18596
|
+
deleteHandoverProvider: TRestAPIOperation<IDeleteHandoverProviderRestData_2_0, IDeleteHandoverProviderRestReturnValue_2_0>;
|
|
18050
18597
|
indexPlaybooks: TRestAPIOperation<TRestAPIOptionalParameter<IIndexPlaybooksRestData_2_0>, IIndexPlaybooksRestReturnValue_2_0>;
|
|
18051
18598
|
batchPlaybooks: TRestAPIOperation<IBatchPlaybooksRestData_2_0, IBatchPlaybooksRestReturnValue_2_0>;
|
|
18052
18599
|
createPlaybook: TRestAPIOperation<ICreatePlaybookRestData_2_0, ICreatePlaybookRestReturnValue_2_0>;
|
|
@@ -18873,7 +19420,7 @@ export interface IProfile_2_0 {
|
|
|
18873
19420
|
* type: boolean
|
|
18874
19421
|
* privacy_policy:
|
|
18875
19422
|
* type: object
|
|
18876
|
-
*
|
|
19423
|
+
* tasks:
|
|
18877
19424
|
* type: array
|
|
18878
19425
|
* items:
|
|
18879
19426
|
* type: string
|
|
@@ -18900,7 +19447,7 @@ export interface IFlattenedProfile_2_0 {
|
|
|
18900
19447
|
prevent_data_collection: boolean;
|
|
18901
19448
|
accepted_gdpr: boolean;
|
|
18902
19449
|
privacy_policy: IProfilePrivacyPolicy;
|
|
18903
|
-
|
|
19450
|
+
tasks?: string[];
|
|
18904
19451
|
memories?: IMemory[];
|
|
18905
19452
|
firstname?: string;
|
|
18906
19453
|
lastname?: string;
|
|
@@ -19006,7 +19553,7 @@ export interface IProfileSchema_2_0 {
|
|
|
19006
19553
|
prevent_data_collection: "boolean";
|
|
19007
19554
|
accepted_gdpr: "boolean";
|
|
19008
19555
|
privacy_policy: "object";
|
|
19009
|
-
|
|
19556
|
+
tasks: "object";
|
|
19010
19557
|
memories: "object";
|
|
19011
19558
|
[key: string]: "string" | "boolean" | "number" | "object";
|
|
19012
19559
|
};
|
|
@@ -21709,6 +22256,9 @@ export interface ManagementAPIGroup_2_0 {
|
|
|
21709
22256
|
impersonateUserManagement: TRestAPIOperation<IImpersonateUserRestManagementData_2_0, IImpersonateUserRestManagementReturnValue_2_0>;
|
|
21710
22257
|
createApiKeyManagement: TRestAPIOperation<ICreateApiKeyRestManagementData_2_0, ICreateApiKeyRestManagementReturnValue_2_0>;
|
|
21711
22258
|
createSystemMessage: TRestAPIOperation<ICreateSystemMessageRestData_2_0, ICreateSystemMessageRestReturnValue_2_0>;
|
|
22259
|
+
generateAuthenticationToken: TRestAPIOperation<void, {
|
|
22260
|
+
token: string;
|
|
22261
|
+
}>;
|
|
21712
22262
|
}
|
|
21713
22263
|
declare function ManagementAPIGroup_2_0(instance: Base): ManagementAPIGroup_2_0;
|
|
21714
22264
|
/**
|