@d19n/youfibre-odin-sdk 1.0.147 → 1.0.148-beta.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.
|
@@ -26,6 +26,9 @@ export declare enum CallLegStatus {
|
|
|
26
26
|
RINGING = "ringing"
|
|
27
27
|
}
|
|
28
28
|
export declare enum CallLegPropertyKeys {
|
|
29
|
+
OriginalLegId = "OriginalLegId",
|
|
30
|
+
IsReconnectedAgent = "IsReconnectedAgent",
|
|
31
|
+
ConferenceRole = "ConferenceRole",
|
|
29
32
|
ParticipantSid = "ParticipantSid",
|
|
30
33
|
ParticipantType = "ParticipantType",
|
|
31
34
|
Direction = "Direction",
|
|
@@ -54,6 +57,9 @@ export declare enum CallLegPropertyKeys {
|
|
|
54
57
|
CallId = "CallId"
|
|
55
58
|
}
|
|
56
59
|
export interface CallLegProperties {
|
|
60
|
+
OriginalLegId: string;
|
|
61
|
+
IsReconnectedAgent: boolean;
|
|
62
|
+
ConferenceRole: string;
|
|
57
63
|
ParticipantSid: string;
|
|
58
64
|
ParticipantType: CallLegParticipantType;
|
|
59
65
|
Direction: CallLegDirection;
|
|
@@ -31,6 +31,9 @@ var CallLegStatus;
|
|
|
31
31
|
})(CallLegStatus = exports.CallLegStatus || (exports.CallLegStatus = {}));
|
|
32
32
|
var CallLegPropertyKeys;
|
|
33
33
|
(function (CallLegPropertyKeys) {
|
|
34
|
+
CallLegPropertyKeys["OriginalLegId"] = "OriginalLegId";
|
|
35
|
+
CallLegPropertyKeys["IsReconnectedAgent"] = "IsReconnectedAgent";
|
|
36
|
+
CallLegPropertyKeys["ConferenceRole"] = "ConferenceRole";
|
|
34
37
|
CallLegPropertyKeys["ParticipantSid"] = "ParticipantSid";
|
|
35
38
|
CallLegPropertyKeys["ParticipantType"] = "ParticipantType";
|
|
36
39
|
CallLegPropertyKeys["Direction"] = "Direction";
|
|
@@ -12,13 +12,19 @@ export declare enum CallTransferTransferType {
|
|
|
12
12
|
WARM = "warm"
|
|
13
13
|
}
|
|
14
14
|
export declare enum CallTransferStatus {
|
|
15
|
+
AGENT_A_RECONNECTING = "agent-a-reconnecting",
|
|
15
16
|
COMPLETED = "completed",
|
|
16
17
|
CONNECTED = "connected",
|
|
18
|
+
CONSULTING = "consulting",
|
|
19
|
+
CONVERTING_TO_CONFERENCE = "converting-to-conference",
|
|
17
20
|
FAILED = "failed",
|
|
18
21
|
INITIATED = "initiated",
|
|
19
|
-
RINGING = "ringing"
|
|
22
|
+
RINGING = "ringing",
|
|
23
|
+
THREE_WAY = "three-way"
|
|
20
24
|
}
|
|
21
25
|
export declare enum CallTransferPropertyKeys {
|
|
26
|
+
SourceAgentCurrentLegId = "SourceAgentCurrentLegId",
|
|
27
|
+
TargetAgentCurrentLegId = "TargetAgentCurrentLegId",
|
|
22
28
|
TargetLegId = "TargetLegId",
|
|
23
29
|
SourceLegId = "SourceLegId",
|
|
24
30
|
FromAgentId = "FromAgentId",
|
|
@@ -41,6 +47,8 @@ export declare enum CallTransferPropertyKeys {
|
|
|
41
47
|
CallId = "CallId"
|
|
42
48
|
}
|
|
43
49
|
export interface CallTransferProperties {
|
|
50
|
+
SourceAgentCurrentLegId: string;
|
|
51
|
+
TargetAgentCurrentLegId: string;
|
|
44
52
|
TargetLegId: string;
|
|
45
53
|
SourceLegId: string;
|
|
46
54
|
FromAgentId: string;
|
|
@@ -14,14 +14,20 @@ var CallTransferTransferType;
|
|
|
14
14
|
})(CallTransferTransferType = exports.CallTransferTransferType || (exports.CallTransferTransferType = {}));
|
|
15
15
|
var CallTransferStatus;
|
|
16
16
|
(function (CallTransferStatus) {
|
|
17
|
+
CallTransferStatus["AGENT_A_RECONNECTING"] = "agent-a-reconnecting";
|
|
17
18
|
CallTransferStatus["COMPLETED"] = "completed";
|
|
18
19
|
CallTransferStatus["CONNECTED"] = "connected";
|
|
20
|
+
CallTransferStatus["CONSULTING"] = "consulting";
|
|
21
|
+
CallTransferStatus["CONVERTING_TO_CONFERENCE"] = "converting-to-conference";
|
|
19
22
|
CallTransferStatus["FAILED"] = "failed";
|
|
20
23
|
CallTransferStatus["INITIATED"] = "initiated";
|
|
21
24
|
CallTransferStatus["RINGING"] = "ringing";
|
|
25
|
+
CallTransferStatus["THREE_WAY"] = "three-way";
|
|
22
26
|
})(CallTransferStatus = exports.CallTransferStatus || (exports.CallTransferStatus = {}));
|
|
23
27
|
var CallTransferPropertyKeys;
|
|
24
28
|
(function (CallTransferPropertyKeys) {
|
|
29
|
+
CallTransferPropertyKeys["SourceAgentCurrentLegId"] = "SourceAgentCurrentLegId";
|
|
30
|
+
CallTransferPropertyKeys["TargetAgentCurrentLegId"] = "TargetAgentCurrentLegId";
|
|
25
31
|
CallTransferPropertyKeys["TargetLegId"] = "TargetLegId";
|
|
26
32
|
CallTransferPropertyKeys["SourceLegId"] = "SourceLegId";
|
|
27
33
|
CallTransferPropertyKeys["FromAgentId"] = "FromAgentId";
|
package/package.json
CHANGED
|
@@ -35,6 +35,9 @@ export enum CallLegStatus {
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
export enum CallLegPropertyKeys {
|
|
38
|
+
OriginalLegId = 'OriginalLegId',
|
|
39
|
+
IsReconnectedAgent = 'IsReconnectedAgent',
|
|
40
|
+
ConferenceRole = 'ConferenceRole',
|
|
38
41
|
ParticipantSid = 'ParticipantSid',
|
|
39
42
|
ParticipantType = 'ParticipantType',
|
|
40
43
|
Direction = 'Direction',
|
|
@@ -65,6 +68,12 @@ export enum CallLegPropertyKeys {
|
|
|
65
68
|
|
|
66
69
|
|
|
67
70
|
export interface CallLegProperties {
|
|
71
|
+
//OriginalLegId
|
|
72
|
+
OriginalLegId: string
|
|
73
|
+
//IsReconnectedAgent
|
|
74
|
+
IsReconnectedAgent: boolean
|
|
75
|
+
//ConferenceRole
|
|
76
|
+
ConferenceRole: string
|
|
68
77
|
//Twilio conference participant SID
|
|
69
78
|
ParticipantSid: string
|
|
70
79
|
//ParticipantType
|
|
@@ -19,15 +19,21 @@ export enum CallTransferTransferType {
|
|
|
19
19
|
WARM = 'warm',
|
|
20
20
|
}
|
|
21
21
|
export enum CallTransferStatus {
|
|
22
|
+
AGENT_A_RECONNECTING = 'agent-a-reconnecting',
|
|
22
23
|
COMPLETED = 'completed',
|
|
23
24
|
CONNECTED = 'connected',
|
|
25
|
+
CONSULTING = 'consulting',
|
|
26
|
+
CONVERTING_TO_CONFERENCE = 'converting-to-conference',
|
|
24
27
|
FAILED = 'failed',
|
|
25
28
|
INITIATED = 'initiated',
|
|
26
29
|
RINGING = 'ringing',
|
|
30
|
+
THREE_WAY = 'three-way',
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
|
|
30
34
|
export enum CallTransferPropertyKeys {
|
|
35
|
+
SourceAgentCurrentLegId = 'SourceAgentCurrentLegId',
|
|
36
|
+
TargetAgentCurrentLegId = 'TargetAgentCurrentLegId',
|
|
31
37
|
TargetLegId = 'TargetLegId',
|
|
32
38
|
SourceLegId = 'SourceLegId',
|
|
33
39
|
FromAgentId = 'FromAgentId',
|
|
@@ -52,6 +58,10 @@ export enum CallTransferPropertyKeys {
|
|
|
52
58
|
|
|
53
59
|
|
|
54
60
|
export interface CallTransferProperties {
|
|
61
|
+
//SourceAgentCurrentLegId
|
|
62
|
+
SourceAgentCurrentLegId: string
|
|
63
|
+
//TargetAgentCurrentLegId
|
|
64
|
+
TargetAgentCurrentLegId: string
|
|
55
65
|
//UUID of receiving agent's call leg
|
|
56
66
|
TargetLegId: string
|
|
57
67
|
//UUID of transferring agent's call leg
|