twilio-ruby 6.6.0 → 6.7.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.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +15 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -1
  5. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -7
  6. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
  7. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -2
  8. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -1
  9. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -1
  10. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +3 -3
  11. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -1
  12. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -1
  13. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -2
  14. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -3
  16. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -1
  17. data/lib/twilio-ruby/rest/api/v2010/safelist.rb +169 -0
  18. data/lib/twilio-ruby/rest/api/v2010.rb +6 -0
  19. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -1
  20. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -2
  21. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -3
  22. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -1
  23. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -4
  24. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -2
  25. data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
  26. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
  27. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -1
  28. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -4
  29. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -1
  30. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -7
  31. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -1
  32. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
  33. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -6
  34. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
  35. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -1
  36. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -4
  37. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -2
  38. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
  39. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -2
  40. data/lib/twilio-ruby/rest/messaging/v1/service.rb +4 -4
  41. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +3 -3
  42. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +3 -3
  43. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +2 -2
  44. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -3
  45. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -4
  46. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -3
  47. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -1
  48. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
  49. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
  50. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -1
  51. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -2
  52. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
  53. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -2
  54. data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -4
  55. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -1
  56. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -3
  57. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -1
  58. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -1
  59. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -1
  60. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -1
  61. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -1
  62. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -2
  63. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -2
  64. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -1
  65. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -1
  66. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -2
  67. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -1
  68. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -3
  69. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -4
  70. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -1
  71. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -3
  72. data/lib/twilio-ruby/version.rb +1 -1
  73. metadata +3 -2
@@ -241,7 +241,7 @@ module Twilio
241
241
 
242
242
  unless @user_channels
