twilio-ruby 5.10.3 → 5.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +14 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +109 -107
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +8 -4
- data/lib/twilio-ruby/rest/client.rb +10 -1
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +40 -31
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +6 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +28 -28
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +13 -7
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +13 -7
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +18 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +3 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +7 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +19 -4
- data/lib/twilio-ruby/twiml/twiml.rb +32 -13
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/application_spec.rb +5 -11
- data/spec/rest/client_spec.rb +12 -0
- data/spec/twiml/messaging_response_spec.rb +26 -0
- data/spec/twiml/voice_response_spec.rb +25 -0
- metadata +3 -3
@@ -19,9 +19,12 @@ module Twilio
|
|
19
19
|
##
|
20
20
|
# Initialize the MessageInteractionList
|
21
21
|
# @param [Version] version Version that contains the resource
|
22
|
-
# @param [String] service_sid The unique SID identifier of the
|
23
|
-
#
|
24
|
-
# @param [String]
|
22
|
+
# @param [String] service_sid The unique SID identifier of the parent
|
23
|
+
# [Service](https://www.twilio.com/docs/proxy/api/service).
|
24
|
+
# @param [String] session_sid The unique SID identifier of the parent
|
25
|
+
# [Session](https://www.twilio.com/docs/proxy/api/session).
|
26
|
+
# @param [String] participant_sid The unique SID identifier of the
|
27
|
+
# [Participant](https://www.twilio.com/docs/proxy/api/participants).
|
25
28
|
# @return [MessageInteractionList] MessageInteractionList
|
26
29
|
def initialize(version, service_sid: nil, session_sid: nil, participant_sid: nil)
|
27
30
|
super(version)
|
@@ -242,9 +245,12 @@ module Twilio
|
|
242
245
|
# Initialize the MessageInteractionInstance
|
243
246
|
# @param [Version] version Version that contains the resource
|
244
247
|
# @param [Hash] payload payload that contains response from Twilio
|
245
|
-
# @param [String] service_sid The unique SID identifier of the
|
246
|
-
#
|
247
|
-
# @param [String]
|
248
|
+
# @param [String] service_sid The unique SID identifier of the parent
|
249
|
+
# [Service](https://www.twilio.com/docs/proxy/api/service).
|
250
|
+
# @param [String] session_sid The unique SID identifier of the parent
|
251
|
+
# [Session](https://www.twilio.com/docs/proxy/api/session).
|
252
|
+
# @param [String] participant_sid The unique SID identifier of the
|
253
|
+
# [Participant](https://www.twilio.com/docs/proxy/api/participants).
|
248
254
|
# @param [String] sid The sid
|
249
255
|
# @return [MessageInteractionInstance] MessageInteractionInstance
|
250
256
|
def initialize(version, payload, service_sid: nil, session_sid: nil, participant_sid: nil, sid: nil)
|
@@ -344,31 +350,31 @@ module Twilio
|
|
344
350
|
end
|
345
351
|
|
346
352
|
##
|
347
|
-
# @return [String]
|
353
|
+
# @return [String] Always empty for Message Interactions.
|
348
354
|
def inbound_participant_sid
|
349
355
|
@properties['inbound_participant_sid']
|
350
356
|
end
|
351
357
|
|
352
358
|
##
|
353
|
-
# @return [String]
|
359
|
+
# @return [String] Always empty for Message Interactions.
|
354
360
|
def inbound_resource_sid
|
355
361
|
@properties['inbound_resource_sid']
|
356
362
|
end
|
357
363
|
|
358
364
|
##
|
359
|
-
# @return [message_interaction.ResourceStatus]
|
365
|
+
# @return [message_interaction.ResourceStatus] Always empty for Message Interactions.
|
360
366
|
def inbound_resource_status
|
361
367
|
@properties['inbound_resource_status']
|
362
368
|
end
|
363
369
|
|
364
370
|
##
|
365
|
-
# @return [String] Message
|
371
|
+
# @return [String] Always empty for Message Interactions.
|
366
372
|
def inbound_resource_type
|
367
373
|
@properties['inbound_resource_type']
|
368
374
|
end
|
369
375
|
|
370
376
|
##
|
371
|
-
# @return [String]
|
377
|
+
# @return [String] Always empty for Message Interactions.
|
372
378
|
def inbound_resource_url
|
373
379
|
@properties['inbound_resource_url']
|
374
380
|
end
|
@@ -410,7 +416,7 @@ module Twilio
|
|
410
416
|
end
|
411
417
|
|
412
418
|
##
|
413
|
-
# @return [Time] The date this Message Interaction was updated
|
419
|
+
# @return [Time] The date this Message Interaction was last updated
|
414
420
|
def date_updated
|
415
421
|
@properties['date_updated']
|
416
422
|
end
|
@@ -27,7 +27,7 @@ module Twilio
|
|
27
27
|
# Lists WorkspaceInstance records from the API as a list.
|
28
28
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
29
29
|
# memory before returning.
|
30
|
-
# @param [String] friendly_name Filter by a workspace
|
30
|
+
# @param [String] friendly_name Filter by a workspace's friendly name. This is a
|
31
31
|
# human readable description of this Workspace (for example "Customer Support" or
|
32
32
|
# "2014 Election Campaign")
|
33
33
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
@@ -45,7 +45,7 @@ module Twilio
|
|
45
45
|
# Streams WorkspaceInstance records from the API as an Enumerable.
|
46
46
|
# This operation lazily loads records as efficiently as possible until the limit
|
47
47
|
# is reached.
|
48
|
-
# @param [String] friendly_name Filter by a workspace
|
48
|
+
# @param [String] friendly_name Filter by a workspace's friendly name. This is a
|
49
49
|
# human readable description of this Workspace (for example "Customer Support" or
|
50
50
|
# "2014 Election Campaign")
|
51
51
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
@@ -80,7 +80,7 @@ module Twilio
|
|
80
80
|
##
|
81
81
|
# Retrieve a single page of WorkspaceInstance records from the API.
|
82
82
|
# Request is executed immediately.
|
83
|
-
# @param [String] friendly_name Filter by a workspace
|
83
|
+
# @param [String] friendly_name Filter by a workspace's friendly name. This is a
|
84
84
|
# human readable description of this Workspace (for example "Customer Support" or
|
85
85
|
# "2014 Election Campaign")
|
86
86
|
# @param [String] page_token PageToken provided by the API
|
@@ -540,7 +540,7 @@ module Twilio
|
|
540
540
|
end
|
541
541
|
|
542
542
|
##
|
543
|
-
# @return [String] Filter by a workspace
|
543
|
+
# @return [String] Filter by a workspace's friendly name.
|
544
544
|
def friendly_name
|
545
545
|
@properties['friendly_name']
|
546
546
|
end
|
@@ -32,7 +32,7 @@ module Twilio
|
|
32
32
|
# @param [Time] end_date Filter events by an end date. This is helpful for
|
33
33
|
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
34
34
|
# @param [String] event_type Filter events by those of a certain event type
|
35
|
-
# @param [String] minutes Filter events by up to
|
35
|
+
# @param [String] minutes Filter events by up to 'x' minutes in the past. This is
|
36
36
|
# helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
|
37
37
|
# minutes (8 hours) to see trends. Defaults to 15 minutes.
|
38
38
|
# @param [String] reservation_sid Filter events by those pertaining to a
|
@@ -75,7 +75,7 @@ module Twilio
|
|
75
75
|
# @param [Time] end_date Filter events by an end date. This is helpful for
|
76
76
|
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
77
77
|
# @param [String] event_type Filter events by those of a certain event type
|
78
|
-
# @param [String] minutes Filter events by up to
|
78
|
+
# @param [String] minutes Filter events by up to 'x' minutes in the past. This is
|
79
79
|
# helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
|
80
80
|
# minutes (8 hours) to see trends. Defaults to 15 minutes.
|
81
81
|
# @param [String] reservation_sid Filter events by those pertaining to a
|
@@ -134,7 +134,7 @@ module Twilio
|
|
134
134
|
# @param [Time] end_date Filter events by an end date. This is helpful for
|
135
135
|
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
136
136
|
# @param [String] event_type Filter events by those of a certain event type
|
137
|
-
# @param [String] minutes Filter events by up to
|
137
|
+
# @param [String] minutes Filter events by up to 'x' minutes in the past. This is
|
138
138
|
# helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
|
139
139
|
# minutes (8 hours) to see trends. Defaults to 15 minutes.
|
140
140
|
# @param [String] reservation_sid Filter events by those pertaining to a
|
data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb
CHANGED
@@ -87,7 +87,7 @@ module Twilio
|
|
87
87
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
88
88
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
89
89
|
# Timestamp.
|
90
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
90
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
91
91
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
92
92
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
93
93
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -320,7 +320,7 @@ module Twilio
|
|
320
320
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
321
321
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
322
322
|
# Timestamp.
|
323
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
323
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
324
324
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
325
325
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
326
326
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -87,7 +87,7 @@ module Twilio
|
|
87
87
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
88
88
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
89
89
|
# Timestamp.
|
90
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
90
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
91
91
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
92
92
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
93
93
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -215,7 +215,7 @@ module Twilio
|
|
215
215
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
216
216
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
217
217
|
# Timestamp.
|
218
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
218
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
219
219
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
220
220
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
221
221
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -33,9 +33,9 @@ module Twilio
|
|
33
33
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
34
34
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
35
35
|
# Timestamp.
|
36
|
-
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue
|
36
|
+
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue's
|
37
37
|
# name (only for list resource)
|
38
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
38
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
39
39
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
40
40
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
41
41
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -76,9 +76,9 @@ module Twilio
|
|
76
76
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
77
77
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
78
78
|
# Timestamp.
|
79
|
-
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue
|
79
|
+
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue's
|
80
80
|
# name (only for list resource)
|
81
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
81
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
82
82
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
83
83
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
84
84
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -135,9 +135,9 @@ module Twilio
|
|
135
135
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
136
136
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
137
137
|
# Timestamp.
|
138
|
-
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue
|
138
|
+
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue's
|
139
139
|
# name (only for list resource)
|
140
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
140
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
141
141
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
142
142
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
143
143
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -38,9 +38,9 @@ module Twilio
|
|
38
38
|
# @param [String] activity_sid Filter by workers that are in a particular Activity
|
39
39
|
# by SID
|
40
40
|
# @param [String] available Filter by workers that are available or unavailable.
|
41
|
-
# (Note: This can be
|
41
|
+
# (Note: This can be 'true', '1' or 'yes' to indicate a true value. All other
|
42
42
|
# values will represent false)
|
43
|
-
# @param [String] friendly_name Filter by a worker
|
43
|
+
# @param [String] friendly_name Filter by a worker's friendly name
|
44
44
|
# @param [String] target_workers_expression Filter by workers that would match an
|
45
45
|
# expression on a TaskQueue. This is helpful for debugging which workers would
|
46
46
|
# match a potential queue.
|
@@ -78,9 +78,9 @@ module Twilio
|
|
78
78
|
# @param [String] activity_sid Filter by workers that are in a particular Activity
|
79
79
|
# by SID
|
80
80
|
# @param [String] available Filter by workers that are available or unavailable.
|
81
|
-
# (Note: This can be
|
81
|
+
# (Note: This can be 'true', '1' or 'yes' to indicate a true value. All other
|
82
82
|
# values will represent false)
|
83
|
-
# @param [String] friendly_name Filter by a worker
|
83
|
+
# @param [String] friendly_name Filter by a worker's friendly name
|
84
84
|
# @param [String] target_workers_expression Filter by workers that would match an
|
85
85
|
# expression on a TaskQueue. This is helpful for debugging which workers would
|
86
86
|
# match a potential queue.
|
@@ -134,9 +134,9 @@ module Twilio
|
|
134
134
|
# @param [String] activity_sid Filter by workers that are in a particular Activity
|
135
135
|
# by SID
|
136
136
|
# @param [String] available Filter by workers that are available or unavailable.
|
137
|
-
# (Note: This can be
|
137
|
+
# (Note: This can be 'true', '1' or 'yes' to indicate a true value. All other
|
138
138
|
# values will represent false)
|
139
|
-
# @param [String] friendly_name Filter by a worker
|
139
|
+
# @param [String] friendly_name Filter by a worker's friendly name
|
140
140
|
# @param [String] target_workers_expression Filter by workers that would match an
|
141
141
|
# expression on a TaskQueue. This is helpful for debugging which workers would
|
142
142
|
# match a potential queue.
|
@@ -503,7 +503,7 @@ module Twilio
|
|
503
503
|
end
|
504
504
|
|
505
505
|
##
|
506
|
-
# @return [String] Filter by a worker
|
506
|
+
# @return [String] Filter by a worker's friendly name
|
507
507
|
def friendly_name
|
508
508
|
@properties['friendly_name']
|
509
509
|
end
|
@@ -31,7 +31,7 @@ module Twilio
|
|
31
31
|
# Lists ReservationInstance records from the API as a list.
|
32
32
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
33
33
|
# memory before returning.
|
34
|
-
# @param [reservation.Status] reservation_status Filter by a worker
|
34
|
+
# @param [reservation.Status] reservation_status Filter by a worker's reservation
|
35
35
|
# status (pending, accepted, rejected, timeout, canceled, rescinded)
|
36
36
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
37
37
|
# guarantees to never return more than limit. Default is no limit
|
@@ -48,7 +48,7 @@ module Twilio
|
|
48
48
|
# Streams ReservationInstance records from the API as an Enumerable.
|
49
49
|
# This operation lazily loads records as efficiently as possible until the limit
|
50
50
|
# is reached.
|
51
|
-
# @param [reservation.Status] reservation_status Filter by a worker
|
51
|
+
# @param [reservation.Status] reservation_status Filter by a worker's reservation
|
52
52
|
# status (pending, accepted, rejected, timeout, canceled, rescinded)
|
53
53
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
54
54
|
# guarantees to never return more than limit. Default is no limit.
|
@@ -82,7 +82,7 @@ module Twilio
|
|
82
82
|
##
|
83
83
|
# Retrieve a single page of ReservationInstance records from the API.
|
84
84
|
# Request is executed immediately.
|
85
|
-
# @param [reservation.Status] reservation_status Filter by a worker
|
85
|
+
# @param [reservation.Status] reservation_status Filter by a worker's reservation
|
86
86
|
# status (pending, accepted, rejected, timeout, canceled, rescinded)
|
87
87
|
# @param [String] page_token PageToken provided by the API
|
88
88
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
@@ -398,7 +398,7 @@ module Twilio
|
|
398
398
|
end
|
399
399
|
|
400
400
|
##
|
401
|
-
# @return [reservation.Status] Filter by a worker
|
401
|
+
# @return [reservation.Status] Filter by a worker's reservation status
|
402
402
|
def reservation_status
|
403
403
|
@properties['reservation_status']
|
404
404
|
end
|
@@ -84,15 +84,15 @@ module Twilio
|
|
84
84
|
|
85
85
|
##
|
86
86
|
# Fetch a WorkerStatisticsInstance
|
87
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
87
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
88
88
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
89
89
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
90
90
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
91
91
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
92
|
-
# format: yyyy-MM-dd
|
92
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
93
93
|
# @param [Time] end_date Filter cumulative statistics by a end date. This is
|
94
94
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
95
|
-
# format: yyyy-MM-dd
|
95
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
96
96
|
# @param [String] task_channel Filter cumulative statistics by TaskChannel. Takes
|
97
97
|
# in a Unique Name ("voice", "sms", "default", etc.) or a TaskChannelSid.
|
98
98
|
# @return [WorkerStatisticsInstance] Fetched WorkerStatisticsInstance
|
@@ -198,15 +198,15 @@ module Twilio
|
|
198
198
|
|
199
199
|
##
|
200
200
|
# Fetch a WorkerStatisticsInstance
|
201
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
201
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
202
202
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
203
203
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
204
204
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
205
205
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
206
|
-
# format: yyyy-MM-dd
|
206
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
207
207
|
# @param [Time] end_date Filter cumulative statistics by a end date. This is
|
208
208
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
209
|
-
# format: yyyy-MM-dd
|
209
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
210
210
|
# @param [String] task_channel Filter cumulative statistics by TaskChannel. Takes
|
211
211
|
# in a Unique Name ("voice", "sms", "default", etc.) or a TaskChannelSid.
|
212
212
|
# @return [WorkerStatisticsInstance] Fetched WorkerStatisticsInstance
|
@@ -79,13 +79,13 @@ module Twilio
|
|
79
79
|
# Fetch a WorkersCumulativeStatisticsInstance
|
80
80
|
# @param [Time] end_date Filter cumulative statistics by a end date. This is
|
81
81
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
82
|
-
# format: yyyy-MM-dd
|
83
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
82
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
83
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
84
84
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
85
85
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
86
86
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
87
87
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
88
|
-
# format: yyyy-MM-dd
|
88
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
89
89
|
# @param [String] task_channel Filter cumulative statistics by TaskChannel. Takes
|
90
90
|
# in a Unique Name ("voice", "sms", "default", etc.) or a TaskChannelSid.
|
91
91
|
# @return [WorkersCumulativeStatisticsInstance] Fetched WorkersCumulativeStatisticsInstance
|
@@ -232,13 +232,13 @@ module Twilio
|
|
232
232
|
# Fetch a WorkersCumulativeStatisticsInstance
|
233
233
|
# @param [Time] end_date Filter cumulative statistics by a end date. This is
|
234
234
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
235
|
-
# format: yyyy-MM-dd
|
236
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
235
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
236
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
237
237
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
238
238
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
239
239
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
240
240
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
241
|
-
# format: yyyy-MM-dd
|
241
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
242
242
|
# @param [String] task_channel Filter cumulative statistics by TaskChannel. Takes
|
243
243
|
# in a Unique Name ("voice", "sms", "default", etc.) or a TaskChannelSid.
|
244
244
|
# @return [WorkersCumulativeStatisticsInstance] Fetched WorkersCumulativeStatisticsInstance
|
@@ -78,15 +78,15 @@ module Twilio
|
|
78
78
|
|
79
79
|
##
|
80
80
|
# Fetch a WorkersStatisticsInstance
|
81
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
81
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
82
82
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
83
83
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
84
84
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
85
85
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
86
|
-
# format: yyyy-MM-dd
|
86
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
87
87
|
# @param [Time] end_date Filter cumulative statistics by a end date. This is
|
88
88
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
89
|
-
# format: yyyy-MM-dd
|
89
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
90
90
|
# @param [String] task_queue_sid Filter the real-time and cumulative statistics
|
91
91
|
# based on Workers tied to a particular queue
|
92
92
|
# @param [String] task_queue_name Filter the real-time and cumulative statistics
|
@@ -191,15 +191,15 @@ module Twilio
|
|
191
191
|
|
192
192
|
##
|
193
193
|
# Fetch a WorkersStatisticsInstance
|
194
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
194
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
195
195
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
196
196
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
197
197
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
198
198
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
199
|
-
# format: yyyy-MM-dd
|
199
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
200
200
|
# @param [Time] end_date Filter cumulative statistics by a end date. This is
|
201
201
|
# helpful for defining a range of statistics to capture. Input is a string of the
|
202
|
-
# format: yyyy-MM-dd
|
202
|
+
# format: yyyy-MM-dd'T'HH:mm:ss'Z'.
|
203
203
|
# @param [String] task_queue_sid Filter the real-time and cumulative statistics
|
204
204
|
# based on Workers tied to a particular queue
|
205
205
|
# @param [String] task_queue_name Filter the real-time and cumulative statistics
|
data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb
CHANGED
@@ -87,7 +87,7 @@ module Twilio
|
|
87
87
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
88
88
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
89
89
|
# Timestamp
|
90
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
90
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
91
91
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
92
92
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
93
93
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -327,7 +327,7 @@ module Twilio
|
|
327
327
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
328
328
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
329
329
|
# Timestamp
|
330
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
330
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
331
331
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
332
332
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
333
333
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -84,7 +84,7 @@ module Twilio
|
|
84
84
|
|
85
85
|
##
|
86
86
|
# Fetch a WorkflowStatisticsInstance
|
87
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
87
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
88
88
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
89
89
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
90
90
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -212,7 +212,7 @@ module Twilio
|
|
212
212
|
|
213
213
|
##
|
214
214
|
# Fetch a WorkflowStatisticsInstance
|
215
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
215
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
216
216
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
217
217
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
218
218
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -83,7 +83,7 @@ module Twilio
|
|
83
83
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
84
84
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
85
85
|
# Timestamp
|
86
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
86
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
87
87
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
88
88
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
89
89
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
@@ -310,7 +310,7 @@ module Twilio
|
|
310
310
|
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
311
311
|
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
312
312
|
# Timestamp
|
313
|
-
# @param [String] minutes Filter cumulative statistics by up to
|
313
|
+
# @param [String] minutes Filter cumulative statistics by up to 'x' minutes in the
|
314
314
|
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
315
315
|
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
316
316
|
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|