bandwidth-sdk 12.0.0 → 12.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +1 -1
  4. data/Rakefile +4 -12
  5. data/bandwidth.yml +20 -11
  6. data/coverage/.last_run.json +1 -1
  7. data/coverage/.resultset.json +1065 -1063
  8. data/coverage/index.html +2579 -2557
  9. data/docs/AnswerCallback.md +1 -1
  10. data/docs/BridgeCompleteCallback.md +1 -1
  11. data/docs/BridgeTargetCompleteCallback.md +1 -1
  12. data/docs/CallRecordingMetadata.md +2 -2
  13. data/docs/CallsApi.md +1 -1
  14. data/docs/ConferenceMemberExitCallback.md +1 -1
  15. data/docs/ConferenceMemberJoinCallback.md +1 -1
  16. data/docs/CreateCall.md +5 -3
  17. data/docs/DisconnectCallback.md +1 -1
  18. data/docs/DtmfCallback.md +2 -2
  19. data/docs/GatherCallback.md +2 -2
  20. data/docs/InitiateCallback.md +1 -1
  21. data/docs/MachineDetectionCompleteCallback.md +1 -1
  22. data/docs/RecordingAvailableCallback.md +2 -2
  23. data/docs/RecordingCompleteCallback.md +2 -2
  24. data/docs/RedirectCallback.md +2 -2
  25. data/docs/TranscriptionAvailableCallback.md +2 -2
  26. data/docs/TransferAnswerCallback.md +2 -2
  27. data/docs/TransferCompleteCallback.md +2 -2
  28. data/docs/TransferDisconnectCallback.md +2 -2
  29. data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
  30. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
  31. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
  32. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +2 -2
  33. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
  34. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
  35. data/lib/bandwidth-sdk/models/create_call.rb +14 -3
  36. data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
  37. data/lib/bandwidth-sdk/models/dtmf_callback.rb +2 -2
  38. data/lib/bandwidth-sdk/models/gather_callback.rb +2 -2
  39. data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
  40. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
  41. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
  42. data/lib/bandwidth-sdk/models/recording_available_callback.rb +2 -2
  43. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +2 -2
  44. data/lib/bandwidth-sdk/models/redirect_callback.rb +2 -2
  45. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +2 -2
  46. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +2 -2
  47. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +2 -2
  48. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +2 -2
  49. data/lib/bandwidth-sdk/version.rb +1 -1
  50. data/spec/{integration/calls_api_integration_spec.rb → smoke/calls_api_spec.rb} +2 -0
  51. data/spec/spec_helper.rb +2 -2
  52. data/spec/{api → unit/api}/calls_api_spec.rb +2 -0
  53. metadata +118 -118
  54. /data/spec/{integration/conferences_api_integration_spec.rb → smoke/conferences_api_spec.rb} +0 -0
  55. /data/spec/{integration/media_api_integration_spec.rb → smoke/media_api_spec.rb} +0 -0
  56. /data/spec/{integration/messages_api_integration_spec.rb → smoke/messages_api_spec.rb} +0 -0
  57. /data/spec/{integration/mfa_api_integration_spec.rb → smoke/mfa_api_spec.rb} +0 -0
  58. /data/spec/{integration/phone_number_lookup_api_integration_spec.rb → smoke/phone_number_lookup_api_spec.rb} +0 -0
  59. /data/spec/{integration/recordings_api_integration_spec.rb → smoke/recordings_api_spec.rb} +0 -0
  60. /data/spec/{integration/statistics_api_integration_spec.rb → smoke/statistics_api_spec.rb} +0 -0
  61. /data/spec/{integration/transcriptions_api_integration_spec.rb → smoke/transcriptions_api_spec.rb} +0 -0
  62. /data/spec/{api → unit/api}/conferences_api_spec.rb +0 -0
  63. /data/spec/{api → unit/api}/media_api_spec.rb +0 -0
  64. /data/spec/{api → unit/api}/messages_api_spec.rb +0 -0
  65. /data/spec/{api → unit/api}/mfa_api_spec.rb +0 -0
  66. /data/spec/{api → unit/api}/phone_number_lookup_api_spec.rb +0 -0
  67. /data/spec/{api → unit/api}/recordings_api_spec.rb +0 -0
  68. /data/spec/{api → unit/api}/statistics_api_spec.rb +0 -0
  69. /data/spec/{api → unit/api}/transcriptions_api_spec.rb +0 -0
  70. /data/spec/{api_client_spec.rb → unit/client/api_client_spec.rb} +0 -0
  71. /data/spec/{api_error_spec.rb → unit/client/api_error_spec.rb} +0 -0
  72. /data/spec/{configuration_spec.rb → unit/client/configuration_spec.rb} +0 -0
  73. /data/spec/{models → unit/models}/bxml/bxml_spec.rb +0 -0
  74. /data/spec/{models → unit/models}/bxml/nestable_verb_spec.rb +0 -0
  75. /data/spec/{models → unit/models}/bxml/response_spec.rb +0 -0
  76. /data/spec/{models → unit/models}/bxml/verb_spec.rb +0 -0
  77. /data/spec/{models → unit/models}/bxml/verbs/bridge_spec.rb +0 -0
  78. /data/spec/{models → unit/models}/bxml/verbs/conference_spec.rb +0 -0
  79. /data/spec/{models → unit/models}/bxml/verbs/custom_param_spec.rb +0 -0
  80. /data/spec/{models → unit/models}/bxml/verbs/forward_spec.rb +0 -0
  81. /data/spec/{models → unit/models}/bxml/verbs/gather_spec.rb +0 -0
  82. /data/spec/{models → unit/models}/bxml/verbs/hangup_spec.rb +0 -0
  83. /data/spec/{models → unit/models}/bxml/verbs/pause_recording_spec.rb +0 -0
  84. /data/spec/{models → unit/models}/bxml/verbs/pause_spec.rb +0 -0
  85. /data/spec/{models → unit/models}/bxml/verbs/phone_number_spec.rb +0 -0
  86. /data/spec/{models → unit/models}/bxml/verbs/play_audio_spec.rb +0 -0
  87. /data/spec/{models → unit/models}/bxml/verbs/record_spec.rb +0 -0
  88. /data/spec/{models → unit/models}/bxml/verbs/redirect_spec.rb +0 -0
  89. /data/spec/{models → unit/models}/bxml/verbs/resume_recording_spec.rb +0 -0
  90. /data/spec/{models → unit/models}/bxml/verbs/ring_spec.rb +0 -0
  91. /data/spec/{models → unit/models}/bxml/verbs/send_dtmf_spec.rb +0 -0
  92. /data/spec/{models → unit/models}/bxml/verbs/sip_uri_spec.rb +0 -0
  93. /data/spec/{models → unit/models}/bxml/verbs/speak_sentence_spec.rb +0 -0
  94. /data/spec/{models → unit/models}/bxml/verbs/start_gather_spec.rb +0 -0
  95. /data/spec/{models → unit/models}/bxml/verbs/start_recording_spec.rb +0 -0
  96. /data/spec/{models → unit/models}/bxml/verbs/start_stream_spec.rb +0 -0
  97. /data/spec/{models → unit/models}/bxml/verbs/start_transcription_spec.rb +0 -0
  98. /data/spec/{models → unit/models}/bxml/verbs/stop_gather_spec.rb +0 -0
  99. /data/spec/{models → unit/models}/bxml/verbs/stop_recording_spec.rb +0 -0
  100. /data/spec/{models → unit/models}/bxml/verbs/stop_stream_spec.rb +0 -0
  101. /data/spec/{models → unit/models}/bxml/verbs/stop_transcription_spec.rb +0 -0
  102. /data/spec/{models → unit/models}/bxml/verbs/stream_param_spec.rb +0 -0
  103. /data/spec/{models → unit/models}/bxml/verbs/tag_spec.rb +0 -0
  104. /data/spec/{models → unit/models}/bxml/verbs/transfer_spec.rb +0 -0
  105. /data/spec/{models → unit/models}/call_state_enum_spec.rb +0 -0
  106. /data/spec/{models → unit/models}/call_state_spec.rb +0 -0
  107. /data/spec/{models → unit/models}/deferred_result_spec.rb +0 -0
  108. /data/spec/{models → unit/models}/message_spec.rb +0 -0
  109. /data/spec/{models → unit/models}/verify_code_request_spec.rb +0 -0
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -10,8 +10,8 @@
10
10
  | **parent_call_id** | **String** | (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. | [optional] |
11
11
  | **recording_id** | **String** | The unique ID of this recording | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
14
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
13
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
14
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
15
15
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
16
16
  | **duration** | **String** | The duration of the recording in ISO-8601 format | [optional] |
17
17
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
data/docs/CallsApi.md CHANGED
@@ -33,7 +33,7 @@ end
33
33
 
34
34
  api_instance = Bandwidth::CallsApi.new
35
35
  account_id = '9900000' # String | Your Bandwidth Account ID.
36
- create_call = Bandwidth::CreateCall.new({to: '+19195551234', from: '+19195554321', application_id: '1234-qwer-5679-tyui', answer_url: 'https://www.myCallbackServer.example/webhooks/answer'}) # CreateCall | JSON object containing information to create an outbound call
36
+ create_call = Bandwidth::CreateCall.new({to: '+19195551234', from: '+15555551212', application_id: '1234-qwer-5679-tyui', answer_url: 'https://www.myCallbackServer.example/webhooks/answer'}) # CreateCall | JSON object containing information to create an outbound call
37
37
 
38
38
  begin
39
39
  # Create Call
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **conference_id** | **String** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] |
10
10
  | **name** | **String** | The user-specified name of the conference that was recorded | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **call_id** | **String** | The call id associated with the event. | [optional] |