243
243
  @user_channels = UserChannelList.new(
244
- @version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
244
+ @version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
245
245
  end
246
246
 
247
247
  @user_channels
@@ -260,7 +260,7 @@ module Twilio
260
260
 
261
261
  unless @user_bindings
262
262
  @user_bindings = UserBindingList.new(
263
- @version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
263
+ @version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
264
264
  end
265
265
 
266
266
  @user_bindings
@@ -32,7 +32,7 @@ module Twilio
32
32
  ##
33
33
  # Create the ExternalCampaignInstance
34
34
  # @param [String] campaign_id ID of the preregistered campaign.
35
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
35
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
36
36
  # @return [ExternalCampaignInstance] Created ExternalCampaignInstance
37
37
  def create(
38
38
  campaign_id: nil,
@@ -131,7 +131,7 @@ module Twilio
131
131
  end
132
132
 
133
133
  ##
134
- # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
134
+ # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
135
135
  def messaging_service_sid
136
136
  @properties['messaging_service_sid']
137
137
  end
@@ -187,7 +187,7 @@ module Twilio
187
187
  ##
188
188
  # Initialize the UsAppToPersonContext
189
189
  # @param [Version] version Version that contains the resource
190
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to fetch the resource from.
190
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from.
191
191
  # @param [String] sid The SID of the US A2P Compliance resource to fetch `QE2c6890da8086d771620e9b13fadeba0b`.
192
192
  # @return [UsAppToPersonContext] UsAppToPersonContext
193
193
  def initialize(version, messaging_service_sid, sid)
@@ -342,7 +342,7 @@ module Twilio
342
342
  end
343
343
 
344
344
  ##
345
- # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
345
+ # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
346
346
  def messaging_service_sid
347
347
  @properties['messaging_service_sid']
348
348
  end
@@ -45,7 +45,7 @@ module Twilio
45
45
  # @param [Boolean] area_code_geomatch Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance.
46
46
  # @param [String] validity_period How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`.
47
47
  # @param [Boolean] synchronous_validation Reserved.
48
- # @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..].
48
+ # @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
49
49
  # @param [Boolean] use_inbound_webhook_on_number A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service.
50
50
  # @return [ServiceInstance] Created ServiceInstance
51
51
  def create(
@@ -247,7 +247,7 @@ module Twilio
247
247
  # @param [Boolean] area_code_geomatch Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance.
248
248
  # @param [String] validity_period How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`.
249
249
  # @param [Boolean] synchronous_validation Reserved.
250
- # @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]
250
+ # @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
251
251
  # @param [Boolean] use_inbound_webhook_on_number A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service.
252
252
  # @return [ServiceInstance] Updated ServiceInstance
253
253
  def update(
@@ -623,7 +623,7 @@ module Twilio
623
623
  end
624
624
 
625
625
  ##
626
- # @return [String] A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]
626
+ # @return [String] A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
627
627
  def usecase
628
628
  @properties['usecase']
629
629
  end
@@ -672,7 +672,7 @@ module Twilio
672
672
  # @param [Boolean] area_code_geomatch Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance.
673
673
  # @param [String] validity_period How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`.
674
674
  # @param [Boolean] synchronous_validation Reserved.
675
- # @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]
675
+ # @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
676
676
  # @param [Boolean] use_inbound_webhook_on_number A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service.
677
677
  # @return [ServiceInstance] Updated ServiceInstance
678
678
  def update(
@@ -36,7 +36,7 @@ module Twilio
36
36
  # Lists DependentHostedNumberOrderInstance records from the API as a list.
37
37
  # Unlike stream(), this operation is eager and will load `limit` records into
38
38
  # memory before returning.
39
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
39
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
40
40
  # @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
41
41
  # @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
42
42
  # @param [String] friendly_name A human readable description of this resource, up to 128 characters.
@@ -62,7 +62,7 @@ module Twilio
62
62
  # Streams Instance records from the API as an Enumerable.
63
63
  # This operation lazily loads records as efficiently as possible until the limit
64
64
  # is reached.
65
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
65
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
66
66
  # @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
67
67
  # @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
68
68
  # @param [String] friendly_name A human readable description of this resource, up to 128 characters.
@@ -103,7 +103,7 @@ module Twilio
103
103
  ##
104
104
  # Retrieve a single page of DependentHostedNumberOrderInstance records from the API.
105
105
  # Request is executed immediately.
106
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
106
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
107
107
  # @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
108
108
  # @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
109
109
  # @param [String] friendly_name A human readable description of this resource, up to 128 characters.
@@ -69,7 +69,7 @@ module Twilio
69
69
  # Unlike stream(), this operation is eager and will load `limit` records into
70
70
  # memory before returning.
71
71
  # @param [String] email Email that this AuthorizationDocument will be sent to for signing.
72
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
72
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
73
73
  # @param [Integer] limit Upper limit for the number of records to return. stream()
74
74
  # guarantees to never return more than limit. Default is no limit
75
75
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -91,7 +91,7 @@ module Twilio
91
91
  # This operation lazily loads records as efficiently as possible until the limit
92
92
  # is reached.
93
93
  # @param [String] email Email that this AuthorizationDocument will be sent to for signing.
94
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
94
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
95
95
  # @param [Integer] limit Upper limit for the number of records to return. stream()
96
96
  # guarantees to never return more than limit. Default is no limit
97
97
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -128,7 +128,7 @@ module Twilio
128
128
  # Retrieve a single page of AuthorizationDocumentInstance records from the API.
129
129
  # Request is executed immediately.
130
130
  # @param [String] email Email that this AuthorizationDocument will be sent to for signing.
131
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
131
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
132
132
  # @param [String] page_token PageToken provided by the API
133
133
  # @param [Integer] page_number Page Number, this value is simply for client state
134
134
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -364,7 +364,7 @@ module Twilio
364
364
  end
365
365
 
366
366
  ##
367
- # @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted.
367
+ # @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
368
368
  def incoming_phone_number_sid
369
369
  @properties['incoming_phone_number_sid']
370
370
  end
@@ -376,7 +376,7 @@ module Twilio
376
376
  end
377
377
 
378
378
  ##
379
- # @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign.
379
+ # @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
380
380
  def signing_document_sid
381
381
  @properties['signing_document_sid']
382
382
  end
@@ -36,7 +36,7 @@ module Twilio
36
36
  # Lists DependentHostedNumberOrderInstance records from the API as a list.
37
37
  # Unlike stream(), this operation is eager and will load `limit` records into
38
38
  # memory before returning.
39
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
39
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
40
40
  # @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
41
41
  # @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
42
42
  # @param [String] friendly_name A human readable description of this resource, up to 64 characters.
@@ -64,7 +64,7 @@ module Twilio
64
64
  # Streams Instance records from the API as an Enumerable.
65
65
  # This operation lazily loads records as efficiently as possible until the limit
66
66
  # is reached.
67
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
67
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
68
68
  # @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
69
69
  # @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
70
70
  # @param [String] friendly_name A human readable description of this resource, up to 64 characters.
@@ -107,7 +107,7 @@ module Twilio
107
107
  ##
108
108
  # Retrieve a single page of DependentHostedNumberOrderInstance records from the API.
109
109
  # Request is executed immediately.
110
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
110
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
111
111
  # @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
112
112
  # @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
113
113
  # @param [String] friendly_name A human readable description of this resource, up to 64 characters.
@@ -69,7 +69,7 @@ module Twilio
69
69
  # Unlike stream(), this operation is eager and will load `limit` records into
70
70
  # memory before returning.
71
71
  # @param [String] email Email that this AuthorizationDocument will be sent to for signing.
72
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
72
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
73
73
  # @param [Integer] limit Upper limit for the number of records to return. stream()
74
74
  # guarantees to never return more than limit. Default is no limit
75
75
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -91,7 +91,7 @@ module Twilio
91
91
  # This operation lazily loads records as efficiently as possible until the limit
92
92
  # is reached.
93
93
  # @param [String] email Email that this AuthorizationDocument will be sent to for signing.
94
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
94
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
95
95
  # @param [Integer] limit Upper limit for the number of records to return. stream()
96
96
  # guarantees to never return more than limit. Default is no limit
97
97
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -128,7 +128,7 @@ module Twilio
128
128
  # Retrieve a single page of AuthorizationDocumentInstance records from the API.
129
129
  # Request is executed immediately.
130
130
  # @param [String] email Email that this AuthorizationDocument will be sent to for signing.
131
- # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
131
+ # @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
132
132
  # @param [String] page_token PageToken provided by the API
133
133
  # @param [Integer] page_number Page Number, this value is simply for client state
134
134
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -175,7 +175,7 @@ module Twilio
175
175
  ##
176
176
  # Initialize the AuthorizationDocumentContext
177
177
  # @param [Version] version Version that contains the resource
178
- # @param [String] sid
178
+ # @param [String] sid A 34 character string that uniquely identifies this AuthorizationDocument.
179
179
  # @return [AuthorizationDocumentContext] AuthorizationDocumentContext
180
180
  def initialize(version, sid)
181
181
  super(version)
@@ -226,7 +226,7 @@ module Twilio
226
226
  ##
227
227
  # Initialize the HostedNumberOrderContext
228
228
  # @param [Version] version Version that contains the resource
229
- # @param [String] sid
229
+ # @param [String] sid A 34 character string that uniquely identifies this HostedNumberOrder.
230
230
  # @return [HostedNumberOrderContext] HostedNumberOrderContext
231
231
  def initialize(version, sid)
232
232
  super(version)
@@ -418,7 +418,7 @@ module Twilio
418
418
  end
419
419
 
420
420
  ##
421
- # @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted.
421
+ # @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
422
422
  def incoming_phone_number_sid
423
423
  @properties['incoming_phone_number_sid']
424
424
  end
@@ -430,7 +430,7 @@ module Twilio
430
430
  end
431
431
 
432
432
  ##
433
- # @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign.
433
+ # @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
434
434
  def signing_document_sid
435
435
  @properties['signing_document_sid']
436
436
  end
@@ -227,7 +227,7 @@ module Twilio
227
227
 
228
228
  unless @document_permissions
229
229
  @document_permissions = DocumentPermissionList.new(
230
- @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
230
+ @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
231
231
  end
232
232
 
233
233
  @document_permissions
@@ -201,7 +201,7 @@ module Twilio
201
201
 
202
202
  unless @sync_list_permissions
203
203
  @sync_list_permissions = SyncListPermissionList.new(
204
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
204
+ @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
205
205
  end
206
206
 
207
207
  @sync_list_permissions
@@ -220,7 +220,7 @@ module Twilio
220
220
 
221
221
  unless @sync_list_items
222
222
  @sync_list_items = SyncListItemList.new(
223
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
223
+ @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
224
224
  end
225
225
 
226
226
  @sync_list_items
@@ -201,7 +201,7 @@ module Twilio
201
201
 
202
202
  unless @sync_map_items
203
203
  @sync_map_items = SyncMapItemList.new(
204
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
204
+ @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
205
205
  end
206
206
 
207
207
  @sync_map_items
@@ -220,7 +220,7 @@ module Twilio
220
220
 
221
221
  unless @sync_map_permissions
222
222
  @sync_map_permissions = SyncMapPermissionList.new(
223
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
223
+ @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
224
224
  end
225
225
 
226
226
  @sync_map_permissions
@@ -227,7 +227,7 @@ module Twilio
227
227
 
228
228
  unless @field_values
229
229
  @field_values = FieldValueList.new(
230
- @version, assistant_sid: @solution[:assistant_sid], field_type_sid: @solution[:sid], )
230
+ @version, assistant_sid: @solution[:assistant_sid], field_type_sid: @solution[:sid], )
231
231
  end
232
232
 
233
233
  @field_values
@@ -264,7 +264,7 @@ module Twilio
264
264
 
265
265
  unless @samples
266
266
  @samples = SampleList.new(
267
- @version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
267
+ @version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
268
268
  end
269
269
 
270
270
  @samples
@@ -283,7 +283,7 @@ module Twilio
283
283
 
284
284
  unless @fields
285
285
  @fields = FieldList.new(
286
- @version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
286
+ @version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
287
287
  end
288
288
 
289
289
  @fields
@@ -213,7 +213,7 @@ module Twilio
213
213
 
214
214
  unless @message_interactions
215
215
  @message_interactions = MessageInteractionList.new(
216
- @version, service_sid: @solution[:service_sid], session_sid: @solution[:session_sid], participant_sid: @solution[:sid], )
216
+ @version, service_sid: @solution[:service_sid], session_sid: @solution[:session_sid], participant_sid: @solution[:sid], )
217
217
  end
218
218
 
219
219
  @message_interactions
@@ -243,7 +243,7 @@ module Twilio
243
243
 
244
244
  unless @interactions
245
245
  @interactions = InteractionList.new(
246
- @version, service_sid: @solution[:service_sid], session_sid: @solution[:sid], )
246
+ @version, service_sid: @solution[:service_sid], session_sid: @solution[:sid], )
247
247
  end
248
248
 
249
249
  @interactions
@@ -262,7 +262,7 @@ module Twilio
262
262
 
263
263
  unless @participants
264
264
  @participants = ParticipantList.new(
265
- @version, service_sid: @solution[:service_sid], session_sid: @solution[:sid], )
265
+ @version, service_sid: @solution[:service_sid], session_sid: @solution[:sid], )
266
266
  end
267
267
 
268
268
  @participants
@@ -37,7 +37,7 @@ module Twilio
37
37
  # @param [GeoMatchLevel] geo_match_level
38
38
  # @param [NumberSelectionBehavior] number_selection_behavior
39
39
  # @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
40
- # @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
40
+ # @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
41
41
  # @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
42
42
  # @return [ServiceInstance] Created ServiceInstance
43
43
  def create(
@@ -212,7 +212,7 @@ module Twilio
212
212
  # @param [GeoMatchLevel] geo_match_level
213
213
  # @param [NumberSelectionBehavior] number_selection_behavior
214
214
  # @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
215
- # @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
215
+ # @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
216
216
  # @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
217
217
  # @return [ServiceInstance] Updated ServiceInstance
218
218
  def update(
@@ -448,7 +448,7 @@ module Twilio
448
448
  end
449
449
 
450
450
  ##
451
- # @return [String] The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
451
+ # @return [String] The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
452
452
  def out_of_session_callback_url
453
453
  @properties['out_of_session_callback_url']
454
454
  end
@@ -501,7 +501,7 @@ module Twilio
501
501
  # @param [GeoMatchLevel] geo_match_level
502
502
  # @param [NumberSelectionBehavior] number_selection_behavior
503
503
  # @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
504
- # @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
504
+ # @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
505
505
  # @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
506
506
  # @return [ServiceInstance] Updated ServiceInstance
507
507
  def update(
@@ -221,7 +221,7 @@ module Twilio
221
221
 
222
222
  unless @asset_versions
223
223
  @asset_versions = AssetVersionList.new(
224
- @version, service_sid: @solution[:service_sid], asset_sid: @solution[:sid], )
224
+ @version, service_sid: @solution[:service_sid], asset_sid: @solution[:sid], )
225
225
  end
226
226
 
227
227
  @asset_versions
@@ -205,7 +205,7 @@ module Twilio
205
205
 
206
206
  unless @logs
207
207
  @logs = LogList.new(
208
- @version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
208
+ @version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
209
209
  end
210
210
 
211
211
  @logs
@@ -224,7 +224,7 @@ module Twilio
224
224
 
225
225
  unless @variables
226
226
  @variables = VariableList.new(
227
- @version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
227
+ @version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
228
228
  end
229
229
 
230
230
  @variables
@@ -243,7 +243,7 @@ module Twilio
243
243
 
244
244
  unless @deployments
245
245
  @deployments = DeploymentList.new(
246
- @version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
246
+ @version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
247
247
  end
248
248
 
249
249
  @deployments
@@ -221,7 +221,7 @@ module Twilio
221
221
 
222
222
  unless @function_versions
223
223
  @function_versions = FunctionVersionList.new(
224
- @version, service_sid: @solution[:service_sid], function_sid: @solution[:sid], )
224
+ @version, service_sid: @solution[:service_sid], function_sid: @solution[:sid], )
225
225
  end
226
226
 
227
227
  @function_versions
@@ -205,7 +205,7 @@ module Twilio
205
205
 
206
206
  unless @steps
207
207
  @steps = StepList.new(
208
- @version, flow_sid: @solution[:flow_sid], engagement_sid: @solution[:sid], )
208
+ @version, flow_sid: @solution[:flow_sid], engagement_sid: @solution[:sid], )
209
209
  end
210
210
 
211
211
  @steps
@@ -249,7 +249,7 @@ module Twilio
249
249
 
250
250
  unless @steps
251
251
  @steps = ExecutionStepList.new(
252
- @version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
252
+ @version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
253
253
  end
254
254
 
255
255
  @steps
@@ -249,7 +249,7 @@ module Twilio
249
249
 
250
250
  unless @steps
251
251
  @steps = ExecutionStepList.new(
252
- @version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
252
+ @version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
253
253
  end
254
254
 
255
255
  @steps
@@ -231,7 +231,7 @@ module Twilio
231
231
 
232
232
  unless @document_permissions
233
233
  @document_permissions = DocumentPermissionList.new(
234
- @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
234
+ @version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
235
235
  end
236
236
 
237
237
  @document_permissions
@@ -229,7 +229,7 @@ module Twilio
229
229
 
230
230
  unless @sync_list_permissions
231
231
  @sync_list_permissions = SyncListPermissionList.new(
232
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
232
+ @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
233
233
  end
234
234
 
235
235
  @sync_list_permissions
@@ -248,7 +248,7 @@ module Twilio
248
248
 
249
249
  unless @sync_list_items
250
250
  @sync_list_items = SyncListItemList.new(
251
- @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
251
+ @version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
252
252
  end
253
253
 
254
254
  @sync_list_items
@@ -229,7 +229,7 @@ module Twilio
229
229
 
230
230
  unless @sync_map_items
231
231
  @sync_map_items = SyncMapItemList.new(
232
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
232
+ @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
233
233
  end
234
234
 
235
235
  @sync_map_items
@@ -248,7 +248,7 @@ module Twilio
248
248
 
249
249
  unless @sync_map_permissions
250
250
  @sync_map_permissions = SyncMapPermissionList.new(
251
- @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
251
+ @version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
252
252
  end
253
253
 
254
254
  @sync_map_permissions
@@ -215,7 +215,7 @@ module Twilio
215
215
  def stream_messages
216
216
  unless @stream_messages
217
217
  @stream_messages = StreamMessageList.new(
218
- @version, service_sid: @solution[:service_sid], stream_sid: @solution[:sid], )
218
+ @version, service_sid: @solution[:service_sid], stream_sid: @solution[:sid], )
219
219
  end
220
220
  @stream_messages
221
221
  end
@@ -305,7 +305,7 @@ module Twilio
305
305
 
306
306
  unless @reservations
307
307
  @reservations = ReservationList.new(
308
- @version, workspace_sid: @solution[:workspace_sid], task_sid: @solution[:sid], )
308
+ @version, workspace_sid: @solution[:workspace_sid], task_sid: @solution[:sid], )
309
309
  end
310
310
 
311
311
  @reservations
@@ -300,7 +300,7 @@ module Twilio
300
300
 
301
301
  unless @reservations
302
302
  @reservations = ReservationList.new(
303
- @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
303
+ @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
304
304
  end
305
305
 
306
306
  @reservations
@@ -352,7 +352,7 @@ module Twilio
352
352
 
353
353
  unless @worker_channels
354
354
  @worker_channels = WorkerChannelList.new(
355
- @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
355
+ @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
356
356
  end
357
357
 
358
358
  @worker_channels
@@ -245,7 +245,7 @@ module Twilio
245
245
  def notifications
246
246
  unless @notifications
247
247
  @notifications = NotificationList.new(
248
- @version, service_sid: @solution[:service_sid], identity: @solution[:identity], challenge_sid: @solution[:sid], )
248
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], challenge_sid: @solution[:sid], )
249
249
  end
250
250
  @notifications
251
251
  end