@salesforce/lds-adapters-sales-saleseinsteincoach 1.380.0-dev5 → 1.380.0-dev7

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.
@@ -906,6 +906,7 @@ const submitForRolePlay_ConfigPropertyMetadata = [
906
906
  generateParamConfigMetadata('replyId', true, 2 /* Body */, 0 /* String */),
907
907
  generateParamConfigMetadata('sequenceId', true, 2 /* Body */, 0 /* String */),
908
908
  generateParamConfigMetadata('transcript', true, 2 /* Body */, 0 /* String */),
909
+ generateParamConfigMetadata('scenario', true, 2 /* Body */, 0 /* String */),
909
910
  ];
910
911
  const submitForRolePlay_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, submitForRolePlay_ConfigPropertyMetadata);
911
912
  const createResourceParams$1 = /*#__PURE__*/ createResourceParams$5(submitForRolePlay_ConfigPropertyMetadata);
@@ -10,6 +10,7 @@ export interface SubmitForRolePlayConfig {
10
10
  replyId: string;
11
11
  sequenceId: string;
12
12
  transcript: string;
13
+ scenario: string;
13
14
  }
14
15
  export declare const createResourceParams: (config: SubmitForRolePlayConfig) => resources_postSalesEinsteinCoachPracticeRoleplay_ResourceRequestConfig;
15
16
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SubmitForRolePlayConfig>): adapter$45$utils_Untrusted<SubmitForRolePlayConfig>;
@@ -8,6 +8,7 @@ export interface ResourceRequestConfig {
8
8
  replyId: string;
9
9
  sequenceId: string;
10
10
  transcript: string;
11
+ scenario: string;
11
12
  };
12
13
  }
13
14
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,5 +1,5 @@
1
1
  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';
2
- export declare const VERSION = "9519967e04a19e67e6d5911e5afc635f";
2
+ export declare const VERSION = "bdfb618eb6f9a01d959172dd41e0df10";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SalesEinsteinCoachRolePlayInputRepresentation, existing: SalesEinsteinCoachRolePlayInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SalesEinsteinCoachRolePlayInputRepresentationNormalized;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface SalesEinsteinCoachRolePlayInputRepresentationNormalized {
17
17
  /** Reply Id of the previous response from LLM */
18
18
  replyId: string;
19
+ /** The coaching moment scenario for the session */
20
+ scenario: string;
19
21
  /** Sequence id required by co-pilot */
20
22
  sequenceId: string;
21
23
  /** The transcript of the conversation up to this point in time */
@@ -29,6 +31,7 @@ export interface SalesEinsteinCoachRolePlayInputRepresentationNormalized {
29
31
  */
30
32
  export interface SalesEinsteinCoachRolePlayInputRepresentation {
31
33
  replyId: string;
34
+ scenario: string;
32
35
  sequenceId: string;
33
36
  transcript: string;
34
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-sales-saleseinsteincoach",
3
- "version": "1.380.0-dev5",
3
+ "version": "1.380.0-dev7",
4
4
  "description": "APIs for interacting with Sales Einstein Coach",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/sales-saleseinsteincoach.js",
@@ -41,10 +41,10 @@
41
41
  "test:unit": "jest"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.380.0-dev5"
44
+ "@salesforce/lds-bindings": "^1.380.0-dev7"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev5"
47
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev7"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -1007,6 +1007,7 @@ const submitForRolePlay_ConfigPropertyMetadata = [
1007
1007
  generateParamConfigMetadata('replyId', true, 2 /* Body */, 0 /* String */),
1008
1008
  generateParamConfigMetadata('sequenceId', true, 2 /* Body */, 0 /* String */),
1009
1009
  generateParamConfigMetadata('transcript', true, 2 /* Body */, 0 /* String */),
1010
+ generateParamConfigMetadata('scenario', true, 2 /* Body */, 0 /* String */),
1010
1011
  ];
1011
1012
  const submitForRolePlay_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, submitForRolePlay_ConfigPropertyMetadata);
1012
1013
  const createResourceParams = /*#__PURE__*/ createResourceParams$5(submitForRolePlay_ConfigPropertyMetadata);
@@ -1100,4 +1101,4 @@ withDefaultLuvio((luvio) => {
1100
1101
  });
1101
1102
 
1102
1103
  export { deleteRolePlaySession, getSalesEinsteinCoachConfiguration, getSalesEinsteinCoachConfiguration_imperative, startRolePlaySession, submitForFeedback, submitForRolePlay };
1103
- // version: 1.380.0-dev5-27c3b66ede
1104
+ // version: 1.380.0-dev7-9c2ae6143e
package/src/raml/api.raml CHANGED
@@ -104,6 +104,14 @@ types:
104
104
  transcript:
105
105
  description: The transcript of the conversation up to this point in time
106
106
  type: string
107
+ scenario:
108
+ description: The coaching moment scenario for the session
109
+ type: string
110
+ enum:
111
+ - Discovery
112
+ - Negotiation
113
+ - Proposal
114
+ - Qualification
107
115
  SalesEinsteinCoachRolePlayOutputRepresentation:
108
116
  description: Reply given by AI on a back and forth conversation with user
109
117
  type: object