14
14
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **conference_id** | **String** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] |
10
10
  | **name** | **String** | The user-specified name of the conference that was recorded | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **call_id** | **String** | The call id associated with the event. | [optional] |
14
14
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
data/docs/CreateCall.md CHANGED
@@ -5,8 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **to** | **String** | The destination to call (must be an E.164 formatted number (e.g. `+15555551212`) or a SIP URI (e.g. `sip:user@server.example`)). | |
8
- | **from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`, or be one of the following strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`). | |
9
- | **display_name** | **String** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. | [optional] |
8
+ | **from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true. | |
9
+ | **privacy** | **Boolean** | Hide the calling number. The `displayName` field can be used to customize the displayed name. | [optional] |
10
+ | **display_name** | **String** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`. | [optional] |
10
11
  | **uui** | **String** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] |
11
12
  | **application_id** | **String** | The id of the application associated with the `from` number. | |
12
13
  | **answer_url** | **String** | The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`. | |
@@ -32,7 +33,8 @@ require 'bandwidth-sdk'
32
33
 
33
34
  instance = Bandwidth::CreateCall.new(
34
35
  to: +19195551234,
35
- from: +19195554321,
36
+ from: +15555551212,
37
+ privacy: false,
36
38
  display_name: John Doe,
37
39
  uui: eyJhbGciOiJIUzI1NiJ9.WyJoaSJd.-znkjYyCkgz4djmHUPSXl9YrJ6Nix_XvmlwKGFh5ERM;encoding=jwt,aGVsbG8gd29ybGQ;encoding=base64,
38
40
  application_id: 1234-qwer-5679-tyui,
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **call_id** | **String** | The call id associated with the event. | [optional] |
14
14
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
data/docs/DtmfCallback.md CHANGED
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **call_id** | **String** | The call id associated with the event. | [optional] |
14
14
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
@@ -18,7 +18,7 @@
18
18
  | **start_time** | **Time** | Time the call was started, in ISO 8601 format. | [optional] |
19
19
  | **answer_time** | **Time** | Time the call was answered, in ISO 8601 format. | [optional] |
20
20
  | **parent_call_id** | **String** | (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. | [optional] |
21
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
21
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
22
22
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
23
23
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
24
24
 
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -19,7 +19,7 @@
19
19
  | **answer_time** | **Time** | Time the call was answered, in ISO 8601 format. | [optional] |
20
20
  | **parent_call_id** | **String** | (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. | [optional] |
21
21
  | **terminating_digit** | **String** | (optional) The digit the user pressed to end the gather. Empty string value if no terminating digit was pressed. | [optional] |
22
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
22
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
23
23
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
24
24
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
25
25
 
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -24,7 +24,7 @@
24
24
  | **channels** | **Integer** | Always `1` for conference recordings; multi-channel recordings are not supported on conferences. | [optional] |
25
25
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
26
26
  | **status** | **String** | The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values. | [optional] |
27
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
27
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
28
28
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
29
29
 
30
30
  ## Example
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -24,7 +24,7 @@
24
24
  | **file_format** | [**FileFormatEnum**](FileFormatEnum.md) | | [optional] |
25
25
  | **channels** | **Integer** | Always `1` for conference recordings; multi-channel recordings are not supported on conferences. | [optional] |
26
26
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
27
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
27
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
28
28
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
29
29
 
30
30
  ## Example
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -18,7 +18,7 @@
18
18
  | **start_time** | **Time** | Time the call was started, in ISO 8601 format. | [optional] |
19
19
  | **answer_time** | **Time** | Time the call was answered, in ISO 8601 format. | [optional] |
20
20
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
21
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
21
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
22
22
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
23
23
 
24
24
  ## Example
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -23,7 +23,7 @@
23
23
  | **file_format** | [**FileFormatEnum**](FileFormatEnum.md) | | [optional] |
24
24
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
25
25
  | **transcription** | [**Transcription**](Transcription.md) | | [optional] |
26
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
26
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
27
27
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
28
28
 
29
29
  ## Example
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -17,7 +17,7 @@
17
17
  | **start_time** | **Time** | Time the call was started, in ISO 8601 format. | [optional] |
18
18
  | **answer_time** | **Time** | Time the call was answered, in ISO 8601 format. | [optional] |
19
19
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
20
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
20
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
21
21
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
22
22
 
23
23
  ## Example
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -17,7 +17,7 @@
17
17
  | **start_time** | **Time** | Time the call was started, in ISO 8601 format. | [optional] |
18
18
  | **answer_time** | **Time** | Time the call was answered, in ISO 8601 format. | [optional] |
19
19
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
20
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
20
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
21
21
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
22
22
  | **cause** | **String** | Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown. | [optional] |
23
23
  | **error_message** | **String** | Text explaining the reason that caused the call to fail in case of errors. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **event_time** | **Time** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional] |
9
9
  | **account_id** | **String** | The user account associated with the call. | [optional] |
10
10
  | **application_id** | **String** | The id of the application associated with the call. | [optional] |
11
- | **from** | **String** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional] |
11
+ | **from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
12
12
  | **to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
13
13
  | **direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional] |
