@cognigy/rest-api-client 4.96.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 +3 -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/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/message/question/question.js +21 -13
- package/build/shared/charts/descriptors/message/say.js +25 -2
- package/build/shared/charts/descriptors/service/GPTPrompt.js +1 -1
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +40 -28
- 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/interfaces/generativeAI/IGenerativeAIModels.js +2 -0
- package/build/shared/interfaces/handover.js +74 -10
- package/build/shared/interfaces/handoverProviders.js +23 -0
- package/build/shared/interfaces/messageAPI/handover.js +22 -2
- 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/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/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/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 +1 -1
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +40 -28
- 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/interfaces/generativeAI/IGenerativeAIModels.js +2 -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/handover.js +22 -2
- 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/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 +1 -1
- package/types/index.d.ts +546 -19
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",
|
|
@@ -5082,7 +5159,7 @@ export interface IAgentTranslationSettings_2_0 {
|
|
|
5082
5159
|
* - google
|
|
5083
5160
|
* - aws
|
|
5084
5161
|
*/
|
|
5085
|
-
export declare type TAudioPreviewProvider_2_0 = "microsoft" | "google" | "aws" | null;
|
|
5162
|
+
export declare type TAudioPreviewProvider_2_0 = "microsoft" | "google" | "aws" | "deepgram" | null;
|
|
5086
5163
|
/**
|
|
5087
5164
|
* @openapi
|
|
5088
5165
|
*
|
|
@@ -5126,6 +5203,9 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5126
5203
|
aws: {
|
|
5127
5204
|
connectionId: string;
|
|
5128
5205
|
};
|
|
5206
|
+
deepgram: {
|
|
5207
|
+
connectionId: string;
|
|
5208
|
+
};
|
|
5129
5209
|
};
|
|
5130
5210
|
}
|
|
5131
5211
|
/**
|
|
@@ -5138,6 +5218,7 @@ export interface IAudioPreviewSettings_2_0 {
|
|
|
5138
5218
|
* description: Supported Generative AI Providers
|
|
5139
5219
|
* enum:
|
|
5140
5220
|
* - openAI
|
|
5221
|
+
* - openAICompatible
|
|
5141
5222
|
* - azureOpenAI
|
|
5142
5223
|
* - anthropic
|
|
5143
5224
|
* - googleVertexAI
|
|
@@ -8560,6 +8641,11 @@ export interface IGraphConnection {
|
|
|
8560
8641
|
}
|
|
8561
8642
|
export interface IOpenAIMeta {
|
|
8562
8643
|
customModel?: string;
|
|
8644
|
+
baseCustomUrl?: string | null;
|
|
8645
|
+
}
|
|
8646
|
+
export interface IOpenAICompatibleMeta {
|
|
8647
|
+
customModel: string;
|
|
8648
|
+
baseCustomUrl: string;
|
|
8563
8649
|
}
|
|
8564
8650
|
export interface IAlephAlphaMeta {
|
|
8565
8651
|
customModel?: string;
|
|
@@ -8617,6 +8703,7 @@ export interface ILargeLanguageModel extends IEntityMeta, IGlobalResource {
|
|
|
8617
8703
|
googleVertexAI?: IGoogleVertexAIMeta;
|
|
8618
8704
|
googleGemini?: IGoogleGeminiMeta;
|
|
8619
8705
|
openAI?: IOpenAIMeta;
|
|
8706
|
+
openAICompatible?: IOpenAICompatibleMeta;
|
|
8620
8707
|
alephAlpha?: IAlephAlphaMeta;
|
|
8621
8708
|
anthropic?: IAnthropicMeta;
|
|
8622
8709
|
awsBedrock?: IAwsBedrockMeta;
|
|
@@ -8746,6 +8833,8 @@ export interface IHandoverNodeParams extends INodeFunctionBaseParams {
|
|
|
8746
8833
|
quickReply: string;
|
|
8747
8834
|
chatwootInboxId: string;
|
|
8748
8835
|
liveAgentInboxId: string;
|
|
8836
|
+
handoverProviderConfig: object;
|
|
8837
|
+
handoverProvider: string;
|
|
8749
8838
|
};
|
|
8750
8839
|
}
|
|
8751
8840
|
export interface IHttpBasicAuthConnectionFields {
|
|
@@ -8943,7 +9032,8 @@ export declare type TDebugEventPayload = IInputChangedEventPayload | IContextCha
|
|
|
8943
9032
|
declare const audioPreviewProviders: readonly [
|
|
8944
9033
|
"microsoft",
|
|
8945
9034
|
"google",
|
|
8946
|
-
"aws"
|
|
9035
|
+
"aws",
|
|
9036
|
+
"deepgram"
|
|
8947
9037
|
];
|
|
8948
9038
|
export declare type TAudioPreviewProvider = typeof audioPreviewProviders[number];
|
|
8949
9039
|
/**
|
|
@@ -9265,6 +9355,8 @@ export interface IHandoverRequestStatus {
|
|
|
9265
9355
|
}
|
|
9266
9356
|
export interface IHandoverNodeV2Params extends INodeFunctionBaseParams {
|
|
9267
9357
|
config: {
|
|
9358
|
+
handoverProvider: THandoverProvider | "legacyEndpoint" | null;
|
|
9359
|
+
handoverProviderConfig: Record<string, any>;
|
|
9268
9360
|
text: string;
|
|
9269
9361
|
cancelIntent: string;
|
|
9270
9362
|
quickReply: string;
|
|
@@ -9278,10 +9370,6 @@ export interface IHandoverNodeV2Params extends INodeFunctionBaseParams {
|
|
|
9278
9370
|
buttonId: string;
|
|
9279
9371
|
salesforcePrechatDetails: object[];
|
|
9280
9372
|
salesforcePrechatEntities: object[];
|
|
9281
|
-
buttonIdMIAW: string;
|
|
9282
|
-
sendTranscriptAsFirstMessageMIAW: boolean;
|
|
9283
|
-
salesforcePrechatDetailsMIAW: object[];
|
|
9284
|
-
salesforcePrechatEntitiesMIAW: object;
|
|
9285
9373
|
eightByEightChannelId: string;
|
|
9286
9374
|
eightByEightQueueId: string;
|
|
9287
9375
|
eightByEightJSONProps: object;
|
|
@@ -9328,6 +9416,8 @@ export interface ICheckAgentAvailabilityNodeParams extends INodeFunctionBasePara
|
|
|
9328
9416
|
abortOnError: boolean;
|
|
9329
9417
|
errorLogging: "none" | "basic" | "full";
|
|
9330
9418
|
logWarning: string;
|
|
9419
|
+
checkAgentAvailabilityProvider: THandoverProvider | "legacyEndpoint" | null;
|
|
9420
|
+
checkAgentAvailabilityConfig: Record<string, any>;
|
|
9331
9421
|
};
|
|
9332
9422
|
}
|
|
9333
9423
|
export interface ITriggerFunctionNodeParams extends INodeFunctionBaseParams {
|
|
@@ -9439,6 +9529,7 @@ export interface ISayNodeConfigParams {
|
|
|
9439
9529
|
export interface ISayNodeConfig extends INodeWithAiRephraseConfig {
|
|
9440
9530
|
say: ISayNodeConfigParams;
|
|
9441
9531
|
handoverOutput: ISayNodeSettings["liveAgentSettings"]["outputDestination"];
|
|
9532
|
+
preventTranscript: boolean;
|
|
9442
9533
|
}
|
|
9443
9534
|
export interface ISayParams extends INodeFunctionBaseParams {
|
|
9444
9535
|
config: ISayNodeConfig;
|
|
@@ -9504,6 +9595,7 @@ export interface IQuestionNodeSharedConfig extends INodeWithAiRephraseConfig {
|
|
|
9504
9595
|
maxExecutionDiff: number;
|
|
9505
9596
|
resultLocation: string;
|
|
9506
9597
|
skipRepromptOnIntent: boolean;
|
|
9598
|
+
preventTranscript: boolean;
|
|
9507
9599
|
escalateAnswersAction: "none" | "goto" | "execute" | "skip" | "text" | "handover";
|
|
9508
9600
|
escalateAnswersThreshold: number;
|
|
9509
9601
|
escalateAnswersGotoTarget: string;
|
|
@@ -11084,6 +11176,10 @@ export interface INodeExecutionAPI extends Omit<IActions, "parseCognigyScriptCon
|
|
|
11084
11176
|
updateSessionStateValues(values: Partial<ISessionState>): void;
|
|
11085
11177
|
getLLMTokenUsageForSession(): TSessionUsageInformation | null;
|
|
11086
11178
|
loadSessionState: () => Promise<Partial<ISessionStateWithoutMeta>>;
|
|
11179
|
+
emitToOpsCenter: (params: {
|
|
11180
|
+
title: string;
|
|
11181
|
+
subComponent?: string;
|
|
11182
|
+
}) => void;
|
|
11087
11183
|
}
|
|
11088
11184
|
export interface INodeExecutionCognigyObject extends IExecutionObjects {
|
|
11089
11185
|
api: INodeExecutionAPI;
|
|
@@ -11252,10 +11348,13 @@ export interface INodeDependencies {
|
|
|
11252
11348
|
declare const nodeFieldTypes: readonly [
|
|
11253
11349
|
"adaptivecard",
|
|
11254
11350
|
"agentAssistConfig",
|
|
11351
|
+
"aiAgentSelect",
|
|
11255
11352
|
"appTemplate",
|
|
11256
11353
|
"backgroundSelector",
|
|
11257
11354
|
"caseNode",
|
|
11258
11355
|
"checkbox",
|
|
11356
|
+
"checkAgentAvailabilityProvider",
|
|
11357
|
+
"checkAgentAvailabilityConfig",
|
|
11259
11358
|
"chipInput",
|
|
11260
11359
|
"code",
|
|
11261
11360
|
"cognigyLLMText",
|
|
@@ -11270,16 +11369,16 @@ declare const nodeFieldTypes: readonly [
|
|
|
11270
11369
|
"flow",
|
|
11271
11370
|
"flowNode",
|
|
11272
11371
|
"function",
|
|
11372
|
+
"goalAndStepsSelect",
|
|
11373
|
+
"handoverProvider",
|
|
11374
|
+
"handoverProviderConfig",
|
|
11273
11375
|
"json",
|
|
11274
11376
|
"keyValuePairs",
|
|
11275
|
-
"
|
|
11377
|
+
"knowledgeSourceTags",
|
|
11276
11378
|
"knowledgeStore",
|
|
11277
11379
|
"knowledgeStoreSelect",
|
|
11278
|
-
"knowledgeSourceTags",
|
|
11279
|
-
"llmSelect",
|
|
11280
|
-
"aiAgentSelect",
|
|
11281
|
-
"goalAndStepsSelect",
|
|
11282
11380
|
"lexicon",
|
|
11381
|
+
"llmSelect",
|
|
11283
11382
|
"localeField",
|
|
11284
11383
|
"node",
|
|
11285
11384
|
"number",
|
|
@@ -11299,6 +11398,7 @@ declare const nodeFieldTypes: readonly [
|
|
|
11299
11398
|
"textArray",
|
|
11300
11399
|
"time",
|
|
11301
11400
|
"toggle",
|
|
11401
|
+
"toolParameters",
|
|
11302
11402
|
"ttsSelect",
|
|
11303
11403
|
"typescript",
|
|
11304
11404
|
"xml"
|
|
@@ -11717,7 +11817,247 @@ export interface IGraphGoal {
|
|
|
11717
11817
|
name: string;
|
|
11718
11818
|
properties: Pick<IGoal, "createdAt" | "createdBy" | "lastChanged" | "lastChangedBy">;
|
|
11719
11819
|
}
|
|
11720
|
-
|
|
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;
|
|
11721
12061
|
export declare type IGraphResourceWithoutReferenceId = IGraphEndpoint | IGraphExtension | IGraphFile | IGraphPlaybook;
|
|
11722
12062
|
export declare type IGraphResource = IGraphResourceWithReferenceId | IGraphResourceWithoutReferenceId;
|
|
11723
12063
|
/**
|
|
@@ -16362,7 +16702,7 @@ export interface ICognigyNodes {
|
|
|
16362
16702
|
}
|
|
16363
16703
|
export interface IUploadFileRestDataQuery_2_0 extends IProjectScope {
|
|
16364
16704
|
}
|
|
16365
|
-
export interface IUploadFileRestDataBody_2_0 {
|
|
16705
|
+
export interface IUploadFileRestDataBody_2_0 extends Pick<IGlobalResource, "resourceLevel"> {
|
|
16366
16706
|
file: File | Buffer;
|
|
16367
16707
|
}
|
|
16368
16708
|
export interface IUploadFileRestData_2_0 extends IUploadFileRestDataBody_2_0, IUploadFileRestDataQuery_2_0 {
|
|
@@ -16685,6 +17025,11 @@ export interface IIndexAgentAssistConfigsRestReturnValue_2_0 extends ICursorBase
|
|
|
16685
17025
|
}
|
|
16686
17026
|
export interface IOpenAIMeta_2_0 {
|
|
16687
17027
|
customModel?: string;
|
|
17028
|
+
baseCustomUrl?: string;
|
|
17029
|
+
}
|
|
17030
|
+
export interface IOpenAICompatibleMeta_2_0 {
|
|
17031
|
+
customModel: string;
|
|
17032
|
+
baseCustomUrl: string;
|
|
16688
17033
|
}
|
|
16689
17034
|
export interface IAnthropicMeta_2_0 {
|
|
16690
17035
|
customModel?: string;
|
|
@@ -16915,6 +17260,8 @@ export interface ILargeLanguageModel_2_0 extends IGlobalResource {
|
|
|
16915
17260
|
azureOpenAI?: IAzureOpenAIMeta_2_0;
|
|
16916
17261
|
/** Meta data for the OpenAI LLM */
|
|
16917
17262
|
openAI?: IOpenAIMeta_2_0;
|
|
17263
|
+
/** Meta data for OpenAI Compatible LLMs */
|
|
17264
|
+
openAICompatible?: IOpenAICompatibleMeta_2_0;
|
|
16918
17265
|
/** Meta Data for the AlephAlpha LLM */
|
|
16919
17266
|
alephAlpha?: IAlephAlphaMeta_2_0;
|
|
16920
17267
|
/** Meta data for the GoogleVertexAI connection */
|
|
@@ -17654,6 +18001,177 @@ export interface IDeleteGoalRestData_2_0 extends IDeleteGoalRestDataParams_2_0 {
|
|
|
17654
18001
|
}
|
|
17655
18002
|
export interface IDeleteGoalRestReturnValue_2_0 {
|
|
17656
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
|
+
}
|
|
17657
18175
|
declare const uploadResumableTypes: readonly [
|
|
17658
18176
|
"snapshots",
|
|
17659
18177
|
"packages"
|
|
@@ -18047,6 +18565,12 @@ export interface ResourcesAPIGroup_2_0 {
|
|
|
18047
18565
|
readGoal: TRestAPIOperation<IReadGoalRestData_2_0, IReadGoalRestReturnValue_2_0>;
|
|
18048
18566
|
updateGoal: TRestAPIOperation<IUpdateGoalRestData_2_0, IUpdateGoalRestReturnValue_2_0>;
|
|
18049
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>;
|
|
18050
18574
|
indexPlaybooks: TRestAPIOperation<TRestAPIOptionalParameter<IIndexPlaybooksRestData_2_0>, IIndexPlaybooksRestReturnValue_2_0>;
|
|
18051
18575
|
batchPlaybooks: TRestAPIOperation<IBatchPlaybooksRestData_2_0, IBatchPlaybooksRestReturnValue_2_0>;
|
|
18052
18576
|
createPlaybook: TRestAPIOperation<ICreatePlaybookRestData_2_0, ICreatePlaybookRestReturnValue_2_0>;
|
|
@@ -21709,6 +22233,9 @@ export interface ManagementAPIGroup_2_0 {
|
|
|
21709
22233
|
impersonateUserManagement: TRestAPIOperation<IImpersonateUserRestManagementData_2_0, IImpersonateUserRestManagementReturnValue_2_0>;
|
|
21710
22234
|
createApiKeyManagement: TRestAPIOperation<ICreateApiKeyRestManagementData_2_0, ICreateApiKeyRestManagementReturnValue_2_0>;
|
|
21711
22235
|
createSystemMessage: TRestAPIOperation<ICreateSystemMessageRestData_2_0, ICreateSystemMessageRestReturnValue_2_0>;
|
|
22236
|
+
generateAuthenticationToken: TRestAPIOperation<void, {
|
|
22237
|
+
token: string;
|
|
22238
|
+
}>;
|
|
21712
22239
|
}
|
|
21713
22240
|
declare function ManagementAPIGroup_2_0(instance: Base): ManagementAPIGroup_2_0;
|
|
21714
22241
|
/**
|