From 9e0362d0bdb732f879849d2663f831739e22d209 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 28 Jul 2026 14:52:05 +0000 Subject: [PATCH] Generate SDK with OpenAPI Generator Version --- bandwidth.yml | 136 ++++++++++++++++++----------- bandwidth/api/media_api.py | 48 +++++----- bandwidth/api/messages_api.py | 24 ++--- bandwidth/api/multi_channel_api.py | 12 +-- docs/MediaApi.md | 16 ++-- docs/MessagesApi.md | 8 +- docs/MultiChannelApi.md | 4 +- 7 files changed, 143 insertions(+), 105 deletions(-) diff --git a/bandwidth.yml b/bandwidth.yml index 305a40b7..8764a422 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -317,7 +317,7 @@ paths: approximately in order, but exact ordering is not guaranteed. operationId: createCall parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' requestBody: $ref: '#/components/requestBodies/createCallRequest' responses: @@ -358,7 +358,7 @@ paths: days, you will get an empty array [] in response. operationId: listCalls parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/to' - $ref: '#/components/parameters/from' - $ref: '#/components/parameters/minStartTimeCalls' @@ -404,7 +404,7 @@ paths: 7 days, you will get an HTTP 404 response. operationId: getCallState parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' responses: '200': @@ -434,7 +434,7 @@ paths: BXML document. operationId: updateCall parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' requestBody: $ref: '#/components/requestBodies/updateCallRequest' @@ -468,7 +468,7 @@ paths: description: Interrupts and replaces an active call's BXML document. operationId: updateCallBxml parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' requestBody: $ref: '#/components/requestBodies/updateCallBxmlRequest' @@ -510,7 +510,7 @@ paths: of conference records. operationId: listConferences parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/name' - $ref: '#/components/parameters/minCreatedTime' - $ref: '#/components/parameters/maxCreatedTime' @@ -544,7 +544,7 @@ paths: description: Returns information about the specified conference. operationId: getConference parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' responses: '200': @@ -572,7 +572,7 @@ paths: description: Update the conference state. operationId: updateConference parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' requestBody: $ref: '#/components/requestBodies/updateConferenceRequest' @@ -604,7 +604,7 @@ paths: description: Update the conference BXML document. operationId: updateConferenceBxml parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' requestBody: $ref: '#/components/requestBodies/updateConferenceBxmlRequest' @@ -636,7 +636,7 @@ paths: description: Returns information about the specified conference member. operationId: getConferenceMember parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' - $ref: '#/components/parameters/memberId' responses: @@ -665,7 +665,7 @@ paths: description: Updates settings for a particular conference member. operationId: updateConferenceMember parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' - $ref: '#/components/parameters/memberId' requestBody: @@ -700,7 +700,7 @@ paths: took place during the specified conference. operationId: listConferenceRecordings parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' responses: '200': @@ -730,7 +730,7 @@ paths: description: Returns metadata for the specified recording. operationId: getConferenceRecording parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' - $ref: '#/components/parameters/recordingId' responses: @@ -761,7 +761,7 @@ paths: description: Downloads the specified recording file. operationId: downloadConferenceRecording parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/conferenceId' - $ref: '#/components/parameters/recordingId' responses: @@ -801,7 +801,7 @@ paths: empty if no recordings match the specified criteria. operationId: listAccountCallRecordings parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/to' - $ref: '#/components/parameters/from' - $ref: '#/components/parameters/minStartTime' @@ -834,7 +834,7 @@ paths: description: Pause or resume a recording on an active phone call. operationId: updateCallRecordingState parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' requestBody: $ref: '#/components/requestBodies/updateCallRecordingRequest' @@ -868,7 +868,7 @@ paths: that took place during the specified call. operationId: listCallRecordings parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' responses: '200': @@ -898,7 +898,7 @@ paths: description: Returns metadata for the specified recording. operationId: getCallRecording parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' responses: @@ -935,7 +935,7 @@ paths: irreversible, can take an additional 24 to 48 hours. operationId: deleteRecording parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' responses: @@ -966,7 +966,7 @@ paths: description: Downloads the specified recording. operationId: downloadCallRecording parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' responses: @@ -995,7 +995,7 @@ paths: description: Deletes the specified recording's media. operationId: deleteRecordingMedia parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' responses: @@ -1038,7 +1038,7 @@ paths: item. operationId: getRecordingTranscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' responses: @@ -1073,7 +1073,7 @@ paths: less than 4 hours. operationId: transcribeCallRecording parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' requestBody: @@ -1111,7 +1111,7 @@ paths: can take an additional 24 to 48 hours. operationId: deleteRecordingTranscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/recordingId' responses: @@ -1142,7 +1142,7 @@ paths: description: Returns details about the current state of the account. operationId: getStatistics parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' responses: '200': $ref: '#/components/responses/getStatisticsResponse' @@ -1173,7 +1173,7 @@ paths: [startTranscription](/docs/voice/bxml/startTranscription). operationId: listRealTimeTranscriptions parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' responses: '200': @@ -1205,7 +1205,7 @@ paths: [startTranscription](/docs/voice/bxml/startTranscription). operationId: getRealTimeTranscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/transcriptionId' responses: @@ -1242,7 +1242,7 @@ paths: can take an additional 24 to 48 hours. operationId: deleteRealTimeTranscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId1' - $ref: '#/components/parameters/callId' - $ref: '#/components/parameters/transcriptionId' responses: @@ -1273,7 +1273,7 @@ paths: description: Send an MFA Code via a phone call. operationId: generateVoiceCode parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId2' requestBody: $ref: '#/components/requestBodies/codeRequest' responses: @@ -1298,7 +1298,7 @@ paths: description: Send an MFA code via text message (SMS). operationId: generateMessagingCode parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId2' requestBody: $ref: '#/components/requestBodies/codeRequest' responses: @@ -1321,7 +1321,7 @@ paths: description: Verify a previously sent MFA code. operationId: verifyCode parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId2' requestBody: $ref: '#/components/requestBodies/codeVerify' responses: @@ -1348,7 +1348,7 @@ paths: tags: - Phone Number Lookup parameters: - - $ref: '#/components/parameters/accountId1' + - $ref: '#/components/parameters/accountId3' requestBody: $ref: '#/components/requestBodies/createSyncLookupRequest' responses: @@ -1371,7 +1371,7 @@ paths: tags: - Phone Number Lookup parameters: - - $ref: '#/components/parameters/accountId1' + - $ref: '#/components/parameters/accountId3' requestBody: $ref: '#/components/requestBodies/createAsyncBulkLookupRequest' responses: @@ -1391,7 +1391,7 @@ paths: tags: - Phone Number Lookup parameters: - - $ref: '#/components/parameters/accountId1' + - $ref: '#/components/parameters/accountId3' - $ref: '#/components/parameters/requestId' responses: '200': @@ -1407,7 +1407,7 @@ paths: description: Submit a request for verification of a toll-free phone number. operationId: requestTollFreeVerification parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' requestBody: $ref: '#/components/requestBodies/requestTollFreeVerificationRequest' responses: @@ -1446,7 +1446,7 @@ paths: available. operationId: getTollFreeVerificationStatus parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' - $ref: '#/components/parameters/tfPhoneNumberPathParam' responses: '200': @@ -1479,7 +1479,7 @@ paths: true). operationId: updateTollFreeVerificationRequest parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' - $ref: '#/components/parameters/tfPhoneNumberPathParam' requestBody: $ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest' @@ -1507,7 +1507,7 @@ paths: description: Delete a toll-free verification submission for a toll-free number. operationId: deleteVerificationRequest parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' - $ref: '#/components/parameters/tfPhoneNumberPathParam' responses: '204': @@ -1546,7 +1546,7 @@ paths: object will be null). operationId: listWebhookSubscriptions parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' responses: '200': $ref: '#/components/responses/listWebhookSubscriptionsResponse' @@ -1579,7 +1579,7 @@ paths: modify or delete the subscription at a later time. operationId: createWebhookSubscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' requestBody: $ref: '#/components/requestBodies/webhookSubscriptionRequest' responses: @@ -1610,7 +1610,7 @@ paths: description: Delete a webhook subscription by ID. operationId: deleteWebhookSubscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' - $ref: '#/components/parameters/webhookSubscriptionIdPathParam' responses: '204': @@ -1640,7 +1640,7 @@ paths: `basicAuthentication` can be updated). operationId: updateWebhookSubscription parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId4' - $ref: '#/components/parameters/webhookSubscriptionIdPathParam' requestBody: $ref: '#/components/requestBodies/webhookSubscriptionRequest' @@ -1699,7 +1699,7 @@ paths: description: Returns a list of endpoints associated with the specified account. operationId: listEndpoints parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId5' - $ref: '#/components/parameters/endpointType' - $ref: '#/components/parameters/endpointStatus' - $ref: '#/components/parameters/afterCursor' @@ -1730,7 +1730,7 @@ paths: description: Creates a new Endpoint for the specified account. operationId: createEndpoint parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId5' requestBody: $ref: '#/components/requestBodies/createEndpointRequest' responses: @@ -1766,7 +1766,7 @@ paths: description: Returns information about the specified endpoint. operationId: getEndpoint parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId5' - $ref: '#/components/parameters/endpointId' responses: '200': @@ -1796,7 +1796,7 @@ paths: media, the media stream will be terminated. operationId: deleteEndpoint parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId5' - $ref: '#/components/parameters/endpointId' responses: '204': @@ -1826,7 +1826,7 @@ paths: description: Updates the BXML for the specified endpoint. operationId: updateEndpointBxml parameters: - - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/accountId5' - $ref: '#/components/parameters/endpointId' requestBody: $ref: '#/components/requestBodies/updateEndpointBxmlRequest' @@ -8164,7 +8164,13 @@ components: required: true schema: type: string - description: Your Bandwidth Account ID. + description: > + This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth + App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. + + + **When migrating to OAuth authentication, you must use the 7-digit + Account ID.** example: '9900000' mediaId: in: path @@ -8456,6 +8462,14 @@ components: example: true schema: type: boolean + accountId1: + name: accountId + in: path + required: true + schema: + type: string + description: Your Bandwidth Account ID. + example: '9900000' callId: name: callId in: path @@ -8623,7 +8637,15 @@ components: type: string description: Filter results to calls with specified call Disconnect Cause. example: hangup - accountId1: + accountId2: + in: path + name: accountId + required: true + schema: + type: string + description: Your Bandwidth Account ID. + example: '9900000' + accountId3: in: path name: accountId required: true @@ -8640,6 +8662,14 @@ components: format: uuid description: The phone number lookup request ID from Bandwidth. example: 004223a0-8b17-41b1-bf81-20732adf5590 + accountId4: + in: path + name: accountId + required: true + schema: + type: string + description: Your Bandwidth Account ID. + example: '9900000' tfPhoneNumberPathParam: in: path name: phoneNumber @@ -8656,6 +8686,14 @@ components: type: string description: Webhook subscription ID example: 7bt57JcsVYJrN9K1OcV1Nu + accountId5: + in: path + name: accountId + required: true + schema: + type: string + description: Your Bandwidth Account ID. + example: '9900000' endpointId: name: endpointId in: path diff --git a/bandwidth/api/media_api.py b/bandwidth/api/media_api.py index 741e6b0e..71d4ed5e 100644 --- a/bandwidth/api/media_api.py +++ b/bandwidth/api/media_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call def delete_media( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], _request_timeout: Union[ None, @@ -62,7 +62,7 @@ def delete_media( Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -122,7 +122,7 @@ def delete_media( @validate_call def delete_media_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], _request_timeout: Union[ None, @@ -141,7 +141,7 @@ def delete_media_with_http_info( Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -201,7 +201,7 @@ def delete_media_with_http_info( @validate_call def delete_media_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], _request_timeout: Union[ None, @@ -220,7 +220,7 @@ def delete_media_without_preload_content( Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -347,7 +347,7 @@ def _delete_media_serialize( @validate_call def get_media( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], _request_timeout: Union[ None, @@ -366,7 +366,7 @@ def get_media( Downloads a media file you previously uploaded. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -426,7 +426,7 @@ def get_media( @validate_call def get_media_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], _request_timeout: Union[ None, @@ -445,7 +445,7 @@ def get_media_with_http_info( Downloads a media file you previously uploaded. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -505,7 +505,7 @@ def get_media_with_http_info( @validate_call def get_media_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], _request_timeout: Union[ None, @@ -524,7 +524,7 @@ def get_media_without_preload_content( Downloads a media file you previously uploaded. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -652,7 +652,7 @@ def _get_media_serialize( @validate_call def list_media( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], continuation_token: Annotated[Optional[StrictStr], Field(description="Continuation token used to retrieve subsequent media.")] = None, _request_timeout: Union[ None, @@ -671,7 +671,7 @@ def list_media( Gets a list of your media files. No query parameters are supported. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param continuation_token: Continuation token used to retrieve subsequent media. :type continuation_token: str @@ -731,7 +731,7 @@ def list_media( @validate_call def list_media_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], continuation_token: Annotated[Optional[StrictStr], Field(description="Continuation token used to retrieve subsequent media.")] = None, _request_timeout: Union[ None, @@ -750,7 +750,7 @@ def list_media_with_http_info( Gets a list of your media files. No query parameters are supported. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param continuation_token: Continuation token used to retrieve subsequent media. :type continuation_token: str @@ -810,7 +810,7 @@ def list_media_with_http_info( @validate_call def list_media_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], continuation_token: Annotated[Optional[StrictStr], Field(description="Continuation token used to retrieve subsequent media.")] = None, _request_timeout: Union[ None, @@ -829,7 +829,7 @@ def list_media_without_preload_content( Gets a list of your media files. No query parameters are supported. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param continuation_token: Continuation token used to retrieve subsequent media. :type continuation_token: str @@ -956,7 +956,7 @@ def _list_media_serialize( @validate_call def upload_media( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], body: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], content_type: Annotated[Optional[StrictStr], Field(description="The media type of the entity-body.")] = None, @@ -978,7 +978,7 @@ def upload_media( Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -1047,7 +1047,7 @@ def upload_media( @validate_call def upload_media_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], body: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], content_type: Annotated[Optional[StrictStr], Field(description="The media type of the entity-body.")] = None, @@ -1069,7 +1069,7 @@ def upload_media_with_http_info( Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str @@ -1138,7 +1138,7 @@ def upload_media_with_http_info( @validate_call def upload_media_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")], body: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], content_type: Annotated[Optional[StrictStr], Field(description="The media type of the entity-body.")] = None, @@ -1160,7 +1160,7 @@ def upload_media_without_preload_content( Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param media_id: Media ID to retrieve. (required) :type media_id: str diff --git a/bandwidth/api/messages_api.py b/bandwidth/api/messages_api.py index 9520798d..46e136f5 100644 --- a/bandwidth/api/messages_api.py +++ b/bandwidth/api/messages_api.py @@ -49,7 +49,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_message( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], message_request: MessageRequest, _request_timeout: Union[ None, @@ -68,7 +68,7 @@ def create_message( Endpoint for sending text messages and picture messages using V2 messaging. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param message_request: (required) :type message_request: MessageRequest @@ -129,7 +129,7 @@ def create_message( @validate_call def create_message_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], message_request: MessageRequest, _request_timeout: Union[ None, @@ -148,7 +148,7 @@ def create_message_with_http_info( Endpoint for sending text messages and picture messages using V2 messaging. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param message_request: (required) :type message_request: MessageRequest @@ -209,7 +209,7 @@ def create_message_with_http_info( @validate_call def create_message_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], message_request: MessageRequest, _request_timeout: Union[ None, @@ -228,7 +228,7 @@ def create_message_without_preload_content( Endpoint for sending text messages and picture messages using V2 messaging. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param message_request: (required) :type message_request: MessageRequest @@ -369,7 +369,7 @@ def _create_message_serialize( @validate_call def list_messages( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], message_id: Annotated[Optional[StrictStr], Field(description="The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.")] = None, source_tn: Annotated[Optional[StrictStr], Field(description="The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').")] = None, destination_tn: Annotated[Optional[StrictStr], Field(description="The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').")] = None, @@ -414,7 +414,7 @@ def list_messages( Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param message_id: The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. :type message_id: str @@ -552,7 +552,7 @@ def list_messages( @validate_call def list_messages_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], message_id: Annotated[Optional[StrictStr], Field(description="The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.")] = None, source_tn: Annotated[Optional[StrictStr], Field(description="The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').")] = None, destination_tn: Annotated[Optional[StrictStr], Field(description="The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').")] = None, @@ -597,7 +597,7 @@ def list_messages_with_http_info( Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param message_id: The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. :type message_id: str @@ -735,7 +735,7 @@ def list_messages_with_http_info( @validate_call def list_messages_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], message_id: Annotated[Optional[StrictStr], Field(description="The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.")] = None, source_tn: Annotated[Optional[StrictStr], Field(description="The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').")] = None, destination_tn: Annotated[Optional[StrictStr], Field(description="The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').")] = None, @@ -780,7 +780,7 @@ def list_messages_without_preload_content( Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param message_id: The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. :type message_id: str diff --git a/bandwidth/api/multi_channel_api.py b/bandwidth/api/multi_channel_api.py index 7f929796..e6501bdb 100644 --- a/bandwidth/api/multi_channel_api.py +++ b/bandwidth/api/multi_channel_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_multi_channel_message( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], multi_channel_message_request: MultiChannelMessageRequest, _request_timeout: Union[ None, @@ -62,7 +62,7 @@ def create_multi_channel_message( Endpoint for sending Multi-Channel messages. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param multi_channel_message_request: (required) :type multi_channel_message_request: MultiChannelMessageRequest @@ -123,7 +123,7 @@ def create_multi_channel_message( @validate_call def create_multi_channel_message_with_http_info( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], multi_channel_message_request: MultiChannelMessageRequest, _request_timeout: Union[ None, @@ -142,7 +142,7 @@ def create_multi_channel_message_with_http_info( Endpoint for sending Multi-Channel messages. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param multi_channel_message_request: (required) :type multi_channel_message_request: MultiChannelMessageRequest @@ -203,7 +203,7 @@ def create_multi_channel_message_with_http_info( @validate_call def create_multi_channel_message_without_preload_content( self, - account_id: Annotated[StrictStr, Field(description="Your Bandwidth Account ID.")], + account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")], multi_channel_message_request: MultiChannelMessageRequest, _request_timeout: Union[ None, @@ -222,7 +222,7 @@ def create_multi_channel_message_without_preload_content( Endpoint for sending Multi-Channel messages. - :param account_id: Your Bandwidth Account ID. (required) + :param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required) :type account_id: str :param multi_channel_message_request: (required) :type multi_channel_message_request: MultiChannelMessageRequest diff --git a/docs/MediaApi.md b/docs/MediaApi.md index dc081323..851f5d49 100644 --- a/docs/MediaApi.md +++ b/docs/MediaApi.md @@ -58,7 +58,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MediaApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** media_id = '14762070468292kw2fuqty55yp2b2/0/bw.png' # str | Media ID to retrieve. try: @@ -75,7 +75,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **media_id** | **str**| Media ID to retrieve. | ### Return type @@ -151,7 +151,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MediaApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** media_id = '14762070468292kw2fuqty55yp2b2/0/bw.png' # str | Media ID to retrieve. try: @@ -170,7 +170,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **media_id** | **str**| Media ID to retrieve. | ### Return type @@ -247,7 +247,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MediaApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** continuation_token = '1XEi2tsFtLo1JbtLwETnM1ZJ+PqAa8w6ENvC5QKvwyrCDYII663Gy5M4s40owR1tjkuWUif6qbWvFtQJR5/ipqbUnfAqL254LKNlPy6tATCzioKSuHuOqgzloDkSwRtX0LtcL2otHS69hK343m+SjdL+vlj71tT39' # str | Continuation token used to retrieve subsequent media. (optional) try: @@ -266,7 +266,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **continuation_token** | **str**| Continuation token used to retrieve subsequent media. | [optional] ### Return type @@ -346,7 +346,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MediaApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** media_id = '14762070468292kw2fuqty55yp2b2/0/bw.png' # str | Media ID to retrieve. body = None # bytearray | content_type = 'audio/wav' # str | The media type of the entity-body. (optional) @@ -366,7 +366,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **media_id** | **str**| Media ID to retrieve. | **body** | **bytearray**| | **content_type** | **str**| The media type of the entity-body. | [optional] diff --git a/docs/MessagesApi.md b/docs/MessagesApi.md index 041285a6..46b296a4 100644 --- a/docs/MessagesApi.md +++ b/docs/MessagesApi.md @@ -54,7 +54,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MessagesApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** message_request = bandwidth.MessageRequest() # MessageRequest | try: @@ -73,7 +73,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **message_request** | [**MessageRequest**](MessageRequest.md)| | ### Return type @@ -158,7 +158,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MessagesApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** message_id = '9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6' # str | The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. (optional) source_tn = '%2B15554443333' # str | The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional) destination_tn = '%2B15554443333' # str | The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional) @@ -203,7 +203,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **message_id** | **str**| The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. | [optional] **source_tn** | **str**| The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). | [optional] **destination_tn** | **str**| The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). | [optional] diff --git a/docs/MultiChannelApi.md b/docs/MultiChannelApi.md index 646239e5..8300d26c 100644 --- a/docs/MultiChannelApi.md +++ b/docs/MultiChannelApi.md @@ -53,7 +53,7 @@ configuration = bandwidth.Configuration( with bandwidth.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = bandwidth.MultiChannelApi(api_client) - account_id = '9900000' # str | Your Bandwidth Account ID. + account_id = '9900000' # str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** multi_channel_message_request = bandwidth.MultiChannelMessageRequest() # MultiChannelMessageRequest | try: @@ -72,7 +72,7 @@ with bandwidth.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| Your Bandwidth Account ID. | + **account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | **multi_channel_message_request** | [**MultiChannelMessageRequest**](MultiChannelMessageRequest.md)| | ### Return type