Skip to content

Commit f5e1b8a

Browse files
SWI-5508
1 parent 15a1211 commit f5e1b8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+249
-232
lines changed

api/openapi.yaml

Lines changed: 105 additions & 125 deletions
Large diffs are not rendered by default.

bandwidth.yml

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ paths:
11731173
[startTranscription](/docs/voice/bxml/startTranscription).
11741174
11751175
1176-
Note: After the deletion is requested and a `204` is returned, the
1176+
Note: After the deletion is requested and a `200` is returned, the
11771177
transcription will not be accessible anymore. However, it is not deleted
11781178
immediately. This deletion process, while transparent and irreversible,
11791179
can take an additional 24 to 48 hours.
@@ -1183,7 +1183,7 @@ paths:
11831183
- $ref: '#/components/parameters/callId'
11841184
- $ref: '#/components/parameters/transcriptionId'
11851185
responses:
1186-
'204':
1186+
'200':
11871187
$ref: '#/components/responses/deleteCallTranscriptionResponse'
11881188
'400':
11891189
$ref: '#/components/responses/voiceBadRequestError'
@@ -2152,11 +2152,16 @@ components:
21522152
description: >-
21532153
A Bandwidth phone number on your account the call should come
21542154
2155-
from (must be in E.164 format, like `+15555551212`, or be one of the
2156-
following
2157-
2158-
strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
2159-
example: '+19195554321'
2155+
from (must be in E.164 format, like `+15555551212`) even if
2156+
`privacy` is set to true.
2157+
example: '+15555551212'
2158+
privacy:
2159+
nullable: true
2160+
type: boolean
2161+
description: >-
2162+
Hide the calling number. The `displayName` field can be used to
2163+
customize the displayed name.
2164+
example: false
21602165
displayName:
21612166
nullable: true
21622167
type: string
@@ -2165,6 +2170,9 @@ components:
21652170
21662171
May not exceed 256 characters nor contain control characters such as
21672172
new lines.
2173+
2174+
If `privacy` is true, only the following values are valid:
2175+
`Restricted`, `Anonymous`, `Private`, or `Unavailable`.
21682176
maxLength: 256
21692177
example: John Doe
21702178
uui:
@@ -2488,7 +2496,7 @@ components:
24882496
description: >-
24892497
The phone number that made the call, in E.164 format (e.g.
24902498
+15555555555).
2491-
example: '19195554321'
2499+
example: '+19195554321'
24922500
direction:
24932501
$ref: '#/components/schemas/callDirectionEnum'
24942502
state:
@@ -3023,7 +3031,10 @@ components:
30233031
description: >-
30243032
The machine detection request used to perform <a
30253033
href='/docs/voice/guides/machineDetection'>machine detection</a> on the
3026-
call.
3034+
call. Currently, there is an issue where decimal values are not getting
3035+
processed correctly. Please use whole number values. We are working to
3036+
resolve this issue. Please contact Bandwidth Support if you need more
3037+
information.
30273038
properties:
30283039
mode:
30293040
$ref: '#/components/schemas/machineDetectionModeEnum'
@@ -3290,7 +3301,7 @@ components:
32903301
- outbound
32913302
description: Which `track` this transcription is derived from.
32923303
example: inbound
3293-
text:
3304+
transcript:
32943305
type: string
32953306
description: The transcription itself.
32963307
example: Hello World! This is an example.
@@ -4128,7 +4139,7 @@ components:
41284139
accountId:
41294140
type: string
41304141
description: The user account associated with the call.
4131-
example: '920012'
4142+
example: '9900000'
41324143
applicationId:
41334144
type: string
41344145
description: The id of the application associated with the call.
@@ -4142,9 +4153,8 @@ components:
41424153
from:
41434154
type: string
41444155
description: >-
4145-
The provided identifier of the caller: can be a phone number in E.164
4146-
format (e.g. +15555555555) or one of Private, Restricted, Unavailable,
4147-
or Anonymous.
4156+
The provided identifier of the caller. Must be a phone number in E.164
4157+
format (e.g. +15555555555).
41484158
example: '+15555555555'
41494159
conferenceId:
41504160
type: string
@@ -4223,15 +4233,14 @@ components:
42234233
type: string
42244234
description: >-
42254235
The phone number used as the from field of the B-leg call, in E.164
4226-
format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or
4227-
Unavailable.
4236+
format (e.g. +15555555555).
42284237
example: '+15555555555'
42294238
transferTo:
42304239
type: string
42314240
description: >-
42324241
The phone number used as the to field of the B-leg call, in E.164 format
42334242
(e.g. +15555555555).
4234-
example: +15555555555)
4243+
example: '+15555555555'
42354244
mediaUrl:
42364245
nullable: true
42374246
type: string
@@ -4442,7 +4451,7 @@ components:
44424451
messageId:
44434452
type: string
44444453
description: Messaging API Message ID.
4445-
example: 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
4454+
example: 1589228074636lm4k2je7j7jklbn2
44464455
verifyCodeRequest:
44474456
type: object
44484457
properties:
@@ -5778,6 +5787,7 @@ components:
57785787
answerMethod: POST
57795788
answerUrl: https://myServer.example/bandwidth/webhooks/answer
57805789
answerFallbackMethod: POST
5790+
answerFallbackUrl: https://myServer.example/bandwidth/webhooks/answerFallback
57815791
disconnectMethod: POST
57825792
disconnectUrl: https://myServer.example/bandwidth/webhooks/disconnect
57835793
username: mySecretUsername