14
14
  | **call_id** | **String** | The call id associated with the event. | [optional] |
@@ -19,7 +19,7 @@
19
19
  | **answer_time** | **Time** | Time the call was answered, in ISO 8601 format. | [optional] |
20
20
  | **end_time** | **Time** | The time that the recording ended in ISO-8601 format | [optional] |
21
21
  | **tag** | **String** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional] |
22
- | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional] |
22
+ | **transfer_caller_id** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
23
23
  | **transfer_to** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
24
24
  | **cause** | **String** | Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown. | [optional] |
25
25
  | **error_message** | **String** | Text explaining the reason that caused the call to fail in case of errors. | [optional] |
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -33,10 +33,10 @@ module Bandwidth
33
33
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
34
34
  attr_accessor :to
35
35
 
36
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
36
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
37
37
  attr_accessor :from
38
38
 
39
- # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
39
+ # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
40
40
  attr_accessor :transfer_caller_id
41
41
 
42
42
  # The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The user-specified name of the conference that was recorded
29
29
  attr_accessor :name
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The user-specified name of the conference that was recorded
29
29
  attr_accessor :name
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -18,10 +18,13 @@ module Bandwidth
18
18
  # The destination to call (must be an E.164 formatted number (e.g. `+15555551212`) or a SIP URI (e.g. `sip:user@server.example`)).
