Skip to content
Merged
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
28 changes: 22 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,22 @@ docs/MmsMessageContentFile.md
docs/MultiChannelAction.md
docs/MultiChannelActionCalendarEvent.md
docs/MultiChannelApi.md
docs/MultiChannelChannelListObject.md
docs/MultiChannelChannelListObjectContent.md
docs/MultiChannelChannelListMMSObject.md
docs/MultiChannelChannelListMMSResponseObject.md
docs/MultiChannelChannelListObjectBase.md
docs/MultiChannelChannelListOwnerObject.md
docs/MultiChannelChannelListRBMObject.md
docs/MultiChannelChannelListRBMObjectAllOfContent.md
docs/MultiChannelChannelListRBMResponseObject.md
docs/MultiChannelChannelListRequestObject.md
docs/MultiChannelChannelListResponseObject.md
docs/MultiChannelChannelListSMSObject.md
docs/MultiChannelChannelListSMSResponseObject.md
docs/MultiChannelError.md
docs/MultiChannelMessageChannelEnum.md
docs/MultiChannelMessageContent.md
docs/MultiChannelMessageRequest.md
docs/MultiChannelMessageResponseData.md
docs/MultiChannelMessageResponseDataChannelListInner.md
docs/OptInWorkflow.md
docs/PageInfo.md
docs/PhoneNumberLookupApi.md
Expand Down Expand Up @@ -287,13 +295,21 @@ models/mms-message-content.ts
models/model-error.ts
models/multi-channel-action-calendar-event.ts
models/multi-channel-action.ts
models/multi-channel-channel-list-object-content.ts
models/multi-channel-channel-list-object.ts
models/multi-channel-channel-list-mmsobject.ts
models/multi-channel-channel-list-mmsresponse-object.ts
models/multi-channel-channel-list-object-base.ts
models/multi-channel-channel-list-owner-object.ts
models/multi-channel-channel-list-rbmobject-all-of-content.ts
models/multi-channel-channel-list-rbmobject.ts
models/multi-channel-channel-list-rbmresponse-object.ts
models/multi-channel-channel-list-request-object.ts
models/multi-channel-channel-list-response-object.ts
models/multi-channel-channel-list-smsobject.ts
models/multi-channel-channel-list-smsresponse-object.ts
models/multi-channel-error.ts
models/multi-channel-message-channel-enum.ts
models/multi-channel-message-content.ts
models/multi-channel-message-request.ts
models/multi-channel-message-response-data-channel-list-inner.ts
models/multi-channel-message-response-data.ts
models/opt-in-workflow.ts
models/page-info.ts
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,22 @@ Class | Method | HTTP request | Description
- [ModelError](docs/ModelError.md)
- [MultiChannelAction](docs/MultiChannelAction.md)
- [MultiChannelActionCalendarEvent](docs/MultiChannelActionCalendarEvent.md)
- [MultiChannelChannelListObject](docs/MultiChannelChannelListObject.md)
- [MultiChannelChannelListObjectContent](docs/MultiChannelChannelListObjectContent.md)
- [MultiChannelChannelListMMSObject](docs/MultiChannelChannelListMMSObject.md)
- [MultiChannelChannelListMMSResponseObject](docs/MultiChannelChannelListMMSResponseObject.md)
- [MultiChannelChannelListObjectBase](docs/MultiChannelChannelListObjectBase.md)
- [MultiChannelChannelListOwnerObject](docs/MultiChannelChannelListOwnerObject.md)
- [MultiChannelChannelListRBMObject](docs/MultiChannelChannelListRBMObject.md)
- [MultiChannelChannelListRBMObjectAllOfContent](docs/MultiChannelChannelListRBMObjectAllOfContent.md)
- [MultiChannelChannelListRBMResponseObject](docs/MultiChannelChannelListRBMResponseObject.md)
- [MultiChannelChannelListRequestObject](docs/MultiChannelChannelListRequestObject.md)
- [MultiChannelChannelListResponseObject](docs/MultiChannelChannelListResponseObject.md)
- [MultiChannelChannelListSMSObject](docs/MultiChannelChannelListSMSObject.md)
- [MultiChannelChannelListSMSResponseObject](docs/MultiChannelChannelListSMSResponseObject.md)
- [MultiChannelError](docs/MultiChannelError.md)
- [MultiChannelMessageChannelEnum](docs/MultiChannelMessageChannelEnum.md)
- [MultiChannelMessageContent](docs/MultiChannelMessageContent.md)
- [MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
- [MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
- [MultiChannelMessageResponseDataChannelListInner](docs/MultiChannelMessageResponseDataChannelListInner.md)
- [OptInWorkflow](docs/OptInWorkflow.md)
- [PageInfo](docs/PageInfo.md)
- [PriorityEnum](docs/PriorityEnum.md)
Expand Down
100 changes: 78 additions & 22 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,7 @@ components:
$ref: '#/components/schemas/multiChannelAction'
maxItems: 11
multiChannelAction:
oneOf:
anyOf:
- $ref: '#/components/schemas/rbmActionBase'
- $ref: '#/components/schemas/rbmActionDial'
- $ref: '#/components/schemas/rbmActionViewLocation'
Expand All @@ -2505,7 +2505,7 @@ components:
CREATE_CALENDAR_EVENT: '#/components/schemas/multiChannelActionCalendarEvent'
OPEN_URL: '#/components/schemas/rbmActionOpenUrl'
REQUEST_LOCATION: '#/components/schemas/rbmActionBase'
multiChannelChannelListObject:
multiChannelChannelListObjectBase:
type: object
properties:
from:
Expand All @@ -2514,19 +2514,85 @@ components:
$ref: '#/components/schemas/applicationId'
channel:
$ref: '#/components/schemas/multiChannelMessageChannelEnum'
content:
description: The content of the message.
oneOf:
- $ref: '#/components/schemas/rbmMessageContentText'
- $ref: '#/components/schemas/rbmMessageMedia'
- $ref: '#/components/schemas/rbmMessageContentRichCard'
- $ref: '#/components/schemas/smsMessageContent'
- $ref: '#/components/schemas/mmsMessageContent'
required:
- from
- applicationId
- channel
multiChannelChannelListRBMObject:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListObjectBase'
- type: object
properties:
content:
description: The content of the message.
oneOf:
- $ref: '#/components/schemas/rbmMessageContentText'
- $ref: '#/components/schemas/rbmMessageMedia'
- $ref: '#/components/schemas/rbmMessageContentRichCard'
required:
- content
multiChannelChannelListSMSObject:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListObjectBase'
- type: object
properties:
content:
$ref: '#/components/schemas/smsMessageContent'
required:
- content
multiChannelChannelListMMSObject:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListObjectBase'
- type: object
properties:
content:
$ref: '#/components/schemas/mmsMessageContent'
required:
- content
multiChannelChannelListRBMResponseObject:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListRBMObject'
- $ref: '#/components/schemas/multiChannelChannelListOwnerObject'
multiChannelChannelListSMSResponseObject:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListSMSObject'
- $ref: '#/components/schemas/multiChannelChannelListOwnerObject'
multiChannelChannelListMMSResponseObject:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListMMSObject'
- $ref: '#/components/schemas/multiChannelChannelListOwnerObject'
multiChannelChannelListRequestObject:
anyOf:
- $ref: '#/components/schemas/multiChannelChannelListRBMObject'
- $ref: '#/components/schemas/multiChannelChannelListSMSObject'
- $ref: '#/components/schemas/multiChannelChannelListMMSObject'
discriminator:
propertyName: channel
mapping:
RBM: '#/components/schemas/multiChannelChannelListRBMObject'
SMS: '#/components/schemas/multiChannelChannelListSMSObject'
MMS: '#/components/schemas/multiChannelChannelListMMSObject'
multiChannelChannelListOwnerObject:
type: object
properties:
owner:
type: string
description: >-
The Bandwidth senderId associated with the message. Identical to
'from'.
required:
- owner
multiChannelChannelListResponseObject:
anyOf:
- $ref: '#/components/schemas/multiChannelChannelListRBMResponseObject'
- $ref: '#/components/schemas/multiChannelChannelListSMSResponseObject'
- $ref: '#/components/schemas/multiChannelChannelListMMSResponseObject'
discriminator:
propertyName: channel
mapping:
RBM: '#/components/schemas/multiChannelChannelListRBMResponseObject'
SMS: '#/components/schemas/multiChannelChannelListSMSResponseObject'
MMS: '#/components/schemas/multiChannelChannelListMMSResponseObject'
multiChannelMessageRequest:
description: Multi-Channel Message Request
type: object
Expand All @@ -2540,7 +2606,7 @@ components:
order they are listed. Once a message sends successfully, the others
will be ignored.
items:
$ref: '#/components/schemas/multiChannelChannelListObject'
$ref: '#/components/schemas/multiChannelChannelListRequestObject'
maxItems: 4
tag:
$ref: '#/components/schemas/tag'
Expand Down Expand Up @@ -2573,17 +2639,7 @@ components:
order they are listed. Once a message sends successfully, the others
will be ignored.
items:
allOf:
- $ref: '#/components/schemas/multiChannelChannelListObject'
- type: object
properties:
owner:
type: string
description: >-
The Bandwidth senderId associated with the message.
Identical to 'from'.
required:
- owner
$ref: '#/components/schemas/multiChannelChannelListResponseObject'
maxItems: 4
tag:
$ref: '#/components/schemas/tag'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MultiChannelChannelListObject
# MultiChannelChannelListMMSObject


## Properties
Expand All @@ -8,14 +8,14 @@ Name | Type | Description | Notes
**from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
**applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
**channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
**content** | [**MultiChannelChannelListObjectContent**](MultiChannelChannelListObjectContent.md) | | [default to undefined]
**content** | [**MmsMessageContent**](MmsMessageContent.md) | | [default to undefined]

## Example

```typescript
import { MultiChannelChannelListObject } from 'bandwidth-sdk';
import { MultiChannelChannelListMMSObject } from 'bandwidth-sdk';

const instance: MultiChannelChannelListObject = {
const instance: MultiChannelChannelListMMSObject = {
from,
applicationId,
channel,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MultiChannelMessageResponseDataChannelListInner
# MultiChannelChannelListMMSResponseObject


## Properties
Expand All @@ -8,15 +8,15 @@ Name | Type | Description | Notes
**from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
**applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
**channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
**content** | [**MultiChannelChannelListObjectContent**](MultiChannelChannelListObjectContent.md) | | [default to undefined]
**content** | [**MmsMessageContent**](MmsMessageContent.md) | | [default to undefined]
**owner** | **string** | The Bandwidth senderId associated with the message. Identical to \'from\'. | [default to undefined]

## Example

```typescript
import { MultiChannelMessageResponseDataChannelListInner } from 'bandwidth-sdk';
import { MultiChannelChannelListMMSResponseObject } from 'bandwidth-sdk';

const instance: MultiChannelMessageResponseDataChannelListInner = {
const instance: MultiChannelChannelListMMSResponseObject = {
from,
applicationId,
channel,
Expand Down
24 changes: 24 additions & 0 deletions docs/MultiChannelChannelListObjectBase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# MultiChannelChannelListObjectBase


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
**applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
**channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]

## Example

```typescript
import { MultiChannelChannelListObjectBase } from 'bandwidth-sdk';

const instance: MultiChannelChannelListObjectBase = {
from,
applicationId,
channel,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
20 changes: 20 additions & 0 deletions docs/MultiChannelChannelListOwnerObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# MultiChannelChannelListOwnerObject


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**owner** | **string** | The Bandwidth senderId associated with the message. Identical to \'from\'. | [default to undefined]

## Example

```typescript
import { MultiChannelChannelListOwnerObject } from 'bandwidth-sdk';

const instance: MultiChannelChannelListOwnerObject = {
owner,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
26 changes: 26 additions & 0 deletions docs/MultiChannelChannelListRBMObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# MultiChannelChannelListRBMObject


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
**applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
**channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
**content** | [**MultiChannelChannelListRBMObjectAllOfContent**](MultiChannelChannelListRBMObjectAllOfContent.md) | | [default to undefined]

## Example

```typescript
import { MultiChannelChannelListRBMObject } from 'bandwidth-sdk';

const instance: MultiChannelChannelListRBMObject = {
from,
applicationId,
channel,
content,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# MultiChannelChannelListObjectContent
# MultiChannelChannelListRBMObjectAllOfContent

The content of the message.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**text** | **string** | The contents of the text message. Must be 2048 characters or less. | [default to undefined]
**text** | **string** | The text associated with the message. Must be 3270 characters or less | [default to undefined]
**suggestions** | [**Array<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional] [default to undefined]
**media** | [**Array<MmsMessageContentFile>**](MmsMessageContentFile.md) | | [default to undefined]
**media** | [**RbmMessageContentFile**](RbmMessageContentFile.md) | | [default to undefined]
**orientation** | [**StandaloneCardOrientationEnum**](StandaloneCardOrientationEnum.md) | | [default to undefined]
**thumbnailImageAlignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | [default to undefined]
**cardContent** | [**RbmCardContent**](RbmCardContent.md) | | [default to undefined]
Expand All @@ -18,9 +18,9 @@ Name | Type | Description | Notes
## Example

```typescript
import { MultiChannelChannelListObjectContent } from 'bandwidth-sdk';
import { MultiChannelChannelListRBMObjectAllOfContent } from 'bandwidth-sdk';

const instance: MultiChannelChannelListObjectContent = {
const instance: MultiChannelChannelListRBMObjectAllOfContent = {
text,
suggestions,
media,
Expand Down
28 changes: 28 additions & 0 deletions docs/MultiChannelChannelListRBMResponseObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# MultiChannelChannelListRBMResponseObject


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
**applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
**channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
**content** | [**MultiChannelChannelListRBMObjectAllOfContent**](MultiChannelChannelListRBMObjectAllOfContent.md) | | [default to undefined]
**owner** | **string** | The Bandwidth senderId associated with the message. Identical to \'from\'. | [default to undefined]

## Example

```typescript
import { MultiChannelChannelListRBMResponseObject } from 'bandwidth-sdk';

const instance: MultiChannelChannelListRBMResponseObject = {
from,
applicationId,
channel,
content,
owner,
};
```

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