@salesforce/lds-adapters-sales-eci 1.298.0 → 1.299.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/dist/es/es2018/sales-eci.js +292 -74
- package/dist/es/es2018/types/src/generated/adapters/initiateMeeting.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConversationRealtimeInsightMeetingInitiate.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/ConversationRealtimeMeetingInitiationResponseRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/ConversationRealtimeMeetingPayloadRepresentation.d.ts +27 -0
- package/package.json +4 -4
- package/sfdc/index.js +459 -238
- package/src/raml/api.raml +45 -0
- package/src/raml/luvio.raml +9 -0
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
export declare const TTL = 60000;
|
|
3
|
+
export declare const VERSION = "92b95a3b99090d0e464e4259ecac6bb4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export type ConversationRealtimeMeetingInitiationResponseRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialConversationRealtimeMeetingInitiationResponseRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ConversationRealtimeMeetingInitiationResponseRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ConversationRealtimeMeetingInitiationResponseRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ConversationRealtimeMeetingInitiationResponseRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: ConversationRealtimeMeetingInitiationResponseRepresentation, existing: ConversationRealtimeMeetingInitiationResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConversationRealtimeMeetingInitiationResponseRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: ConversationRealtimeMeetingInitiationResponseRepresentationNormalized, incoming: ConversationRealtimeMeetingInitiationResponseRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConversationRealtimeMeetingInitiationResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Represents details to connect to the real-time insights service on meeting initiation.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string): botId
|
|
25
|
+
*/
|
|
26
|
+
export interface ConversationRealtimeMeetingInitiationResponseRepresentationNormalized {
|
|
27
|
+
/** Identifier for the Bot that participates in the meeting */
|
|
28
|
+
botId: string;
|
|
29
|
+
/** Realtime Insight Error */
|
|
30
|
+
error: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
/** JWT token to connect to the real-time-processing-service for obtaining insights */
|
|
34
|
+
jwtToken: string;
|
|
35
|
+
/** WebSocket URL to connect to the real-time-processing-service for obtaining insights */
|
|
36
|
+
webSocketUrl: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Represents details to connect to the real-time insights service on meeting initiation.
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* id (string): botId
|
|
43
|
+
*/
|
|
44
|
+
export interface ConversationRealtimeMeetingInitiationResponseRepresentation {
|
|
45
|
+
botId: string;
|
|
46
|
+
error: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
jwtToken: string;
|
|
50
|
+
webSocketUrl: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 = "c1f5bb4841762b5786a80d3ec87f56de";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ConversationRealtimeMeetingPayloadRepresentation, existing: ConversationRealtimeMeetingPayloadRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConversationRealtimeMeetingPayloadRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ConversationRealtimeMeetingPayloadRepresentationNormalized, incoming: ConversationRealtimeMeetingPayloadRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConversationRealtimeMeetingPayloadRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ConversationRealtimeMeetingPayloadRepresentationNormalized {
|
|
17
|
+
meetingUrl: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* (none)
|
|
24
|
+
*/
|
|
25
|
+
export interface ConversationRealtimeMeetingPayloadRepresentation {
|
|
26
|
+
meetingUrl: string;
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-sales-eci",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.299.0",
|
|
4
4
|
"description": "Einstein Conversation Insights",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/sales-eci.js",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"test:unit": "jest"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@salesforce/lds-bindings": "^1.
|
|
48
|
+
"@salesforce/lds-bindings": "^1.299.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.299.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.299.0"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|