spec/integration/flex_api/v1/configuration_spec.rb in twilio-ruby-5.32.0 vs spec/integration/flex_api/v1/configuration_spec.rb in twilio-ruby-5.33.0
- old
+ new
@@ -132,18 +132,68 @@
"type": "http",
"active": false,
"config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}"
}
],
+ "wfm_integrations": [
+ {
+ "name": "teleopti",
+ "type": "flex_wfm",
+ "active": true,
+ "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}",
+ "logo": "logo1",
+ "author": "somebody1"
+ },
+ {
+ "name": "teleopti-stage",
+ "type": "flex_wfm",
+ "active": false,
+ "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}"
+ }
+ ],
"outbound_call_flows": {
"default": {
"caller_id": "+12345",
"queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"location": "EE",
"workflow_sid": "WWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
},
+ "queue_stats_configuration": {
+ "default": {
+ "service_level_threshold": 20,
+ "short_abandoned_threshold": 5,
+ "reset_timezone": "America/New_York",
+ "reset_time": "00:00"
+ },
+ "queue_configurations": [
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "reset_timezone": "Europe/Tallinn",
+ "reset_time": "01:00"
+ },
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "reset_timezone": "Europe/Paris",
+ "reset_time": "02:00"
+ }
+ ],
+ "queue_channel_configurations": [
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "channel_sid": "TCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "service_level_threshold": 10,
+ "short_abandoned_threshold": 10
+ },
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "channel_sid": "TCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "service_level_threshold": 30,
+ "short_abandoned_threshold": 15
+ }
+ ]
+ },
"serverless_service_sids": [
"ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
],
"url": "https://flex-api.twilio.com/v1/Configuration"
@@ -279,18 +329,68 @@
"type": "http",
"active": false,
"config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}"
}
],
+ "wfm_integrations": [
+ {
+ "name": "teleopti",
+ "type": "flex_wfm",
+ "active": true,
+ "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}",
+ "logo": "logo1",
+ "author": "somebody1"
+ },
+ {
+ "name": "teleopti-stage",
+ "type": "flex_wfm",
+ "active": false,
+ "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}"
+ }
+ ],
"outbound_call_flows": {
"default": {
"caller_id": "+12345",
"queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"location": "EE",
"workflow_sid": "WWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
},
+ "queue_stats_configuration": {
+ "default": {
+ "service_level_threshold": 20,
+ "short_abandoned_threshold": 5,
+ "reset_timezone": "America/New_York",
+ "reset_time": "00:00"
+ },
+ "queue_configurations": [
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "reset_timezone": "Europe/Tallinn",
+ "reset_time": "01:00"
+ },
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "reset_timezone": "Europe/Paris",
+ "reset_time": "02:00"
+ }
+ ],
+ "queue_channel_configurations": [
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "channel_sid": "TCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "service_level_threshold": 10,
+ "short_abandoned_threshold": 10
+ },
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "channel_sid": "TCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "service_level_threshold": 30,
+ "short_abandoned_threshold": 15
+ }
+ ]
+ },
"serverless_service_sids": [
"ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
],
"url": "https://flex-api.twilio.com/v1/Configuration"
@@ -426,16 +526,66 @@
"type": "http",
"active": false,
"config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}"
}
],
+ "wfm_integrations": [
+ {
+ "name": "teleopti",
+ "type": "flex_wfm",
+ "active": true,
+ "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}",
+ "logo": "logo1",
+ "author": "somebody1"
+ },
+ {
+ "name": "teleopti-stage",
+ "type": "flex_wfm",
+ "active": false,
+ "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}"
+ }
+ ],
"outbound_call_flows": {
"default": {
"caller_id": "+12345",
"queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"location": "EE",
"workflow_sid": "WWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
+ },
+ "queue_stats_configuration": {
+ "default": {
+ "service_level_threshold": 20,
+ "short_abandoned_threshold": 5,
+ "reset_timezone": "America/New_York",
+ "reset_time": "00:00"
+ },
+ "queue_configurations": [
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "reset_timezone": "Europe/Tallinn",
+ "reset_time": "01:00"
+ },
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "reset_timezone": "Europe/Paris",
+ "reset_time": "02:00"
+ }
+ ],
+ "queue_channel_configurations": [
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "channel_sid": "TCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+ "service_level_threshold": 10,
+ "short_abandoned_threshold": 10
+ },
+ {
+ "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "channel_sid": "TCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
+ "service_level_threshold": 30,
+ "short_abandoned_threshold": 15
+ }
+ ]
},
"serverless_service_sids": [
"ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"ZSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
],
\ No newline at end of file