Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ docs/LinksObject.md
docs/ListEndpointsResponse.md
docs/ListMessageDirectionEnum.md
docs/ListMessageItem.md
docs/LocationResponse.md
docs/LookupErrorResponse.md
docs/LookupErrorSchema.md
docs/LookupErrorSchemaMeta.md
Expand Down Expand Up @@ -149,7 +150,6 @@ docs/RbmActionTypeEnum.md
docs/RbmActionViewLocation.md
docs/RbmCardContent.md
docs/RbmCardContentMedia.md
docs/RbmLocationResponse.md
docs/RbmMediaHeightEnum.md
docs/RbmMessageCarouselCard.md
docs/RbmMessageContentFile.md
Expand All @@ -158,7 +158,6 @@ docs/RbmMessageContentText.md
docs/RbmMessageMedia.md
docs/RbmOpenUrlEnum.md
docs/RbmStandaloneCard.md
docs/RbmSuggestionResponse.md
docs/RbmWebViewEnum.md
docs/RecordingAvailableCallback.md
docs/RecordingCompleteCallback.md
Expand All @@ -177,6 +176,7 @@ docs/StatusCallback.md
docs/StatusCallbackMessage.md
docs/StatusCallbackTypeEnum.md
docs/StirShaken.md
docs/SuggestionResponse.md
docs/SyncLookupRequest.md
docs/TelephoneNumber.md
docs/TfvBasicAuthentication.md
Expand Down Expand Up @@ -333,6 +333,7 @@ src/Bandwidth.Standard/Model/LinksObject.cs
src/Bandwidth.Standard/Model/ListEndpointsResponse.cs
src/Bandwidth.Standard/Model/ListMessageDirectionEnum.cs
src/Bandwidth.Standard/Model/ListMessageItem.cs
src/Bandwidth.Standard/Model/LocationResponse.cs
src/Bandwidth.Standard/Model/LookupErrorResponse.cs
src/Bandwidth.Standard/Model/LookupErrorSchema.cs
src/Bandwidth.Standard/Model/LookupErrorSchemaMeta.cs
Expand Down Expand Up @@ -385,7 +386,6 @@ src/Bandwidth.Standard/Model/RbmActionTypeEnum.cs
src/Bandwidth.Standard/Model/RbmActionViewLocation.cs
src/Bandwidth.Standard/Model/RbmCardContent.cs
src/Bandwidth.Standard/Model/RbmCardContentMedia.cs
src/Bandwidth.Standard/Model/RbmLocationResponse.cs
src/Bandwidth.Standard/Model/RbmMediaHeightEnum.cs
src/Bandwidth.Standard/Model/RbmMessageCarouselCard.cs
src/Bandwidth.Standard/Model/RbmMessageContentFile.cs
Expand All @@ -394,7 +394,6 @@ src/Bandwidth.Standard/Model/RbmMessageContentText.cs
src/Bandwidth.Standard/Model/RbmMessageMedia.cs
src/Bandwidth.Standard/Model/RbmOpenUrlEnum.cs
src/Bandwidth.Standard/Model/RbmStandaloneCard.cs
src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
src/Bandwidth.Standard/Model/RbmWebViewEnum.cs
src/Bandwidth.Standard/Model/RecordingAvailableCallback.cs
src/Bandwidth.Standard/Model/RecordingCompleteCallback.cs
Expand All @@ -411,6 +410,7 @@ src/Bandwidth.Standard/Model/StatusCallback.cs
src/Bandwidth.Standard/Model/StatusCallbackMessage.cs
src/Bandwidth.Standard/Model/StatusCallbackTypeEnum.cs
src/Bandwidth.Standard/Model/StirShaken.cs
src/Bandwidth.Standard/Model/SuggestionResponse.cs
src/Bandwidth.Standard/Model/SyncLookupRequest.cs
src/Bandwidth.Standard/Model/TelephoneNumber.cs
src/Bandwidth.Standard/Model/TfvBasicAuthentication.cs
Expand Down
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{53FEDFA0-1CD0-480F-B360-4BBC8D941A42}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Release|Any CPU.Build.0 = Release|Any CPU
{53FEDFA0-1CD0-480F-B360-4BBC8D941A42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53FEDFA0-1CD0-480F-B360-4BBC8D941A42}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53FEDFA0-1CD0-480F-B360-4BBC8D941A42}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53FEDFA0-1CD0-480F-B360-4BBC8D941A42}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ Class | Method | HTTP request | Description
- [Model.ListEndpointsResponse](docs/ListEndpointsResponse.md)
- [Model.ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
- [Model.ListMessageItem](docs/ListMessageItem.md)
- [Model.LocationResponse](docs/LocationResponse.md)
- [Model.LookupErrorResponse](docs/LookupErrorResponse.md)
- [Model.LookupErrorSchema](docs/LookupErrorSchema.md)
- [Model.LookupErrorSchemaMeta](docs/LookupErrorSchemaMeta.md)
Expand Down Expand Up @@ -312,7 +313,6 @@ Class | Method | HTTP request | Description
- [Model.RbmActionViewLocation](docs/RbmActionViewLocation.md)
- [Model.RbmCardContent](docs/RbmCardContent.md)
- [Model.RbmCardContentMedia](docs/RbmCardContentMedia.md)
- [Model.RbmLocationResponse](docs/RbmLocationResponse.md)
- [Model.RbmMediaHeightEnum](docs/RbmMediaHeightEnum.md)
- [Model.RbmMessageCarouselCard](docs/RbmMessageCarouselCard.md)
- [Model.RbmMessageContentFile](docs/RbmMessageContentFile.md)
Expand All @@ -321,7 +321,6 @@ Class | Method | HTTP request | Description
- [Model.RbmMessageMedia](docs/RbmMessageMedia.md)
- [Model.RbmOpenUrlEnum](docs/RbmOpenUrlEnum.md)
- [Model.RbmStandaloneCard](docs/RbmStandaloneCard.md)
- [Model.RbmSuggestionResponse](docs/RbmSuggestionResponse.md)
- [Model.RbmWebViewEnum](docs/RbmWebViewEnum.md)
- [Model.RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
- [Model.RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
Expand All @@ -338,6 +337,7 @@ Class | Method | HTTP request | Description
- [Model.StatusCallbackMessage](docs/StatusCallbackMessage.md)
- [Model.StatusCallbackTypeEnum](docs/StatusCallbackTypeEnum.md)
- [Model.StirShaken](docs/StirShaken.md)
- [Model.SuggestionResponse](docs/SuggestionResponse.md)
- [Model.SyncLookupRequest](docs/SyncLookupRequest.md)
- [Model.TelephoneNumber](docs/TelephoneNumber.md)
- [Model.TfvBasicAuthentication](docs/TfvBasicAuthentication.md)
Expand Down
25 changes: 15 additions & 10 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6343,8 +6343,8 @@ components:
<p>This Inbound Message Webhook is an envelope containing either a received (MO) message to your
message-enabled Bandwidth telephone number or a multichannel client's response to a suggestion response
or location request.
<p>The payload type will be one of <code>message-received</code>, <code>suggestion-response</code>, or <code>location-request-response</code>.
<p>Note that <code>suggestion-response</code> and <code>location-request-response</code> callback types are pertinent only for RBM messages sent from the <code>/messages/multiChannel</code> endpoint.
<p>The payload type will be one of <code>message-received</code>, <code>suggestion-response</code>, or <code>requested-location-response</code>.
<p>Note that <code>suggestion-response</code> and <code>requested-location-response</code> callback types are pertinent only for RBM messages sent from the <code>/messages/multiChannel</code> endpoint.
</p><p>Please visit <a href='/docs/messaging/webhooks/'>Webhooks</a></p>
required: true
responses:
Expand Down Expand Up @@ -7062,7 +7062,7 @@ components:
tag: "{\"myTag\": \"myTagValue\"}"
updateEndpointBxmlRequestExample:
summary: Update Endpoint BXML Request Example
value: <Bxml><StartRecording /></Bxml>
value: <Response><StartRecording /></Response>
endpointDisconnectedEventExample:
summary: Endpoint Disconnected Event
value:
Expand Down Expand Up @@ -10490,7 +10490,7 @@ components:
media:
$ref: '#/components/schemas/rbmMessageContentFile'
type: object
rbmSuggestionResponse:
suggestionResponse:
properties:
text:
description: The text associated with the suggestion response.
Expand All @@ -10504,8 +10504,13 @@ components:
maxLength: 2048
title: Post Back Data
type: string
pairedMessageId:
description: Corresponding parent message ID (MT).
example: 1752697342534u24xerqdukke523x
nullable: true
type: string
type: object
rbmLocationResponse:
locationResponse:
properties:
latitude:
description: The latitude of the client's location.
Expand All @@ -10531,7 +10536,7 @@ components:
message-failed: '#/components/schemas/statusCallback'
message-read: '#/components/schemas/statusCallback'
message-received: '#/components/schemas/inboundCallback'
request-location-response: '#/components/schemas/inboundCallback'
requested-location-response: '#/components/schemas/inboundCallback'
suggestion-response: '#/components/schemas/inboundCallback'
propertyName: type
oneOf:
Expand Down Expand Up @@ -10637,11 +10642,11 @@ components:
description: |-
The possible inbound callback types originating from MO messages or multichannel message client responses:
- `message-received` indicates an MO message from a Bandwidth user's client to a Bandwidth number.
- `request-location-response` indicates a response to a location request sent by the Bandwidth user's client after receiving an RBM message.
- `requested-location-response` indicates a response to a location request sent by the Bandwidth user's client after receiving an RBM message.
- `suggestion-response` indicates a response to a suggestion sent by the Bandwidth user's client after receiving an RBM message.
enum:
- message-received
- request-location-response
- requested-location-response
- suggestion-response
example: message-received
type: string
Expand Down Expand Up @@ -10725,9 +10730,9 @@ components:
content:
$ref: '#/components/schemas/multiChannelMessageContent'
suggestionResponse:
$ref: '#/components/schemas/rbmSuggestionResponse'
$ref: '#/components/schemas/suggestionResponse'
locationResponse:
$ref: '#/components/schemas/rbmLocationResponse'
$ref: '#/components/schemas/locationResponse'
type: object
required:
- applicationId
Expand Down
28 changes: 17 additions & 11 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2880,7 +2880,7 @@ components:
type: string
media:
$ref: '#/components/schemas/rbmMessageContentFile'
rbmSuggestionResponse:
suggestionResponse:
type: object
properties:
text:
Expand All @@ -2889,7 +2889,12 @@ components:
example: Yes, I would like to proceed
postbackData:
$ref: '#/components/schemas/rbmActionPostbackData'
rbmLocationResponse:
pairedMessageId:
type: string
nullable: true
description: Corresponding parent message ID (MT).
example: 1752697342534u24xerqdukke523x
locationResponse:
type: object
properties:
latitude:
Expand Down Expand Up @@ -2925,7 +2930,7 @@ components:
message-failed: '#/components/schemas/statusCallback'
message-read: '#/components/schemas/statusCallback'
message-received: '#/components/schemas/inboundCallback'
request-location-response: '#/components/schemas/inboundCallback'
requested-location-response: '#/components/schemas/inboundCallback'
suggestion-response: '#/components/schemas/inboundCallback'
statusCallback:
type: object
Expand Down Expand Up @@ -3035,14 +3040,15 @@ components:
- `message-received` indicates an MO message from a Bandwidth user's
client to a Bandwidth number.

- `request-location-response` indicates a response to a location request
sent by the Bandwidth user's client after receiving an RBM message.
- `requested-location-response` indicates a response to a location
request sent by the Bandwidth user's client after receiving an RBM
message.

- `suggestion-response` indicates a response to a suggestion sent by the
Bandwidth user's client after receiving an RBM message.
enum:
- message-received
- request-location-response
- requested-location-response
- suggestion-response
example: message-received
statusCallbackMessage:
Expand Down Expand Up @@ -3118,9 +3124,9 @@ components:
content:
$ref: '#/components/schemas/multiChannelMessageContent'
suggestionResponse:
$ref: '#/components/schemas/rbmSuggestionResponse'
$ref: '#/components/schemas/suggestionResponse'
locationResponse:
$ref: '#/components/schemas/rbmLocationResponse'
$ref: '#/components/schemas/locationResponse'
required:
- id
- owner
Expand Down Expand Up @@ -9154,7 +9160,7 @@ components:
tag: '{"myTag": "myTagValue"}'
updateEndpointBxmlRequestExample:
summary: Update Endpoint BXML Request Example
value: <Bxml><StartRecording /></Bxml>
value: <Response><StartRecording /></Response>
endpointDisconnectedEventExample:
summary: Endpoint Disconnected Event
value:
Expand Down Expand Up @@ -9678,10 +9684,10 @@ components:

<p>The payload type will be one of <code>message-received</code>,
<code>suggestion-response</code>, or
<code>location-request-response</code>.
<code>requested-location-response</code>.

<p>Note that <code>suggestion-response</code> and
<code>location-request-response</code> callback types are
<code>requested-location-response</code> callback types are
pertinent only for RBM messages sent from the
<code>/messages/multiChannel</code> endpoint.

Expand Down
4 changes: 2 additions & 2 deletions docs/InboundCallbackMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Name | Type | Description | Notes
**Priority** | **PriorityEnum** | | [optional]
**Channel** | **MultiChannelMessageChannelEnum** | | [optional]
**Content** | [**MultiChannelMessageContent**](MultiChannelMessageContent.md) | | [optional]
**SuggestionResponse** | [**RbmSuggestionResponse**](RbmSuggestionResponse.md) | | [optional]
**LocationResponse** | [**RbmLocationResponse**](RbmLocationResponse.md) | | [optional]
**SuggestionResponse** | [**SuggestionResponse**](SuggestionResponse.md) | | [optional]
**LocationResponse** | [**LocationResponse**](LocationResponse.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion docs/InboundCallbackTypeEnum.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Bandwidth.Standard.Model.InboundCallbackTypeEnum
The possible inbound callback types originating from MO messages or multichannel message client responses: - `message-received` indicates an MO message from a Bandwidth user's client to a Bandwidth number. - `request-location-response` indicates a response to a location request sent by the Bandwidth user's client after receiving an RBM message. - `suggestion-response` indicates a response to a suggestion sent by the Bandwidth user's client after receiving an RBM message.
The possible inbound callback types originating from MO messages or multichannel message client responses: - `message-received` indicates an MO message from a Bandwidth user's client to a Bandwidth number. - `requested-location-response` indicates a response to a location request sent by the Bandwidth user's client after receiving an RBM message. - `suggestion-response` indicates a response to a suggestion sent by the Bandwidth user's client after receiving an RBM message.

## Properties

Expand Down
11 changes: 11 additions & 0 deletions docs/LocationResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Bandwidth.Standard.Model.LocationResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Latitude** | **double** | The latitude of the client&#39;s location. | [optional]
**Longitude** | **double** | The longitude of the client&#39;s location. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

12 changes: 12 additions & 0 deletions docs/SuggestionResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Bandwidth.Standard.Model.SuggestionResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Text** | **string** | The text associated with the suggestion response. | [optional]
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. | [optional]
**PairedMessageId** | **string** | Corresponding parent message ID (MT). | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

6 changes: 3 additions & 3 deletions src/Bandwidth.Standard/Model/InboundCallbackMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected InboundCallbackMessage() { }
/// <param name="content">content.</param>
/// <param name="suggestionResponse">suggestionResponse.</param>
/// <param name="locationResponse">locationResponse.</param>
public InboundCallbackMessage(string id = default(string), string owner = default(string), string applicationId = default(string), DateTime time = default(DateTime), int segmentCount = default(int), MessageDirectionEnum direction = default(MessageDirectionEnum), List<string> to = default(List<string>), string from = default(string), string text = default(string), string tag = default(string), List<string> media = default(List<string>), PriorityEnum? priority = default(PriorityEnum?), MultiChannelMessageChannelEnum? channel = default(MultiChannelMessageChannelEnum?), MultiChannelMessageContent content = default(MultiChannelMessageContent), RbmSuggestionResponse suggestionResponse = default(RbmSuggestionResponse), RbmLocationResponse locationResponse = default(RbmLocationResponse))
public InboundCallbackMessage(string id = default(string), string owner = default(string), string applicationId = default(string), DateTime time = default(DateTime), int segmentCount = default(int), MessageDirectionEnum direction = default(MessageDirectionEnum), List<string> to = default(List<string>), string from = default(string), string text = default(string), string tag = default(string), List<string> media = default(List<string>), PriorityEnum? priority = default(PriorityEnum?), MultiChannelMessageChannelEnum? channel = default(MultiChannelMessageChannelEnum?), MultiChannelMessageContent content = default(MultiChannelMessageContent), SuggestionResponse suggestionResponse = default(SuggestionResponse), LocationResponse locationResponse = default(LocationResponse))
{
// to ensure "id" is required (not null)
if (id == null)
Expand Down Expand Up @@ -207,13 +207,13 @@ protected InboundCallbackMessage() { }
/// Gets or Sets SuggestionResponse
/// </summary>
[DataMember(Name = "suggestionResponse", EmitDefaultValue = false)]
public RbmSuggestionResponse SuggestionResponse { get; set; }
public SuggestionResponse SuggestionResponse { get; set; }

/// <summary>
/// Gets or Sets LocationResponse
/// </summary>
[DataMember(Name = "locationResponse", EmitDefaultValue = false)]
public RbmLocationResponse LocationResponse { get; set; }
public LocationResponse LocationResponse { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down
Loading
Loading