Skip to content

Commit 15dc5f8

Browse files
authored
Adding support for SUPERVISOR and CUSTOM_BOT participant types (#97)
1 parent 35ba0a7 commit 15dc5f8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Sources/Core/Utils/CommonUtils.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ struct CommonUtils {
1414
return Constants.CUSTOMER
1515
case AWSConnectParticipantParticipantRole.system.rawValue:
1616
return Constants.SYSTEM
17+
case AWSConnectParticipantParticipantRole.supervisor.rawValue:
18+
return Constants.SUPERVISOR
19+
case AWSConnectParticipantParticipantRole.customBot.rawValue:
20+
return Constants.CUSTOM_BOT
1721
default:
1822
return Constants.UNKNOWN
1923
}

Sources/Core/Utils/Constants.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ public struct Constants {
1010
static let AGENT = "AGENT"
1111
static let CUSTOMER = "CUSTOMER"
1212
static let SYSTEM = "SYSTEM"
13+
static let SUPERVISOR = "SUPERVISOR"
14+
static let CUSTOM_BOT = "CUSTOM_BOT"
1315
static let UNKNOWN = "UNKNOWN"
1416
static let MESSAGE = "MESSAGE"
1517
static let ATTACHMENT = "ATTACHMENT"

0 commit comments

Comments
 (0)