@@ -2490,7 +2490,7 @@ components:
24902490 $ref : ' #/components/schemas/multiChannelAction'
24912491 maxItems : 11
24922492 multiChannelAction :
2493- oneOf :
2493+ anyOf :
24942494 - $ref : ' #/components/schemas/rbmActionBase'
24952495 - $ref : ' #/components/schemas/rbmActionDial'
24962496 - $ref : ' #/components/schemas/rbmActionViewLocation'
@@ -2505,7 +2505,7 @@ components:
25052505 CREATE_CALENDAR_EVENT : ' #/components/schemas/multiChannelActionCalendarEvent'
25062506 OPEN_URL : ' #/components/schemas/rbmActionOpenUrl'
25072507 REQUEST_LOCATION : ' #/components/schemas/rbmActionBase'
2508- multiChannelChannelListObject :
2508+ multiChannelChannelListObjectBase :
25092509 type : object
25102510 properties :
25112511 from :
@@ -2514,19 +2514,85 @@ components:
25142514 $ref : ' #/components/schemas/applicationId'
25152515 channel :
25162516 $ref : ' #/components/schemas/multiChannelMessageChannelEnum'
2517- content :
2518- description : The content of the message.
2519- oneOf :
2520- - $ref : ' #/components/schemas/rbmMessageContentText'
2521- - $ref : ' #/components/schemas/rbmMessageMedia'
2522- - $ref : ' #/components/schemas/rbmMessageContentRichCard'
2523- - $ref : ' #/components/schemas/smsMessageContent'
2524- - $ref : ' #/components/schemas/mmsMessageContent'
25252517 required :
25262518 - from
25272519 - applicationId
25282520 - channel
2521+ multiChannelChannelListRBMObject :
2522+ allOf :
2523+ - $ref : ' #/components/schemas/multiChannelChannelListObjectBase'
2524+ - type : object
2525+ properties :
2526+ content :
2527+ description : The content of the message.
2528+ oneOf :
2529+ - $ref : ' #/components/schemas/rbmMessageContentText'
2530+ - $ref : ' #/components/schemas/rbmMessageMedia'
2531+ - $ref : ' #/components/schemas/rbmMessageContentRichCard'
2532+ required :
25292533 - content
2534+ multiChannelChannelListSMSObject :
2535+ allOf :
2536+ - $ref : ' #/components/schemas/multiChannelChannelListObjectBase'
2537+ - type : object
2538+ properties :
2539+ content :
2540+ $ref : ' #/components/schemas/smsMessageContent'
2541+ required :
2542+ - content
2543+ multiChannelChannelListMMSObject :
2544+ allOf :
2545+ - $ref : ' #/components/schemas/multiChannelChannelListObjectBase'
2546+ - type : object
2547+ properties :
2548+ content :
2549+ $ref : ' #/components/schemas/mmsMessageContent'
2550+ required :
2551+ - content
2552+ multiChannelChannelListRBMResponseObject :
2553+ allOf :
2554+ - $ref : ' #/components/schemas/multiChannelChannelListRBMObject'
2555+ - $ref : ' #/components/schemas/multiChannelChannelListOwnerObject'
2556+ multiChannelChannelListSMSResponseObject :
2557+ allOf :
2558+ - $ref : ' #/components/schemas/multiChannelChannelListSMSObject'
2559+ - $ref : ' #/components/schemas/multiChannelChannelListOwnerObject'
2560+ multiChannelChannelListMMSResponseObject :
2561+ allOf :
2562+ - $ref : ' #/components/schemas/multiChannelChannelListMMSObject'
2563+ - $ref : ' #/components/schemas/multiChannelChannelListOwnerObject'
2564+ multiChannelChannelListRequestObject :
2565+ anyOf :
2566+ - $ref : ' #/components/schemas/multiChannelChannelListRBMObject'
2567+ - $ref : ' #/components/schemas/multiChannelChannelListSMSObject'
2568+ - $ref : ' #/components/schemas/multiChannelChannelListMMSObject'
2569+ discriminator :
2570+ propertyName : channel
2571+ mapping :
2572+ RBM : ' #/components/schemas/multiChannelChannelListRBMObject'
2573+ SMS : ' #/components/schemas/multiChannelChannelListSMSObject'
2574+ MMS : ' #/components/schemas/multiChannelChannelListMMSObject'
2575+ multiChannelChannelListOwnerObject :
2576+ type : object
2577+ properties :
2578+ owner :
2579+ type : string
2580+ description : >-
2581+ The Bandwidth senderId associated with the message. Identical to
2582+ 'from'.
2583+ required :
2584+ - owner
2585+ multiChannelChannelListResponseObject :
2586+ anyOf :
2587+ - $ref : ' #/components/schemas/multiChannelChannelListRBMResponseObject'
2588+ - $ref : ' #/components/schemas/multiChannelChannelListSMSResponseObject'
2589+ - $ref : ' #/components/schemas/multiChannelChannelListMMSResponseObject'
2590+ discriminator :
2591+ propertyName : channel
2592+ mapping :
2593+ RBM : ' #/components/schemas/multiChannelChannelListRBMResponseObject'
2594+ SMS : ' #/components/schemas/multiChannelChannelListSMSResponseObject'
2595+ MMS : ' #/components/schemas/multiChannelChannelListMMSResponseObject'
25302596 multiChannelMessageRequest :
25312597 description : Multi-Channel Message Request
25322598 type : object
@@ -2540,7 +2606,7 @@ components:
25402606 order they are listed. Once a message sends successfully, the others
25412607 will be ignored.
25422608 items :
2543- $ref : ' #/components/schemas/multiChannelChannelListObject '
2609+ $ref : ' #/components/schemas/multiChannelChannelListRequestObject '
25442610 maxItems : 4
25452611 tag :
25462612 $ref : ' #/components/schemas/tag'
@@ -2573,17 +2639,7 @@ components:
25732639 order they are listed. Once a message sends successfully, the others
25742640 will be ignored.
25752641 items :
2576- allOf :
2577- - $ref : ' #/components/schemas/multiChannelChannelListObject'
2578- - type : object
2579- properties :
2580- owner :
2581- type : string
2582- description : >-
2583- The Bandwidth senderId associated with the message.
2584- Identical to 'from'.
2585- required :
2586- - owner
2642+ $ref : ' #/components/schemas/multiChannelChannelListResponseObject'
25872643 maxItems : 4
25882644 tag :
25892645 $ref : ' #/components/schemas/tag'
0 commit comments