@@ -300,6 +300,12 @@ service GateService {
300300 body : "*"
301301 };
302302 }
303+ rpc CreateRecordingLabel (CreateRecordingLabelRequest ) returns (CreateRecordingLabelResponse ) {
304+ option (google.api.http ) = {
305+ post : "/tcnapi/exile/gate/v2/create_recording_label"
306+ body : "*"
307+ };
308+ }
303309 rpc Transfer (TransferRequest ) returns (TransferResponse ) {
304310 option (google.api.http ) = {
305311 get : "/tcnapi/exile/gate/v2/transfer"
@@ -1356,6 +1362,14 @@ message UnassignAgentSkillRequest {
13561362}
13571363message UnassignAgentSkillResponse {}
13581364
1365+ message CreateRecordingLabelRequest {
1366+ int64 call_sid = 1 ;
1367+ CallType call_type = 2 ;
1368+ string key = 3 ;
1369+ string value = 4 ;
1370+ }
1371+ message CreateRecordingLabelResponse {}
1372+
13591373/**
13601374 * Request message for searching voice recordings.
13611375 */
@@ -1374,23 +1388,25 @@ message SearchVoiceRecordingsResponse {
13741388 * Message representing a voice recording.
13751389 */
13761390message Recording {
1377- string name = 1 ; // The fully qualified resource name of the recording. Format: "orgs/{org}/regions/{region}/zones/{zone}/recordings/{recording}"
1391+ string recording_id = 1 ; // The fully qualified resource name of the recording. Format: "orgs/{org}/regions/{region}/zones/{zone}/recordings/{recording}"
13781392 int64 call_sid = 2 ; // The unique identifier of the call recorded.
13791393 CallType call_type = 3 ; // The type of call recorded.
1380- google.protobuf.Duration duration = 4 ; // The duration of the recording.
1381- string agent_phone = 5 ; // The phone number of the agent.
1382- string client_phone = 6 ; // The phone number of the client.
1383- string campaign = 7 ; // The name of the campaign.
1384- RecordingType recording_type = 8 ; // The type of the recording.
1394+ google.protobuf.Duration start_offset = 10 ;
1395+ google.protobuf.Duration end_offset = 11 ;
13851396 google.protobuf.Timestamp start_time = 9 ; // The start time of the recording.
1386- repeated string partner_agent_ids = 10 ; // The user IDs of participating agents.
13871397}
13881398
13891399/**
13901400 * Request message for getting a voice recording download link.
13911401 */
13921402message GetVoiceRecordingDownloadLinkRequest {
13931403 string recording_id = 1 ; // The ID of the recording to get the download link for
1404+ // the offset from the start of the recording to get the link for
1405+ // must be from the recording segments returned from the ListRecordingSegmentsRequest
1406+ google.protobuf.Duration start_offset = 2 ;
1407+ // the offset from the end of the recording to get the link for
1408+ // must be from the recording segments returned from the ListRecordingSegmentsRequest
1409+ google.protobuf.Duration end_offset = 2 ;
13941410}
13951411
13961412/**
0 commit comments