@salesforce/lds-adapters-sales-eci 1.212.1 → 1.213.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.
|
@@ -71,7 +71,7 @@ function createLink(ref) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
const TTL$1 = 60000;
|
|
74
|
-
const VERSION$1 = "
|
|
74
|
+
const VERSION$1 = "8289d11d1d770bd305faf52036284892";
|
|
75
75
|
function validate$1(obj, path = 'ConversationSummaryRepresentation') {
|
|
76
76
|
const v_error = (() => {
|
|
77
77
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -118,10 +118,10 @@ function validate$1(obj, path = 'ConversationSummaryRepresentation') {
|
|
|
118
118
|
if (typeof obj_source !== 'string') {
|
|
119
119
|
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
120
120
|
}
|
|
121
|
-
const
|
|
122
|
-
const
|
|
123
|
-
if (typeof
|
|
124
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
121
|
+
const obj_status = obj.status;
|
|
122
|
+
const path_status = path + '.status';
|
|
123
|
+
if (typeof obj_status !== 'string') {
|
|
124
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
125
125
|
}
|
|
126
126
|
const obj_summary = obj.summary;
|
|
127
127
|
const path_summary = path + '.summary';
|
|
@@ -167,7 +167,7 @@ const select$3 = function ConversationSummaryRepresentationSelect() {
|
|
|
167
167
|
kind: 'Scalar'
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
name: '
|
|
170
|
+
name: 'status',
|
|
171
171
|
kind: 'Scalar'
|
|
172
172
|
},
|
|
173
173
|
{
|
|
@@ -193,9 +193,9 @@ function equals$1(existing, incoming) {
|
|
|
193
193
|
if (!(existing_source === incoming_source)) {
|
|
194
194
|
return false;
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
const
|
|
198
|
-
if (!(
|
|
196
|
+
const existing_status = existing.status;
|
|
197
|
+
const incoming_status = incoming.status;
|
|
198
|
+
if (!(existing_status === incoming_status)) {
|
|
199
199
|
return false;
|
|
200
200
|
}
|
|
201
201
|
const existing_summary = existing.summary;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 60000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "8289d11d1d770bd305faf52036284892";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -30,10 +30,10 @@ export interface ConversationSummaryRepresentationNormalized {
|
|
|
30
30
|
errorMessage: string | null;
|
|
31
31
|
/** GenAIConversationSummary Record ID for this summary. */
|
|
32
32
|
id: string;
|
|
33
|
-
/** The source of the most recent update of the summary field. Values:
|
|
33
|
+
/** The source of the most recent update of the summary field. Values: USER_EDITED, EINSTEIN_GPT */
|
|
34
34
|
source: string;
|
|
35
|
-
/** The
|
|
36
|
-
|
|
35
|
+
/** The status this summary is in: Success, Generating, Error */
|
|
36
|
+
status: string;
|
|
37
37
|
/** The generated or edited summary of the referenced record */
|
|
38
38
|
summary: string;
|
|
39
39
|
}
|
|
@@ -48,6 +48,6 @@ export interface ConversationSummaryRepresentation {
|
|
|
48
48
|
errorMessage: string | null;
|
|
49
49
|
id: string;
|
|
50
50
|
source: string;
|
|
51
|
-
|
|
51
|
+
status: string;
|
|
52
52
|
summary: string;
|
|
53
53
|
}
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -81,7 +81,7 @@ function createLink(ref) {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
const TTL$1 = 60000;
|
|
84
|
-
const VERSION$1 = "
|
|
84
|
+
const VERSION$1 = "8289d11d1d770bd305faf52036284892";
|
|
85
85
|
function validate$1(obj, path = 'ConversationSummaryRepresentation') {
|
|
86
86
|
const v_error = (() => {
|
|
87
87
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -128,10 +128,10 @@ function validate$1(obj, path = 'ConversationSummaryRepresentation') {
|
|
|
128
128
|
if (typeof obj_source !== 'string') {
|
|
129
129
|
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
if (typeof
|
|
134
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
131
|
+
const obj_status = obj.status;
|
|
132
|
+
const path_status = path + '.status';
|
|
133
|
+
if (typeof obj_status !== 'string') {
|
|
134
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
135
135
|
}
|
|
136
136
|
const obj_summary = obj.summary;
|
|
137
137
|
const path_summary = path + '.summary';
|
|
@@ -177,7 +177,7 @@ const select$3 = function ConversationSummaryRepresentationSelect() {
|
|
|
177
177
|
kind: 'Scalar'
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
name: '
|
|
180
|
+
name: 'status',
|
|
181
181
|
kind: 'Scalar'
|
|
182
182
|
},
|
|
183
183
|
{
|
|
@@ -203,9 +203,9 @@ function equals$1(existing, incoming) {
|
|
|
203
203
|
if (!(existing_source === incoming_source)) {
|
|
204
204
|
return false;
|
|
205
205
|
}
|
|
206
|
-
const
|
|
207
|
-
const
|
|
208
|
-
if (!(
|
|
206
|
+
const existing_status = existing.status;
|
|
207
|
+
const incoming_status = incoming.status;
|
|
208
|
+
if (!(existing_status === incoming_status)) {
|
|
209
209
|
return false;
|
|
210
210
|
}
|
|
211
211
|
const existing_summary = existing.summary;
|
|
@@ -735,4 +735,4 @@ withDefaultLuvio((luvio) => {
|
|
|
735
735
|
});
|
|
736
736
|
|
|
737
737
|
export { generateConversationSummary, getConversationSummaryRelatedList, getConversationSummaryRelatedListNotifyChange, getConversationSummaryRelatedList_imperative };
|
|
738
|
-
// version: 1.
|
|
738
|
+
// version: 1.213.0-951602080
|