@salesforce/lds-adapters-service-einstein-copilot-bot 1.451.0-dev1 → 1.451.0-dev10
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/dist/es/es2018/service-einstein-copilot-bot.js +77 -2
- package/dist/es/es2018/types/src/generated/types/AgentforceAgentBotInfoRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/MessagingChannelInfoRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +78 -3
- package/src/raml/api.raml +12 -0
|
@@ -4370,7 +4370,7 @@ function equals$3(existing, incoming) {
|
|
|
4370
4370
|
return true;
|
|
4371
4371
|
}
|
|
4372
4372
|
|
|
4373
|
-
const VERSION$2 = "
|
|
4373
|
+
const VERSION$2 = "4492f233566d9ccb17479ad53eed09e8";
|
|
4374
4374
|
function validate$2(obj, path = 'MessagingChannelInfoRepresentation') {
|
|
4375
4375
|
const v_error = (() => {
|
|
4376
4376
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4400,6 +4400,13 @@ function validate$2(obj, path = 'MessagingChannelInfoRepresentation') {
|
|
|
4400
4400
|
}
|
|
4401
4401
|
}
|
|
4402
4402
|
}
|
|
4403
|
+
if (obj.isFeedbackEnabled !== undefined) {
|
|
4404
|
+
const obj_isFeedbackEnabled = obj.isFeedbackEnabled;
|
|
4405
|
+
const path_isFeedbackEnabled = path + '.isFeedbackEnabled';
|
|
4406
|
+
if (typeof obj_isFeedbackEnabled !== 'boolean') {
|
|
4407
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFeedbackEnabled + '" (at "' + path_isFeedbackEnabled + '")');
|
|
4408
|
+
}
|
|
4409
|
+
}
|
|
4403
4410
|
if (obj.messagingChannelPlatformKey !== undefined) {
|
|
4404
4411
|
const obj_messagingChannelPlatformKey = obj.messagingChannelPlatformKey;
|
|
4405
4412
|
const path_messagingChannelPlatformKey = path + '.messagingChannelPlatformKey';
|
|
@@ -4429,6 +4436,11 @@ const select$3 = function MessagingChannelInfoRepresentationSelect() {
|
|
|
4429
4436
|
selections: EsDeploymentInfoRepresentation__selections,
|
|
4430
4437
|
required: false
|
|
4431
4438
|
},
|
|
4439
|
+
{
|
|
4440
|
+
name: 'isFeedbackEnabled',
|
|
4441
|
+
kind: 'Scalar',
|
|
4442
|
+
required: false
|
|
4443
|
+
},
|
|
4432
4444
|
{
|
|
4433
4445
|
name: 'messagingChannelPlatformKey',
|
|
4434
4446
|
kind: 'Scalar',
|
|
@@ -4438,6 +4450,19 @@ const select$3 = function MessagingChannelInfoRepresentationSelect() {
|
|
|
4438
4450
|
};
|
|
4439
4451
|
};
|
|
4440
4452
|
function equals$2(existing, incoming) {
|
|
4453
|
+
const existing_isFeedbackEnabled = existing.isFeedbackEnabled;
|
|
4454
|
+
const incoming_isFeedbackEnabled = incoming.isFeedbackEnabled;
|
|
4455
|
+
// if at least one of these optionals is defined
|
|
4456
|
+
if (existing_isFeedbackEnabled !== undefined || incoming_isFeedbackEnabled !== undefined) {
|
|
4457
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4458
|
+
// not equal
|
|
4459
|
+
if (existing_isFeedbackEnabled === undefined || incoming_isFeedbackEnabled === undefined) {
|
|
4460
|
+
return false;
|
|
4461
|
+
}
|
|
4462
|
+
if (!(existing_isFeedbackEnabled === incoming_isFeedbackEnabled)) {
|
|
4463
|
+
return false;
|
|
4464
|
+
}
|
|
4465
|
+
}
|
|
4441
4466
|
const existing_authMode = existing.authMode;
|
|
4442
4467
|
const incoming_authMode = incoming.authMode;
|
|
4443
4468
|
// if at least one of these optionals is defined
|
|
@@ -4485,12 +4510,19 @@ function equals$2(existing, incoming) {
|
|
|
4485
4510
|
return true;
|
|
4486
4511
|
}
|
|
4487
4512
|
|
|
4488
|
-
const VERSION$1 = "
|
|
4513
|
+
const VERSION$1 = "3585a67e9604dbc1415da254caeadf75";
|
|
4489
4514
|
function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
4490
4515
|
const v_error = (() => {
|
|
4491
4516
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4492
4517
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4493
4518
|
}
|
|
4519
|
+
if (obj.agentTemplate !== undefined) {
|
|
4520
|
+
const obj_agentTemplate = obj.agentTemplate;
|
|
4521
|
+
const path_agentTemplate = path + '.agentTemplate';
|
|
4522
|
+
if (typeof obj_agentTemplate !== 'string') {
|
|
4523
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agentTemplate + '" (at "' + path_agentTemplate + '")');
|
|
4524
|
+
}
|
|
4525
|
+
}
|
|
4494
4526
|
if (obj.agentType !== undefined) {
|
|
4495
4527
|
const obj_agentType = obj.agentType;
|
|
4496
4528
|
const path_agentType = path + '.agentType';
|
|
@@ -4531,6 +4563,13 @@ function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
|
4531
4563
|
if (typeof obj_isSuccess !== 'boolean') {
|
|
4532
4564
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
4533
4565
|
}
|
|
4566
|
+
if (obj.isUserSkillsEnabled !== undefined) {
|
|
4567
|
+
const obj_isUserSkillsEnabled = obj.isUserSkillsEnabled;
|
|
4568
|
+
const path_isUserSkillsEnabled = path + '.isUserSkillsEnabled';
|
|
4569
|
+
if (typeof obj_isUserSkillsEnabled !== 'boolean') {
|
|
4570
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isUserSkillsEnabled + '" (at "' + path_isUserSkillsEnabled + '")');
|
|
4571
|
+
}
|
|
4572
|
+
}
|
|
4534
4573
|
if (obj.isVoiceEnabled !== undefined) {
|
|
4535
4574
|
const obj_isVoiceEnabled = obj.isVoiceEnabled;
|
|
4536
4575
|
const path_isVoiceEnabled = path + '.isVoiceEnabled';
|
|
@@ -4586,6 +4625,11 @@ const select$2 = function AgentforceAgentBotInfoRepresentationSelect() {
|
|
|
4586
4625
|
version: VERSION$1,
|
|
4587
4626
|
private: [],
|
|
4588
4627
|
selections: [
|
|
4628
|
+
{
|
|
4629
|
+
name: 'agentTemplate',
|
|
4630
|
+
kind: 'Scalar',
|
|
4631
|
+
required: false
|
|
4632
|
+
},
|
|
4589
4633
|
{
|
|
4590
4634
|
name: 'agentType',
|
|
4591
4635
|
kind: 'Scalar',
|
|
@@ -4615,6 +4659,11 @@ const select$2 = function AgentforceAgentBotInfoRepresentationSelect() {
|
|
|
4615
4659
|
name: 'isSuccess',
|
|
4616
4660
|
kind: 'Scalar'
|
|
4617
4661
|
},
|
|
4662
|
+
{
|
|
4663
|
+
name: 'isUserSkillsEnabled',
|
|
4664
|
+
kind: 'Scalar',
|
|
4665
|
+
required: false
|
|
4666
|
+
},
|
|
4618
4667
|
{
|
|
4619
4668
|
name: 'isVoiceEnabled',
|
|
4620
4669
|
kind: 'Scalar',
|
|
@@ -4664,6 +4713,19 @@ function equals$1(existing, incoming) {
|
|
|
4664
4713
|
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
4665
4714
|
return false;
|
|
4666
4715
|
}
|
|
4716
|
+
const existing_isUserSkillsEnabled = existing.isUserSkillsEnabled;
|
|
4717
|
+
const incoming_isUserSkillsEnabled = incoming.isUserSkillsEnabled;
|
|
4718
|
+
// if at least one of these optionals is defined
|
|
4719
|
+
if (existing_isUserSkillsEnabled !== undefined || incoming_isUserSkillsEnabled !== undefined) {
|
|
4720
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4721
|
+
// not equal
|
|
4722
|
+
if (existing_isUserSkillsEnabled === undefined || incoming_isUserSkillsEnabled === undefined) {
|
|
4723
|
+
return false;
|
|
4724
|
+
}
|
|
4725
|
+
if (!(existing_isUserSkillsEnabled === incoming_isUserSkillsEnabled)) {
|
|
4726
|
+
return false;
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4667
4729
|
const existing_isVoiceEnabled = existing.isVoiceEnabled;
|
|
4668
4730
|
const incoming_isVoiceEnabled = incoming.isVoiceEnabled;
|
|
4669
4731
|
// if at least one of these optionals is defined
|
|
@@ -4703,6 +4765,19 @@ function equals$1(existing, incoming) {
|
|
|
4703
4765
|
return false;
|
|
4704
4766
|
}
|
|
4705
4767
|
}
|
|
4768
|
+
const existing_agentTemplate = existing.agentTemplate;
|
|
4769
|
+
const incoming_agentTemplate = incoming.agentTemplate;
|
|
4770
|
+
// if at least one of these optionals is defined
|
|
4771
|
+
if (existing_agentTemplate !== undefined || incoming_agentTemplate !== undefined) {
|
|
4772
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4773
|
+
// not equal
|
|
4774
|
+
if (existing_agentTemplate === undefined || incoming_agentTemplate === undefined) {
|
|
4775
|
+
return false;
|
|
4776
|
+
}
|
|
4777
|
+
if (!(existing_agentTemplate === incoming_agentTemplate)) {
|
|
4778
|
+
return false;
|
|
4779
|
+
}
|
|
4780
|
+
}
|
|
4706
4781
|
const existing_agentType = existing.agentType;
|
|
4707
4782
|
const incoming_agentType = incoming.agentType;
|
|
4708
4783
|
// if at least one of these optionals is defined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MessagingChannelInfoRepresentation as MessagingChannelInfoRepresentation_MessagingChannelInfoRepresentation } from './MessagingChannelInfoRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "3585a67e9604dbc1415da254caeadf75";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: AgentforceAgentBotInfoRepresentation, existing: AgentforceAgentBotInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AgentforceAgentBotInfoRepresentationNormalized;
|
|
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface AgentforceAgentBotInfoRepresentationNormalized {
|
|
18
|
+
/** The AgentTemplate the Agentforce Agent was created from. */
|
|
19
|
+
agentTemplate?: string;
|
|
18
20
|
/** internal agent type api name */
|
|
19
21
|
agentType?: string;
|
|
20
22
|
/** ID of the internal Copilot bot ID - used in the URL when starting agent sessions */
|
|
@@ -27,6 +29,8 @@ export interface AgentforceAgentBotInfoRepresentationNormalized {
|
|
|
27
29
|
isDefault?: boolean;
|
|
28
30
|
/** Success indicator of the get operation. */
|
|
29
31
|
isSuccess: boolean;
|
|
32
|
+
/** Indicates whether the agent has skills authored (per-agent). */
|
|
33
|
+
isUserSkillsEnabled?: boolean;
|
|
30
34
|
/** Indicates whether the Agent is voice enabled for ACC and mobile */
|
|
31
35
|
isVoiceEnabled?: boolean;
|
|
32
36
|
/** display label of the agent */
|
|
@@ -45,12 +49,14 @@ export interface AgentforceAgentBotInfoRepresentationNormalized {
|
|
|
45
49
|
* (none)
|
|
46
50
|
*/
|
|
47
51
|
export interface AgentforceAgentBotInfoRepresentation {
|
|
52
|
+
agentTemplate?: string;
|
|
48
53
|
agentType?: string;
|
|
49
54
|
botId?: string;
|
|
50
55
|
description?: string;
|
|
51
56
|
errorMessage?: string;
|
|
52
57
|
isDefault?: boolean;
|
|
53
58
|
isSuccess: boolean;
|
|
59
|
+
isUserSkillsEnabled?: boolean;
|
|
54
60
|
isVoiceEnabled?: boolean;
|
|
55
61
|
label?: string;
|
|
56
62
|
messagingChannels?: Array<MessagingChannelInfoRepresentation_MessagingChannelInfoRepresentation>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EsDeploymentInfoRepresentation as EsDeploymentInfoRepresentation_EsDeploymentInfoRepresentation } from './EsDeploymentInfoRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "4492f233566d9ccb17479ad53eed09e8";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: MessagingChannelInfoRepresentation, existing: MessagingChannelInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MessagingChannelInfoRepresentationNormalized;
|
|
@@ -19,6 +19,8 @@ export interface MessagingChannelInfoRepresentationNormalized {
|
|
|
19
19
|
authMode?: string;
|
|
20
20
|
/** List of EmbeddedServiceConfig deployments linked to this messaging channel. */
|
|
21
21
|
deployments?: Array<EsDeploymentInfoRepresentation_EsDeploymentInfoRepresentation>;
|
|
22
|
+
/** Indicates whether message feedback is enabled for this messaging channel. */
|
|
23
|
+
isFeedbackEnabled?: boolean;
|
|
22
24
|
/** Messaging platform key of the EmbeddedMessaging channel. */
|
|
23
25
|
messagingChannelPlatformKey?: string;
|
|
24
26
|
}
|
|
@@ -31,5 +33,6 @@ export interface MessagingChannelInfoRepresentationNormalized {
|
|
|
31
33
|
export interface MessagingChannelInfoRepresentation {
|
|
32
34
|
authMode?: string;
|
|
33
35
|
deployments?: Array<EsDeploymentInfoRepresentation_EsDeploymentInfoRepresentation>;
|
|
36
|
+
isFeedbackEnabled?: boolean;
|
|
34
37
|
messagingChannelPlatformKey?: string;
|
|
35
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
|
|
3
|
-
"version": "1.451.0-
|
|
3
|
+
"version": "1.451.0-dev10",
|
|
4
4
|
"description": "Einstein Copilot Bot API Family",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-einstein-copilot-bot.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.451.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.451.0-dev10"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.451.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.451.0-dev10"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -219,7 +219,7 @@ function equals$l(existing, incoming) {
|
|
|
219
219
|
return true;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
const VERSION$k = "
|
|
222
|
+
const VERSION$k = "4492f233566d9ccb17479ad53eed09e8";
|
|
223
223
|
function validate$r(obj, path = 'MessagingChannelInfoRepresentation') {
|
|
224
224
|
const v_error = (() => {
|
|
225
225
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -249,6 +249,13 @@ function validate$r(obj, path = 'MessagingChannelInfoRepresentation') {
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
+
if (obj.isFeedbackEnabled !== undefined) {
|
|
253
|
+
const obj_isFeedbackEnabled = obj.isFeedbackEnabled;
|
|
254
|
+
const path_isFeedbackEnabled = path + '.isFeedbackEnabled';
|
|
255
|
+
if (typeof obj_isFeedbackEnabled !== 'boolean') {
|
|
256
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFeedbackEnabled + '" (at "' + path_isFeedbackEnabled + '")');
|
|
257
|
+
}
|
|
258
|
+
}
|
|
252
259
|
if (obj.messagingChannelPlatformKey !== undefined) {
|
|
253
260
|
const obj_messagingChannelPlatformKey = obj.messagingChannelPlatformKey;
|
|
254
261
|
const path_messagingChannelPlatformKey = path + '.messagingChannelPlatformKey';
|
|
@@ -278,6 +285,11 @@ const select$u = function MessagingChannelInfoRepresentationSelect() {
|
|
|
278
285
|
selections: EsDeploymentInfoRepresentation__selections,
|
|
279
286
|
required: false
|
|
280
287
|
},
|
|
288
|
+
{
|
|
289
|
+
name: 'isFeedbackEnabled',
|
|
290
|
+
kind: 'Scalar',
|
|
291
|
+
required: false
|
|
292
|
+
},
|
|
281
293
|
{
|
|
282
294
|
name: 'messagingChannelPlatformKey',
|
|
283
295
|
kind: 'Scalar',
|
|
@@ -287,6 +299,19 @@ const select$u = function MessagingChannelInfoRepresentationSelect() {
|
|
|
287
299
|
};
|
|
288
300
|
};
|
|
289
301
|
function equals$k(existing, incoming) {
|
|
302
|
+
const existing_isFeedbackEnabled = existing.isFeedbackEnabled;
|
|
303
|
+
const incoming_isFeedbackEnabled = incoming.isFeedbackEnabled;
|
|
304
|
+
// if at least one of these optionals is defined
|
|
305
|
+
if (existing_isFeedbackEnabled !== undefined || incoming_isFeedbackEnabled !== undefined) {
|
|
306
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
307
|
+
// not equal
|
|
308
|
+
if (existing_isFeedbackEnabled === undefined || incoming_isFeedbackEnabled === undefined) {
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
if (!(existing_isFeedbackEnabled === incoming_isFeedbackEnabled)) {
|
|
312
|
+
return false;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
290
315
|
const existing_authMode = existing.authMode;
|
|
291
316
|
const incoming_authMode = incoming.authMode;
|
|
292
317
|
// if at least one of these optionals is defined
|
|
@@ -334,12 +359,19 @@ function equals$k(existing, incoming) {
|
|
|
334
359
|
return true;
|
|
335
360
|
}
|
|
336
361
|
|
|
337
|
-
const VERSION$j = "
|
|
362
|
+
const VERSION$j = "3585a67e9604dbc1415da254caeadf75";
|
|
338
363
|
function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
339
364
|
const v_error = (() => {
|
|
340
365
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
341
366
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
342
367
|
}
|
|
368
|
+
if (obj.agentTemplate !== undefined) {
|
|
369
|
+
const obj_agentTemplate = obj.agentTemplate;
|
|
370
|
+
const path_agentTemplate = path + '.agentTemplate';
|
|
371
|
+
if (typeof obj_agentTemplate !== 'string') {
|
|
372
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agentTemplate + '" (at "' + path_agentTemplate + '")');
|
|
373
|
+
}
|
|
374
|
+
}
|
|
343
375
|
if (obj.agentType !== undefined) {
|
|
344
376
|
const obj_agentType = obj.agentType;
|
|
345
377
|
const path_agentType = path + '.agentType';
|
|
@@ -380,6 +412,13 @@ function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
|
380
412
|
if (typeof obj_isSuccess !== 'boolean') {
|
|
381
413
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
382
414
|
}
|
|
415
|
+
if (obj.isUserSkillsEnabled !== undefined) {
|
|
416
|
+
const obj_isUserSkillsEnabled = obj.isUserSkillsEnabled;
|
|
417
|
+
const path_isUserSkillsEnabled = path + '.isUserSkillsEnabled';
|
|
418
|
+
if (typeof obj_isUserSkillsEnabled !== 'boolean') {
|
|
419
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isUserSkillsEnabled + '" (at "' + path_isUserSkillsEnabled + '")');
|
|
420
|
+
}
|
|
421
|
+
}
|
|
383
422
|
if (obj.isVoiceEnabled !== undefined) {
|
|
384
423
|
const obj_isVoiceEnabled = obj.isVoiceEnabled;
|
|
385
424
|
const path_isVoiceEnabled = path + '.isVoiceEnabled';
|
|
@@ -435,6 +474,11 @@ const select$t = function AgentforceAgentBotInfoRepresentationSelect() {
|
|
|
435
474
|
version: VERSION$j,
|
|
436
475
|
private: [],
|
|
437
476
|
selections: [
|
|
477
|
+
{
|
|
478
|
+
name: 'agentTemplate',
|
|
479
|
+
kind: 'Scalar',
|
|
480
|
+
required: false
|
|
481
|
+
},
|
|
438
482
|
{
|
|
439
483
|
name: 'agentType',
|
|
440
484
|
kind: 'Scalar',
|
|
@@ -464,6 +508,11 @@ const select$t = function AgentforceAgentBotInfoRepresentationSelect() {
|
|
|
464
508
|
name: 'isSuccess',
|
|
465
509
|
kind: 'Scalar'
|
|
466
510
|
},
|
|
511
|
+
{
|
|
512
|
+
name: 'isUserSkillsEnabled',
|
|
513
|
+
kind: 'Scalar',
|
|
514
|
+
required: false
|
|
515
|
+
},
|
|
467
516
|
{
|
|
468
517
|
name: 'isVoiceEnabled',
|
|
469
518
|
kind: 'Scalar',
|
|
@@ -513,6 +562,19 @@ function equals$j(existing, incoming) {
|
|
|
513
562
|
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
514
563
|
return false;
|
|
515
564
|
}
|
|
565
|
+
const existing_isUserSkillsEnabled = existing.isUserSkillsEnabled;
|
|
566
|
+
const incoming_isUserSkillsEnabled = incoming.isUserSkillsEnabled;
|
|
567
|
+
// if at least one of these optionals is defined
|
|
568
|
+
if (existing_isUserSkillsEnabled !== undefined || incoming_isUserSkillsEnabled !== undefined) {
|
|
569
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
570
|
+
// not equal
|
|
571
|
+
if (existing_isUserSkillsEnabled === undefined || incoming_isUserSkillsEnabled === undefined) {
|
|
572
|
+
return false;
|
|
573
|
+
}
|
|
574
|
+
if (!(existing_isUserSkillsEnabled === incoming_isUserSkillsEnabled)) {
|
|
575
|
+
return false;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
516
578
|
const existing_isVoiceEnabled = existing.isVoiceEnabled;
|
|
517
579
|
const incoming_isVoiceEnabled = incoming.isVoiceEnabled;
|
|
518
580
|
// if at least one of these optionals is defined
|
|
@@ -552,6 +614,19 @@ function equals$j(existing, incoming) {
|
|
|
552
614
|
return false;
|
|
553
615
|
}
|
|
554
616
|
}
|
|
617
|
+
const existing_agentTemplate = existing.agentTemplate;
|
|
618
|
+
const incoming_agentTemplate = incoming.agentTemplate;
|
|
619
|
+
// if at least one of these optionals is defined
|
|
620
|
+
if (existing_agentTemplate !== undefined || incoming_agentTemplate !== undefined) {
|
|
621
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
622
|
+
// not equal
|
|
623
|
+
if (existing_agentTemplate === undefined || incoming_agentTemplate === undefined) {
|
|
624
|
+
return false;
|
|
625
|
+
}
|
|
626
|
+
if (!(existing_agentTemplate === incoming_agentTemplate)) {
|
|
627
|
+
return false;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
555
630
|
const existing_agentType = existing.agentType;
|
|
556
631
|
const incoming_agentType = incoming.agentType;
|
|
557
632
|
// if at least one of these optionals is defined
|
|
@@ -5321,4 +5396,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5321
5396
|
});
|
|
5322
5397
|
|
|
5323
5398
|
export { getAgents, getAgents_imperative, getBotId, getBotId_imperative, getCopilotObjects, getCopilotObjects_imperative, getFollowUpActions, getFollowUpActions_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, getRecommendedUtterances, getRecommendedUtterances_imperative, getWelcomeUtterances, getWelcomeUtterances_imperative, sendMessage, submitFeedback };
|
|
5324
|
-
// version: 1.451.0-
|
|
5399
|
+
// version: 1.451.0-dev10-1dd3380fb3
|
package/src/raml/api.raml
CHANGED
|
@@ -616,6 +616,10 @@ types:
|
|
|
616
616
|
description: ID of the internal Copilot bot ID - used in the URL when starting agent sessions
|
|
617
617
|
type: string
|
|
618
618
|
required: false
|
|
619
|
+
agentTemplate:
|
|
620
|
+
description: The AgentTemplate the Agentforce Agent was created from.
|
|
621
|
+
type: string
|
|
622
|
+
required: false
|
|
619
623
|
label:
|
|
620
624
|
description: display label of the agent
|
|
621
625
|
type: string
|
|
@@ -644,6 +648,10 @@ types:
|
|
|
644
648
|
description: Indicates whether the Agent is voice enabled for ACC and mobile
|
|
645
649
|
type: boolean
|
|
646
650
|
required: false
|
|
651
|
+
isUserSkillsEnabled:
|
|
652
|
+
description: Indicates whether the agent has skills authored (per-agent).
|
|
653
|
+
type: boolean
|
|
654
|
+
required: false
|
|
647
655
|
messagingChannels:
|
|
648
656
|
description: List of EmbeddedMessaging channels provisioned for this Agent.
|
|
649
657
|
type: array
|
|
@@ -709,6 +717,10 @@ types:
|
|
|
709
717
|
required: false
|
|
710
718
|
items:
|
|
711
719
|
type: EsDeploymentInfoRepresentation
|
|
720
|
+
isFeedbackEnabled:
|
|
721
|
+
description: Indicates whether message feedback is enabled for this messaging channel.
|
|
722
|
+
type: boolean
|
|
723
|
+
required: false
|
|
712
724
|
EsDeploymentInfoRepresentation:
|
|
713
725
|
description: Represents an EmbeddedServiceConfig deployment linked to a messaging channel
|
|
714
726
|
type: object
|