Skip to content
Open
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
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", "{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0213CF75-AC44-4279-B991-A8ED63FD9803}"
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
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Debug|Any CPU.Build.0 = Debug|Any CPU
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Release|Any CPU.ActiveCfg = Release|Any CPU
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Release|Any CPU.Build.0 = Release|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.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
27 changes: 18 additions & 9 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9861,6 +9861,8 @@ components:
title: RBM Media
type: object
rbmCardContent:
description: "Must contain at least one of title, description, or media to be\
\ valid."
properties:
title:
description: The title of the card. Must be 200 characters or less.
Expand Down Expand Up @@ -9899,7 +9901,6 @@ components:
required:
- cardContent
- orientation
- thumbnailImageAlignment
title: Standalone Card
type: object
standaloneCardOrientationEnum:
Expand All @@ -9909,8 +9910,8 @@ components:
example: VERTICAL
type: string
thumbnailAlignmentEnum:
description: The alignment of the thumbnail image in the card. Only applicable
if the card using horizontal orientation.
description: The alignment of the thumbnail image in the card. Required when
orientation is HORIZONTAL.
enum:
- LEFT
- RIGHT
Expand All @@ -9924,6 +9925,7 @@ components:
items:
$ref: '#/components/schemas/rbmCardContent'
maxItems: 10
minItems: 2
type: array
suggestions:
description: An array of suggested actions for the recipient.
Expand Down Expand Up @@ -9995,7 +9997,9 @@ components:
type: string
rbmWebViewEnum:
description: |-
Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW`
Defines the layout of the WebView on a mobile device. It must be defined
when application is set to `WEBVIEW` and must not be set when application
is set to `BROWSER`.
- `FULL` WebView takes the full screen.
- `HALF` WebView takes half of the screen.
- `TALL` WebView takes three-quarters of the screen.
Expand Down Expand Up @@ -10063,12 +10067,14 @@ components:
- $ref: '#/components/schemas/rbmActionBase'
- properties:
latitude:
description: The latitude of the location.
description: "The latitude of the location. Must be in range [-90.000000,\
\ 90.000000]."
example: "37.7749"
format: double
type: string
longitude:
description: The longitude of the location.
description: "The longitude of the location. Must be in range [-180.000000,\
\ 180.000000]."
example: "-122.4194"
format: double
type: string
Expand All @@ -10092,12 +10098,14 @@ components:
maxLength: 100
type: string
startTime:
description: The start time of the event.
description: "The start time of the event. Must be a valid RFC-3339 value,\
\ e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00."
example: 2022-09-14T18:20:16Z
format: date-time
type: string
endTime:
description: The end time of the event.
description: "The end time of the event. Must be a valid RFC-3339 value,\
\ e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00."
example: 2022-09-14T18:20:16Z
format: date-time
type: string
Expand All @@ -10117,7 +10125,8 @@ components:
- $ref: '#/components/schemas/rbmActionBase'
- properties:
url:
description: The URL to open in browser.
description: The URL to open in browser. Must use http:// or https://
scheme.
example: https://dev.bandwidth.com
format: uri
maxLength: 2048
Expand Down
31 changes: 22 additions & 9 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,7 @@ components:
- media
rbmCardContent:
type: object
description: Must contain at least one of title, description, or media to be valid.
properties:
title:
type: string
Expand Down Expand Up @@ -2478,7 +2479,6 @@ components:
$ref: '#/components/schemas/multiChannelFullActions'
required:
- orientation
- thumbnailImageAlignment
- cardContent
standaloneCardOrientationEnum:
type: string
Expand All @@ -2489,8 +2489,8 @@ components:
thumbnailAlignmentEnum:
type: string
description: >-
The alignment of the thumbnail image in the card. Only applicable if the
card using horizontal orientation.
The alignment of the thumbnail image in the card. Required when
orientation is HORIZONTAL.
enum:
- LEFT
- RIGHT
Expand All @@ -2505,6 +2505,7 @@ components:
type: array
items:
$ref: '#/components/schemas/rbmCardContent'
minItems: 2
maxItems: 10
suggestions:
$ref: '#/components/schemas/multiChannelFullActions'
Expand Down Expand Up @@ -2568,7 +2569,11 @@ components:
type: string
description: >-
Defines the layout of the WebView on a mobile device. It must be defined
when application is set to `WEBVIEW`

when application is set to `WEBVIEW` and must not be set when
application

is set to `BROWSER`.

- `FULL` WebView takes the full screen.

Expand Down Expand Up @@ -2626,12 +2631,16 @@ components:
latitude:
type: string
format: double
description: The latitude of the location.
description: >-
The latitude of the location. Must be in range [-90.000000,
90.000000].
example: '37.7749'
longitude:
type: string
format: double
description: The longitude of the location.
description: >-
The longitude of the location. Must be in range [-180.000000,
180.000000].
example: '-122.4194'
label:
type: string
Expand All @@ -2655,12 +2664,16 @@ components:
startTime:
type: string
format: date-time
description: The start time of the event.
description: >-
The start time of the event. Must be a valid RFC-3339 value,
e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
example: 2022-09-14T18:20:16.000Z
endTime:
type: string
format: date-time
description: The end time of the event.
description: >-
The end time of the event. Must be a valid RFC-3339 value, e.g.,
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
example: 2022-09-14T18:20:16.000Z
description:
type: string
Expand All @@ -2680,7 +2693,7 @@ components:
url:
type: string
format: uri
description: The URL to open in browser.
description: The URL to open in browser. Must use http:// or https:// scheme.
example: https://dev.bandwidth.com
maxLength: 2048
application:
Expand Down
10 changes: 5 additions & 5 deletions docs/MultiChannelAction.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Name | Type | Description | Notes
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
**PhoneNumber** | **string** | The phone number to dial. Must be E164 format. |
**Latitude** | **double** | The latitude of the location. |
**Longitude** | **double** | The longitude of the location. |
**Latitude** | **double** | The latitude of the location. Must be in range [-90.000000, 90.000000]. |
**Longitude** | **double** | The longitude of the location. Must be in range [-180.000000, 180.000000]. |
**Label** | **string** | The label of the location. | [optional]
**Title** | **string** | The title of the event. |
**StartTime** | **DateTime** | The start time of the event. |
**EndTime** | **DateTime** | The end time of the event. |
**StartTime** | **DateTime** | The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
**EndTime** | **DateTime** | The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
**Description** | **string** | The description of the event. | [optional]
**Url** | **string** | The URL to open in browser. |
**Url** | **string** | The URL to open in browser. Must use http:// or https:// scheme. |
**Application** | **RbmOpenUrlEnum** | | [optional]
**WebviewViewMode** | **RbmWebViewEnum** | | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/MultiChannelActionCalendarEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Name | Type | Description | Notes
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
**Title** | **string** | The title of the event. |
**StartTime** | **DateTime** | The start time of the event. |
**EndTime** | **DateTime** | The end time of the event. |
**StartTime** | **DateTime** | The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
**EndTime** | **DateTime** | The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
**Description** | **string** | The description of the event. | [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)
Expand Down
2 changes: 1 addition & 1 deletion docs/MultiChannelChannelListRBMObjectAllOfContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**Suggestions** | [**List<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
**Media** | [**List<RbmMessageContentFile>**](RbmMessageContentFile.md) | |
**Orientation** | **StandaloneCardOrientationEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
**CardWidth** | **CardWidthEnum** | |
**CardContents** | [**List<RbmCardContent>**](RbmCardContent.md) | |
Expand Down
2 changes: 1 addition & 1 deletion docs/RbmActionOpenUrl.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Type** | **RbmActionTypeEnum** | |
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
**Url** | **string** | The URL to open in browser. |
**Url** | **string** | The URL to open in browser. Must use http:// or https:// scheme. |
**Application** | **RbmOpenUrlEnum** | | [optional]
**WebviewViewMode** | **RbmWebViewEnum** | | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/RbmActionViewLocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Type** | **RbmActionTypeEnum** | |
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
**Latitude** | **double** | The latitude of the location. |
**Longitude** | **double** | The longitude of the location. |
**Latitude** | **double** | The latitude of the location. Must be in range [-90.000000, 90.000000]. |
**Longitude** | **double** | The longitude of the location. Must be in range [-180.000000, 180.000000]. |
**Label** | **string** | The label of the 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)
Expand Down
1 change: 1 addition & 0 deletions docs/RbmCardContent.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Bandwidth.Standard.Model.RbmCardContent
Must contain at least one of title, description, or media to be valid.

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/RbmMessageContentRichCard.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Orientation** | **StandaloneCardOrientationEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
**Suggestions** | [**List<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
**CardWidth** | **CardWidthEnum** | |
Expand Down
2 changes: 1 addition & 1 deletion docs/RbmStandaloneCard.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Orientation** | **StandaloneCardOrientationEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
**Suggestions** | [**List<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/RbmWebViewEnum.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Bandwidth.Standard.Model.RbmWebViewEnum
Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` and must not be set when application is set to `BROWSER`. - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/ThumbnailAlignmentEnum.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Bandwidth.Standard.Model.ThumbnailAlignmentEnum
The alignment of the thumbnail image in the card. Only applicable if the card using horizontal orientation.
The alignment of the thumbnail image in the card. Required when orientation is HORIZONTAL.

## Properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ protected MultiChannelActionCalendarEvent() { }
/// <param name="text">Displayed text for user to click (required).</param>
/// <param name="postbackData">Base64 payload the customer receives when the reply is clicked. (required).</param>
/// <param name="title">The title of the event. (required).</param>
/// <param name="startTime">The start time of the event. (required).</param>
/// <param name="endTime">The end time of the event. (required).</param>
/// <param name="startTime">The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. (required).</param>
/// <param name="endTime">The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. (required).</param>
/// <param name="description">The description of the event..</param>
public MultiChannelActionCalendarEvent(RbmActionTypeEnum type = default(RbmActionTypeEnum), string text = default(string), byte[] postbackData = default(byte[]), string title = default(string), DateTime startTime = default(DateTime), DateTime endTime = default(DateTime), string description = default(string))
{
Expand Down Expand Up @@ -104,17 +104,17 @@ protected MultiChannelActionCalendarEvent() { }
public string Title { get; set; }

/// <summary>
/// The start time of the event.
/// The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
/// </summary>
/// <value>The start time of the event.</value>
/// <value>The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.</value>
/// <example>2022-09-14T18:20:16Z</example>
[DataMember(Name = "startTime", IsRequired = true, EmitDefaultValue = true)]
public DateTime StartTime { get; set; }

/// <summary>
/// The end time of the event.
/// The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
/// </summary>
/// <value>The end time of the event.</value>
/// <value>The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.</value>
/// <example>2022-09-14T18:20:16Z</example>
[DataMember(Name = "endTime", IsRequired = true, EmitDefaultValue = true)]
public DateTime EndTime { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Bandwidth.Standard/Model/RbmActionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected RbmActionBase() { }
/// Base64 payload the customer receives when the reply is clicked.
/// </summary>
/// <value>Base64 payload the customer receives when the reply is clicked.</value>
/// <example>[B@6a9ac8b</example>
/// <example>[B@18356951</example>
[DataMember(Name = "postbackData", IsRequired = true, EmitDefaultValue = true)]
public byte[] PostbackData { get; set; }

Expand Down
6 changes: 3 additions & 3 deletions src/Bandwidth.Standard/Model/RbmActionOpenUrl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected RbmActionOpenUrl() { }
/// <param name="type">type (required).</param>
/// <param name="text">Displayed text for user to click (required).</param>
/// <param name="postbackData">Base64 payload the customer receives when the reply is clicked. (required).</param>
/// <param name="url">The URL to open in browser. (required).</param>
/// <param name="url">The URL to open in browser. Must use http:// or https:// scheme. (required).</param>
/// <param name="application">application.</param>
/// <param name="webviewViewMode">webviewViewMode.</param>
public RbmActionOpenUrl(RbmActionTypeEnum type = default(RbmActionTypeEnum), string text = default(string), byte[] postbackData = default(byte[]), string url = default(string), RbmOpenUrlEnum? application = default(RbmOpenUrlEnum?), RbmWebViewEnum? webviewViewMode = default(RbmWebViewEnum?))
Expand Down Expand Up @@ -106,9 +106,9 @@ protected RbmActionOpenUrl() { }
public byte[] PostbackData { get; set; }

/// <summary>
/// The URL to open in browser.
/// The URL to open in browser. Must use http:// or https:// scheme.
/// </summary>
/// <value>The URL to open in browser.</value>
/// <value>The URL to open in browser. Must use http:// or https:// scheme.</value>
/// <example>https://dev.bandwidth.com</example>
[DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)]
public string Url { get; set; }
Expand Down
Loading
Loading