19
19
  attr_accessor :to
20
20
 
21
- # A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`, or be one of the following strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
21
+ # A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true.
22
22
  attr_accessor :from
23
23
 
24
- # The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines.
24
+ # Hide the calling number. The `displayName` field can be used to customize the displayed name.
25
+ attr_accessor :privacy
26
+
27
+ # The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`.
25
28
  attr_accessor :display_name
26
29
 
27
30
  # A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators.
@@ -98,6 +101,7 @@ module Bandwidth
98
101
  {
99
102
  :'to' => :'to',
100
103
  :'from' => :'from',
104
+ :'privacy' => :'privacy',
101
105
  :'display_name' => :'displayName',
102
106
  :'uui' => :'uui',
103
107
  :'application_id' => :'applicationId',
@@ -129,6 +133,7 @@ module Bandwidth
129
133
  {
130
134
  :'to' => :'String',
131
135
  :'from' => :'String',
136
+ :'privacy' => :'Boolean',
132
137
  :'display_name' => :'String',
133
138
  :'uui' => :'String',
134
139
  :'application_id' => :'String',
@@ -153,6 +158,7 @@ module Bandwidth
153
158
  # List of attributes with nullable: true
154
159
  def self.openapi_nullable
155
160
  Set.new([
161
+ :'privacy',
156
162
  :'display_name',
157
163
  :'uui',
158
164
  :'answer_method',
@@ -198,6 +204,10 @@ module Bandwidth
198
204
  self.from = nil
199
205
  end
200
206
 
207
+ if attributes.key?(:'privacy')
208
+ self.privacy = attributes[:'privacy']
209
+ end
210
+
201
211
  if attributes.key?(:'display_name')
202
212
  self.display_name = attributes[:'display_name']
203
213
  end
@@ -540,6 +550,7 @@ module Bandwidth
540
550
  self.class == o.class &&
541
551
  to == o.to &&
542
552
  from == o.from &&
553
+ privacy == o.privacy &&
543
554
  display_name == o.display_name &&
544
555
  uui == o.uui &&
545
556
  application_id == o.application_id &&
@@ -569,7 +580,7 @@ module Bandwidth
569
580
  # Calculates hash code according to all attributes.
570
581
  # @return [Integer] Hash code
571
582
  def hash
572
- [to, from, display_name, uui, application_id, answer_url, answer_method, username, password, answer_fallback_url, answer_fallback_method, fallback_username, fallback_password, disconnect_url, disconnect_method, call_timeout, callback_timeout, machine_detection, priority, tag].hash
583
+ [to, from, privacy, display_name, uui, application_id, answer_url, answer_method, username, password, answer_fallback_url, answer_fallback_method, fallback_username, fallback_password, disconnect_url, disconnect_method, call_timeout, callback_timeout, machine_detection, priority, tag].hash
573
584
  end
574
585
 
575
586
  # Builds the object from hash
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -57,7 +57,7 @@ module Bandwidth
57
57
  # (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
58
58
  attr_accessor :parent_call_id
59
59
 
60
- # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
60
+ # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
61
61
  attr_accessor :transfer_caller_id
62
62
 
63
63
  # The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -60,7 +60,7 @@ module Bandwidth
60
60
  # (optional) The digit the user pressed to end the gather. Empty string value if no terminating digit was pressed.
61
61
  attr_accessor :terminating_digit
62
62
 
63
- # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
63
+ # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
64
64
  attr_accessor :transfer_caller_id
65
65
 
66
66
  # The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Bandwidth
17
- # The machine detection request used to perform <a href='/docs/voice/guides/machineDetection'>machine detection</a> on the call.
17
+ # The machine detection request used to perform <a href='/docs/voice/guides/machineDetection'>machine detection</a> on the call. Currently, there is an issue where decimal values are not getting processed correctly. Please use whole number values. We are working to resolve this issue. Please contact Bandwidth Support if you need more information.
18
18
  class MachineDetectionConfiguration
19
19
  attr_accessor :mode
20
20
 
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  # The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.
75
75
  attr_accessor :status
76
76
 
77
- # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
77
+ # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
78
78
  attr_accessor :transfer_caller_id
79
79
 
80
80
  # The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  # (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
75
75
  attr_accessor :tag
76
76
 
77
- # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
77
+ # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
78
78
  attr_accessor :transfer_caller_id
79
79
 
80
80
  # The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
@@ -28,7 +28,7 @@ module Bandwidth
28
28
  # The id of the application associated with the call.
29
29
  attr_accessor :application_id
30
30
 
31
- # The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
31
+ # The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
32
32
  attr_accessor :from
33
33
 
34
34
  # The phone number that received the call, in E.164 format (e.g. +15555555555).
@@ -57,7 +57,7 @@ module Bandwidth
57
57
  # (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
58
58
  attr_accessor :tag
59
59
 
60
- # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
60
+ # The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
61
61
  attr_accessor :transfer_caller_id
62
62
 
63
63
  # The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).