@salesforce/lds-adapters-service-einstein-copilot-bot 1.457.0 → 1.459.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.
|
@@ -4510,7 +4510,7 @@ function equals$2(existing, incoming) {
|
|
|
4510
4510
|
return true;
|
|
4511
4511
|
}
|
|
4512
4512
|
|
|
4513
|
-
const VERSION$1 = "
|
|
4513
|
+
const VERSION$1 = "2d4ada37263c79110685209e1033f411";
|
|
4514
4514
|
function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
4515
4515
|
const v_error = (() => {
|
|
4516
4516
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4556,6 +4556,13 @@ function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
|
4556
4556
|
if (typeof obj_isSuccess !== 'boolean') {
|
|
4557
4557
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
4558
4558
|
}
|
|
4559
|
+
if (obj.isUserSkillsEnabled !== undefined) {
|
|
4560
|
+
const obj_isUserSkillsEnabled = obj.isUserSkillsEnabled;
|
|
4561
|
+
const path_isUserSkillsEnabled = path + '.isUserSkillsEnabled';
|
|
4562
|
+
if (typeof obj_isUserSkillsEnabled !== 'boolean') {
|
|
4563
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isUserSkillsEnabled + '" (at "' + path_isUserSkillsEnabled + '")');
|
|
4564
|
+
}
|
|
4565
|
+
}
|
|
4559
4566
|
if (obj.isVoiceEnabled !== undefined) {
|
|
4560
4567
|
const obj_isVoiceEnabled = obj.isVoiceEnabled;
|
|
4561
4568
|
const path_isVoiceEnabled = path + '.isVoiceEnabled';
|
|
@@ -4640,6 +4647,11 @@ const select$2 = function AgentforceAgentBotInfoRepresentationSelect() {
|
|
|
4640
4647
|
name: 'isSuccess',
|
|
4641
4648
|
kind: 'Scalar'
|
|
4642
4649
|
},
|
|
4650
|
+
{
|
|
4651
|
+
name: 'isUserSkillsEnabled',
|
|
4652
|
+
kind: 'Scalar',
|
|
4653
|
+
required: false
|
|
4654
|
+
},
|
|
4643
4655
|
{
|
|
4644
4656
|
name: 'isVoiceEnabled',
|
|
4645
4657
|
kind: 'Scalar',
|
|
@@ -4689,6 +4701,19 @@ function equals$1(existing, incoming) {
|
|
|
4689
4701
|
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
4690
4702
|
return false;
|
|
4691
4703
|
}
|
|
4704
|
+
const existing_isUserSkillsEnabled = existing.isUserSkillsEnabled;
|
|
4705
|
+
const incoming_isUserSkillsEnabled = incoming.isUserSkillsEnabled;
|
|
4706
|
+
// if at least one of these optionals is defined
|
|
4707
|
+
if (existing_isUserSkillsEnabled !== undefined || incoming_isUserSkillsEnabled !== undefined) {
|
|
4708
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4709
|
+
// not equal
|
|
4710
|
+
if (existing_isUserSkillsEnabled === undefined || incoming_isUserSkillsEnabled === undefined) {
|
|
4711
|
+
return false;
|
|
4712
|
+
}
|
|
4713
|
+
if (!(existing_isUserSkillsEnabled === incoming_isUserSkillsEnabled)) {
|
|
4714
|
+
return false;
|
|
4715
|
+
}
|
|
4716
|
+
}
|
|
4692
4717
|
const existing_isVoiceEnabled = existing.isVoiceEnabled;
|
|
4693
4718
|
const incoming_isVoiceEnabled = incoming.isVoiceEnabled;
|
|
4694
4719
|
// 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 = "2d4ada37263c79110685209e1033f411";
|
|
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;
|
|
@@ -27,6 +27,8 @@ export interface AgentforceAgentBotInfoRepresentationNormalized {
|
|
|
27
27
|
isDefault?: boolean;
|
|
28
28
|
/** Success indicator of the get operation. */
|
|
29
29
|
isSuccess: boolean;
|
|
30
|
+
/** Indicates whether the agent has skills authored (per-agent). */
|
|
31
|
+
isUserSkillsEnabled?: boolean;
|
|
30
32
|
/** Indicates whether the Agent is voice enabled for ACC and mobile */
|
|
31
33
|
isVoiceEnabled?: boolean;
|
|
32
34
|
/** display label of the agent */
|
|
@@ -51,6 +53,7 @@ export interface AgentforceAgentBotInfoRepresentation {
|
|
|
51
53
|
errorMessage?: string;
|
|
52
54
|
isDefault?: boolean;
|
|
53
55
|
isSuccess: boolean;
|
|
56
|
+
isUserSkillsEnabled?: boolean;
|
|
54
57
|
isVoiceEnabled?: boolean;
|
|
55
58
|
label?: string;
|
|
56
59
|
messagingChannels?: Array<MessagingChannelInfoRepresentation_MessagingChannelInfoRepresentation>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.459.0",
|
|
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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.459.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.459.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -359,7 +359,7 @@ function equals$k(existing, incoming) {
|
|
|
359
359
|
return true;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
const VERSION$j = "
|
|
362
|
+
const VERSION$j = "2d4ada37263c79110685209e1033f411";
|
|
363
363
|
function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
364
364
|
const v_error = (() => {
|
|
365
365
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -405,6 +405,13 @@ function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
|
|
|
405
405
|
if (typeof obj_isSuccess !== 'boolean') {
|
|
406
406
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
407
407
|
}
|
|
408
|
+
if (obj.isUserSkillsEnabled !== undefined) {
|
|
409
|
+
const obj_isUserSkillsEnabled = obj.isUserSkillsEnabled;
|
|
410
|
+
const path_isUserSkillsEnabled = path + '.isUserSkillsEnabled';
|
|
411
|
+
if (typeof obj_isUserSkillsEnabled !== 'boolean') {
|
|
412
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isUserSkillsEnabled + '" (at "' + path_isUserSkillsEnabled + '")');
|
|
413
|
+
}
|
|
414
|
+
}
|
|
408
415
|
if (obj.isVoiceEnabled !== undefined) {
|
|
409
416
|
const obj_isVoiceEnabled = obj.isVoiceEnabled;
|
|
410
417
|
const path_isVoiceEnabled = path + '.isVoiceEnabled';
|
|
@@ -489,6 +496,11 @@ const select$t = function AgentforceAgentBotInfoRepresentationSelect() {
|
|
|
489
496
|
name: 'isSuccess',
|
|
490
497
|
kind: 'Scalar'
|
|
491
498
|
},
|
|
499
|
+
{
|
|
500
|
+
name: 'isUserSkillsEnabled',
|
|
501
|
+
kind: 'Scalar',
|
|
502
|
+
required: false
|
|
503
|
+
},
|
|
492
504
|
{
|
|
493
505
|
name: 'isVoiceEnabled',
|
|
494
506
|
kind: 'Scalar',
|
|
@@ -538,6 +550,19 @@ function equals$j(existing, incoming) {
|
|
|
538
550
|
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
539
551
|
return false;
|
|
540
552
|
}
|
|
553
|
+
const existing_isUserSkillsEnabled = existing.isUserSkillsEnabled;
|
|
554
|
+
const incoming_isUserSkillsEnabled = incoming.isUserSkillsEnabled;
|
|
555
|
+
// if at least one of these optionals is defined
|
|
556
|
+
if (existing_isUserSkillsEnabled !== undefined || incoming_isUserSkillsEnabled !== undefined) {
|
|
557
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
558
|
+
// not equal
|
|
559
|
+
if (existing_isUserSkillsEnabled === undefined || incoming_isUserSkillsEnabled === undefined) {
|
|
560
|
+
return false;
|
|
561
|
+
}
|
|
562
|
+
if (!(existing_isUserSkillsEnabled === incoming_isUserSkillsEnabled)) {
|
|
563
|
+
return false;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
541
566
|
const existing_isVoiceEnabled = existing.isVoiceEnabled;
|
|
542
567
|
const incoming_isVoiceEnabled = incoming.isVoiceEnabled;
|
|
543
568
|
// if at least one of these optionals is defined
|
|
@@ -5346,4 +5371,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5346
5371
|
});
|
|
5347
5372
|
|
|
5348
5373
|
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 };
|
|
5349
|
-
// version: 1.
|
|
5374
|
+
// version: 1.459.0-eda2fb69a9
|
package/src/raml/api.raml
CHANGED
|
@@ -644,6 +644,10 @@ types:
|
|
|
644
644
|
description: Indicates whether the Agent is voice enabled for ACC and mobile
|
|
645
645
|
type: boolean
|
|
646
646
|
required: false
|
|
647
|
+
isUserSkillsEnabled:
|
|
648
|
+
description: Indicates whether the agent has skills authored (per-agent).
|
|
649
|
+
type: boolean
|
|
650
|
+
required: false
|
|
647
651
|
messagingChannels:
|
|
648
652
|
description: List of EmbeddedMessaging channels provisioned for this Agent.
|
|
649
653
|
type: array
|