docs/AnswerCallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Answer event is sent to the answerUrl specified in the createCall request wh
1212
|**eventTime** | **OffsetDateTime** | 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] |
1313
|**accountId** | **String** | The user account associated with the call. | [optional] |
1414
|**applicationId** | **String** | The id of the application associated with the call. | [optional] |
15-
|**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] |
15+
|**from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
1616
|**to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
1717
|**direction** | **CallDirectionEnum** | | [optional] |
1818
|**callId** | **String** | The call id associated with the event. | [optional] |

docs/BridgeCompleteCallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If the target call leaves the <Bridge>, then this callback is sent to the bridge
1212
|**eventTime** | **OffsetDateTime** | 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] |
1313
|**accountId** | **String** | The user account associated with the call. | [optional] |
1414
|**applicationId** | **String** | The id of the application associated with the call. | [optional] |
15-
|**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] |
15+
|**from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
1616
|**to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
1717
|**direction** | **CallDirectionEnum** | | [optional] |
1818
|**callId** | **String** | The call id associated with the event. | [optional] |

docs/BridgeTargetCompleteCallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If the originating call leaves the <Bridge>, then this callback is sent to the b
1212
|**eventTime** | **OffsetDateTime** | 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] |
1313
|**accountId** | **String** | The user account associated with the call. | [optional] |
1414
|**applicationId** | **String** | The id of the application associated with the call. | [optional] |
15-
|**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] |
15+
|**from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
1616
|**to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
1717
|**direction** | **CallDirectionEnum** | | [optional] |
1818
|**callId** | **String** | The call id associated with the event. | [optional] |

docs/CallRecordingMetadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
|**parentCallId** | **String** | (optional) If the event is related to the B leg of a &lt;Transfer&gt;, the call id of the original call leg that executed the &lt;Transfer&gt;. Otherwise, this field will not be present. | [optional] |
1414
|**recordingId** | **String** | The unique ID of this recording | [optional] |
1515
|**to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
16-
|**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] |
17-
|**transferCallerId** | **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] |
16+
|**from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
17+
|**transferCallerId** | **String** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
1818
|**transferTo** | **String** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional] |
1919
|**duration** | **String** | The duration of the recording in ISO-8601 format | [optional] |
2020
|**direction** | **CallDirectionEnum** | | [optional] |

docs/CallTranscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**detectedLanguage** | [**DetectedLanguageEnum**](#DetectedLanguageEnum) | The detected language for this transcription. | [optional] |
1111
|**track** | [**TrackEnum**](#TrackEnum) | Which &#x60;track&#x60; this transcription is derived from. | [optional] |
12-
|**text** | **String** | The transcription itself. | [optional] |
12+
|**transcript** | **String** | The transcription itself. | [optional] |
1313
|**confidence** | **Double** | How confident the transcription engine was in transcribing the associated audio (from &#x60;0&#x60; to &#x60;1&#x60;). | [optional] |
1414

1515

docs/ConferenceMemberExitCallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Conference Member Exit event is fired whenever a caller exits a conference t
1212
|**eventTime** | **OffsetDateTime** | 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] |
1313
|**conferenceId** | **String** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] |
1414
|**name** | **String** | The user-specified name of the conference that was recorded | [optional] |
15-
|**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] |
15+
|**from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
1616
|**to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
1717
|**callId** | **String** | The call id associated with the event. | [optional] |
1818
|**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] |

docs/ConferenceMemberJoinCallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Conference Member Join event is fired whenever a caller joins a conference t
1212
|**eventTime** | **OffsetDateTime** | 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] |
1313
|**conferenceId** | **String** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] |
1414
|**name** | **String** | The user-specified name of the conference that was recorded | [optional] |
15-
|**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] |
15+
|**from** | **String** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional] |
1616
|**to** | **String** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional] |
1717
|**callId** | **String** | The call id associated with the event. | [optional] |
1818
|**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] |

docs/CreateCall.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
1010
|**to** | **String** | The destination to call (must be an E.164 formatted number (e.g. &#x60;+15555551212&#x60;) or a SIP URI (e.g. &#x60;sip:user@server.example&#x60;)). | |
11-
|**from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like &#x60;+15555551212&#x60;, or be one of the following strings: &#x60;Restricted&#x60;, &#x60;Anonymous&#x60;, &#x60;Private&#x60;, or &#x60;Unavailable&#x60;). | |
12-
|**displayName** | **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] |
11+
|**from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like &#x60;+15555551212&#x60;) even if &#x60;privacy&#x60; is set to true. | |
12+
|**privacy** | **Boolean** | Hide the calling number. The &#x60;displayName&#x60; field can be used to customize the displayed name. | [optional] |
13+
|**displayName** | **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 &#x60;privacy&#x60; is true, only the following values are valid: &#x60;Restricted&#x60;, &#x60;Anonymous&#x60;, &#x60;Private&#x60;, or &#x60;Unavailable&#x60;. | [optional] |
1314
|**uui** | **String** | A comma-separated list of &#39;User-To-User&#39; headers to be sent in the INVITE when calling a SIP URI. Each value must end with an &#39;encoding&#39; parameter as described in &lt;a href&#x3D;&#39;https://tools.ietf.org/html/rfc7433&#39;&gt;RFC 7433&lt;/a&gt;. Only &#39;jwt&#39; and &#39;base64&#39; encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] |
1415
|**applicationId** | **String** | The id of the application associated with the &#x60;from&#x60; number. | |
1516
|**answerUrl** | **URI** | The full URL to send the &lt;a href&#x3D;&#39;/docs/voice/webhooks/answer&#39;&gt;Answer&lt;/a&gt; event to when the called party answers. This endpoint should return the first &lt;a href&#x3D;&#39;/docs/voice/bxml&#39;&gt;BXML document&lt;/a&gt; to be executed in the call. Must use &#x60;https&#x60; if specifying &#x60;username&#x60; and &#x60;password&#x60;. | |

0 commit comments

Comments
 (0)