diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index a2bc4658..e5365562 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -35,10 +35,10 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Set up Apache Maven Central
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: 21
diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml
index 763a5cf0..7ff8da6b 100644
--- a/.github/workflows/test-pr.yml
+++ b/.github/workflows/test-pr.yml
@@ -41,10 +41,10 @@ jobs:
fail-fast: false
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Set up JDK
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java-version }}
diff --git a/.github/workflows/test-smoke.yml b/.github/workflows/test-smoke.yml
index 0b59d685..06695c81 100644
--- a/.github/workflows/test-smoke.yml
+++ b/.github/workflows/test-smoke.yml
@@ -70,10 +70,10 @@ jobs:
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_UP_APPLICATION_ID }}
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Set up JDK
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 21
diff --git a/.gitignore b/.gitignore
index 3ef06f40..c505dc80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,4 +22,4 @@ build
.DS_Store
.idea
-.settings
+.settings/
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index a1c64a70..9bed5aad 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -7,6 +7,7 @@ docs/AccountStatistics.md
docs/AdditionalDenialReason.md
docs/Address.md
docs/AnswerCallback.md
+docs/AsyncLookupRequest.md
docs/BlockedWebhook.md
docs/BridgeCompleteCallback.md
docs/BridgeTargetCompleteCallback.md
@@ -26,6 +27,7 @@ docs/CallbackMethodEnum.md
docs/CallsApi.md
docs/CardWidthEnum.md
docs/CodeRequest.md
+docs/CompletedLookupStatusEnum.md
docs/Conference.md
docs/ConferenceCompletedCallback.md
docs/ConferenceCreatedCallback.md
@@ -38,11 +40,15 @@ docs/ConferenceRedirectCallback.md
docs/ConferenceStateEnum.md
docs/ConferencesApi.md
docs/Contact.md
+docs/CreateAsyncBulkLookupResponse.md
+docs/CreateAsyncBulkLookupResponseData.md
docs/CreateCall.md
docs/CreateCallResponse.md
-docs/CreateLookupResponse.md
docs/CreateMessageRequestError.md
docs/CreateMultiChannelMessageResponse.md
+docs/CreateSyncLookupResponse.md
+docs/CreateSyncLookupResponseData.md
+docs/DeactivationEventEnum.md
docs/DisconnectCallback.md
docs/Diversion.md
docs/DtmfCallback.md
@@ -53,18 +59,24 @@ docs/FailureWebhook.md
docs/FieldError.md
docs/FileFormatEnum.md
docs/GatherCallback.md
+docs/GetAsyncBulkLookupResponse.md
+docs/GetAsyncBulkLookupResponseData.md
+docs/InProgressLookupStatusEnum.md
docs/InboundCallback.md
docs/InboundCallbackMessage.md
docs/InboundCallbackTypeEnum.md
docs/InitiateCallback.md
+docs/LatestMessageDeliveryStatusEnum.md
+docs/LineTypeEnum.md
docs/Link.md
+docs/LinkSchema.md
docs/LinksObject.md
docs/ListMessageDirectionEnum.md
docs/ListMessageItem.md
-docs/LookupRequest.md
+docs/LookupErrorResponse.md
+docs/LookupErrorSchema.md
+docs/LookupErrorSchemaMeta.md
docs/LookupResult.md
-docs/LookupStatus.md
-docs/LookupStatusEnum.md
docs/MachineDetectionCompleteCallback.md
docs/MachineDetectionConfiguration.md
docs/MachineDetectionModeEnum.md
@@ -133,6 +145,7 @@ docs/StatusCallback.md
docs/StatusCallbackMessage.md
docs/StatusCallbackTypeEnum.md
docs/StirShaken.md
+docs/SyncLookupRequest.md
docs/TelephoneNumber.md
docs/TfvBasicAuthentication.md
docs/TfvCallbackStatusEnum.md
@@ -142,7 +155,6 @@ docs/TfvStatusEnum.md
docs/TfvSubmissionInfo.md
docs/TfvSubmissionWrapper.md
docs/ThumbnailAlignmentEnum.md
-docs/TnLookupRequestError.md
docs/TollFreeVerificationApi.md
docs/TranscribeRecording.md
docs/Transcription.md
@@ -210,6 +222,7 @@ src/main/java/com/bandwidth/sdk/model/AccountStatistics.java
src/main/java/com/bandwidth/sdk/model/AdditionalDenialReason.java
src/main/java/com/bandwidth/sdk/model/Address.java
src/main/java/com/bandwidth/sdk/model/AnswerCallback.java
+src/main/java/com/bandwidth/sdk/model/AsyncLookupRequest.java
src/main/java/com/bandwidth/sdk/model/BlockedWebhook.java
src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java
src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java
@@ -228,6 +241,7 @@ src/main/java/com/bandwidth/sdk/model/Callback.java
src/main/java/com/bandwidth/sdk/model/CallbackMethodEnum.java
src/main/java/com/bandwidth/sdk/model/CardWidthEnum.java
src/main/java/com/bandwidth/sdk/model/CodeRequest.java
+src/main/java/com/bandwidth/sdk/model/CompletedLookupStatusEnum.java
src/main/java/com/bandwidth/sdk/model/Conference.java
src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java
src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java
@@ -239,11 +253,15 @@ src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java
src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java
src/main/java/com/bandwidth/sdk/model/ConferenceStateEnum.java
src/main/java/com/bandwidth/sdk/model/Contact.java
+src/main/java/com/bandwidth/sdk/model/CreateAsyncBulkLookupResponse.java
+src/main/java/com/bandwidth/sdk/model/CreateAsyncBulkLookupResponseData.java
src/main/java/com/bandwidth/sdk/model/CreateCall.java
src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java
-src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java
src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java
src/main/java/com/bandwidth/sdk/model/CreateMultiChannelMessageResponse.java
+src/main/java/com/bandwidth/sdk/model/CreateSyncLookupResponse.java
+src/main/java/com/bandwidth/sdk/model/CreateSyncLookupResponseData.java
+src/main/java/com/bandwidth/sdk/model/DeactivationEventEnum.java
src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java
src/main/java/com/bandwidth/sdk/model/Diversion.java
src/main/java/com/bandwidth/sdk/model/DtmfCallback.java
@@ -254,18 +272,24 @@ src/main/java/com/bandwidth/sdk/model/FailureWebhook.java
src/main/java/com/bandwidth/sdk/model/FieldError.java
src/main/java/com/bandwidth/sdk/model/FileFormatEnum.java
src/main/java/com/bandwidth/sdk/model/GatherCallback.java
+src/main/java/com/bandwidth/sdk/model/GetAsyncBulkLookupResponse.java
+src/main/java/com/bandwidth/sdk/model/GetAsyncBulkLookupResponseData.java
+src/main/java/com/bandwidth/sdk/model/InProgressLookupStatusEnum.java
src/main/java/com/bandwidth/sdk/model/InboundCallback.java
src/main/java/com/bandwidth/sdk/model/InboundCallbackMessage.java
src/main/java/com/bandwidth/sdk/model/InboundCallbackTypeEnum.java
src/main/java/com/bandwidth/sdk/model/InitiateCallback.java
+src/main/java/com/bandwidth/sdk/model/LatestMessageDeliveryStatusEnum.java
+src/main/java/com/bandwidth/sdk/model/LineTypeEnum.java
src/main/java/com/bandwidth/sdk/model/Link.java
+src/main/java/com/bandwidth/sdk/model/LinkSchema.java
src/main/java/com/bandwidth/sdk/model/LinksObject.java
src/main/java/com/bandwidth/sdk/model/ListMessageDirectionEnum.java
src/main/java/com/bandwidth/sdk/model/ListMessageItem.java
-src/main/java/com/bandwidth/sdk/model/LookupRequest.java
+src/main/java/com/bandwidth/sdk/model/LookupErrorResponse.java
+src/main/java/com/bandwidth/sdk/model/LookupErrorSchema.java
+src/main/java/com/bandwidth/sdk/model/LookupErrorSchemaMeta.java
src/main/java/com/bandwidth/sdk/model/LookupResult.java
-src/main/java/com/bandwidth/sdk/model/LookupStatus.java
-src/main/java/com/bandwidth/sdk/model/LookupStatusEnum.java
src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java
src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java
src/main/java/com/bandwidth/sdk/model/MachineDetectionModeEnum.java
@@ -327,6 +351,7 @@ src/main/java/com/bandwidth/sdk/model/StatusCallback.java
src/main/java/com/bandwidth/sdk/model/StatusCallbackMessage.java
src/main/java/com/bandwidth/sdk/model/StatusCallbackTypeEnum.java
src/main/java/com/bandwidth/sdk/model/StirShaken.java
+src/main/java/com/bandwidth/sdk/model/SyncLookupRequest.java
src/main/java/com/bandwidth/sdk/model/TelephoneNumber.java
src/main/java/com/bandwidth/sdk/model/TfvBasicAuthentication.java
src/main/java/com/bandwidth/sdk/model/TfvCallbackStatusEnum.java
@@ -336,7 +361,6 @@ src/main/java/com/bandwidth/sdk/model/TfvStatusEnum.java
src/main/java/com/bandwidth/sdk/model/TfvSubmissionInfo.java
src/main/java/com/bandwidth/sdk/model/TfvSubmissionWrapper.java
src/main/java/com/bandwidth/sdk/model/ThumbnailAlignmentEnum.java
-src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java
src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java
src/main/java/com/bandwidth/sdk/model/Transcription.java
src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java
diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION
index 758bb9c8..6328c542 100644
--- a/.openapi-generator/VERSION
+++ b/.openapi-generator/VERSION
@@ -1 +1 @@
-7.10.0
+7.17.0
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 718da910..00000000
--- a/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,576 +0,0 @@
-eclipse.preferences.version=1
-enableParallelJavaIndexSearch=true
-org.eclipse.jdt.core.builder.annotationPath.allLocations=disabled
-org.eclipse.jdt.core.builder.cleanOutputFolder=clean
-org.eclipse.jdt.core.builder.duplicateResourceTask=warning
-org.eclipse.jdt.core.builder.invalidClasspath=abort
-org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore
-org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=
-org.eclipse.jdt.core.circularClasspath=warning
-org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
-org.eclipse.jdt.core.classpath.mainOnlyProjectHasTestOnlyDependency=error
-org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
-org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.camelCaseMatch=enabled
-org.eclipse.jdt.core.codeComplete.deprecationCheck=disabled
-org.eclipse.jdt.core.codeComplete.discouragedReferenceCheck=disabled
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.forbiddenReferenceCheck=enabled
-org.eclipse.jdt.core.codeComplete.forceImplicitQualification=disabled
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
-org.eclipse.jdt.core.codeComplete.subwordMatch=disabled
-org.eclipse.jdt.core.codeComplete.suggestStaticImports=enabled
-org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
-org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
-org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
-org.eclipse.jdt.core.compiler.annotation.nonnull=javax.annotation.Nonnull
-org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
-org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
-org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
-org.eclipse.jdt.core.compiler.annotation.nullable=javax.annotation.Nullable
-org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
-org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.lambda.genericSignature=do not generate
-org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
-org.eclipse.jdt.core.compiler.codegen.shareCommonFinallyBlocks=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=11
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.doc.comment.support=enabled
-org.eclipse.jdt.core.compiler.emulateJavacBug8031744=enabled
-org.eclipse.jdt.core.compiler.generateClassFiles=enabled
-org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
-org.eclipse.jdt.core.compiler.problem.APILeak=warning
-org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
-org.eclipse.jdt.core.compiler.problem.deadCode=warning
-org.eclipse.jdt.core.compiler.problem.deadCodeInTrivialIfStatement=disabled
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
-org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
-org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
-org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning
-org.eclipse.jdt.core.compiler.problem.nullReference=warning
-org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning
-org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
-org.eclipse.jdt.core.compiler.problem.overridingMethodWithoutSuperInvocation=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
-org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
-org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info
-org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.tasks=warning
-org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore
-org.eclipse.jdt.core.compiler.problem.uninternedIdentityComparison=disabled
-org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
-org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
-org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.unusedTypeArgumentsForMethodInvocation=warning
-org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.processAnnotations=enabled
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=11
-org.eclipse.jdt.core.compiler.storeAnnotations=disabled
-org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
-org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
-org.eclipse.jdt.core.computeJavaBuildOrder=ignore
-org.eclipse.jdt.core.encoding=utf8
-org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
-org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
-org.eclipse.jdt.core.formatter.align_selector_in_method_invocation_on_expression_first_line=true
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false
-org.eclipse.jdt.core.formatter.align_with_spaces=false
-org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant=49
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field=49
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=49
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method=49
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package=49
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter=0
-org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type=49
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assertion_message=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=16
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_arrow=16
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_colon=16
-org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
-org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
-org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
-org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_record_components=16
-org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0
-org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0
-org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_switch_case_with_arrow=20
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0
-org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
-org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
-org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=0
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch=0
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_record_constructor=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_record_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=true
-org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=true
-org.eclipse.jdt.core.formatter.comment.format_block_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=false
-org.eclipse.jdt.core.formatter.comment.indent_tag_description=false
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
-org.eclipse.jdt.core.formatter.comment.line_length=80
-org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=false
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_permitted_types=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
-org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_not_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
-org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case=insert
-org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_permitted_types=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
-org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=false
-org.eclipse.jdt.core.formatter.join_wrapped_lines=false
-org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_switch_body_block_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_switch_case_with_arrow_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never
-org.eclipse.jdt.core.formatter.lineSplit=120
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block=0
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block=0
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
-org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=space
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.text_block_indentation=0
-org.eclipse.jdt.core.formatter.use_on_off_tags=true
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
-org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
-org.eclipse.jdt.core.formatter.wrap_before_switch_case_arrow_operator=false
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
-org.eclipse.jdt.core.incompatibleJDKLevel=ignore
-org.eclipse.jdt.core.incompleteClasspath=error
-org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter
-org.eclipse.jdt.core.timeoutForParameterNameFromAttachedJavadoc=50
diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs
deleted file mode 100644
index 14b697b7..00000000
--- a/.settings/org.eclipse.m2e.core.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=true
-version=1
diff --git a/README.md b/README.md
index 12354201..3cf94404 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Bandwidth
- API version: 1.0.0
- - Generator version: 7.10.0
+ - Generator version: 7.17.0
Bandwidth's Communication APIs
@@ -146,8 +146,9 @@ Class | Method | HTTP request | Description
*MfaApi* | [**generateVoiceCode**](docs/MfaApi.md#generateVoiceCode) | **POST** /accounts/{accountId}/code/voice | Voice Authentication Code
*MfaApi* | [**verifyCode**](docs/MfaApi.md#verifyCode) | **POST** /accounts/{accountId}/code/verify | Verify Authentication Code
*MultiChannelApi* | [**createMultiChannelMessage**](docs/MultiChannelApi.md#createMultiChannelMessage) | **POST** /users/{accountId}/messages/multiChannel | Create Multi-Channel Message
-*PhoneNumberLookupApi* | [**createLookup**](docs/PhoneNumberLookupApi.md#createLookup) | **POST** /accounts/{accountId}/tnlookup | Create Lookup
-*PhoneNumberLookupApi* | [**getLookupStatus**](docs/PhoneNumberLookupApi.md#getLookupStatus) | **GET** /accounts/{accountId}/tnlookup/{requestId} | Get Lookup Request Status
+*PhoneNumberLookupApi* | [**createAsyncBulkLookup**](docs/PhoneNumberLookupApi.md#createAsyncBulkLookup) | **POST** /accounts/{accountId}/phoneNumberLookup/bulk | Create Asynchronous Bulk Number Lookup
+*PhoneNumberLookupApi* | [**createSyncLookup**](docs/PhoneNumberLookupApi.md#createSyncLookup) | **POST** /accounts/{accountId}/phoneNumberLookup | Create Synchronous Number Lookup
+*PhoneNumberLookupApi* | [**getAsyncBulkLookup**](docs/PhoneNumberLookupApi.md#getAsyncBulkLookup) | **GET** /accounts/{accountId}/phoneNumberLookup/bulk/{requestId} | Get Asynchronous Bulk Number Lookup
*RecordingsApi* | [**deleteRecording**](docs/RecordingsApi.md#deleteRecording) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording
*RecordingsApi* | [**deleteRecordingMedia**](docs/RecordingsApi.md#deleteRecordingMedia) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media
*RecordingsApi* | [**deleteRecordingTranscription**](docs/RecordingsApi.md#deleteRecordingTranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
@@ -179,6 +180,7 @@ Class | Method | HTTP request | Description
- [AdditionalDenialReason](docs/AdditionalDenialReason.md)
- [Address](docs/Address.md)
- [AnswerCallback](docs/AnswerCallback.md)
+ - [AsyncLookupRequest](docs/AsyncLookupRequest.md)
- [BlockedWebhook](docs/BlockedWebhook.md)
- [BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
- [BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
@@ -197,6 +199,7 @@ Class | Method | HTTP request | Description
- [CallbackMethodEnum](docs/CallbackMethodEnum.md)
- [CardWidthEnum](docs/CardWidthEnum.md)
- [CodeRequest](docs/CodeRequest.md)
+ - [CompletedLookupStatusEnum](docs/CompletedLookupStatusEnum.md)
- [Conference](docs/Conference.md)
- [ConferenceCompletedCallback](docs/ConferenceCompletedCallback.md)
- [ConferenceCreatedCallback](docs/ConferenceCreatedCallback.md)
@@ -208,11 +211,15 @@ Class | Method | HTTP request | Description
- [ConferenceRedirectCallback](docs/ConferenceRedirectCallback.md)
- [ConferenceStateEnum](docs/ConferenceStateEnum.md)
- [Contact](docs/Contact.md)
+ - [CreateAsyncBulkLookupResponse](docs/CreateAsyncBulkLookupResponse.md)
+ - [CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
- [CreateCall](docs/CreateCall.md)
- [CreateCallResponse](docs/CreateCallResponse.md)
- - [CreateLookupResponse](docs/CreateLookupResponse.md)
- [CreateMessageRequestError](docs/CreateMessageRequestError.md)
- [CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
+ - [CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
+ - [CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
+ - [DeactivationEventEnum](docs/DeactivationEventEnum.md)
- [DisconnectCallback](docs/DisconnectCallback.md)
- [Diversion](docs/Diversion.md)
- [DtmfCallback](docs/DtmfCallback.md)
@@ -223,18 +230,24 @@ Class | Method | HTTP request | Description
- [FieldError](docs/FieldError.md)
- [FileFormatEnum](docs/FileFormatEnum.md)
- [GatherCallback](docs/GatherCallback.md)
+ - [GetAsyncBulkLookupResponse](docs/GetAsyncBulkLookupResponse.md)
+ - [GetAsyncBulkLookupResponseData](docs/GetAsyncBulkLookupResponseData.md)
+ - [InProgressLookupStatusEnum](docs/InProgressLookupStatusEnum.md)
- [InboundCallback](docs/InboundCallback.md)
- [InboundCallbackMessage](docs/InboundCallbackMessage.md)
- [InboundCallbackTypeEnum](docs/InboundCallbackTypeEnum.md)
- [InitiateCallback](docs/InitiateCallback.md)
+ - [LatestMessageDeliveryStatusEnum](docs/LatestMessageDeliveryStatusEnum.md)
+ - [LineTypeEnum](docs/LineTypeEnum.md)
- [Link](docs/Link.md)
+ - [LinkSchema](docs/LinkSchema.md)
- [LinksObject](docs/LinksObject.md)
- [ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
- [ListMessageItem](docs/ListMessageItem.md)
- - [LookupRequest](docs/LookupRequest.md)
+ - [LookupErrorResponse](docs/LookupErrorResponse.md)
+ - [LookupErrorSchema](docs/LookupErrorSchema.md)
+ - [LookupErrorSchemaMeta](docs/LookupErrorSchemaMeta.md)
- [LookupResult](docs/LookupResult.md)
- - [LookupStatus](docs/LookupStatus.md)
- - [LookupStatusEnum](docs/LookupStatusEnum.md)
- [MachineDetectionCompleteCallback](docs/MachineDetectionCompleteCallback.md)
- [MachineDetectionConfiguration](docs/MachineDetectionConfiguration.md)
- [MachineDetectionModeEnum](docs/MachineDetectionModeEnum.md)
@@ -296,6 +309,7 @@ Class | Method | HTTP request | Description
- [StatusCallbackMessage](docs/StatusCallbackMessage.md)
- [StatusCallbackTypeEnum](docs/StatusCallbackTypeEnum.md)
- [StirShaken](docs/StirShaken.md)
+ - [SyncLookupRequest](docs/SyncLookupRequest.md)
- [TelephoneNumber](docs/TelephoneNumber.md)
- [TfvBasicAuthentication](docs/TfvBasicAuthentication.md)
- [TfvCallbackStatusEnum](docs/TfvCallbackStatusEnum.md)
@@ -305,7 +319,6 @@ Class | Method | HTTP request | Description
- [TfvSubmissionInfo](docs/TfvSubmissionInfo.md)
- [TfvSubmissionWrapper](docs/TfvSubmissionWrapper.md)
- [ThumbnailAlignmentEnum](docs/ThumbnailAlignmentEnum.md)
- - [TnLookupRequestError](docs/TnLookupRequestError.md)
- [TranscribeRecording](docs/TranscribeRecording.md)
- [Transcription](docs/Transcription.md)
- [TranscriptionAvailableCallback](docs/TranscriptionAvailableCallback.md)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 70da3894..4a984267 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -53,7 +53,7 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/media'
+ $ref: "#/components/schemas/media"
type: array
description: OK
headers:
@@ -67,49 +67,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
"404":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
"406":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Acceptable
"415":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
summary: List Media
tags:
@@ -154,49 +154,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
"404":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
"406":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Acceptable
"415":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
summary: Delete Media
tags:
@@ -238,49 +238,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
"404":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
"406":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Acceptable
"415":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
summary: Get Media
tags:
@@ -335,7 +335,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/uploadMediaRequest'
+ $ref: "#/components/requestBodies/uploadMediaRequest"
responses:
"204":
description: No Content
@@ -343,49 +343,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
"404":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
"406":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Acceptable
"415":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
summary: Upload Media
tags:
@@ -454,7 +454,7 @@ paths:
name: messageStatus
required: false
schema:
- $ref: '#/components/schemas/messageStatusEnum'
+ $ref: "#/components/schemas/messageStatusEnum"
style: form
- description: The direction of the message. One of INBOUND OUTBOUND.
explode: true
@@ -462,7 +462,7 @@ paths:
name: messageDirection
required: false
schema:
- $ref: '#/components/schemas/listMessageDirectionEnum'
+ $ref: "#/components/schemas/listMessageDirectionEnum"
style: form
- description: The name of the carrier used for this message. Possible values
include but are not limited to Verizon and TMobile. Special characters need
@@ -481,7 +481,7 @@ paths:
name: messageType
required: false
schema:
- $ref: '#/components/schemas/messageTypeEnum'
+ $ref: "#/components/schemas/messageTypeEnum"
style: form
- description: The error code of the message.
example: 9902
@@ -548,7 +548,7 @@ paths:
name: product
required: false
schema:
- $ref: '#/components/schemas/productTypeEnum'
+ $ref: "#/components/schemas/productTypeEnum"
style: form
- description: Location Id associated with the message.
example: 123ABC
@@ -682,49 +682,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagesList'
+ $ref: "#/components/schemas/messagesList"
description: OK
"400":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
"404":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
"415":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
summary: List Messages
tags:
@@ -734,7 +734,7 @@ paths:
post:
callbacks:
statusCallback:
- $ref: '#/components/callbacks/statusCallback'
+ $ref: "#/components/callbacks/statusCallback"
description: Endpoint for sending text messages and picture messages using V2
messaging.
operationId: createMessage
@@ -749,67 +749,67 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/createMessageRequest'
+ $ref: "#/components/requestBodies/createMessageRequest"
responses:
"202":
content:
application/json:
schema:
- $ref: '#/components/schemas/message'
+ $ref: "#/components/schemas/message"
description: Accepted
"400":
content:
application/json:
schema:
- $ref: '#/components/schemas/createMessageRequestError'
+ $ref: "#/components/schemas/createMessageRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
"404":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
"405":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Method Not Allowed
"406":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Acceptable
"415":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
summary: Create Message
tags:
@@ -824,7 +824,7 @@ paths:
post:
callbacks:
statusCallback:
- $ref: '#/components/callbacks/statusCallback'
+ $ref: "#/components/callbacks/statusCallback"
description: Endpoint for sending Multi-Channel messages.
operationId: createMultiChannelMessage
parameters:
@@ -838,13 +838,13 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/createMultiChannelMessageRequest'
+ $ref: "#/components/requestBodies/createMultiChannelMessageRequest"
responses:
"202":
content:
application/json:
schema:
- $ref: '#/components/schemas/createMultiChannelMessageResponse'
+ $ref: "#/components/schemas/createMultiChannelMessageResponse"
description: Accepted
"400":
content:
@@ -859,7 +859,7 @@ paths:
source:
field: "channelList[0].from"
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Bad Request
"401":
content:
@@ -872,7 +872,7 @@ paths:
description: Authentication Failed
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Unauthorized
"403":
content:
@@ -885,7 +885,7 @@ paths:
description: Access Denied
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Forbidden
"404":
content:
@@ -898,7 +898,7 @@ paths:
description: Resource not found.
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Not Found
"405":
content:
@@ -911,7 +911,7 @@ paths:
description: Method 'PUT' not supported for this resource.
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Method Not Allowed
"406":
description: Not Acceptable
@@ -928,7 +928,7 @@ paths:
source:
header: Content-Type
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Unsupported Media Type
"429":
content:
@@ -942,7 +942,7 @@ paths:
Please retry later.
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Too Many Requests
"500":
content:
@@ -955,14 +955,14 @@ paths:
description: Internal server error. No further information available
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Internal Server Error
summary: Create Multi-Channel Message
tags:
- Multi-Channel
x-badges:
- name: Beta
- color: '#076EA8'
+ color: "#076EA8"
x-content-type: application/json
x-accepts:
- application/json
@@ -1064,7 +1064,7 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/callState'
+ $ref: "#/components/schemas/callState"
type: array
description: OK
"400":
@@ -1072,63 +1072,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1142,9 +1142,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Calls
tags:
@@ -1170,16 +1170,16 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/createCallRequest'
+ $ref: "#/components/requestBodies/createCallRequest"
responses:
"201":
content:
application/json:
examples:
createCall Response:
- $ref: '#/components/examples/createCallResponseExample'
+ $ref: "#/components/examples/createCallResponseExample"
schema:
- $ref: '#/components/schemas/createCallResponse'
+ $ref: "#/components/schemas/createCallResponse"
description: Created
headers:
Location:
@@ -1193,63 +1193,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1263,9 +1263,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Create Call
tags:
@@ -1307,70 +1307,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/callState'
+ $ref: "#/components/schemas/callState"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1384,9 +1384,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Call State Information
tags:
@@ -1417,7 +1417,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateCallRequest'
+ $ref: "#/components/requestBodies/updateCallRequest"
responses:
"200":
description: OK
@@ -1426,72 +1426,72 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"409":
content:
application/json:
examples:
conflictErrorExample:
- $ref: '#/components/examples/voiceConflictErrorExample'
+ $ref: "#/components/examples/voiceConflictErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Conflict
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1505,9 +1505,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Update Call
tags:
@@ -1542,7 +1542,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateCallBxmlRequest'
+ $ref: "#/components/requestBodies/updateCallBxmlRequest"
responses:
"204":
description: Call BXML was successfully replaced.
@@ -1551,72 +1551,72 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"409":
content:
application/json:
examples:
conflictErrorExample:
- $ref: '#/components/examples/voiceConflictErrorExample'
+ $ref: "#/components/examples/voiceConflictErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Conflict
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1630,9 +1630,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Update Call BXML
tags:
@@ -1719,10 +1719,10 @@ paths:
application/json:
examples:
listConferences Response:
- $ref: '#/components/examples/listConferencesResponseExample'
+ $ref: "#/components/examples/listConferencesResponseExample"
schema:
items:
- $ref: '#/components/schemas/conference'
+ $ref: "#/components/schemas/conference"
type: array
description: OK
"400":
@@ -1730,63 +1730,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1800,9 +1800,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Conferences
tags:
@@ -1840,70 +1840,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/conference'
+ $ref: "#/components/schemas/conference"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -1917,9 +1917,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Conference Information
tags:
@@ -1949,7 +1949,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateConferenceRequest'
+ $ref: "#/components/requestBodies/updateConferenceRequest"
responses:
"204":
description: Conference was successfully modified.
@@ -1958,63 +1958,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2028,9 +2028,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Update Conference
tags:
@@ -2065,7 +2065,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateConferenceBxmlRequest'
+ $ref: "#/components/requestBodies/updateConferenceBxmlRequest"
responses:
"204":
description: Conference successfully modified.
@@ -2074,63 +2074,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2144,9 +2144,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Update Conference BXML
tags:
@@ -2194,70 +2194,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/conferenceMember'
+ $ref: "#/components/schemas/conferenceMember"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2271,9 +2271,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Conference Member
tags:
@@ -2312,7 +2312,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateConferenceMemberRequest'
+ $ref: "#/components/requestBodies/updateConferenceMemberRequest"
responses:
"204":
description: Conference member was successfully modified.
@@ -2321,63 +2321,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2391,9 +2391,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Update Conference Member
tags:
@@ -2434,7 +2434,7 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/conferenceRecordingMetadata'
+ $ref: "#/components/schemas/conferenceRecordingMetadata"
type: array
description: OK
"400":
@@ -2442,63 +2442,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2512,9 +2512,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Conference Recordings
tags:
@@ -2561,70 +2561,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/conferenceRecordingMetadata'
+ $ref: "#/components/schemas/conferenceRecordingMetadata"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2638,9 +2638,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Conference Recording Information
tags:
@@ -2699,63 +2699,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2769,9 +2769,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Download Conference Recording
tags:
@@ -2845,7 +2845,7 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/callRecordingMetadata'
+ $ref: "#/components/schemas/callRecordingMetadata"
type: array
description: OK
"400":
@@ -2853,63 +2853,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -2923,9 +2923,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Call Recordings
tags:
@@ -2959,7 +2959,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateCallRecordingRequest'
+ $ref: "#/components/requestBodies/updateCallRecordingRequest"
responses:
"200":
description: OK
@@ -2968,63 +2968,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3038,9 +3038,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Update Recording
tags:
@@ -3082,7 +3082,7 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/callRecordingMetadata'
+ $ref: "#/components/schemas/callRecordingMetadata"
type: array
description: OK
"400":
@@ -3090,63 +3090,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3160,9 +3160,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: List Call Recordings
tags:
@@ -3215,63 +3215,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3285,9 +3285,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Delete Recording
tags:
@@ -3330,70 +3330,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/callRecordingMetadata'
+ $ref: "#/components/schemas/callRecordingMetadata"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3407,9 +3407,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Call Recording
tags:
@@ -3459,63 +3459,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3529,9 +3529,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Delete Recording Media
tags:
@@ -3586,63 +3586,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3656,9 +3656,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Download Recording
tags:
@@ -3713,63 +3713,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3783,9 +3783,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Delete Transcription
tags:
@@ -3832,70 +3832,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/recordingTranscriptions'
+ $ref: "#/components/schemas/recordingTranscriptions"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -3909,9 +3909,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Transcription
tags:
@@ -3953,7 +3953,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/transcribeRecordingRequest'
+ $ref: "#/components/requestBodies/transcribeRecordingRequest"
responses:
"204":
description: Transcription was successfully requested.
@@ -3962,63 +3962,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -4032,9 +4032,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Create Transcription Request
tags:
@@ -4064,70 +4064,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/accountStatistics'
+ $ref: "#/components/schemas/accountStatistics"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -4141,9 +4141,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Account Statistics
tags:
@@ -4181,70 +4181,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/callTranscriptionMetadataList'
+ $ref: "#/components/schemas/callTranscriptionMetadataList"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -4258,9 +4258,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: List Real-time Transcriptions
tags:
@@ -4313,63 +4313,63 @@ paths:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -4383,9 +4383,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Delete Real-time Transcription
tags:
@@ -4429,70 +4429,70 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/callTranscriptionResponse'
+ $ref: "#/components/schemas/callTranscriptionResponse"
description: OK
"400":
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
"401":
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
"403":
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
"404":
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
"405":
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
"415":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
"429":
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -4506,9 +4506,9 @@ paths:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
summary: Get Real-time Transcription
tags:
@@ -4533,37 +4533,37 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/codeRequest'
+ $ref: "#/components/requestBodies/codeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/voiceCodeResponse'
+ $ref: "#/components/schemas/voiceCodeResponse"
description: OK
"400":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaUnauthorizedRequestError'
+ $ref: "#/components/schemas/mfaUnauthorizedRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaForbiddenRequestError'
+ $ref: "#/components/schemas/mfaForbiddenRequestError"
description: Forbidden
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Internal Server Error
summary: Voice Authentication Code
tags:
@@ -4589,37 +4589,37 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/codeRequest'
+ $ref: "#/components/requestBodies/codeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingCodeResponse'
+ $ref: "#/components/schemas/messagingCodeResponse"
description: OK
"400":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaUnauthorizedRequestError'
+ $ref: "#/components/schemas/mfaUnauthorizedRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaForbiddenRequestError'
+ $ref: "#/components/schemas/mfaForbiddenRequestError"
description: Forbidden
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Internal Server Error
summary: Messaging Authentication Code
tags:
@@ -4645,43 +4645,43 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/codeVerify'
+ $ref: "#/components/requestBodies/codeVerify"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/verifyCodeResponse'
+ $ref: "#/components/schemas/verifyCodeResponse"
description: OK
"400":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Bad Request
"401":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaUnauthorizedRequestError'
+ $ref: "#/components/schemas/mfaUnauthorizedRequestError"
description: Unauthorized
"403":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaForbiddenRequestError'
+ $ref: "#/components/schemas/mfaForbiddenRequestError"
description: Forbidden
"429":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Too Many Requests
"500":
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Internal Server Error
summary: Verify Authentication Code
tags:
@@ -4692,104 +4692,120 @@ paths:
servers:
- description: Production
url: https://mfa.bandwidth.com/api/v1
- /accounts/{accountId}/tnlookup:
+ /accounts/{accountId}/phoneNumberLookup:
post:
- deprecated: true
- description: Create a Phone Number Lookup Request.
- operationId: createLookup
+ description: Creates a synchronous phone number lookup request. Maximum of 100
+ telephone numbers per request.
+ operationId: createSyncLookup
parameters:
- - description: Your Bandwidth Account ID.
- example: "9900000"
- explode: false
+ - explode: false
in: path
name: accountId
required: true
schema:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/createLookupRequest'
+ $ref: "#/components/requestBodies/createSyncLookupRequest"
responses:
- "202":
+ "200":
content:
application/json:
examples:
- lookupResponseExample:
- $ref: '#/components/examples/lookupInProgressExample'
+ lookupCompleteWithDniExample:
+ $ref: "#/components/examples/lookupCompleteWithDniExample"
+ lookupCompleteExample:
+ $ref: "#/components/examples/lookupCompleteExample"
+ lookupPartialExample:
+ $ref: "#/components/examples/lookupPartialExample"
+ lookupFailedExample:
+ $ref: "#/components/examples/lookupFailedExample"
schema:
- $ref: '#/components/schemas/createLookupResponse'
- description: Accepted
- "400":
+ $ref: "#/components/schemas/createSyncLookupResponse"
+ description: OK
+ default:
content:
application/json:
examples:
badRequest:
- summary: Example Bad Request Error
- value:
- message: "Some tns do not match e164 format: 1234"
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Bad Request
- "401":
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/badRequestExample"
unauthorized:
- summary: Example Unauthorized Error
- value:
- message: Unauthorized
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Unauthorized
- "403":
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/unauthorizedExample"
forbidden:
- summary: Example Forbidden Error
- value:
- message: Authorization header requires 'Credential' parameter.
- Authorization header requires 'Signature' parameter. Authorization
- header requires 'SignedHeaders' parameter. Authorization header
- requires existence of either a 'X-Amz-Date' or a 'Date' header.
- Authorization=Basic Y2tvZloPTGhHgywYIzGlcGVlcGvvcGovYTIGIt=='
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Forbidden
- "415":
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/forbiddenExample"
mediaType:
- summary: Example Unsupported Media Type Error
- value:
- message: Content-Type must be application/json.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Unsupported Media Type
- "429":
+ $ref: "#/components/examples/unsupportedMediaTypeExample"
+ notFound:
+ $ref: "#/components/examples/notFoundExample"
+ tooManyRequests:
+ $ref: "#/components/examples/tooManyRequestsExample"
+ internalServer:
+ $ref: "#/components/examples/internalServerErrorExample"
+ schema:
+ $ref: "#/components/schemas/lookupErrorResponse"
+ description: Bad Request
+ summary: Create Synchronous Number Lookup
+ tags:
+ - Phone Number Lookup
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ servers:
+ - description: Production
+ url: https://api.bandwidth.com/v2
+ /accounts/{accountId}/phoneNumberLookup/bulk:
+ post:
+ description: "Creates an asynchronous bulk phone number lookup request. Maximum\
+ \ of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk\
+ \ Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint\
+ \ to check the status of the request and view the results."
+ operationId: createAsyncBulkLookup
+ parameters:
+ - explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
+ type: string
+ style: simple
+ requestBody:
+ $ref: "#/components/requestBodies/createAsyncBulkLookupRequest"
+ responses:
+ "202":
content:
application/json:
examples:
- mediaType:
- summary: Example Too Many Requests Error
- value:
- message: Too many requests.
+ lookupInProgressExample:
+ $ref: "#/components/examples/lookupInProgressExample"
schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Too Many Requests
- "500":
+ $ref: "#/components/schemas/createAsyncBulkLookupResponse"
+ description: Accepted
+ default:
content:
application/json:
examples:
+ badRequest:
+ $ref: "#/components/examples/badRequestExample"
+ unauthorized:
+ $ref: "#/components/examples/unauthorizedExample"
+ forbidden:
+ $ref: "#/components/examples/forbiddenExample"
mediaType:
- summary: Example Internal Server Error Error
- value:
- message: Request has not been passed further.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Internal Server Error
- summary: Create Lookup
+ $ref: "#/components/examples/unsupportedMediaTypeExample"
+ notFound:
+ $ref: "#/components/examples/notFoundExample"
+ tooManyRequests:
+ $ref: "#/components/examples/tooManyRequestsExample"
+ internalServer:
+ $ref: "#/components/examples/internalServerErrorExample"
+ schema:
+ $ref: "#/components/schemas/lookupErrorResponse"
+ description: Bad Request
+ summary: Create Asynchronous Bulk Number Lookup
tags:
- Phone Number Lookup
x-content-type: application/json
@@ -4797,29 +4813,30 @@ paths:
- application/json
servers:
- description: Production
- url: https://numbers.bandwidth.com/api/v1
- /accounts/{accountId}/tnlookup/{requestId}:
+ url: https://api.bandwidth.com/v2
+ /accounts/{accountId}/phoneNumberLookup/bulk/{requestId}:
get:
- deprecated: true
- description: Get an existing Phone Number Lookup Request.
- operationId: getLookupStatus
+ description: "Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup).\
+ \ Use this endpoint to check the status of the request and view the results."
+ operationId: getAsyncBulkLookup
parameters:
- - description: Your Bandwidth Account ID.
- example: "9900000"
- explode: false
+ - explode: false
in: path
name: accountId
required: true
schema:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
type: string
style: simple
- - description: The phone number lookup request ID from Bandwidth.
- example: 004223a0-8b17-41b1-bf81-20732adf5590
- explode: false
+ - explode: false
in: path
name: requestId
required: true
schema:
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
type: string
style: simple
responses:
@@ -4827,95 +4844,53 @@ paths:
content:
application/json:
examples:
+ lookupCompleteWithDniExample:
+ $ref: "#/components/examples/lookupCompleteWithDniExample"
+ lookupCompleteExample:
+ $ref: "#/components/examples/lookupCompleteExample"
lookupInProgressExample:
- $ref: '#/components/examples/lookupInProgressExample'
+ $ref: "#/components/examples/lookupInProgressExample"
+ lookupPartialExample:
+ $ref: "#/components/examples/lookupPartialExample"
lookupFailedExample:
- $ref: '#/components/examples/lookupFailedExample'
- lookupSingleNumberCompleteExample:
- $ref: '#/components/examples/lookupSingleNumberCompleteExample'
- lookupMultipleNumbersCompleteExample:
- $ref: '#/components/examples/lookupMultipleNumbersCompleteExample'
- lookupMultipleNumbersPartialCompleteExample:
- $ref: '#/components/examples/lookupMultipleNumbersPartialCompleteExample'
- lookupSingleNumberCompleteNoInfoExample:
- $ref: '#/components/examples/lookupSingleNumberCompleteNoInfoExample'
- schema:
- $ref: '#/components/schemas/lookupStatus'
+ $ref: "#/components/examples/lookupFailedExample"
+ schema:
+ $ref: "#/components/schemas/getAsyncBulkLookupResponse"
description: OK
- "400":
+ default:
content:
application/json:
examples:
badRequest:
- summary: Example Bad Request Error
- value:
- message: "Some tns do not match e164 format: 1234"
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Bad Request
- "401":
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/badRequestExample"
unauthorized:
- summary: Example Unauthorized Error
- value:
- message: Unauthorized
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Unauthorized
- "403":
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/unauthorizedExample"
forbidden:
- summary: Example Forbidden Error
- value:
- message: Authorization header requires 'Credential' parameter.
- Authorization header requires 'Signature' parameter. Authorization
- header requires 'SignedHeaders' parameter. Authorization header
- requires existence of either a 'X-Amz-Date' or a 'Date' header.
- Authorization=Basic Y2tvZloPTGhHgywYIzGlcGVlcGvvcGovYTIGIt=='
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Forbidden
- "404":
- description: Not Found
- "429":
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/forbiddenExample"
mediaType:
- summary: Example Too Many Requests Error
- value:
- message: Too many requests.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Too Many Requests
- "500":
- content:
- application/json:
- examples:
- mediaType:
- summary: Example Internal Server Error Error
- value:
- message: Request has not been passed further.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Internal Server Error
- summary: Get Lookup Request Status
+ $ref: "#/components/examples/unsupportedMediaTypeExample"
+ notFound:
+ $ref: "#/components/examples/notFoundExample"
+ tooManyRequests:
+ $ref: "#/components/examples/tooManyRequestsExample"
+ internalServer:
+ $ref: "#/components/examples/internalServerErrorExample"
+ schema:
+ $ref: "#/components/schemas/lookupErrorResponse"
+ description: Bad Request
+ summary: Get Asynchronous Bulk Number Lookup
tags:
- Phone Number Lookup
x-accepts:
- application/json
servers:
- description: Production
- url: https://numbers.bandwidth.com/api/v1
+ url: https://api.bandwidth.com/v2
/accounts/{accountId}/tollFreeVerification:
post:
callbacks:
tfVerificationStatus:
- $ref: '#/components/callbacks/tfVerificationStatus'
+ $ref: "#/components/callbacks/tfVerificationStatus"
description: Submit a request for verification of a toll-free phone number.
operationId: requestTollFreeVerification
parameters:
@@ -4929,7 +4904,7 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/requestTollFreeVerificationRequest'
+ $ref: "#/components/requestBodies/requestTollFreeVerificationRequest"
responses:
"202":
description: Accepted
@@ -4944,7 +4919,7 @@ paths:
address.
optInWorkflowImageURLs: Entries must be a valid array of objects.
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -4953,7 +4928,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -4962,7 +4937,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"405":
content:
@@ -4971,7 +4946,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -4980,7 +4955,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -4989,7 +4964,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -4998,7 +4973,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Request Toll-Free Verification
tags:
@@ -5030,7 +5005,7 @@ paths:
name: phoneNumber
required: true
schema:
- $ref: '#/components/schemas/tfPhoneNumber'
+ $ref: "#/components/schemas/tfPhoneNumber"
style: simple
responses:
"204":
@@ -5042,7 +5017,7 @@ paths:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5051,7 +5026,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5060,7 +5035,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5069,7 +5044,7 @@ paths:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5078,7 +5053,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5087,7 +5062,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5096,7 +5071,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5105,7 +5080,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Delete a Toll-Free Verification Submission
tags:
@@ -5134,14 +5109,14 @@ paths:
name: phoneNumber
required: true
schema:
- $ref: '#/components/schemas/tfPhoneNumber'
+ $ref: "#/components/schemas/tfPhoneNumber"
style: simple
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/tfvStatus'
+ $ref: "#/components/schemas/tfvStatus"
description: OK
"400":
content:
@@ -5150,7 +5125,7 @@ paths:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5159,7 +5134,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5168,7 +5143,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5177,7 +5152,7 @@ paths:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5186,7 +5161,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5195,7 +5170,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5204,7 +5179,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5213,7 +5188,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Get Toll-Free Verification Status
tags:
@@ -5223,7 +5198,7 @@ paths:
put:
callbacks:
tfVerificationStatus:
- $ref: '#/components/callbacks/tfVerificationStatus'
+ $ref: "#/components/callbacks/tfVerificationStatus"
description: |-
Updates a toll-free verification request.
Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
@@ -5245,10 +5220,10 @@ paths:
name: phoneNumber
required: true
schema:
- $ref: '#/components/schemas/tfPhoneNumber'
+ $ref: "#/components/schemas/tfPhoneNumber"
style: simple
requestBody:
- $ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest'
+ $ref: "#/components/requestBodies/updateTollFreeVerificationRequestRequest"
responses:
"202":
description: Accepted
@@ -5263,7 +5238,7 @@ paths:
address.
optInWorkflowImageURLs: Entries must be a valid array of objects.
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5272,7 +5247,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5281,7 +5256,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"405":
content:
@@ -5290,7 +5265,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5299,7 +5274,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5308,7 +5283,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5317,7 +5292,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Update Toll-Free Verification Request
tags:
@@ -5349,7 +5324,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscriptionsListBody'
+ $ref: "#/components/schemas/webhookSubscriptionsListBody"
description: OK
"400":
content:
@@ -5362,7 +5337,7 @@ paths:
address.
optInWorkflowImageURLs: Entries must be a valid array of objects.
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5371,7 +5346,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5380,7 +5355,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"405":
content:
@@ -5389,7 +5364,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5398,7 +5373,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5407,7 +5382,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5416,7 +5391,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: List Webhook Subscriptions
tags:
@@ -5440,13 +5415,13 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/webhookSubscriptionRequest'
+ $ref: "#/components/requestBodies/webhookSubscriptionRequest"
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscription'
+ $ref: "#/components/schemas/webhookSubscription"
description: Created
"400":
content:
@@ -5455,7 +5430,7 @@ paths:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5464,7 +5439,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5473,7 +5448,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5482,7 +5457,7 @@ paths:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5491,7 +5466,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5500,7 +5475,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5509,7 +5484,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5518,7 +5493,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Create Webhook Subscription
tags:
@@ -5562,7 +5537,7 @@ paths:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5571,7 +5546,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5580,7 +5555,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5589,7 +5564,7 @@ paths:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5598,7 +5573,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5607,7 +5582,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5616,7 +5591,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5625,7 +5600,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Delete Webhook Subscription
tags:
@@ -5656,13 +5631,13 @@ paths:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/webhookSubscriptionRequest'
+ $ref: "#/components/requestBodies/webhookSubscriptionRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscription'
+ $ref: "#/components/schemas/webhookSubscription"
description: OK
"400":
content:
@@ -5671,7 +5646,7 @@ paths:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5680,7 +5655,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5689,7 +5664,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5698,7 +5673,7 @@ paths:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5707,7 +5682,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5716,7 +5691,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5725,7 +5700,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5734,7 +5709,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: Update Webhook Subscription
tags:
@@ -5754,7 +5729,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/useCases'
+ $ref: "#/components/schemas/useCases"
description: OK
"400":
content:
@@ -5763,7 +5738,7 @@ paths:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5772,7 +5747,7 @@ paths:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5781,7 +5756,7 @@ paths:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5790,7 +5765,7 @@ paths:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5799,7 +5774,7 @@ paths:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5808,7 +5783,7 @@ paths:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5817,7 +5792,7 @@ paths:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5826,7 +5801,7 @@ paths:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: List Toll-Free Use Cases
tags:
@@ -5846,11 +5821,11 @@ components:
application/json:
examples:
smsMessageReceivedCallback:
- $ref: '#/components/examples/smsMessageReceivedCallbackExample'
+ $ref: "#/components/examples/smsMessageReceivedCallbackExample"
mmsMessageReceivedCallback:
- $ref: '#/components/examples/mmsMessageReceivedCallbackExample'
+ $ref: "#/components/examples/mmsMessageReceivedCallbackExample"
schema:
- $ref: '#/components/schemas/inboundCallback'
+ $ref: "#/components/schemas/inboundCallback"
description: "
This Inbound Message Webhook is an envelope containing\
\ either a received (MO) message to your \nmessage-enabled Bandwidth\
\ telephone number or a multichannel client's response to a suggestion\
@@ -5874,17 +5849,17 @@ components:
application/json:
examples:
messageSendingCallback:
- $ref: '#/components/examples/messageSendingCallbackExample'
+ $ref: "#/components/examples/messageSendingCallbackExample"
smsMessageDeliveredCallback:
- $ref: '#/components/examples/smsMessageDeliveredCallbackExample'
+ $ref: "#/components/examples/smsMessageDeliveredCallbackExample"
mmsMessageDeliveredCallback:
- $ref: '#/components/examples/mmsMessageDeliveredCallbackExample'
+ $ref: "#/components/examples/mmsMessageDeliveredCallbackExample"
groupMmsMessageDeliveredCallback:
- $ref: '#/components/examples/groupMmsMessageDeliveredCallbackExample'
+ $ref: "#/components/examples/groupMmsMessageDeliveredCallbackExample"
messageFailedCallback:
- $ref: '#/components/examples/messageFailedCallbackExample'
+ $ref: "#/components/examples/messageFailedCallbackExample"
schema:
- $ref: '#/components/schemas/statusCallback'
+ $ref: "#/components/schemas/statusCallback"
description: |-
This Outbound Message Webhook is an envelope containing status information regarding a message sent (MT)
from your message-enabled Bandwidth telephone number.
@@ -5916,7 +5891,7 @@ components:
type: string
style: simple
requestBody:
- $ref: '#/components/requestBodies/verificationWebhookRequest'
+ $ref: "#/components/requestBodies/verificationWebhookRequest"
responses:
"204":
description: No Content
@@ -5927,7 +5902,7 @@ components:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
"401":
content:
@@ -5936,7 +5911,7 @@ components:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
"403":
content:
@@ -5945,7 +5920,7 @@ components:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
"404":
content:
@@ -5954,7 +5929,7 @@ components:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
"405":
content:
@@ -5963,7 +5938,7 @@ components:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
"429":
content:
@@ -5972,7 +5947,7 @@ components:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
"500":
content:
@@ -5981,7 +5956,7 @@ components:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
"503":
content:
@@ -5990,7 +5965,7 @@ components:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
summary: TFV status updates sent to customer's webhook URL.
examples:
@@ -6213,95 +6188,204 @@ components:
type: validation
description: "Invalid answerUrl: only http and https are allowed."
singleNumberRequestExample:
- summary: Example Number Lookup Request for One Number
+ summary: Number Lookup Request
value:
- tns:
- - "+19195551234"
+ phoneNumbers:
+ - "+19196104423"
multipleNumberRequestExample:
- summary: Example Number Lookup Request for Multiple Numbers
+ summary: Number Lookup Request for Multiple Numbers
value:
- tns:
- - "+19195551234"
- - "+19195554321"
+ phoneNumbers:
+ - "+19196104423"
+ - "+19196104424"
lookupInProgressExample:
- summary: Example Lookup In Progress Response
+ summary: Numbers Lookup In Progress
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: IN_PROGRESS
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: IN_PROGRESS
+ results: []
+ errors: []
lookupFailedExample:
- summary: Example Lookup Failed Response
+ summary: Numbers Lookup Failed
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: FAILED
- failedTelephoneNumbers:
- - "+191955512345"
- lookupSingleNumberCompleteExample:
- summary: Example Single Number Lookup Complete Response
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: FAILED
+ results: []
+ errors:
+ - code: NO-MATCH
+ description: The following TNs could not be found in the Number Industry
+ data
+ meta:
+ phoneNumbers:
+ - "+13992077164"
+ message: Invalid TNs
+ code: 1001
+ type: NumberInventory
+ lookupPartialExample:
+ summary: Numbers Lookup Partial Complete
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: COMPLETE
- result:
- - Response Code: 0
- Message: NOERROR
- E.164 Format: "+19195551234"
- Formatted: (919) 555-1234
- Country: US
- Line Type: Mobile
- Line Provider: Verizon Wireless
- Mobile Country Code: "310"
- Mobile Network Code: "010"
- lookupMultipleNumbersCompleteExample:
- summary: Example Multiple Numbers Lookup Complete Response
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: PARTIAL_COMPLETE
+ results:
+ - phoneNumber: "+19196104423"
+ lineType: MOBILE
+ messagingProvider: Verizon Wireless
+ voiceProvider: Verizon Wireless
+ countryCodeA3: USA
+ - phoneNumber: "+19196104424"
+ lineType: MOBILE
+ messagingProvider: T-Mobile USA
+ voiceProvider: T-Mobile USA
+ countryCodeA3: USA
+ errors:
+ - code: NO-MATCH
+ description: The following TNs could not be found in the Number Industry
+ data
+ meta:
+ phoneNumbers:
+ - "+13992077164"
+ message: Invalid TNs
+ code: 1001
+ type: NumberInventory
+ lookupCompleteExample:
+ summary: Numbers Lookup Complete (without DNI)
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: COMPLETE
- result:
- - Response Code: 0
- Message: NOERROR
- E.164 Format: "+19195551234"
- Formatted: (919) 555-1234
- Country: US
- Line Type: Mobile
- Line Provider: Verizon Wireless
- Mobile Country Code: "310"
- Mobile Network Code: "010"
- - Response Code: 0
- Message: NOERROR
- E.164 Format: "+19195554321"
- Formatted: (919) 555-4321
- Country: US
- Line Type: Mobile
- Line Provider: T-Mobile USA
- Mobile Country Code: "310"
- Mobile Network Code: "160"
- lookupMultipleNumbersPartialCompleteExample:
- summary: Example Multiple Numbers Lookup Partial Complete Response
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: COMPLETE
+ results:
+ - phoneNumber: "+10072904497"
+ lineType: MOBILE
+ messagingProvider: Verizon Wireless
+ voiceProvider: Verizon Wireless
+ countryCodeA3: USA
+ - phoneNumber: "+10072904498"
+ lineType: MOBILE
+ messagingProvider: T-Mobile USA
+ voiceProvider: T-Mobile USA
+ countryCodeA3: USA
+ errors: []
+ lookupCompleteWithDniExample:
+ summary: Numbers Lookup Complete (with DNI)
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: PARTIAL_COMPLETE
- result:
- - Response Code: 0
- Message: NOERROR
- E.164 Format: "+19195551234"
- Formatted: (919) 555-1234
- Country: US
- Line Type: Mobile
- Line Provider: Verizon Wireless
- Mobile Country Code: "310"
- Mobile Network Code: "010"
- failedTelephoneNumbers:
- - "+191955512345"
- lookupSingleNumberCompleteNoInfoExample:
- summary: Example Single Number Lookup Complete with No Information Response
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 20732adf-bf81-8b17-41b1-004223a05590
+ status: COMPLETE
+ results:
+ - phoneNumber: "+10072904497"
+ countryCodeA3: USA
+ lineType: MOBILE
+ messagingProvider: T-MOBILE USA INC
+ voiceProvider: T-MOBILE USA INC
+ latestMessageDeliveryStatus: ACTIVE
+ initialMessageDeliveryStatusDate: 2025-05-14
+ latestMessageDeliveryStatusDate: 2025-05-18
+ - phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ lineType: FIXED
+ voiceProvider: VERIZON
+ latestMessageDeliveryStatus: DEACTIVATED
+ initialMessageDeliveryStatusDate: 2025-09-05
+ latestMessageDeliveryStatusDate: 2025-09-05
+ - phoneNumber: "+10072904499"
+ lineType: MOBILE
+ countryCodeA3: USA
+ messagingProvider: VERIZON
+ voiceProvider: VERIZON
+ deactivationReporter: Verizon Wireless
+ deactivationDate: 2025-09-29 01:23:00
+ deactivationEvent: DEACTIVATED
+ latestMessageDeliveryStatus: UNKNOWN
+ errors: []
+ badRequestExample:
+ summary: Example Bad Request Error
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: COMPLETE
- result:
- - Response Code: 3
- Message: NXDOMAIN
- E.164 Format: "+19195550000"
- Formatted: (919) 555-0000
- Country: US
+ links: []
+ data: {}
+ errors:
+ - type: bad-request
+ description: Bad Request. Ensure that you have set the requestId as a URL
+ path parameter.
+ unauthorizedExample:
+ summary: Unauthorized Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: Unauthorized
+ description: You are not authorized to access this resource.
+ code: "1"
+ page: null
+ forbiddenExample:
+ summary: Forbidden Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: Forbidden
+ description: You do not have permission to access this resource.
+ code: "2"
+ page: null
+ unsupportedMediaTypeExample:
+ summary: Unsupported Media Type Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: invalid-content-type
+ description: Invalid content-type. Ensure that your content-type header
+ is set to application/json.
+ notFoundExample:
+ summary: Not Found Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: not-found
+ description: RequestId not found. Ensure that the requestId used in the
+ URL path is valid and maps to a previous request that was submitted.
+ tooManyRequestsExample:
+ summary: Too Many Requests Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: rate-limiting
+ description: Rate limit exceeded. Wait for the time specified in the Retry-After
+ header before sending another request.
+ internalServerErrorExample:
+ summary: Internal Server Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - code: "500"
+ type: unexpected-error
+ description: Unexpected error. Please contact Bandwidth Support if your
+ requests are receiving this status code for an extended period of time.
parameters:
accountId:
description: Your Bandwidth Account ID.
@@ -6401,7 +6485,7 @@ components:
name: messageStatus
required: false
schema:
- $ref: '#/components/schemas/messageStatusEnum'
+ $ref: "#/components/schemas/messageStatusEnum"
style: form
messageDirection:
description: The direction of the message. One of INBOUND OUTBOUND.
@@ -6410,7 +6494,7 @@ components:
name: messageDirection
required: false
schema:
- $ref: '#/components/schemas/listMessageDirectionEnum'
+ $ref: "#/components/schemas/listMessageDirectionEnum"
style: form
carrierName:
description: The name of the carrier used for this message. Possible values
@@ -6431,7 +6515,7 @@ components:
name: messageType
required: false
schema:
- $ref: '#/components/schemas/messageTypeEnum'
+ $ref: "#/components/schemas/messageTypeEnum"
style: form
errorCode:
description: The error code of the message.
@@ -6505,7 +6589,7 @@ components:
name: product
required: false
schema:
- $ref: '#/components/schemas/productTypeEnum'
+ $ref: "#/components/schemas/productTypeEnum"
style: form
location:
description: Location Id associated with the message.
@@ -6842,14 +6926,25 @@ components:
schema:
type: string
style: form
+ accountId1:
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
+ type: string
+ style: simple
requestId:
- description: The phone number lookup request ID from Bandwidth.
- example: 004223a0-8b17-41b1-bf81-20732adf5590
explode: false
in: path
name: requestId
required: true
schema:
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
type: string
style: simple
tfPhoneNumberPathParam:
@@ -6860,7 +6955,7 @@ components:
name: phoneNumber
required: true
schema:
- $ref: '#/components/schemas/tfPhoneNumber'
+ $ref: "#/components/schemas/tfPhoneNumber"
style: simple
webhookSubscriptionIdPathParam:
description: Webhook subscription ID
@@ -6877,13 +6972,13 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/messageRequest'
+ $ref: "#/components/schemas/messageRequest"
required: true
createMultiChannelMessageRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/multiChannelMessageRequest'
+ $ref: "#/components/schemas/multiChannelMessageRequest"
required: true
uploadMediaRequest:
content:
@@ -7084,14 +7179,14 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/createCall'
+ $ref: "#/components/schemas/createCall"
description: JSON object containing information to create an outbound call
required: true
updateCallRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/updateCall'
+ $ref: "#/components/schemas/updateCall"
description: JSON object containing information to redirect an existing call
to a new BXML document
required: true
@@ -7121,19 +7216,19 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/updateCallRecording'
+ $ref: "#/components/schemas/updateCallRecording"
required: true
transcribeRecordingRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/transcribeRecording'
+ $ref: "#/components/schemas/transcribeRecording"
required: true
updateConferenceRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/updateConference'
+ $ref: "#/components/schemas/updateConference"
required: true
updateConferenceBxmlRequest:
content:
@@ -7154,46 +7249,56 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/updateConferenceMember'
+ $ref: "#/components/schemas/updateConferenceMember"
required: true
codeRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/codeRequest'
+ $ref: "#/components/schemas/codeRequest"
description: MFA code request body.
required: true
codeVerify:
content:
application/json:
schema:
- $ref: '#/components/schemas/verifyCodeRequest'
+ $ref: "#/components/schemas/verifyCodeRequest"
description: MFA code verify request body.
required: true
- createLookupRequest:
+ createSyncLookupRequest:
content:
application/json:
examples:
singleNumberRequestExample:
- $ref: '#/components/examples/singleNumberRequestExample'
+ $ref: "#/components/examples/singleNumberRequestExample"
+ multipleNumberRequestExample:
+ $ref: "#/components/examples/multipleNumberRequestExample"
+ schema:
+ $ref: "#/components/schemas/syncLookupRequest"
+ description: Synchronous phone number lookup request.
+ required: true
+ createAsyncBulkLookupRequest:
+ content:
+ application/json:
+ examples:
multipleNumberRequestExample:
- $ref: '#/components/examples/multipleNumberRequestExample'
+ $ref: "#/components/examples/multipleNumberRequestExample"
schema:
- $ref: '#/components/schemas/lookupRequest'
- description: Phone number lookup request.
+ $ref: "#/components/schemas/asyncLookupRequest"
+ description: Asynchronous bulk phone number lookup request.
required: true
requestTollFreeVerificationRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/verificationRequest'
+ $ref: "#/components/schemas/verificationRequest"
description: Request for verification of a toll-free phone number.
required: true
updateTollFreeVerificationRequestRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/tfvSubmissionWrapper'
+ $ref: "#/components/schemas/tfvSubmissionWrapper"
description: Update a request for verification of a toll-free phone number.
required: true
verificationWebhookRequest:
@@ -7201,17 +7306,17 @@ components:
application/json:
schema:
oneOf:
- - $ref: '#/components/schemas/verificationWebhook'
- - $ref: '#/components/schemas/verificationDenialWebhook'
- - $ref: '#/components/schemas/failureWebhook'
- - $ref: '#/components/schemas/blockedWebhook'
+ - $ref: "#/components/schemas/verificationWebhook"
+ - $ref: "#/components/schemas/verificationDenialWebhook"
+ - $ref: "#/components/schemas/failureWebhook"
+ - $ref: "#/components/schemas/blockedWebhook"
description: Verification callback status of a toll-free phone number.
required: true
webhookSubscriptionRequest:
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscriptionRequestSchema'
+ $ref: "#/components/schemas/webhookSubscriptionRequestSchema"
description: Information about a webhook that Bandwidth should send upon the
completion of event customer is trying to subscribe to.
required: true
@@ -7220,19 +7325,19 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/message'
+ $ref: "#/components/schemas/message"
description: Accepted
createMultiChannelMessageResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/createMultiChannelMessageResponse'
+ $ref: "#/components/schemas/createMultiChannelMessageResponse"
description: Accepted
listMessagesResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagesList'
+ $ref: "#/components/schemas/messagesList"
description: OK
getMediaResponse:
content:
@@ -7247,7 +7352,7 @@ components:
application/json:
schema:
items:
- $ref: '#/components/schemas/media'
+ $ref: "#/components/schemas/media"
type: array
description: OK
headers:
@@ -7261,61 +7366,61 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Bad Request
messagingNotAcceptableError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Acceptable
createMessageBadRequestError:
content:
application/json:
schema:
- $ref: '#/components/schemas/createMessageRequestError'
+ $ref: "#/components/schemas/createMessageRequestError"
description: Bad Request
messagingUnauthorizedError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unauthorized
messagingForbiddenError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Forbidden
messagingNotFoundError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Not Found
messagingMethodNotAllowedError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Method Not Allowed
messagingInvalidMediaTypeError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Unsupported Media Type
messagingTooManyRequestsError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Too Many Requests
messagingInternalServerError:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingRequestError'
+ $ref: "#/components/schemas/messagingRequestError"
description: Internal Server Error
multiChannelBadRequestError:
content:
@@ -7330,7 +7435,7 @@ components:
source:
field: "channelList[0].from"
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Bad Request
multiChannelNotAcceptableError:
description: Not Acceptable
@@ -7345,7 +7450,7 @@ components:
description: Authentication Failed
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Unauthorized
multiChannelForbiddenError:
content:
@@ -7358,7 +7463,7 @@ components:
description: Access Denied
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Forbidden
multiChannelNotFoundError:
content:
@@ -7371,7 +7476,7 @@ components:
description: Resource not found.
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Not Found
multiChannelMethodNotAllowedError:
content:
@@ -7384,7 +7489,7 @@ components:
description: Method 'PUT' not supported for this resource.
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Method Not Allowed
multiChannelInvalidMediaTypeError:
content:
@@ -7399,7 +7504,7 @@ components:
source:
header: Content-Type
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Unsupported Media Type
multiChannelTooManyRequestsError:
content:
@@ -7413,7 +7518,7 @@ components:
retry later.
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Too Many Requests
multiChannelInternalServerError:
content:
@@ -7426,16 +7531,16 @@ components:
description: Internal server error. No further information available
source: {}
schema:
- $ref: '#/components/schemas/multiChannelError'
+ $ref: "#/components/schemas/multiChannelError"
description: Internal Server Error
createCallResponse:
content:
application/json:
examples:
createCall Response:
- $ref: '#/components/examples/createCallResponseExample'
+ $ref: "#/components/examples/createCallResponseExample"
schema:
- $ref: '#/components/schemas/createCallResponse'
+ $ref: "#/components/schemas/createCallResponse"
description: Created
headers:
Location:
@@ -7448,7 +7553,7 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/callState'
+ $ref: "#/components/schemas/callState"
description: OK
updateCallResponse:
description: OK
@@ -7457,14 +7562,14 @@ components:
application/json:
schema:
items:
- $ref: '#/components/schemas/callState'
+ $ref: "#/components/schemas/callState"
type: array
description: OK
getStatisticsResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/accountStatistics'
+ $ref: "#/components/schemas/accountStatistics"
description: OK
updateRecordingResponse:
description: OK
@@ -7473,14 +7578,14 @@ components:
application/json:
schema:
items:
- $ref: '#/components/schemas/callRecordingMetadata'
+ $ref: "#/components/schemas/callRecordingMetadata"
type: array
description: OK
getCallRecordingResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/callRecordingMetadata'
+ $ref: "#/components/schemas/callRecordingMetadata"
description: OK
downloadRecordingMediaResponse:
content:
@@ -7497,19 +7602,19 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/recordingTranscriptions'
+ $ref: "#/components/schemas/recordingTranscriptions"
description: OK
listTranscriptionsResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/callTranscriptionMetadataList'
+ $ref: "#/components/schemas/callTranscriptionMetadataList"
description: OK
getCallTranscriptionResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/callTranscriptionResponse'
+ $ref: "#/components/schemas/callTranscriptionResponse"
description: OK
deleteCallTranscriptionResponse:
description: No Content
@@ -7518,109 +7623,109 @@ components:
application/json:
examples:
listConferences Response:
- $ref: '#/components/examples/listConferencesResponseExample'
+ $ref: "#/components/examples/listConferencesResponseExample"
schema:
items:
- $ref: '#/components/schemas/conference'
+ $ref: "#/components/schemas/conference"
type: array
description: OK
getConferenceResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/conference'
+ $ref: "#/components/schemas/conference"
description: OK
getConferenceMemberResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/conferenceMember'
+ $ref: "#/components/schemas/conferenceMember"
description: OK
listConferenceRecordingsResponse:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/conferenceRecordingMetadata'
+ $ref: "#/components/schemas/conferenceRecordingMetadata"
type: array
description: OK
getConferenceRecordingResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/conferenceRecordingMetadata'
+ $ref: "#/components/schemas/conferenceRecordingMetadata"
description: OK
voiceBadRequestError:
content:
application/json:
examples:
badRequestErrorExample:
- $ref: '#/components/examples/voiceBadRequestErrorExample'
+ $ref: "#/components/examples/voiceBadRequestErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Bad Request
voiceUnauthorizedError:
content:
application/json:
examples:
unauthorizedErrorExample:
- $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ $ref: "#/components/examples/voiceUnauthorizedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unauthorized
voiceForbiddenError:
content:
application/json:
examples:
forbiddenErrorExample:
- $ref: '#/components/examples/voiceForbiddenErrorExample'
+ $ref: "#/components/examples/voiceForbiddenErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Forbidden
voiceNotFoundError:
content:
application/json:
examples:
notFoundErrorExample:
- $ref: '#/components/examples/voiceNotFoundErrorExample'
+ $ref: "#/components/examples/voiceNotFoundErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Not Found
voiceNotAllowedError:
content:
application/json:
examples:
notAllowedErrorExample:
- $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ $ref: "#/components/examples/voiceNotAllowedErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Method Not Allowed
voiceConflictError:
content:
application/json:
examples:
conflictErrorExample:
- $ref: '#/components/examples/voiceConflictErrorExample'
+ $ref: "#/components/examples/voiceConflictErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Conflict
voiceUnsupportedMediaTypeError:
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ $ref: "#/components/examples/voiceUnsupportedMediaTypeErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Unsupported Media Type
voiceTooManyRequestsError:
content:
application/json:
examples:
tooManyRequestsErrorExample:
- $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ $ref: "#/components/examples/voiceTooManyRequestsErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Too Many Requests
headers:
Retry-After:
@@ -7634,187 +7739,149 @@ components:
application/json:
examples:
internalServerErrorExample:
- $ref: '#/components/examples/voiceInternalServerErrorExample'
+ $ref: "#/components/examples/voiceInternalServerErrorExample"
schema:
- $ref: '#/components/schemas/voiceApiError'
+ $ref: "#/components/schemas/voiceApiError"
description: Internal Server Error
voiceCodeResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/voiceCodeResponse'
+ $ref: "#/components/schemas/voiceCodeResponse"
description: OK
messagingCodeResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/messagingCodeResponse'
+ $ref: "#/components/schemas/messagingCodeResponse"
description: OK
verifyCodeResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/verifyCodeResponse'
+ $ref: "#/components/schemas/verifyCodeResponse"
description: OK
mfaBadRequestError:
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Bad Request
mfaUnauthorizedError:
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaUnauthorizedRequestError'
+ $ref: "#/components/schemas/mfaUnauthorizedRequestError"
description: Unauthorized
mfaForbiddenError:
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaForbiddenRequestError'
+ $ref: "#/components/schemas/mfaForbiddenRequestError"
description: Forbidden
mfaTooManyRequestsError:
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Too Many Requests
mfaInternalServerError:
content:
application/json:
schema:
- $ref: '#/components/schemas/mfaRequestError'
+ $ref: "#/components/schemas/mfaRequestError"
description: Internal Server Error
- createLookupResponse:
+ createSyncLookupResponse:
content:
application/json:
examples:
- lookupResponseExample:
- $ref: '#/components/examples/lookupInProgressExample'
- schema:
- $ref: '#/components/schemas/createLookupResponse'
- description: Accepted
- getLookupResponse:
- content:
- application/json:
- examples:
- lookupInProgressExample:
- $ref: '#/components/examples/lookupInProgressExample'
+ lookupCompleteWithDniExample:
+ $ref: "#/components/examples/lookupCompleteWithDniExample"
+ lookupCompleteExample:
+ $ref: "#/components/examples/lookupCompleteExample"
+ lookupPartialExample:
+ $ref: "#/components/examples/lookupPartialExample"
lookupFailedExample:
- $ref: '#/components/examples/lookupFailedExample'
- lookupSingleNumberCompleteExample:
- $ref: '#/components/examples/lookupSingleNumberCompleteExample'
- lookupMultipleNumbersCompleteExample:
- $ref: '#/components/examples/lookupMultipleNumbersCompleteExample'
- lookupMultipleNumbersPartialCompleteExample:
- $ref: '#/components/examples/lookupMultipleNumbersPartialCompleteExample'
- lookupSingleNumberCompleteNoInfoExample:
- $ref: '#/components/examples/lookupSingleNumberCompleteNoInfoExample'
- schema:
- $ref: '#/components/schemas/lookupStatus'
+ $ref: "#/components/examples/lookupFailedExample"
+ schema:
+ $ref: "#/components/schemas/createSyncLookupResponse"
description: OK
- tnLookupBadRequestError:
+ createAsyncBulkLookupResponse:
content:
application/json:
examples:
- badRequest:
- summary: Example Bad Request Error
- value:
- message: "Some tns do not match e164 format: 1234"
+ lookupInProgressExample:
+ $ref: "#/components/examples/lookupInProgressExample"
schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Bad Request
- tnLookupUnauthorizedError:
+ $ref: "#/components/schemas/createAsyncBulkLookupResponse"
+ description: Accepted
+ getAsyncBulkLookupResponse:
content:
application/json:
examples:
- unauthorized:
- summary: Example Unauthorized Error
- value:
- message: Unauthorized
+ lookupCompleteWithDniExample:
+ $ref: "#/components/examples/lookupCompleteWithDniExample"
+ lookupCompleteExample:
+ $ref: "#/components/examples/lookupCompleteExample"
+ lookupInProgressExample:
+ $ref: "#/components/examples/lookupInProgressExample"
+ lookupPartialExample:
+ $ref: "#/components/examples/lookupPartialExample"
+ lookupFailedExample:
+ $ref: "#/components/examples/lookupFailedExample"
schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Unauthorized
- tnLookupForbiddenError:
+ $ref: "#/components/schemas/getAsyncBulkLookupResponse"
+ description: OK
+ tnLookupDefaultResponse:
content:
application/json:
examples:
+ badRequest:
+ $ref: "#/components/examples/badRequestExample"
+ unauthorized:
+ $ref: "#/components/examples/unauthorizedExample"
forbidden:
- summary: Example Forbidden Error
- value:
- message: Authorization header requires 'Credential' parameter. Authorization
- header requires 'Signature' parameter. Authorization header requires
- 'SignedHeaders' parameter. Authorization header requires existence
- of either a 'X-Amz-Date' or a 'Date' header. Authorization=Basic
- Y2tvZloPTGhHgywYIzGlcGVlcGvvcGovYTIGIt=='
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Forbidden
- tnLookupMediaTypeError:
- content:
- application/json:
- examples:
- mediaType:
- summary: Example Unsupported Media Type Error
- value:
- message: Content-Type must be application/json.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Unsupported Media Type
- tnLookupNotFoundError:
- description: Not Found
- tnLookupTooManyRequestsError:
- content:
- application/json:
- examples:
- mediaType:
- summary: Example Too Many Requests Error
- value:
- message: Too many requests.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Too Many Requests
- tnLookupInternalServerError:
- content:
- application/json:
- examples:
+ $ref: "#/components/examples/forbiddenExample"
mediaType:
- summary: Example Internal Server Error Error
- value:
- message: Request has not been passed further.
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- description: Internal Server Error
+ $ref: "#/components/examples/unsupportedMediaTypeExample"
+ notFound:
+ $ref: "#/components/examples/notFoundExample"
+ tooManyRequests:
+ $ref: "#/components/examples/tooManyRequestsExample"
+ internalServer:
+ $ref: "#/components/examples/internalServerErrorExample"
+ schema:
+ $ref: "#/components/schemas/lookupErrorResponse"
+ description: Bad Request
getTollFreeVerificationStatusResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/tfvStatus'
+ $ref: "#/components/schemas/tfvStatus"
description: OK
listWebhookSubscriptionsResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscriptionsListBody'
+ $ref: "#/components/schemas/webhookSubscriptionsListBody"
description: OK
createWebhookSubscriptionResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscription'
+ $ref: "#/components/schemas/webhookSubscription"
description: Created
updateWebhookSubscriptionResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/webhookSubscription'
+ $ref: "#/components/schemas/webhookSubscription"
description: OK
listTollFreeUseCasesResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/useCases'
+ $ref: "#/components/schemas/useCases"
description: OK
tfvBadRequestResponse:
content:
@@ -7823,7 +7890,7 @@ components:
description: Cannot process request.
type: bad request
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
noContentResponse:
description: No Content
@@ -7837,7 +7904,7 @@ components:
businessContactEmail: Business contact email is not a valid email address.
optInWorkflowImageURLs: Entries must be a valid array of objects.
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Bad Request
tfvUnauthorizedResponse:
content:
@@ -7846,7 +7913,7 @@ components:
description: Client is providing incorrect or invalid credentials.
type: unauthorized
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Unauthorized
tfvForbiddenResponse:
content:
@@ -7855,7 +7922,7 @@ components:
description: Client is not authorized for the action.
type: forbidden
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Forbidden
tfvNotFoundResponse:
content:
@@ -7864,7 +7931,7 @@ components:
description: Cannot find the requested resource.
type: Not Found
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Cannot find the requested resource.
tfvNotAllowedResponse:
content:
@@ -7873,7 +7940,7 @@ components:
description: Method is not allowed.
type: Method Not Allowed
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Method Not Allowed
tfvTooManyRequestsResponse:
content:
@@ -7882,7 +7949,7 @@ components:
description: Throttling error. Too many requests.
type: Too Many Requests
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Too Many Requests
tfvServerErrorResponse:
content:
@@ -7891,7 +7958,7 @@ components:
description: Internal Server Error.
type: Internal Server Error
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Internal Server Error
tfvServiceUnavailableResponse:
content:
@@ -7900,7 +7967,7 @@ components:
description: Service Unavailable Error.
type: Service Unavailable
schema:
- $ref: '#/components/schemas/tfvError'
+ $ref: "#/components/schemas/tfvError"
description: Service Unavailable
schemas:
applicationId:
@@ -8045,10 +8112,10 @@ components:
example: 100
type: integer
pageInfo:
- $ref: '#/components/schemas/pageInfo'
+ $ref: "#/components/schemas/pageInfo"
messages:
items:
- $ref: '#/components/schemas/listMessageItem'
+ $ref: "#/components/schemas/listMessageItem"
type: array
title: MessagesList
type: object
@@ -8095,11 +8162,11 @@ components:
example: "+15554442222"
type: string
messageStatus:
- $ref: '#/components/schemas/messageStatusEnum'
+ $ref: "#/components/schemas/messageStatusEnum"
messageDirection:
- $ref: '#/components/schemas/listMessageDirectionEnum'
+ $ref: "#/components/schemas/listMessageDirectionEnum"
messageType:
- $ref: '#/components/schemas/messageTypeEnum'
+ $ref: "#/components/schemas/messageTypeEnum"
segmentCount:
description: The number of segments the user's message is broken into before
sending over carrier networks.
@@ -8241,7 +8308,7 @@ components:
type: string
fieldErrors:
items:
- $ref: '#/components/schemas/fieldError'
+ $ref: "#/components/schemas/fieldError"
type: array
required:
- description
@@ -8332,7 +8399,7 @@ components:
example: 1
type: integer
direction:
- $ref: '#/components/schemas/messageDirectionEnum'
+ $ref: "#/components/schemas/messageDirectionEnum"
to:
description: The phone number recipients of the message.
example:
@@ -8367,7 +8434,7 @@ components:
title: Tag
type: string
priority:
- $ref: '#/components/schemas/priorityEnum'
+ $ref: "#/components/schemas/priorityEnum"
expiration:
description: "A string with the date/time value that the message will automatically\
\ expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z\
@@ -8428,7 +8495,7 @@ components:
title: Tag
type: string
priority:
- $ref: '#/components/schemas/priorityEnum'
+ $ref: "#/components/schemas/priorityEnum"
expiration:
description: "A string with the date/time value that the message will automatically\
\ expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z\
@@ -8585,14 +8652,14 @@ components:
links:
example: []
items:
- $ref: '#/components/schemas/link'
+ $ref: "#/components/schemas/link"
type: array
data:
- $ref: '#/components/schemas/multiChannelMessageResponseData'
+ $ref: "#/components/schemas/multiChannelMessageResponseData"
errors:
example: []
items:
- $ref: '#/components/schemas/errorObject'
+ $ref: "#/components/schemas/errorObject"
type: array
type: object
multiChannelError:
@@ -8618,7 +8685,7 @@ components:
links:
example: []
items:
- $ref: '#/components/schemas/link'
+ $ref: "#/components/schemas/link"
type: array
data:
nullable: true
@@ -8626,7 +8693,7 @@ components:
example: null
errors:
items:
- $ref: '#/components/schemas/errorObject'
+ $ref: "#/components/schemas/errorObject"
type: array
type: object
link:
@@ -8653,7 +8720,7 @@ components:
description: A detailed explanation of the error.
type: string
source:
- $ref: '#/components/schemas/errorSource'
+ $ref: "#/components/schemas/errorSource"
required:
- description
- source
@@ -8740,7 +8807,7 @@ components:
suggestions:
description: An array of suggested actions for the recipient.
items:
- $ref: '#/components/schemas/multiChannelAction'
+ $ref: "#/components/schemas/multiChannelAction"
maxItems: 11
type: array
required:
@@ -8792,11 +8859,11 @@ components:
rbmMessageMedia:
properties:
media:
- $ref: '#/components/schemas/rbmMessageContentFile'
+ $ref: "#/components/schemas/rbmMessageContentFile"
suggestions:
description: An array of suggested actions for the recipient.
items:
- $ref: '#/components/schemas/multiChannelAction'
+ $ref: "#/components/schemas/multiChannelAction"
maxItems: 11
type: array
required:
@@ -8816,27 +8883,27 @@ components:
maxLength: 2000
type: string
media:
- $ref: '#/components/schemas/rbmCardContent_media'
+ $ref: "#/components/schemas/rbmCardContent_media"
suggestions:
description: An array of suggested actions for the recipient that will be
displayed on the rich card.
items:
- $ref: '#/components/schemas/multiChannelAction'
+ $ref: "#/components/schemas/multiChannelAction"
maxItems: 4
type: array
type: object
rbmStandaloneCard:
properties:
orientation:
- $ref: '#/components/schemas/standaloneCardOrientationEnum'
+ $ref: "#/components/schemas/standaloneCardOrientationEnum"
thumbnailImageAlignment:
- $ref: '#/components/schemas/thumbnailAlignmentEnum'
+ $ref: "#/components/schemas/thumbnailAlignmentEnum"
cardContent:
- $ref: '#/components/schemas/rbmCardContent'
+ $ref: "#/components/schemas/rbmCardContent"
suggestions:
description: An array of suggested actions for the recipient.
items:
- $ref: '#/components/schemas/multiChannelAction'
+ $ref: "#/components/schemas/multiChannelAction"
maxItems: 11
type: array
required:
@@ -8862,16 +8929,16 @@ components:
rbmMessageCarouselCard:
properties:
cardWidth:
- $ref: '#/components/schemas/cardWidthEnum'
+ $ref: "#/components/schemas/cardWidthEnum"
cardContents:
items:
- $ref: '#/components/schemas/rbmCardContent'
+ $ref: "#/components/schemas/rbmCardContent"
maxItems: 10
type: array
suggestions:
description: An array of suggested actions for the recipient.
items:
- $ref: '#/components/schemas/multiChannelAction'
+ $ref: "#/components/schemas/multiChannelAction"
maxItems: 11
type: array
required:
@@ -8907,14 +8974,14 @@ components:
type: string
media:
items:
- $ref: '#/components/schemas/mmsMessageContentFile'
+ $ref: "#/components/schemas/mmsMessageContentFile"
type: array
title: MMS Message
type: object
rbmMessageContentRichCard:
oneOf:
- - $ref: '#/components/schemas/rbmStandaloneCard'
- - $ref: '#/components/schemas/rbmMessageCarouselCard'
+ - $ref: "#/components/schemas/rbmStandaloneCard"
+ - $ref: "#/components/schemas/rbmMessageCarouselCard"
title: RBM Rich Card
rbmActionTypeEnum:
enum:
@@ -8948,7 +9015,7 @@ components:
type: REPLY
properties:
type:
- $ref: '#/components/schemas/rbmActionTypeEnum'
+ $ref: "#/components/schemas/rbmActionTypeEnum"
text:
description: Displayed text for user to click
example: Hello world
@@ -8970,7 +9037,7 @@ components:
type: object
rbmActionDial:
allOf:
- - $ref: '#/components/schemas/rbmActionBase'
+ - $ref: "#/components/schemas/rbmActionBase"
- properties:
phoneNumber:
description: The phone number to dial. Must be E164 format.
@@ -8982,7 +9049,7 @@ components:
type: object
rbmActionViewLocation:
allOf:
- - $ref: '#/components/schemas/rbmActionBase'
+ - $ref: "#/components/schemas/rbmActionBase"
- properties:
latitude:
description: The latitude of the location.
@@ -9006,7 +9073,7 @@ components:
type: object
multiChannelActionCalendarEvent:
allOf:
- - $ref: '#/components/schemas/rbmActionBase'
+ - $ref: "#/components/schemas/rbmActionBase"
- properties:
title:
description: The title of the event.
@@ -9036,7 +9103,7 @@ components:
type: object
rbmActionOpenUrl:
allOf:
- - $ref: '#/components/schemas/rbmActionBase'
+ - $ref: "#/components/schemas/rbmActionBase"
- properties:
url:
description: The URL to open in browser.
@@ -9051,25 +9118,25 @@ components:
multiChannelFullActions:
description: An array of suggested actions for the recipient.
items:
- $ref: '#/components/schemas/multiChannelAction'
+ $ref: "#/components/schemas/multiChannelAction"
maxItems: 11
type: array
multiChannelAction:
discriminator:
mapping:
- REPLY: '#/components/schemas/rbmActionBase'
- DIAL_PHONE: '#/components/schemas/rbmActionDial'
- SHOW_LOCATION: '#/components/schemas/rbmActionViewLocation'
- CREATE_CALENDAR_EVENT: '#/components/schemas/multiChannelActionCalendarEvent'
- OPEN_URL: '#/components/schemas/rbmActionOpenUrl'
- REQUEST_LOCATION: '#/components/schemas/rbmActionBase'
+ REPLY: "#/components/schemas/rbmActionBase"
+ DIAL_PHONE: "#/components/schemas/rbmActionDial"
+ SHOW_LOCATION: "#/components/schemas/rbmActionViewLocation"
+ CREATE_CALENDAR_EVENT: "#/components/schemas/multiChannelActionCalendarEvent"
+ OPEN_URL: "#/components/schemas/rbmActionOpenUrl"
+ REQUEST_LOCATION: "#/components/schemas/rbmActionBase"
propertyName: type
oneOf:
- - $ref: '#/components/schemas/rbmActionBase'
- - $ref: '#/components/schemas/rbmActionDial'
- - $ref: '#/components/schemas/rbmActionViewLocation'
- - $ref: '#/components/schemas/multiChannelActionCalendarEvent'
- - $ref: '#/components/schemas/rbmActionOpenUrl'
+ - $ref: "#/components/schemas/rbmActionBase"
+ - $ref: "#/components/schemas/rbmActionDial"
+ - $ref: "#/components/schemas/rbmActionViewLocation"
+ - $ref: "#/components/schemas/multiChannelActionCalendarEvent"
+ - $ref: "#/components/schemas/rbmActionOpenUrl"
multiChannelChannelListObject:
properties:
from:
@@ -9083,9 +9150,9 @@ components:
example: 93de2206-9669-4e07-948d-329f4b722ee2
type: string
channel:
- $ref: '#/components/schemas/multiChannelMessageChannelEnum'
+ $ref: "#/components/schemas/multiChannelMessageChannelEnum"
content:
- $ref: '#/components/schemas/multiChannelChannelListObject_content'
+ $ref: "#/components/schemas/multiChannelChannelListObject_content"
required:
- applicationId
- channel
@@ -9104,7 +9171,7 @@ components:
\ the order they are listed. Once a message sends successfully, the others\
\ will be ignored."
items:
- $ref: '#/components/schemas/multiChannelChannelListObject'
+ $ref: "#/components/schemas/multiChannelChannelListObject"
maxItems: 4
type: array
tag:
@@ -9114,7 +9181,7 @@ components:
title: Tag
type: string
priority:
- $ref: '#/components/schemas/priorityEnum'
+ $ref: "#/components/schemas/priorityEnum"
expiration:
description: "A string with the date/time value that the message will automatically\
\ expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z\
@@ -9257,7 +9324,7 @@ components:
format: date-time
type: string
direction:
- $ref: '#/components/schemas/messageDirectionEnum'
+ $ref: "#/components/schemas/messageDirectionEnum"
to:
description: "The destination phone number(s) of the message, in E164 format."
example:
@@ -9271,7 +9338,7 @@ components:
\ the order they are listed. Once a message sends successfully, the others\
\ will be ignored."
items:
- $ref: '#/components/schemas/multiChannelMessageResponseData_channelList_inner'
+ $ref: "#/components/schemas/multiChannelMessageResponseData_channelList_inner"
maxItems: 4
type: array
tag:
@@ -9281,7 +9348,7 @@ components:
title: Tag
type: string
priority:
- $ref: '#/components/schemas/priorityEnum'
+ $ref: "#/components/schemas/priorityEnum"
expiration:
description: "A string with the date/time value that the message will automatically\
\ expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z\
@@ -9302,7 +9369,7 @@ components:
text:
type: string
media:
- $ref: '#/components/schemas/rbmMessageContentFile'
+ $ref: "#/components/schemas/rbmMessageContentFile"
type: object
rbmSuggestionResponse:
properties:
@@ -9339,17 +9406,17 @@ components:
- `inboundCallback` indicates an inbound MO message or a multichannel message client's response to a suggestion or location request.
discriminator:
mapping:
- message-sent: '#/components/schemas/statusCallback'
- message-delivered: '#/components/schemas/statusCallback'
- message-failed: '#/components/schemas/statusCallback'
- message-read: '#/components/schemas/statusCallback'
- message-received: '#/components/schemas/inboundCallback'
- request-location-response: '#/components/schemas/inboundCallback'
- suggestion-response: '#/components/schemas/inboundCallback'
+ message-sent: "#/components/schemas/statusCallback"
+ message-delivered: "#/components/schemas/statusCallback"
+ message-failed: "#/components/schemas/statusCallback"
+ message-read: "#/components/schemas/statusCallback"
+ message-received: "#/components/schemas/inboundCallback"
+ request-location-response: "#/components/schemas/inboundCallback"
+ suggestion-response: "#/components/schemas/inboundCallback"
propertyName: type
oneOf:
- - $ref: '#/components/schemas/statusCallback'
- - $ref: '#/components/schemas/inboundCallback'
+ - $ref: "#/components/schemas/statusCallback"
+ - $ref: "#/components/schemas/inboundCallback"
type: object
statusCallback:
description: Represents a status callback for an outbound MT SMS or MMS or RBM
@@ -9366,7 +9433,7 @@ components:
format: date-time
type: string
type:
- $ref: '#/components/schemas/statusCallbackTypeEnum'
+ $ref: "#/components/schemas/statusCallbackTypeEnum"
to:
description: |-
The destination phone number the message was sent to.
@@ -9378,7 +9445,7 @@ components:
example: Message delivered to carrier.
type: string
message:
- $ref: '#/components/schemas/statusCallbackMessage'
+ $ref: "#/components/schemas/statusCallbackMessage"
errorCode:
description: "Optional error code, applicable only when type is `message-failed`."
example: 4405
@@ -9405,7 +9472,7 @@ components:
format: date-time
type: string
type:
- $ref: '#/components/schemas/inboundCallbackTypeEnum'
+ $ref: "#/components/schemas/inboundCallbackTypeEnum"
to:
description: "The destination phone number the message was sent to. \nFor\
\ inbound callbacks, this is the Bandwidth number or alphanumeric identifier\
@@ -9417,7 +9484,7 @@ components:
example: Incoming message received
type: string
message:
- $ref: '#/components/schemas/inboundCallbackMessage'
+ $ref: "#/components/schemas/inboundCallbackMessage"
carrierName:
description: "The name of the Authorized Message Provider (AMP) that handled\
\ this message. \nIn the US, this is the carrier that the message was\
@@ -9487,7 +9554,7 @@ components:
example: 1
type: integer
direction:
- $ref: '#/components/schemas/messageDirectionEnum'
+ $ref: "#/components/schemas/messageDirectionEnum"
to:
description: The phone number recipients of the message.
example:
@@ -9520,9 +9587,9 @@ components:
type: string
type: array
priority:
- $ref: '#/components/schemas/priorityEnum'
+ $ref: "#/components/schemas/priorityEnum"
channel:
- $ref: '#/components/schemas/multiChannelMessageChannelEnum'
+ $ref: "#/components/schemas/multiChannelMessageChannelEnum"
required:
- applicationId
- direction
@@ -9535,14 +9602,14 @@ components:
type: object
inboundCallbackMessage:
allOf:
- - $ref: '#/components/schemas/statusCallbackMessage'
+ - $ref: "#/components/schemas/statusCallbackMessage"
- properties:
content:
- $ref: '#/components/schemas/multiChannelMessageContent'
+ $ref: "#/components/schemas/multiChannelMessageContent"
suggestionResponse:
- $ref: '#/components/schemas/rbmSuggestionResponse'
+ $ref: "#/components/schemas/rbmSuggestionResponse"
locationResponse:
- $ref: '#/components/schemas/rbmLocationResponse'
+ $ref: "#/components/schemas/rbmLocationResponse"
type: object
required:
- applicationId
@@ -9706,7 +9773,7 @@ components:
maxLength: 2048
type: string
answerMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
username:
description: Basic auth username.
example: mySecretUsername
@@ -9731,7 +9798,7 @@ components:
nullable: true
type: string
answerFallbackMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
fallbackUsername:
description: Basic auth username.
example: mySecretUsername
@@ -9753,7 +9820,7 @@ components:
nullable: true
type: string
disconnectMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
callTimeout:
default: 30
description: |-
@@ -9780,7 +9847,7 @@ components:
nullable: true
type: number
machineDetection:
- $ref: '#/components/schemas/machineDetectionConfiguration'
+ $ref: "#/components/schemas/machineDetectionConfiguration"
priority:
default: 5
description: |-
@@ -9887,14 +9954,14 @@ components:
nullable: true
type: string
answerMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
answerUrl:
description: URL to deliver the `answer` event webhook.
example: https://myServer.example/bandwidth/webhooks/answer
format: uri
type: string
answerFallbackMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
answerFallbackUrl:
description: Fallback URL to deliver the `answer` event webhook.
example: https://myFallbackServer.example/bandwidth/webhooks/answer
@@ -9902,7 +9969,7 @@ components:
nullable: true
type: string
disconnectMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
disconnectUrl:
description: URL to deliver the `disconnect` event webhook.
example: https://myServer.example/bandwidth/webhooks/disconnect
@@ -10002,7 +10069,7 @@ components:
example: "+19195554321"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
state:
description: |-
The current state of the call. Current possible values are
@@ -10109,7 +10176,7 @@ components:
updateCall:
properties:
state:
- $ref: '#/components/schemas/callStateEnum'
+ $ref: "#/components/schemas/callStateEnum"
redirectUrl:
description: |-
The URL to send the [Redirect](/docs/voice/bxml/redirect) event
@@ -10123,7 +10190,7 @@ components:
nullable: true
type: string
redirectMethod:
- $ref: '#/components/schemas/redirectMethodEnum'
+ $ref: "#/components/schemas/redirectMethodEnum"
username:
description: Basic auth username.
example: mySecretUsername
@@ -10145,7 +10212,7 @@ components:
nullable: true
type: string
redirectFallbackMethod:
- $ref: '#/components/schemas/redirectMethodEnum'
+ $ref: "#/components/schemas/redirectMethodEnum"
fallbackUsername:
description: Basic auth username.
example: mySecretUsername
@@ -10177,7 +10244,7 @@ components:
updateCallRecording:
properties:
state:
- $ref: '#/components/schemas/recordingStateEnum'
+ $ref: "#/components/schemas/recordingStateEnum"
required:
- state
type: object
@@ -10269,7 +10336,7 @@ components:
example: PT13.67S
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
channels:
description: Always `1` for conference recordings; multi-channel recordings
are not supported on conferences.
@@ -10287,7 +10354,7 @@ components:
format: date-time
type: string
fileFormat:
- $ref: '#/components/schemas/fileFormatEnum'
+ $ref: "#/components/schemas/fileFormatEnum"
status:
description: "The current status of the process. For recording, current\
\ possible values are 'processing', 'partial', 'complete', 'deleted',\
@@ -10305,7 +10372,7 @@ components:
nullable: true
type: string
transcription:
- $ref: '#/components/schemas/recordingTranscriptionMetadata'
+ $ref: "#/components/schemas/recordingTranscriptionMetadata"
recordingName:
description: A name to identify this recording.
example: my-recording-name
@@ -10362,7 +10429,7 @@ components:
nullable: true
type: string
conferenceEventMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
tag:
description: The custom string attached to the conference that will be sent
with callbacks.
@@ -10374,14 +10441,14 @@ components:
A list of active members of the conference. Omitted if this
is a response to the [Get Conferences endpoint](/apis/voice#tag/Conferences/operation/listConferences).
items:
- $ref: '#/components/schemas/conferenceMember'
+ $ref: "#/components/schemas/conferenceMember"
nullable: true
type: array
type: object
updateConference:
properties:
status:
- $ref: '#/components/schemas/conferenceStateEnum'
+ $ref: "#/components/schemas/conferenceStateEnum"
redirectUrl:
description: |-
The URL to send the [conferenceRedirect](/docs/voice/webhooks/conferenceRedirect)
@@ -10392,7 +10459,7 @@ components:
nullable: true
type: string
redirectMethod:
- $ref: '#/components/schemas/redirectMethodEnum'
+ $ref: "#/components/schemas/redirectMethodEnum"
username:
description: Basic auth username.
example: mySecretUsername
@@ -10415,7 +10482,7 @@ components:
nullable: true
type: string
redirectFallbackMethod:
- $ref: '#/components/schemas/redirectMethodEnum'
+ $ref: "#/components/schemas/redirectMethodEnum"
fallbackUsername:
description: Basic auth username.
example: mySecretUsername
@@ -10568,7 +10635,7 @@ components:
format: date-time
type: string
fileFormat:
- $ref: '#/components/schemas/fileFormatEnum'
+ $ref: "#/components/schemas/fileFormatEnum"
status:
description: "The current status of the process. For recording, current\
\ possible values are 'processing', 'partial', 'complete', 'deleted',\
@@ -10598,7 +10665,7 @@ components:
\ need more information."
properties:
mode:
- $ref: '#/components/schemas/machineDetectionModeEnum'
+ $ref: "#/components/schemas/machineDetectionModeEnum"
detectionTimeout:
default: 15
description: |-
@@ -10665,7 +10732,7 @@ components:
nullable: true
type: string
callbackMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
username:
description: Basic auth username.
example: mySecretUsername
@@ -10689,7 +10756,7 @@ components:
nullable: true
type: string
fallbackMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
fallbackUsername:
description: Basic auth username.
example: mySecretUsername
@@ -10715,7 +10782,7 @@ components:
format: uri
type: string
callbackMethod:
- $ref: '#/components/schemas/callbackMethodEnum'
+ $ref: "#/components/schemas/callbackMethodEnum"
username:
description: Basic auth username.
example: mySecretUsername
@@ -10766,7 +10833,7 @@ components:
properties:
transcripts:
items:
- $ref: '#/components/schemas/transcription'
+ $ref: "#/components/schemas/transcription"
type: array
type: object
callTranscriptionMetadataList:
@@ -10775,7 +10842,7 @@ components:
transcriptionName: live_transcription
transcriptionUrl: https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
items:
- $ref: '#/components/schemas/callTranscriptionMetadata'
+ $ref: "#/components/schemas/callTranscriptionMetadata"
type: array
callTranscriptionMetadata:
properties:
@@ -10825,15 +10892,15 @@ components:
transcript: Hello World! This is an example.
confidence: 0.9
items:
- $ref: '#/components/schemas/callTranscription'
+ $ref: "#/components/schemas/callTranscription"
type: array
type: object
callTranscription:
properties:
detectedLanguage:
- $ref: '#/components/schemas/callTranscriptionDetectedLanguageEnum'
+ $ref: "#/components/schemas/callTranscriptionDetectedLanguageEnum"
track:
- $ref: '#/components/schemas/callTranscriptionTrackEnum'
+ $ref: "#/components/schemas/callTranscriptionTrackEnum"
transcript:
description: The transcription itself.
example: Hello World! This is an example.
@@ -10933,7 +11000,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -10968,7 +11035,7 @@ components:
nullable: true
type: string
machineDetectionResult:
- $ref: '#/components/schemas/machineDetectionResult'
+ $ref: "#/components/schemas/machineDetectionResult"
type: object
bridgeCompleteCallback:
description: "If the target call leaves the , then this callback is\
@@ -11012,7 +11079,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11106,7 +11173,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11429,7 +11496,7 @@ components:
example: PT13.67S
type: string
fileFormat:
- $ref: '#/components/schemas/fileFormatEnum'
+ $ref: "#/components/schemas/fileFormatEnum"
mediaUrl:
description: The URL that can be used to download the recording. Only present
if the recording is finished and may be downloaded.
@@ -11495,7 +11562,7 @@ components:
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callUrl:
description: The URL of the call associated with the event.
example: https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11592,7 +11659,7 @@ components:
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
digit:
description: The digit collected in the call.
example: "2"
@@ -11682,7 +11749,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11725,7 +11792,7 @@ components:
terminatingDigit:
description: (optional) The digit the user pressed to end the gather. Empty
string value if no terminating digit was pressed.
- example: '#'
+ example: "#"
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
@@ -11785,7 +11852,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11801,9 +11868,9 @@ components:
format: date-time
type: string
diversion:
- $ref: '#/components/schemas/diversion'
+ $ref: "#/components/schemas/diversion"
stirShaken:
- $ref: '#/components/schemas/stirShaken'
+ $ref: "#/components/schemas/stirShaken"
uui:
description: "The value of the `User-To-User` header to send within the\
\ initial `INVITE`. Must include the encoding parameter as specified in\
@@ -11854,7 +11921,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11889,7 +11956,7 @@ components:
nullable: true
type: string
machineDetectionResult:
- $ref: '#/components/schemas/machineDetectionResult'
+ $ref: "#/components/schemas/machineDetectionResult"
type: object
recordingCompleteCallback:
description: "The Record Complete event is sent after a verb has executed\
@@ -11932,7 +11999,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -11987,7 +12054,7 @@ components:
example: PT13.67S
type: string
fileFormat:
- $ref: '#/components/schemas/fileFormatEnum'
+ $ref: "#/components/schemas/fileFormatEnum"
channels:
description: Always `1` for conference recordings; multi-channel recordings
are not supported on conferences.
@@ -12050,7 +12117,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -12099,7 +12166,7 @@ components:
example: PT13.67S
type: string
fileFormat:
- $ref: '#/components/schemas/fileFormatEnum'
+ $ref: "#/components/schemas/fileFormatEnum"
channels:
description: Always `1` for conference recordings; multi-channel recordings
are not supported on conferences.
@@ -12171,7 +12238,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -12261,7 +12328,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -12310,7 +12377,7 @@ components:
example: PT13.67S
type: string
fileFormat:
- $ref: '#/components/schemas/fileFormatEnum'
+ $ref: "#/components/schemas/fileFormatEnum"
tag:
description: "(optional) The tag specified on call creation. If no tag was\
\ specified or it was previously cleared, this field will not be present."
@@ -12318,7 +12385,7 @@ components:
nullable: true
type: string
transcription:
- $ref: '#/components/schemas/transcription'
+ $ref: "#/components/schemas/transcription"
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
\ in E.164 format (e.g. +15555555555)."
@@ -12374,7 +12441,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -12461,7 +12528,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -12567,7 +12634,7 @@ components:
example: "+15555555555"
type: string
direction:
- $ref: '#/components/schemas/callDirectionEnum'
+ $ref: "#/components/schemas/callDirectionEnum"
callId:
description: The call id associated with the event.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -12711,7 +12778,7 @@ components:
terminatingDigit:
description: (optional) The digit the user pressed to end the gather. Empty
string value if no terminating digit was pressed.
- example: '#'
+ example: "#"
type: string
startTime:
description: "Time the call was started, in ISO 8601 format."
@@ -13039,9 +13106,14 @@ components:
example: Missing Authentication Token
type: string
type: object
- lookupStatusEnum:
- description: "The status of the request (IN_PROGRESS, COMPLETE, PARTIAL_COMPLETE,\
- \ or FAILED)."
+ completedLookupStatusEnum:
+ enum:
+ - COMPLETE
+ - PARTIAL_COMPLETE
+ - FAILED
+ example: COMPLETE
+ type: string
+ inProgressLookupStatusEnum:
enum:
- IN_PROGRESS
- COMPLETE
@@ -13049,137 +13121,377 @@ components:
- FAILED
example: COMPLETE
type: string
- lookupRequest:
- description: Create phone number lookup request.
+ deactivationEventEnum:
+ description: |
+ [DNI-Only](#section/DNI-Only).
+ `DEACTIVATED` if the carrier reported a deactivation event for this phone number.
+ enum:
+ - DEACTIVATED
+ type: string
+ latestMessageDeliveryStatusEnum:
+ description: |-
+ [DNI-Only](#section/DNI-Only). The current delivery status of the phone number.
+ - ACTIVE: A message was successfully sent to the number (delivery code 0).
+ - DEACTIVATED: A message was not delivered to a number (delivery code 720)
+ - UNKNOWN: Bandwidth cannot find an delivery status entry for the number.
+ enum:
+ - ACTIVE
+ - DEACTIVATED
+ - UNKNOWN
+ type: string
+ lineTypeEnum:
+ enum:
+ - FIXED
+ - VOIP-FIXED
+ - MOBILE
+ - VOIP
+ example: MOBILE
+ type: string
+ requestId:
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
+ type: string
+ linkSchema:
+ example:
+ method: GET
+ rel: aRelatedResource
+ href: /relative/uri
+ properties:
+ href:
+ description: URI of the link.
+ example: /relative/uri
+ type: string
+ rel:
+ description: Specifies the relationship between this link and the resource.
+ example: aRelatedResource
+ type: string
+ method:
+ description: HTTP method to be used.
+ example: GET
+ type: string
+ title: Link
+ type: object
+ lookupErrorSchema:
+ example:
+ code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
properties:
- tns:
+ code:
+ description: Validation error code
+ example: NO-MATCH
+ type: string
+ description:
+ description: Description of validation error
+ example: Example error description
+ type: string
+ type:
+ description: Type of validation error
+ example: NumberInventory
+ type: string
+ meta:
+ $ref: "#/components/schemas/lookupErrorSchema_meta"
+ type: object
+ syncLookupRequest:
+ properties:
+ phoneNumbers:
+ description: Telephone numbers in E.164 format.
+ items:
+ pattern: "^\\+[1-9]\\d{1,14}$"
+ type: string
+ maximum: 100
+ minimum: 1
+ type: array
+ required:
+ - phoneNumbers
+ type: object
+ asyncLookupRequest:
+ properties:
+ phoneNumbers:
+ description: Telephone numbers in E.164 format.
items:
+ pattern: "^\\+[1-9]\\d{1,14}$"
type: string
+ maximum: 15000
+ minimum: 1
type: array
required:
- - tns
+ - phoneNumbers
type: object
- createLookupResponse:
- description: "The request has been accepted for processing but not yet finished\
- \ and in a terminal state (COMPLETE, PARTIAL_COMPLETE, or FAILED)."
+ createSyncLookupResponse:
example:
- requestId: requestId
- status: COMPLETE
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ results:
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ status: COMPLETE
+ links: []
+ errors:
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
properties:
- requestId:
- description: The phone number lookup request ID from Bandwidth.
- type: string
- status:
- $ref: '#/components/schemas/lookupStatusEnum'
+ links:
+ example: []
+ items:
+ $ref: "#/components/schemas/linkSchema"
+ type: array
+ data:
+ $ref: "#/components/schemas/createSyncLookupResponse_data"
+ errors:
+ items:
+ $ref: "#/components/schemas/lookupErrorSchema"
+ type: array
type: object
- lookupStatus:
- description: "If requestId exists, the result for that request is returned.\
- \ See the Examples for details on the various responses that you can receive.\
- \ Generally, if you see a Response Code of 0 in a result for a TN, information\
- \ will be available for it. Any other Response Code will indicate no information\
- \ was available for the TN."
+ createAsyncBulkLookupResponse:
example:
- result:
- - E.164 Format: "+19195551234"
- Formatted: (919) 555-1234
- Line Provider: Verizon Wireless
- Message: NOERROR
- Line Type: Mobile
- Country: US
- Mobile Country Code: "310"
- Mobile Network Code: "010"
- Response Code: 0
- - E.164 Format: "+19195551234"
- Formatted: (919) 555-1234
- Line Provider: Verizon Wireless
- Message: NOERROR
- Line Type: Mobile
- Country: US
- Mobile Country Code: "310"
- Mobile Network Code: "010"
- Response Code: 0
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- failedTelephoneNumbers:
- - "+191955512345"
- status: COMPLETE
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: COMPLETE
+ links:
+ - method: GET
+ rel: aRelatedResource
+ href: /relative/uri
+ - method: GET
+ rel: aRelatedResource
+ href: /relative/uri
+ errors:
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
properties:
- requestId:
- description: The requestId.
- example: 004223a0-8b17-41b1-bf81-20732adf5590
- type: string
- status:
- $ref: '#/components/schemas/lookupStatusEnum'
- result:
- description: The carrier information results for the specified telephone
- number.
+ links:
+ description: Links for pagination (if applicable)
items:
- $ref: '#/components/schemas/lookupResult'
+ $ref: "#/components/schemas/linkSchema"
type: array
- failedTelephoneNumbers:
- description: The telephone numbers whose lookup failed.
- example:
- - "+191955512345"
+ data:
+ $ref: "#/components/schemas/createAsyncBulkLookupResponse_data"
+ errors:
items:
- type: string
+ $ref: "#/components/schemas/lookupErrorSchema"
+ type: array
+ type: object
+ getAsyncBulkLookupResponse:
+ example:
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ results:
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ status: COMPLETE
+ links: []
+ errors:
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
+ properties:
+ links:
+ example: []
+ items:
+ $ref: "#/components/schemas/linkSchema"
+ type: array
+ data:
+ $ref: "#/components/schemas/getAsyncBulkLookupResponse_data"
+ errors:
+ items:
+ $ref: "#/components/schemas/lookupErrorSchema"
+ type: array
+ type: object
+ lookupErrorResponse:
+ example:
+ data: "{}"
+ links: []
+ errors:
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
+ - code: NO-MATCH
+ meta:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ description: Example error description
+ type: NumberInventory
+ properties:
+ links:
+ example: []
+ items:
+ $ref: "#/components/schemas/linkSchema"
+ type: array
+ data:
+ description: The phone number lookup response data
+ type: object
+ errors:
+ items:
+ $ref: "#/components/schemas/lookupErrorSchema"
type: array
type: object
lookupResult:
description: Carrier information results for the specified telephone number.
example:
- E.164 Format: "+19195551234"
- Formatted: (919) 555-1234
- Line Provider: Verizon Wireless
- Message: NOERROR
- Line Type: Mobile
- Country: US
- Mobile Country Code: "310"
- Mobile Network Code: "010"
- Response Code: 0
+ deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
properties:
- Response Code:
- description: Our vendor's response code.
- example: 0
- type: integer
- Message:
- description: Message associated with the response code.
- example: NOERROR
- type: string
- E.164 Format:
+ phoneNumber:
description: The telephone number in E.164 format.
- example: "+19195551234"
- type: string
- Formatted:
- description: The formatted version of the telephone number.
- example: (919) 555-1234
+ example: "+10072904498"
type: string
- Country:
- description: The country of the telephone number.
- example: US
- type: string
- Line Type:
- description: The line type of the telephone number.
- example: Mobile
- type: string
- Line Provider:
+ lineType:
+ $ref: "#/components/schemas/lineTypeEnum"
+ messagingProvider:
description: The messaging service provider of the telephone number.
example: Verizon Wireless
type: string
- Mobile Country Code:
- description: The first half of the Home Network Identity (HNI).
- example: "310"
+ voiceProvider:
+ description: The voice service provider of the telephone number.
+ example: Verizon Wireless
type: string
- Mobile Network Code:
- description: The second half of the HNI.
- example: "010"
+ countryCodeA3:
+ description: The country code of the telephone number in ISO 3166-1 alpha-3
+ format.
+ example: USA
type: string
- type: object
- tnLookupRequestError:
- example:
- message: example error message
- properties:
- message:
- description: A description of what validation error occurred.
- example: example error message
+ deactivationReporter:
+ description: |
+ [DNI-Only](#section/DNI-Only).
+ The carrier that reported a deactivation event for this phone number.
+ type: string
+ deactivationDate:
+ description: "[DNI-Only](#section/DNI-Only). The datetime the carrier reported\
+ \ a deactivation event."
+ example: 2025-06-20 18:35
+ format: date-time-local
+ type: string
+ deactivationEvent:
+ $ref: "#/components/schemas/deactivationEventEnum"
+ latestMessageDeliveryStatus:
+ $ref: "#/components/schemas/latestMessageDeliveryStatusEnum"
+ initialMessageDeliveryStatusDate:
+ description: "[DNI-Only](#section/DNI-Only). The date the phone number entered\
+ \ the status described in `latestMessageDeliveryStatus`. \nThink of this\
+ \ as the \"start time\" for that status.\nValue resets every time the\
+ \ `latestMessageDeliveryStatus` changes."
+ example: 2025-06-20
+ format: date
+ type: string
+ latestMessageDeliveryStatusDate:
+ description: "[DNI-Only](#section/DNI-Only). The date bandwidth last received\
+ \ delivery status information for this phone number. \nUse this field\
+ \ to understand how up-to-date the `latestMessageDeliveryStatus` is.\n\
+ Value resets every time the `latestMessageDeliveryStatus` changes."
+ example: 2025-06-21
+ format: date
type: string
type: object
accountId1:
@@ -13334,9 +13646,9 @@ components:
verificationRequest:
properties:
businessAddress:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
businessContact:
- $ref: '#/components/schemas/contact'
+ $ref: "#/components/schemas/contact"
messageVolume:
description: Estimated monthly volume of messages from the toll-free number.
example: 10000
@@ -13345,7 +13657,7 @@ components:
type: integer
phoneNumbers:
items:
- $ref: '#/components/schemas/tfPhoneNumber'
+ $ref: "#/components/schemas/tfPhoneNumber"
maxItems: 10
minItems: 1
type: array
@@ -13370,7 +13682,7 @@ components:
nullable: false
type: string
optInWorkflow:
- $ref: '#/components/schemas/optInWorkflow'
+ $ref: "#/components/schemas/optInWorkflow"
additionalInformation:
description: Any additional information.
example: Any additional information
@@ -13408,9 +13720,9 @@ components:
nullable: true
type: string
businessRegistrationType:
- $ref: '#/components/schemas/businessRegistrationTypeEnum'
+ $ref: "#/components/schemas/businessRegistrationTypeEnum"
businessEntityType:
- $ref: '#/components/schemas/businessEntityTypeEnum'
+ $ref: "#/components/schemas/businessEntityTypeEnum"
helpMessageResponse:
description: A message that gets sent to users requesting help.
example: Please contact support for assistance.
@@ -13434,9 +13746,9 @@ components:
verificationUpdateRequest:
properties:
businessAddress:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
businessContact:
- $ref: '#/components/schemas/contact'
+ $ref: "#/components/schemas/contact"
messageVolume:
description: Estimated monthly volume of messages from the toll-free number.
example: 10000
@@ -13464,7 +13776,7 @@ components:
nullable: false
type: string
optInWorkflow:
- $ref: '#/components/schemas/optInWorkflow'
+ $ref: "#/components/schemas/optInWorkflow"
additionalInformation:
description: Any additional information.
example: Any additional information
@@ -13502,9 +13814,9 @@ components:
nullable: true
type: string
businessRegistrationType:
- $ref: '#/components/schemas/businessRegistrationTypeEnum'
+ $ref: "#/components/schemas/businessRegistrationTypeEnum"
businessEntityType:
- $ref: '#/components/schemas/businessEntityTypeEnum'
+ $ref: "#/components/schemas/businessEntityTypeEnum"
helpMessageResponse:
description: A message that gets sent to users requesting help.
example: Please contact support for assistance.
@@ -13541,7 +13853,7 @@ components:
webhookSubscriptionRequestSchema:
properties:
basicAuthentication:
- $ref: '#/components/schemas/tfvBasicAuthentication'
+ $ref: "#/components/schemas/tfvBasicAuthentication"
callbackUrl:
description: "Callback URL to receive status updates from Bandwidth. When\
\ a webhook subscription is registered with Bandwidth under a given account\
@@ -13622,7 +13934,7 @@ components:
reason: Reason B
resubmitAllowed: true
items:
- $ref: '#/components/schemas/additionalDenialReason'
+ $ref: "#/components/schemas/additionalDenialReason"
type: array
declineReasonDescription:
description: Explanation for why a verification request was declined.
@@ -13683,7 +13995,7 @@ components:
pattern: "^\\+1(800|833|844|855|866|877|888)[2-9]\\d{6}$"
type: string
status:
- $ref: '#/components/schemas/tfvCallbackStatusEnum'
+ $ref: "#/components/schemas/tfvCallbackStatusEnum"
internalTicketNumber:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
@@ -13706,7 +14018,7 @@ components:
pattern: "^\\+1(800|833|844|855|866|877|888)[2-9]\\d{6}$"
type: string
status:
- $ref: '#/components/schemas/tfvCallbackStatusEnum'
+ $ref: "#/components/schemas/tfvCallbackStatusEnum"
internalTicketNumber:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
@@ -13727,7 +14039,7 @@ components:
tfvSubmissionWrapper:
properties:
submission:
- $ref: '#/components/schemas/verificationUpdateRequest'
+ $ref: "#/components/schemas/verificationUpdateRequest"
type: object
address:
example:
@@ -13985,14 +14297,14 @@ components:
description: description
properties:
links:
- $ref: '#/components/schemas/linksObject'
+ $ref: "#/components/schemas/linksObject"
errors:
items:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
type: array
data:
items:
- $ref: '#/components/schemas/webhookSubscription'
+ $ref: "#/components/schemas/webhookSubscription"
type: array
required:
- data
@@ -14034,7 +14346,7 @@ components:
type: string
telephoneNumbers:
items:
- $ref: '#/components/schemas/telephoneNumber'
+ $ref: "#/components/schemas/telephoneNumber"
type: array
type: object
telephoneNumber:
@@ -14085,9 +14397,9 @@ components:
b([-a-zA-Z0-9@:%_\\+.~#()?&//=]*)"
type: string
type:
- $ref: '#/components/schemas/webhookSubscriptionTypeEnum'
+ $ref: "#/components/schemas/webhookSubscriptionTypeEnum"
basicAuthentication:
- $ref: '#/components/schemas/webhookSubscription_basicAuthentication'
+ $ref: "#/components/schemas/webhookSubscription_basicAuthentication"
createdDate:
example: 2023-05-15T13:56:39.965Z
format: date-time
@@ -14188,7 +14500,7 @@ components:
pattern: "^\\+1(800|833|844|855|866|877|888)[2-9]\\d{6}$"
type: string
status:
- $ref: '#/components/schemas/tfvStatusEnum'
+ $ref: "#/components/schemas/tfvStatusEnum"
internalTicketNumber:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number - included in all
@@ -14218,7 +14530,7 @@ components:
format: date-time
type: string
submission:
- $ref: '#/components/schemas/tfvSubmissionInfo'
+ $ref: "#/components/schemas/tfvSubmissionInfo"
blocked:
description: Whether a Toll-Free Verification is blocked. This attribute
will only be defined when the number is blocked.
@@ -14265,9 +14577,9 @@ components:
useCaseSummary: Text summarizing the use case for the toll-free number
properties:
businessAddress:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
businessContact:
- $ref: '#/components/schemas/contact'
+ $ref: "#/components/schemas/contact"
messageVolume:
description: Estimated monthly volume of messages from the toll-free number.
example: 10000
@@ -14295,7 +14607,7 @@ components:
nullable: false
type: string
optInWorkflow:
- $ref: '#/components/schemas/optInWorkflow'
+ $ref: "#/components/schemas/optInWorkflow"
additionalInformation:
description: Any additional information.
example: Any additional information
@@ -14333,9 +14645,9 @@ components:
nullable: true
type: string
businessRegistrationType:
- $ref: '#/components/schemas/businessRegistrationTypeEnum'
+ $ref: "#/components/schemas/businessRegistrationTypeEnum"
businessEntityType:
- $ref: '#/components/schemas/businessEntityTypeEnum'
+ $ref: "#/components/schemas/businessEntityTypeEnum"
type: object
tfvStatusEnum:
enum:
@@ -14355,24 +14667,24 @@ components:
type: string
rbmCardContent_media:
allOf:
- - $ref: '#/components/schemas/rbmMessageContentFile'
+ - $ref: "#/components/schemas/rbmMessageContentFile"
- properties:
height:
- $ref: '#/components/schemas/rbmMediaHeightEnum'
+ $ref: "#/components/schemas/rbmMediaHeightEnum"
type: object
required:
- height
multiChannelChannelListObject_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'
+ - $ref: "#/components/schemas/rbmMessageContentText"
+ - $ref: "#/components/schemas/rbmMessageMedia"
+ - $ref: "#/components/schemas/rbmMessageContentRichCard"
+ - $ref: "#/components/schemas/smsMessageContent"
+ - $ref: "#/components/schemas/mmsMessageContent"
multiChannelMessageResponseData_channelList_inner:
allOf:
- - $ref: '#/components/schemas/multiChannelChannelListObject'
+ - $ref: "#/components/schemas/multiChannelChannelListObject"
- properties:
owner:
description: The Bandwidth senderId associated with the message. Identical
@@ -14409,6 +14721,131 @@ components:
text: Hello world
type: REPLY
text: Hello world
+ lookupErrorSchema_meta:
+ example:
+ code: 1001
+ message: Invalid TNs
+ phoneNumbers:
+ - "+13992077164"
+ - "+19196104424"
+ properties:
+ phoneNumbers:
+ example:
+ - "+13992077164"
+ - "+19196104424"
+ items:
+ description: Phone number experiencing the error.
+ type: string
+ type: array
+ message:
+ description: Message describing the error
+ example: Invalid TNs
+ type: string
+ code:
+ description: Error code associated with the message
+ example: 1001
+ type: integer
+ type: object
+ createSyncLookupResponse_data:
+ description: The phone number lookup response data
+ example:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ results:
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ status: COMPLETE
+ properties:
+ requestId:
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
+ type: string
+ status:
+ $ref: "#/components/schemas/completedLookupStatusEnum"
+ results:
+ description: The carrier information results for the specified telephone
+ numbers.
+ items:
+ $ref: "#/components/schemas/lookupResult"
+ type: array
+ type: object
+ createAsyncBulkLookupResponse_data:
+ description: The phone number lookup response data
+ example:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: COMPLETE
+ properties:
+ requestId:
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
+ type: string
+ status:
+ $ref: "#/components/schemas/inProgressLookupStatusEnum"
+ type: object
+ getAsyncBulkLookupResponse_data:
+ description: The phone number lookup response data
+ example:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ results:
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ - deactivationEvent: DEACTIVATED
+ messagingProvider: Verizon Wireless
+ deactivationDate: 2025-06-20 18:35
+ latestMessageDeliveryStatus: ACTIVE
+ phoneNumber: "+10072904498"
+ countryCodeA3: USA
+ initialMessageDeliveryStatusDate: 2025-06-20
+ lineType: MOBILE
+ deactivationReporter: deactivationReporter
+ voiceProvider: Verizon Wireless
+ latestMessageDeliveryStatusDate: 2025-06-21
+ status: COMPLETE
+ properties:
+ requestId:
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
+ type: string
+ status:
+ $ref: "#/components/schemas/inProgressLookupStatusEnum"
+ results:
+ description: The carrier information results for the specified telephone
+ number.
+ items:
+ $ref: "#/components/schemas/lookupResult"
+ type: array
+ type: object
webhookSubscription_basicAuthentication:
description: "Basic authentication credentials are not required, but if present,\
\ both username and password must be provided."
diff --git a/bandwidth.yml b/bandwidth.yml
index bf2c9ab0..0c613484 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -1328,62 +1328,66 @@ paths:
'500':
$ref: '#/components/responses/mfaInternalServerError'
servers: *ref_2
- /accounts/{accountId}/tnlookup:
+ /accounts/{accountId}/phoneNumberLookup:
post:
- deprecated: true
- summary: Create Lookup
- description: Create a Phone Number Lookup Request.
- operationId: createLookup
+ summary: Create Synchronous Number Lookup
+ description: >-
+ Creates a synchronous phone number lookup request. Maximum of 100
+ telephone numbers per request.
+ operationId: createSyncLookup
tags:
- Phone Number Lookup
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
requestBody:
- $ref: '#/components/requestBodies/createLookupRequest'
+ $ref: '#/components/requestBodies/createSyncLookupRequest'
responses:
- '202':
- $ref: '#/components/responses/createLookupResponse'
- '400':
- $ref: '#/components/responses/tnLookupBadRequestError'
- '401':
- $ref: '#/components/responses/tnLookupUnauthorizedError'
- '403':
- $ref: '#/components/responses/tnLookupForbiddenError'
- '415':
- $ref: '#/components/responses/tnLookupMediaTypeError'
- '429':
- $ref: '#/components/responses/tnLookupTooManyRequestsError'
- '500':
- $ref: '#/components/responses/tnLookupInternalServerError'
+ '200':
+ $ref: '#/components/responses/createSyncLookupResponse'
+ default:
+ $ref: '#/components/responses/tnLookupDefaultResponse'
servers: &ref_3
- - url: https://numbers.bandwidth.com/api/v1
+ - url: https://api.bandwidth.com/v2
description: Production
- /accounts/{accountId}/tnlookup/{requestId}:
+ /accounts/{accountId}/phoneNumberLookup/bulk:
+ post:
+ summary: Create Asynchronous Bulk Number Lookup
+ description: >-
+ Creates an asynchronous bulk phone number lookup request. Maximum of
+ 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk
+ Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup)
+ endpoint to check the status of the request and view the results.
+ operationId: createAsyncBulkLookup
+ tags:
+ - Phone Number Lookup
+ parameters:
+ - $ref: '#/components/parameters/accountId1'
+ requestBody:
+ $ref: '#/components/requestBodies/createAsyncBulkLookupRequest'
+ responses:
+ '202':
+ $ref: '#/components/responses/createAsyncBulkLookupResponse'
+ default:
+ $ref: '#/components/responses/tnLookupDefaultResponse'
+ servers: *ref_3
+ /accounts/{accountId}/phoneNumberLookup/bulk/{requestId}:
get:
- deprecated: true
- summary: Get Lookup Request Status
- description: Get an existing Phone Number Lookup Request.
- operationId: getLookupStatus
+ summary: Get Asynchronous Bulk Number Lookup
+ description: >-
+ Get an existing [Asynchronous Bulk Number
+ Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use
+ this endpoint to check the status of the request and view the results.
+ operationId: getAsyncBulkLookup
tags:
- Phone Number Lookup
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/requestId'
responses:
'200':
- $ref: '#/components/responses/getLookupResponse'
- '400':
- $ref: '#/components/responses/tnLookupBadRequestError'
- '401':
- $ref: '#/components/responses/tnLookupUnauthorizedError'
- '403':
- $ref: '#/components/responses/tnLookupForbiddenError'
- '404':
- $ref: '#/components/responses/tnLookupNotFoundError'
- '429':
- $ref: '#/components/responses/tnLookupTooManyRequestsError'
- '500':
- $ref: '#/components/responses/tnLookupInternalServerError'
+ $ref: '#/components/responses/getAsyncBulkLookupResponse'
+ default:
+ $ref: '#/components/responses/tnLookupDefaultResponse'
servers: *ref_3
/accounts/{accountId}/tollFreeVerification:
post:
@@ -5368,112 +5372,291 @@ components:
The message containing the reason behind the request being
forbidden.
example: Missing Authentication Token
- lookupStatusEnum:
+ completedLookupStatusEnum:
+ type: string
+ enum:
+ - COMPLETE
+ - PARTIAL_COMPLETE
+ - FAILED
+ example: COMPLETE
+ inProgressLookupStatusEnum:
type: string
- description: >-
- The status of the request (IN_PROGRESS, COMPLETE, PARTIAL_COMPLETE, or
- FAILED).
enum:
- IN_PROGRESS
- COMPLETE
- PARTIAL_COMPLETE
- FAILED
example: COMPLETE
- lookupRequest:
+ deactivationEventEnum:
+ type: string
+ description: >
+ [DNI-Only](#section/DNI-Only).
+
+ `DEACTIVATED` if the carrier reported a deactivation event for this
+ phone number.
+ enum:
+ - DEACTIVATED
+ latestMessageDeliveryStatusEnum:
+ type: string
+ description: >-
+ [DNI-Only](#section/DNI-Only). The current delivery status of the phone
+ number.
+
+ - ACTIVE: A message was successfully sent to the number (delivery code
+ 0).
+
+ - DEACTIVATED: A message was not delivered to a number (delivery code
+ 720)
+
+ - UNKNOWN: Bandwidth cannot find an delivery status entry for the
+ number.
+ enum:
+ - ACTIVE
+ - DEACTIVATED
+ - UNKNOWN
+ lineTypeEnum:
+ type: string
+ enum:
+ - FIXED
+ - VOIP-FIXED
+ - MOBILE
+ - VOIP
+ example: MOBILE
+ requestId:
+ type: string
+ format: uuid
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
+ linkSchema:
+ title: Link
type: object
- description: Create phone number lookup request.
properties:
- tns:
+ href:
+ type: string
+ description: URI of the link.
+ example: /relative/uri
+ rel:
+ type: string
+ description: Specifies the relationship between this link and the resource.
+ example: aRelatedResource
+ method:
+ type: string
+ description: HTTP method to be used.
+ example: GET
+ lookupErrorSchema:
+ type: object
+ properties:
+ code:
+ type: string
+ description: Validation error code
+ example: NO-MATCH
+ description:
+ type: string
+ description: Description of validation error
+ example: Example error description
+ type:
+ type: string
+ description: Type of validation error
+ example: NumberInventory
+ meta:
+ type: object
+ properties:
+ phoneNumbers:
+ type: array
+ items:
+ type: string
+ description: Phone number experiencing the error.
+ example:
+ - '+13992077164'
+ - '+19196104424'
+ message:
+ type: string
+ description: Message describing the error
+ example: Invalid TNs
+ code:
+ type: integer
+ description: Error code associated with the message
+ example: 1001
+ syncLookupRequest:
+ type: object
+ properties:
+ phoneNumbers:
+ description: Telephone numbers in E.164 format.
type: array
+ minimum: 1
+ maximum: 100
items:
type: string
+ pattern: ^\+[1-9]\d{1,14}$
required:
- - tns
- createLookupResponse:
+ - phoneNumbers
+ asyncLookupRequest:
type: object
- description: >-
- The request has been accepted for processing but not yet finished and in
- a terminal state (COMPLETE, PARTIAL_COMPLETE, or FAILED).
properties:
- requestId:
- type: string
- description: The phone number lookup request ID from Bandwidth.
- status:
- $ref: '#/components/schemas/lookupStatusEnum'
- lookupStatus:
+ phoneNumbers:
+ description: Telephone numbers in E.164 format.
+ type: array
+ minimum: 1
+ maximum: 15000
+ items:
+ type: string
+ pattern: ^\+[1-9]\d{1,14}$
+ required:
+ - phoneNumbers
+ createSyncLookupResponse:
type: object
- description: >-
- If requestId exists, the result for that request is returned. See the
- Examples for details on the various responses that you can receive.
- Generally, if you see a Response Code of 0 in a result for a TN,
- information will be available for it. Any other Response Code will
- indicate no information was available for the TN.
properties:
- requestId:
- type: string
- description: The requestId.
- example: 004223a0-8b17-41b1-bf81-20732adf5590
- status:
- $ref: '#/components/schemas/lookupStatusEnum'
- result:
+ links:
+ type: array
+ items:
+ $ref: '#/components/schemas/linkSchema'
+ example: []
+ data:
+ type: object
+ description: The phone number lookup response data
+ properties:
+ requestId:
+ $ref: '#/components/schemas/requestId'
+ status:
+ $ref: '#/components/schemas/completedLookupStatusEnum'
+ results:
+ type: array
+ description: >-
+ The carrier information results for the specified telephone
+ numbers.
+ items:
+ $ref: '#/components/schemas/lookupResult'
+ errors:
type: array
- description: The carrier information results for the specified telephone number.
items:
- $ref: '#/components/schemas/lookupResult'
- failedTelephoneNumbers:
+ $ref: '#/components/schemas/lookupErrorSchema'
+ createAsyncBulkLookupResponse:
+ type: object
+ properties:
+ links:
type: array
- description: The telephone numbers whose lookup failed.
+ description: Links for pagination (if applicable)
items:
- type: string
- example:
- - '+191955512345'
+ $ref: '#/components/schemas/linkSchema'
+ data:
+ type: object
+ description: The phone number lookup response data
+ properties:
+ requestId:
+ $ref: '#/components/schemas/requestId'
+ status:
+ $ref: '#/components/schemas/inProgressLookupStatusEnum'
+ errors:
+ type: array
+ items:
+ $ref: '#/components/schemas/lookupErrorSchema'
+ getAsyncBulkLookupResponse:
+ type: object
+ properties:
+ links:
+ type: array
+ items:
+ $ref: '#/components/schemas/linkSchema'
+ example: []
+ data:
+ type: object
+ description: The phone number lookup response data
+ properties:
+ requestId:
+ $ref: '#/components/schemas/requestId'
+ status:
+ $ref: '#/components/schemas/inProgressLookupStatusEnum'
+ results:
+ type: array
+ description: >-
+ The carrier information results for the specified telephone
+ number.
+ items:
+ $ref: '#/components/schemas/lookupResult'
+ errors:
+ type: array
+ items:
+ $ref: '#/components/schemas/lookupErrorSchema'
+ lookupErrorResponse:
+ type: object
+ properties:
+ links:
+ type: array
+ items:
+ $ref: '#/components/schemas/linkSchema'
+ example: []
+ data:
+ type: object
+ description: The phone number lookup response data
+ errors:
+ type: array
+ items:
+ $ref: '#/components/schemas/lookupErrorSchema'
lookupResult:
type: object
description: Carrier information results for the specified telephone number.
properties:
- Response Code:
- type: integer
- description: Our vendor's response code.
- example: 0
- Message:
- type: string
- description: Message associated with the response code.
- example: NOERROR
- E.164 Format:
+ phoneNumber:
type: string
description: The telephone number in E.164 format.
- example: '+19195551234'
- Formatted:
- type: string
- description: The formatted version of the telephone number.
- example: (919) 555-1234
- Country:
- type: string
- description: The country of the telephone number.
- example: US
- Line Type:
- type: string
- description: The line type of the telephone number.
- example: Mobile
- Line Provider:
+ example: '+10072904498'
+ lineType:
+ $ref: '#/components/schemas/lineTypeEnum'
+ messagingProvider:
type: string
description: The messaging service provider of the telephone number.
example: Verizon Wireless
- Mobile Country Code:
+ voiceProvider:
type: string
- description: The first half of the Home Network Identity (HNI).
- example: '310'
- Mobile Network Code:
+ description: The voice service provider of the telephone number.
+ example: Verizon Wireless
+ countryCodeA3:
type: string
- description: The second half of the HNI.
- example: '010'
- tnLookupRequestError:
- type: object
- properties:
- message:
+ description: >-
+ The country code of the telephone number in ISO 3166-1 alpha-3
+ format.
+ example: USA
+ deactivationReporter:
+ type: string
+ description: >
+ [DNI-Only](#section/DNI-Only).
+
+ The carrier that reported a deactivation event for this phone
+ number.
+ deactivationDate:
+ type: string
+ format: date-time-local
+ description: >-
+ [DNI-Only](#section/DNI-Only). The datetime the carrier reported a
+ deactivation event.
+ example: 2025-06-20 18:35
+ deactivationEvent:
+ $ref: '#/components/schemas/deactivationEventEnum'
+ latestMessageDeliveryStatus:
+ $ref: '#/components/schemas/latestMessageDeliveryStatusEnum'
+ initialMessageDeliveryStatusDate:
+ type: string
+ format: date
+ description: >-
+ [DNI-Only](#section/DNI-Only). The date the phone number entered the
+ status described in `latestMessageDeliveryStatus`.
+
+ Think of this as the "start time" for that status.
+
+ Value resets every time the `latestMessageDeliveryStatus` changes.
+ example: '2025-06-20'
+ latestMessageDeliveryStatusDate:
type: string
- description: A description of what validation error occurred.
- example: example error message
+ format: date
+ description: >-
+ [DNI-Only](#section/DNI-Only). The date bandwidth last received
+ delivery status information for this phone number.
+
+ Use this field to understand how up-to-date the
+ `latestMessageDeliveryStatus` is.
+
+ Value resets every time the `latestMessageDeliveryStatus` changes.
+ example: '2025-06-21'
accountId1:
type: string
description: User's account ID.
@@ -6720,109 +6903,68 @@ components:
application/json:
schema:
$ref: '#/components/schemas/mfaRequestError'
- createLookupResponse:
+ createSyncLookupResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/createSyncLookupResponse'
+ examples:
+ lookupCompleteWithDniExample:
+ $ref: '#/components/examples/lookupCompleteWithDniExample'
+ lookupCompleteExample:
+ $ref: '#/components/examples/lookupCompleteExample'
+ lookupPartialExample:
+ $ref: '#/components/examples/lookupPartialExample'
+ lookupFailedExample:
+ $ref: '#/components/examples/lookupFailedExample'
+ createAsyncBulkLookupResponse:
description: Accepted
content:
application/json:
schema:
- $ref: '#/components/schemas/createLookupResponse'
+ $ref: '#/components/schemas/createAsyncBulkLookupResponse'
examples:
- lookupResponseExample:
+ lookupInProgressExample:
$ref: '#/components/examples/lookupInProgressExample'
- getLookupResponse:
+ getAsyncBulkLookupResponse:
description: OK
content:
application/json:
schema:
- $ref: '#/components/schemas/lookupStatus'
+ $ref: '#/components/schemas/getAsyncBulkLookupResponse'
examples:
+ lookupCompleteWithDniExample:
+ $ref: '#/components/examples/lookupCompleteWithDniExample'
+ lookupCompleteExample:
+ $ref: '#/components/examples/lookupCompleteExample'
lookupInProgressExample:
$ref: '#/components/examples/lookupInProgressExample'
+ lookupPartialExample:
+ $ref: '#/components/examples/lookupPartialExample'
lookupFailedExample:
$ref: '#/components/examples/lookupFailedExample'
- lookupSingleNumberCompleteExample:
- $ref: '#/components/examples/lookupSingleNumberCompleteExample'
- lookupMultipleNumbersCompleteExample:
- $ref: '#/components/examples/lookupMultipleNumbersCompleteExample'
- lookupMultipleNumbersPartialCompleteExample:
- $ref: >-
- #/components/examples/lookupMultipleNumbersPartialCompleteExample
- lookupSingleNumberCompleteNoInfoExample:
- $ref: '#/components/examples/lookupSingleNumberCompleteNoInfoExample'
- tnLookupBadRequestError:
+ tnLookupDefaultResponse:
description: Bad Request
content:
application/json:
schema:
- $ref: '#/components/schemas/tnLookupRequestError'
+ $ref: '#/components/schemas/lookupErrorResponse'
examples:
badRequest:
- summary: Example Bad Request Error
- value:
- message: 'Some tns do not match e164 format: 1234'
- tnLookupUnauthorizedError:
- description: Unauthorized
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- examples:
+ $ref: '#/components/examples/badRequestExample'
unauthorized:
- summary: Example Unauthorized Error
- value:
- message: Unauthorized
- tnLookupForbiddenError:
- description: Forbidden
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- examples:
+ $ref: '#/components/examples/unauthorizedExample'
forbidden:
- summary: Example Forbidden Error
- value:
- message: >-
- Authorization header requires 'Credential' parameter.
- Authorization header requires 'Signature' parameter.
- Authorization header requires 'SignedHeaders' parameter.
- Authorization header requires existence of either a
- 'X-Amz-Date' or a 'Date' header. Authorization=Basic
- Y2tvZloPTGhHgywYIzGlcGVlcGvvcGovYTIGIt=='
- tnLookupMediaTypeError:
- description: Unsupported Media Type
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- examples:
- mediaType:
- summary: Example Unsupported Media Type Error
- value:
- message: Content-Type must be application/json.
- tnLookupNotFoundError:
- description: Not Found
- tnLookupTooManyRequestsError:
- description: Too Many Requests
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- examples:
+ $ref: '#/components/examples/forbiddenExample'
mediaType:
- summary: Example Too Many Requests Error
- value:
- message: Too many requests.
- tnLookupInternalServerError:
- description: Internal Server Error
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/tnLookupRequestError'
- examples:
- mediaType:
- summary: Example Internal Server Error Error
- value:
- message: Request has not been passed further.
+ $ref: '#/components/examples/unsupportedMediaTypeExample'
+ notFound:
+ $ref: '#/components/examples/notFoundExample'
+ tooManyRequests:
+ $ref: '#/components/examples/tooManyRequestsExample'
+ internalServer:
+ $ref: '#/components/examples/internalServerErrorExample'
getTollFreeVerificationStatusResponse:
description: OK
content:
@@ -7405,14 +7547,23 @@ components:
type: string
description: Filter results to calls with specified call Disconnect Cause.
example: hangup
+ accountId1:
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ description: Your Bandwidth Account ID.
+ example: '9900000'
requestId:
- name: requestId
in: path
+ name: requestId
required: true
schema:
type: string
- description: The phone number lookup request ID from Bandwidth.
- example: 004223a0-8b17-41b1-bf81-20732adf5590
+ format: uuid
+ description: The phone number lookup request ID from Bandwidth.
+ example: 004223a0-8b17-41b1-bf81-20732adf5590
tfPhoneNumberPathParam:
in: path
name: phoneNumber
@@ -7651,95 +7802,208 @@ components:
type: validation
description: 'Invalid answerUrl: only http and https are allowed.'
singleNumberRequestExample:
- summary: Example Number Lookup Request for One Number
+ summary: Number Lookup Request
value:
- tns:
- - '+19195551234'
+ phoneNumbers:
+ - '+19196104423'
multipleNumberRequestExample:
- summary: Example Number Lookup Request for Multiple Numbers
+ summary: Number Lookup Request for Multiple Numbers
value:
- tns:
- - '+19195551234'
- - '+19195554321'
+ phoneNumbers:
+ - '+19196104423'
+ - '+19196104424'
lookupInProgressExample:
- summary: Example Lookup In Progress Response
+ summary: Numbers Lookup In Progress
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: IN_PROGRESS
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: IN_PROGRESS
+ results: []
+ errors: []
lookupFailedExample:
- summary: Example Lookup Failed Response
+ summary: Numbers Lookup Failed
+ value:
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: FAILED
+ results: []
+ errors:
+ - code: NO-MATCH
+ description: The following TNs could not be found in the Number Industry data
+ meta:
+ phoneNumbers:
+ - '+13992077164'
+ message: Invalid TNs
+ code: 1001
+ type: NumberInventory
+ lookupPartialExample:
+ summary: Numbers Lookup Partial Complete
+ value:
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: PARTIAL_COMPLETE
+ results:
+ - phoneNumber: '+19196104423'
+ lineType: MOBILE
+ messagingProvider: Verizon Wireless
+ voiceProvider: Verizon Wireless
+ countryCodeA3: USA
+ - phoneNumber: '+19196104424'
+ lineType: MOBILE
+ messagingProvider: T-Mobile USA
+ voiceProvider: T-Mobile USA
+ countryCodeA3: USA
+ errors:
+ - code: NO-MATCH
+ description: The following TNs could not be found in the Number Industry data
+ meta:
+ phoneNumbers:
+ - '+13992077164'
+ message: Invalid TNs
+ code: 1001
+ type: NumberInventory
+ lookupCompleteExample:
+ summary: Numbers Lookup Complete (without DNI)
+ value:
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 004223a0-8b17-41b1-bf81-20732adf5590
+ status: COMPLETE
+ results:
+ - phoneNumber: '+10072904497'
+ lineType: MOBILE
+ messagingProvider: Verizon Wireless
+ voiceProvider: Verizon Wireless
+ countryCodeA3: USA
+ - phoneNumber: '+10072904498'
+ lineType: MOBILE
+ messagingProvider: T-Mobile USA
+ voiceProvider: T-Mobile USA
+ countryCodeA3: USA
+ errors: []
+ lookupCompleteWithDniExample:
+ summary: Numbers Lookup Complete (with DNI)
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: FAILED
- failedTelephoneNumbers:
- - '+191955512345'
- lookupSingleNumberCompleteExample:
- summary: Example Single Number Lookup Complete Response
+ links:
+ - href: href
+ rel: rel
+ method: GET
+ data:
+ requestId: 20732adf-bf81-8b17-41b1-004223a05590
+ status: COMPLETE
+ results:
+ - phoneNumber: '+10072904497'
+ countryCodeA3: USA
+ lineType: MOBILE
+ messagingProvider: T-MOBILE USA INC
+ voiceProvider: T-MOBILE USA INC
+ latestMessageDeliveryStatus: ACTIVE
+ initialMessageDeliveryStatusDate: '2025-05-14'
+ latestMessageDeliveryStatusDate: '2025-05-18'
+ - phoneNumber: '+10072904498'
+ countryCodeA3: USA
+ lineType: FIXED
+ voiceProvider: VERIZON
+ latestMessageDeliveryStatus: DEACTIVATED
+ initialMessageDeliveryStatusDate: '2025-09-05'
+ latestMessageDeliveryStatusDate: '2025-09-05'
+ - phoneNumber: '+10072904499'
+ lineType: MOBILE
+ countryCodeA3: USA
+ messagingProvider: VERIZON
+ voiceProvider: VERIZON
+ deactivationReporter: Verizon Wireless
+ deactivationDate: '2025-09-29 01:23:00'
+ deactivationEvent: DEACTIVATED
+ latestMessageDeliveryStatus: UNKNOWN
+ errors: []
+ badRequestExample:
+ summary: Example Bad Request Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: bad-request
+ description: >-
+ Bad Request. Ensure that you have set the requestId as a URL path
+ parameter.
+ unauthorizedExample:
+ summary: Unauthorized Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: Unauthorized
+ description: You are not authorized to access this resource.
+ code: '1'
+ page: null
+ forbiddenExample:
+ summary: Forbidden Error
+ value:
+ links: []
+ data: {}
+ errors:
+ - type: Forbidden
+ description: You do not have permission to access this resource.
+ code: '2'
+ page: null
+ unsupportedMediaTypeExample:
+ summary: Unsupported Media Type Error
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: COMPLETE
- result:
- - Response Code: 0
- Message: NOERROR
- E.164 Format: '+19195551234'
- Formatted: (919) 555-1234
- Country: US
- Line Type: Mobile
- Line Provider: Verizon Wireless
- Mobile Country Code: '310'
- Mobile Network Code: '010'
- lookupMultipleNumbersCompleteExample:
- summary: Example Multiple Numbers Lookup Complete Response
+ links: []
+ data: {}
+ errors:
+ - type: invalid-content-type
+ description: >-
+ Invalid content-type. Ensure that your content-type header is set
+ to application/json.
+ notFoundExample:
+ summary: Not Found Error
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: COMPLETE
- result:
- - Response Code: 0
- Message: NOERROR
- E.164 Format: '+19195551234'
- Formatted: (919) 555-1234
- Country: US
- Line Type: Mobile
- Line Provider: Verizon Wireless
- Mobile Country Code: '310'
- Mobile Network Code: '010'
- - Response Code: 0
- Message: NOERROR
- E.164 Format: '+19195554321'
- Formatted: (919) 555-4321
- Country: US
- Line Type: Mobile
- Line Provider: T-Mobile USA
- Mobile Country Code: '310'
- Mobile Network Code: '160'
- lookupMultipleNumbersPartialCompleteExample:
- summary: Example Multiple Numbers Lookup Partial Complete Response
+ links: []
+ data: {}
+ errors:
+ - type: not-found
+ description: >-
+ RequestId not found. Ensure that the requestId used in the URL
+ path is valid and maps to a previous request that was submitted.
+ tooManyRequestsExample:
+ summary: Too Many Requests Error
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: PARTIAL_COMPLETE
- result:
- - Response Code: 0
- Message: NOERROR
- E.164 Format: '+19195551234'
- Formatted: (919) 555-1234
- Country: US
- Line Type: Mobile
- Line Provider: Verizon Wireless
- Mobile Country Code: '310'
- Mobile Network Code: '010'
- failedTelephoneNumbers:
- - '+191955512345'
- lookupSingleNumberCompleteNoInfoExample:
- summary: Example Single Number Lookup Complete with No Information Response
+ links: []
+ data: {}
+ errors:
+ - type: rate-limiting
+ description: >-
+ Rate limit exceeded. Wait for the time specified in the
+ Retry-After header before sending another request.
+ internalServerErrorExample:
+ summary: Internal Server Error
value:
- requestId: 004223a0-8b17-41b1-bf81-20732adf5590
- status: COMPLETE
- result:
- - Response Code: 3
- Message: NXDOMAIN
- E.164 Format: '+19195550000'
- Formatted: (919) 555-0000
- Country: US
+ links: []
+ data: {}
+ errors:
+ - code: '500'
+ type: unexpected-error
+ description: >-
+ Unexpected error. Please contact Bandwidth Support if your
+ requests are receiving this status code for an extended period of
+ time.
requestBodies:
createMessageRequest:
content:
@@ -8039,18 +8303,28 @@ components:
application/json:
schema:
$ref: '#/components/schemas/verifyCodeRequest'
- createLookupRequest:
- description: Phone number lookup request.
+ createSyncLookupRequest:
+ description: Synchronous phone number lookup request.
required: true
content:
application/json:
schema:
- $ref: '#/components/schemas/lookupRequest'
+ $ref: '#/components/schemas/syncLookupRequest'
examples:
singleNumberRequestExample:
$ref: '#/components/examples/singleNumberRequestExample'
multipleNumberRequestExample:
$ref: '#/components/examples/multipleNumberRequestExample'
+ createAsyncBulkLookupRequest:
+ description: Asynchronous bulk phone number lookup request.
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/asyncLookupRequest'
+ examples:
+ multipleNumberRequestExample:
+ $ref: '#/components/examples/multipleNumberRequestExample'
requestTollFreeVerificationRequest:
description: Request for verification of a toll-free phone number.
required: true
diff --git a/build.gradle b/build.gradle
index 315cc285..d39f1d72 100644
--- a/build.gradle
+++ b/build.gradle
@@ -106,15 +106,14 @@ ext {
}
dependencies {
- implementation 'io.swagger:swagger-annotations:1.6.8'
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
implementation 'com.google.code.gson:gson:2.9.1'
implementation 'io.gsonfire:gson-fire:1.9.0'
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6'
- implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
- implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
+ implementation 'org.openapitools:jackson-databind-nullable:0.2.8'
+ implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.18.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
testImplementation 'org.mockito:mockito-core:3.12.4'
diff --git a/build.sbt b/build.sbt
index 5ddc6450..0bf06872 100644
--- a/build.sbt
+++ b/build.sbt
@@ -3,19 +3,19 @@ lazy val root = (project in file(".")).
organization := "com.bandwidth.sdk",
name := "bandwidth-sdk",
version := "1.0.0",
- scalaVersion := "2.11.4",
+ scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
- javacOptions in compile ++= Seq("-Xlint:deprecation"),
- publishArtifact in (Compile, packageDoc) := false,
+ compile / javacOptions ++= Seq("-Xlint:deprecation"),
+ Compile / packageDoc / publishArtifact := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
"io.swagger" % "swagger-annotations" % "1.6.5",
"com.squareup.okhttp3" % "okhttp" % "4.12.0",
"com.squareup.okhttp3" % "logging-interceptor" % "4.12.0",
"com.google.code.gson" % "gson" % "2.9.1",
- "org.apache.commons" % "commons-lang3" % "3.17.0",
+ "org.apache.commons" % "commons-lang3" % "3.18.0",
"jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6",
- "org.openapitools" % "jackson-databind-nullable" % "0.2.6",
+ "org.openapitools" % "jackson-databind-nullable" % "0.2.8",
"io.gsonfire" % "gson-fire" % "1.9.0" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
diff --git a/docs/TnLookupRequestError.md b/docs/AsyncLookupRequest.md
similarity index 51%
rename from docs/TnLookupRequestError.md
rename to docs/AsyncLookupRequest.md
index d41f290c..ab5ad863 100644
--- a/docs/TnLookupRequestError.md
+++ b/docs/AsyncLookupRequest.md
@@ -1,13 +1,13 @@
-# TnLookupRequestError
+# AsyncLookupRequest
## Properties
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**message** | **String** | A description of what validation error occurred. | [optional] |
+|**phoneNumbers** | **List<String>** | Telephone numbers in E.164 format. | |
diff --git a/docs/CompletedLookupStatusEnum.md b/docs/CompletedLookupStatusEnum.md
new file mode 100644
index 00000000..fa902bfb
--- /dev/null
+++ b/docs/CompletedLookupStatusEnum.md
@@ -0,0 +1,15 @@
+
+
+# CompletedLookupStatusEnum
+
+## Enum
+
+
+* `COMPLETE` (value: `"COMPLETE"`)
+
+* `PARTIAL_COMPLETE` (value: `"PARTIAL_COMPLETE"`)
+
+* `FAILED` (value: `"FAILED"`)
+
+
+
diff --git a/docs/CreateAsyncBulkLookupResponse.md b/docs/CreateAsyncBulkLookupResponse.md
new file mode 100644
index 00000000..8c557566
--- /dev/null
+++ b/docs/CreateAsyncBulkLookupResponse.md
@@ -0,0 +1,15 @@
+
+
+# CreateAsyncBulkLookupResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**links** | [**List<LinkSchema>**](LinkSchema.md) | Links for pagination (if applicable) | [optional] |
+|**data** | [**CreateAsyncBulkLookupResponseData**](CreateAsyncBulkLookupResponseData.md) | | [optional] |
+|**errors** | [**List<LookupErrorSchema>**](LookupErrorSchema.md) | | [optional] |
+
+
+
diff --git a/docs/CreateAsyncBulkLookupResponseData.md b/docs/CreateAsyncBulkLookupResponseData.md
new file mode 100644
index 00000000..b6fcba96
--- /dev/null
+++ b/docs/CreateAsyncBulkLookupResponseData.md
@@ -0,0 +1,15 @@
+
+
+# CreateAsyncBulkLookupResponseData
+
+The phone number lookup response data
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**requestId** | **UUID** | The phone number lookup request ID from Bandwidth. | [optional] |
+|**status** | **InProgressLookupStatusEnum** | | [optional] |
+
+
+
diff --git a/docs/CreateLookupResponse.md b/docs/CreateLookupResponse.md
deleted file mode 100644
index 98465c52..00000000
--- a/docs/CreateLookupResponse.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# CreateLookupResponse
-
-The request has been accepted for processing but not yet finished and in a terminal state (COMPLETE, PARTIAL_COMPLETE, or FAILED).
-
-## Properties
-
-| Name | Type | Description | Notes |
-|------------ | ------------- | ------------- | -------------|
-|**requestId** | **String** | The phone number lookup request ID from Bandwidth. | [optional] |
-|**status** | **LookupStatusEnum** | | [optional] |
-
-
-
diff --git a/docs/CreateSyncLookupResponse.md b/docs/CreateSyncLookupResponse.md
new file mode 100644
index 00000000..b92b2c26
--- /dev/null
+++ b/docs/CreateSyncLookupResponse.md
@@ -0,0 +1,15 @@
+
+
+# CreateSyncLookupResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**links** | [**List<LinkSchema>**](LinkSchema.md) | | [optional] |
+|**data** | [**CreateSyncLookupResponseData**](CreateSyncLookupResponseData.md) | | [optional] |
+|**errors** | [**List<LookupErrorSchema>**](LookupErrorSchema.md) | | [optional] |
+
+
+
diff --git a/docs/CreateSyncLookupResponseData.md b/docs/CreateSyncLookupResponseData.md
new file mode 100644
index 00000000..918d5c57
--- /dev/null
+++ b/docs/CreateSyncLookupResponseData.md
@@ -0,0 +1,16 @@
+
+
+# CreateSyncLookupResponseData
+
+The phone number lookup response data
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**requestId** | **UUID** | The phone number lookup request ID from Bandwidth. | [optional] |
+|**status** | **CompletedLookupStatusEnum** | | [optional] |
+|**results** | [**List<LookupResult>**](LookupResult.md) | The carrier information results for the specified telephone numbers. | [optional] |
+
+
+
diff --git a/docs/DeactivationEventEnum.md b/docs/DeactivationEventEnum.md
new file mode 100644
index 00000000..a9c94287
--- /dev/null
+++ b/docs/DeactivationEventEnum.md
@@ -0,0 +1,11 @@
+
+
+# DeactivationEventEnum
+
+## Enum
+
+
+* `DEACTIVATED` (value: `"DEACTIVATED"`)
+
+
+
diff --git a/docs/GetAsyncBulkLookupResponse.md b/docs/GetAsyncBulkLookupResponse.md
new file mode 100644
index 00000000..dd1eaffc
--- /dev/null
+++ b/docs/GetAsyncBulkLookupResponse.md
@@ -0,0 +1,15 @@
+
+
+# GetAsyncBulkLookupResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**links** | [**List<LinkSchema>**](LinkSchema.md) | | [optional] |
+|**data** | [**GetAsyncBulkLookupResponseData**](GetAsyncBulkLookupResponseData.md) | | [optional] |
+|**errors** | [**List<LookupErrorSchema>**](LookupErrorSchema.md) | | [optional] |
+
+
+
diff --git a/docs/GetAsyncBulkLookupResponseData.md b/docs/GetAsyncBulkLookupResponseData.md
new file mode 100644
index 00000000..b1f5a3e3
--- /dev/null
+++ b/docs/GetAsyncBulkLookupResponseData.md
@@ -0,0 +1,16 @@
+
+
+# GetAsyncBulkLookupResponseData
+
+The phone number lookup response data
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**requestId** | **UUID** | The phone number lookup request ID from Bandwidth. | [optional] |
+|**status** | **InProgressLookupStatusEnum** | | [optional] |
+|**results** | [**List<LookupResult>**](LookupResult.md) | The carrier information results for the specified telephone number. | [optional] |
+
+
+
diff --git a/docs/LookupStatusEnum.md b/docs/InProgressLookupStatusEnum.md
similarity index 85%
rename from docs/LookupStatusEnum.md
rename to docs/InProgressLookupStatusEnum.md
index e93f9d3f..62653e42 100644
--- a/docs/LookupStatusEnum.md
+++ b/docs/InProgressLookupStatusEnum.md
@@ -1,6 +1,6 @@
-# LookupStatusEnum
+# InProgressLookupStatusEnum
## Enum
diff --git a/docs/LatestMessageDeliveryStatusEnum.md b/docs/LatestMessageDeliveryStatusEnum.md
new file mode 100644
index 00000000..b90b2cbe
--- /dev/null
+++ b/docs/LatestMessageDeliveryStatusEnum.md
@@ -0,0 +1,15 @@
+
+
+# LatestMessageDeliveryStatusEnum
+
+## Enum
+
+
+* `ACTIVE` (value: `"ACTIVE"`)
+
+* `DEACTIVATED` (value: `"DEACTIVATED"`)
+
+* `UNKNOWN` (value: `"UNKNOWN"`)
+
+
+
diff --git a/docs/LineTypeEnum.md b/docs/LineTypeEnum.md
new file mode 100644
index 00000000..d26e290f
--- /dev/null
+++ b/docs/LineTypeEnum.md
@@ -0,0 +1,17 @@
+
+
+# LineTypeEnum
+
+## Enum
+
+
+* `FIXED` (value: `"FIXED"`)
+
+* `VOIP_FIXED` (value: `"VOIP-FIXED"`)
+
+* `MOBILE` (value: `"MOBILE"`)
+
+* `VOIP` (value: `"VOIP"`)
+
+
+
diff --git a/docs/LinkSchema.md b/docs/LinkSchema.md
new file mode 100644
index 00000000..2b5d0089
--- /dev/null
+++ b/docs/LinkSchema.md
@@ -0,0 +1,15 @@
+
+
+# LinkSchema
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**href** | **String** | URI of the link. | [optional] |
+|**rel** | **String** | Specifies the relationship between this link and the resource. | [optional] |
+|**method** | **String** | HTTP method to be used. | [optional] |
+
+
+
diff --git a/docs/LookupErrorResponse.md b/docs/LookupErrorResponse.md
new file mode 100644
index 00000000..544893e0
--- /dev/null
+++ b/docs/LookupErrorResponse.md
@@ -0,0 +1,15 @@
+
+
+# LookupErrorResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**links** | [**List<LinkSchema>**](LinkSchema.md) | | [optional] |
+|**data** | **Object** | The phone number lookup response data | [optional] |
+|**errors** | [**List<LookupErrorSchema>**](LookupErrorSchema.md) | | [optional] |
+
+
+
diff --git a/docs/LookupErrorSchema.md b/docs/LookupErrorSchema.md
new file mode 100644
index 00000000..207ca9d9
--- /dev/null
+++ b/docs/LookupErrorSchema.md
@@ -0,0 +1,16 @@
+
+
+# LookupErrorSchema
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**code** | **String** | Validation error code | [optional] |
+|**description** | **String** | Description of validation error | [optional] |
+|**type** | **String** | Type of validation error | [optional] |
+|**meta** | [**LookupErrorSchemaMeta**](LookupErrorSchemaMeta.md) | | [optional] |
+
+
+
diff --git a/docs/LookupErrorSchemaMeta.md b/docs/LookupErrorSchemaMeta.md
new file mode 100644
index 00000000..261df19d
--- /dev/null
+++ b/docs/LookupErrorSchemaMeta.md
@@ -0,0 +1,15 @@
+
+
+# LookupErrorSchemaMeta
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**phoneNumbers** | **List<String>** | | [optional] |
+|**message** | **String** | Message describing the error | [optional] |
+|**code** | **Integer** | Error code associated with the message | [optional] |
+
+
+
diff --git a/docs/LookupResult.md b/docs/LookupResult.md
index e2f23396..21e16602 100644
--- a/docs/LookupResult.md
+++ b/docs/LookupResult.md
@@ -8,15 +8,17 @@ Carrier information results for the specified telephone number.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**responseCode** | **Integer** | Our vendor's response code. | [optional] |
-|**message** | **String** | Message associated with the response code. | [optional] |
-|**e164Format** | **String** | The telephone number in E.164 format. | [optional] |
-|**formatted** | **String** | The formatted version of the telephone number. | [optional] |
-|**country** | **String** | The country of the telephone number. | [optional] |
-|**lineType** | **String** | The line type of the telephone number. | [optional] |
-|**lineProvider** | **String** | The messaging service provider of the telephone number. | [optional] |
-|**mobileCountryCode** | **String** | The first half of the Home Network Identity (HNI). | [optional] |
-|**mobileNetworkCode** | **String** | The second half of the HNI. | [optional] |
+|**phoneNumber** | **String** | The telephone number in E.164 format. | [optional] |
+|**lineType** | **LineTypeEnum** | | [optional] |
+|**messagingProvider** | **String** | The messaging service provider of the telephone number. | [optional] |
+|**voiceProvider** | **String** | The voice service provider of the telephone number. | [optional] |
+|**countryCodeA3** | **String** | The country code of the telephone number in ISO 3166-1 alpha-3 format. | [optional] |
+|**deactivationReporter** | **String** | [DNI-Only](#section/DNI-Only). The carrier that reported a deactivation event for this phone number. | [optional] |
+|**deactivationDate** | **String** | [DNI-Only](#section/DNI-Only). The datetime the carrier reported a deactivation event. | [optional] |
+|**deactivationEvent** | **DeactivationEventEnum** | | [optional] |
+|**latestMessageDeliveryStatus** | **LatestMessageDeliveryStatusEnum** | | [optional] |
+|**initialMessageDeliveryStatusDate** | **LocalDate** | [DNI-Only](#section/DNI-Only). The date the phone number entered the status described in `latestMessageDeliveryStatus`. Think of this as the \"start time\" for that status. Value resets every time the `latestMessageDeliveryStatus` changes. | [optional] |
+|**latestMessageDeliveryStatusDate** | **LocalDate** | [DNI-Only](#section/DNI-Only). The date bandwidth last received delivery status information for this phone number. Use this field to understand how up-to-date the `latestMessageDeliveryStatus` is. Value resets every time the `latestMessageDeliveryStatus` changes. | [optional] |
diff --git a/docs/LookupStatus.md b/docs/LookupStatus.md
deleted file mode 100644
index bfb3e8be..00000000
--- a/docs/LookupStatus.md
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-# LookupStatus
-
-If requestId exists, the result for that request is returned. See the Examples for details on the various responses that you can receive. Generally, if you see a Response Code of 0 in a result for a TN, information will be available for it. Any other Response Code will indicate no information was available for the TN.
-
-## Properties
-
-| Name | Type | Description | Notes |
-|------------ | ------------- | ------------- | -------------|
-|**requestId** | **String** | The requestId. | [optional] |
-|**status** | **LookupStatusEnum** | | [optional] |
-|**result** | [**List<LookupResult>**](LookupResult.md) | The carrier information results for the specified telephone number. | [optional] |
-|**failedTelephoneNumbers** | **List<String>** | The telephone numbers whose lookup failed. | [optional] |
-
-
-
diff --git a/docs/PhoneNumberLookupApi.md b/docs/PhoneNumberLookupApi.md
index be6defa2..698d9856 100644
--- a/docs/PhoneNumberLookupApi.md
+++ b/docs/PhoneNumberLookupApi.md
@@ -4,17 +4,18 @@ All URIs are relative to *http://localhost*
| Method | HTTP request | Description |
|------------- | ------------- | -------------|
-| [**createLookup**](PhoneNumberLookupApi.md#createLookup) | **POST** /accounts/{accountId}/tnlookup | Create Lookup |
-| [**getLookupStatus**](PhoneNumberLookupApi.md#getLookupStatus) | **GET** /accounts/{accountId}/tnlookup/{requestId} | Get Lookup Request Status |
+| [**createAsyncBulkLookup**](PhoneNumberLookupApi.md#createAsyncBulkLookup) | **POST** /accounts/{accountId}/phoneNumberLookup/bulk | Create Asynchronous Bulk Number Lookup |
+| [**createSyncLookup**](PhoneNumberLookupApi.md#createSyncLookup) | **POST** /accounts/{accountId}/phoneNumberLookup | Create Synchronous Number Lookup |
+| [**getAsyncBulkLookup**](PhoneNumberLookupApi.md#getAsyncBulkLookup) | **GET** /accounts/{accountId}/phoneNumberLookup/bulk/{requestId} | Get Asynchronous Bulk Number Lookup |
-
-# **createLookup**
-> CreateLookupResponse createLookup(accountId, lookupRequest)
+
+# **createAsyncBulkLookup**
+> CreateAsyncBulkLookupResponse createAsyncBulkLookup(accountId, asyncLookupRequest)
-Create Lookup
+Create Asynchronous Bulk Number Lookup
-Create a Phone Number Lookup Request.
+Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
### Example
```java
@@ -37,13 +38,13 @@ public class Example {
Basic.setPassword("YOUR PASSWORD");
PhoneNumberLookupApi apiInstance = new PhoneNumberLookupApi(defaultClient);
- String accountId = "9900000"; // String | Your Bandwidth Account ID.
- LookupRequest lookupRequest = new LookupRequest(); // LookupRequest | Phone number lookup request.
+ String accountId = "9900000"; // String |
+ AsyncLookupRequest asyncLookupRequest = new AsyncLookupRequest(); // AsyncLookupRequest | Asynchronous bulk phone number lookup request.
try {
- CreateLookupResponse result = apiInstance.createLookup(accountId, lookupRequest);
+ CreateAsyncBulkLookupResponse result = apiInstance.createAsyncBulkLookup(accountId, asyncLookupRequest);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling PhoneNumberLookupApi#createLookup");
+ System.err.println("Exception when calling PhoneNumberLookupApi#createAsyncBulkLookup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -57,12 +58,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
-| **accountId** | **String**| Your Bandwidth Account ID. | |
-| **lookupRequest** | [**LookupRequest**](LookupRequest.md)| Phone number lookup request. | |
+| **accountId** | **String**| | |
+| **asyncLookupRequest** | [**AsyncLookupRequest**](AsyncLookupRequest.md)| Asynchronous bulk phone number lookup request. | |
### Return type
-[**CreateLookupResponse**](CreateLookupResponse.md)
+[**CreateAsyncBulkLookupResponse**](CreateAsyncBulkLookupResponse.md)
### Authorization
@@ -77,20 +78,15 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **202** | Accepted | - |
-| **400** | Bad Request | - |
-| **401** | Unauthorized | - |
-| **403** | Forbidden | - |
-| **415** | Unsupported Media Type | - |
-| **429** | Too Many Requests | - |
-| **500** | Internal Server Error | - |
+| **0** | Bad Request | - |
-
-# **getLookupStatus**
-> LookupStatus getLookupStatus(accountId, requestId)
+
+# **createSyncLookup**
+> CreateSyncLookupResponse createSyncLookup(accountId, syncLookupRequest)
-Get Lookup Request Status
+Create Synchronous Number Lookup
-Get an existing Phone Number Lookup Request.
+Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
### Example
```java
@@ -113,13 +109,13 @@ public class Example {
Basic.setPassword("YOUR PASSWORD");
PhoneNumberLookupApi apiInstance = new PhoneNumberLookupApi(defaultClient);
- String accountId = "9900000"; // String | Your Bandwidth Account ID.
- String requestId = "004223a0-8b17-41b1-bf81-20732adf5590"; // String | The phone number lookup request ID from Bandwidth.
+ String accountId = "9900000"; // String |
+ SyncLookupRequest syncLookupRequest = new SyncLookupRequest(); // SyncLookupRequest | Synchronous phone number lookup request.
try {
- LookupStatus result = apiInstance.getLookupStatus(accountId, requestId);
+ CreateSyncLookupResponse result = apiInstance.createSyncLookup(accountId, syncLookupRequest);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling PhoneNumberLookupApi#getLookupStatus");
+ System.err.println("Exception when calling PhoneNumberLookupApi#createSyncLookup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -133,12 +129,83 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
-| **accountId** | **String**| Your Bandwidth Account ID. | |
-| **requestId** | **String**| The phone number lookup request ID from Bandwidth. | |
+| **accountId** | **String**| | |
+| **syncLookupRequest** | [**SyncLookupRequest**](SyncLookupRequest.md)| Synchronous phone number lookup request. | |
### Return type
-[**LookupStatus**](LookupStatus.md)
+[**CreateSyncLookupResponse**](CreateSyncLookupResponse.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+| **0** | Bad Request | - |
+
+
+# **getAsyncBulkLookup**
+> GetAsyncBulkLookupResponse getAsyncBulkLookup(accountId, requestId)
+
+Get Asynchronous Bulk Number Lookup
+
+Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
+
+### Example
+```java
+// Import classes:
+import com.bandwidth.sdk.ApiClient;
+import com.bandwidth.sdk.ApiException;
+import com.bandwidth.sdk.Configuration;
+import com.bandwidth.sdk.auth.*;
+import com.bandwidth.sdk.models.*;
+import com.bandwidth.sdk.api.PhoneNumberLookupApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://localhost");
+
+ // Configure HTTP basic authorization: Basic
+ HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ Basic.setUsername("YOUR USERNAME");
+ Basic.setPassword("YOUR PASSWORD");
+
+ PhoneNumberLookupApi apiInstance = new PhoneNumberLookupApi(defaultClient);
+ String accountId = "9900000"; // String |
+ UUID requestId = UUID.fromString("004223a0-8b17-41b1-bf81-20732adf5590"); // UUID |
+ try {
+ GetAsyncBulkLookupResponse result = apiInstance.getAsyncBulkLookup(accountId, requestId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PhoneNumberLookupApi#getAsyncBulkLookup");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **accountId** | **String**| | |
+| **requestId** | **UUID**| | |
+
+### Return type
+
+[**GetAsyncBulkLookupResponse**](GetAsyncBulkLookupResponse.md)
### Authorization
@@ -153,10 +220,5 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
-| **400** | Bad Request | - |
-| **401** | Unauthorized | - |
-| **403** | Forbidden | - |
-| **404** | Not Found | - |
-| **429** | Too Many Requests | - |
-| **500** | Internal Server Error | - |
+| **0** | Bad Request | - |
diff --git a/docs/StatusCallbackTypeEnum.md b/docs/StatusCallbackTypeEnum.md
index 6323da6f..0b626836 100644
--- a/docs/StatusCallbackTypeEnum.md
+++ b/docs/StatusCallbackTypeEnum.md
@@ -5,13 +5,13 @@
## Enum
-* `SENDING` (value: `"message-sending"`)
+* `MESSAGE_SENDING` (value: `"message-sending"`)
-* `DELIVERED` (value: `"message-delivered"`)
+* `MESSAGE_DELIVERED` (value: `"message-delivered"`)
-* `FAILED` (value: `"message-failed"`)
+* `MESSAGE_FAILED` (value: `"message-failed"`)
-* `READ` (value: `"message-read"`)
+* `MESSAGE_READ` (value: `"message-read"`)
diff --git a/docs/LookupRequest.md b/docs/SyncLookupRequest.md
similarity index 53%
rename from docs/LookupRequest.md
rename to docs/SyncLookupRequest.md
index 30637433..80c63ca3 100644
--- a/docs/LookupRequest.md
+++ b/docs/SyncLookupRequest.md
@@ -1,14 +1,13 @@
-# LookupRequest
+# SyncLookupRequest
-Create phone number lookup request.
## Properties
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**tns** | **List<String>** | | |
+|**phoneNumbers** | **List<String>** | Telephone numbers in E.164 format. | |
diff --git a/openapitools.json b/openapitools.json
index f8d07ce1..f052220d 100644
--- a/openapitools.json
+++ b/openapitools.json
@@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
- "version": "7.10.0"
+ "version": "7.17.0"
}
}
diff --git a/src/main/java/com/bandwidth/sdk/ApiClient.java b/src/main/java/com/bandwidth/sdk/ApiClient.java
index c2710180..63401aa2 100644
--- a/src/main/java/com/bandwidth/sdk/ApiClient.java
+++ b/src/main/java/com/bandwidth/sdk/ApiClient.java
@@ -61,7 +61,7 @@
*/
public class ApiClient {
- private String basePath = "http://localhost";
+ protected String basePath = "http://localhost";
protected List servers = new ArrayList(Arrays.asList(
new ServerConfiguration(
"",
@@ -71,26 +71,26 @@ public class ApiClient {
));
protected Integer serverIndex = 0;
protected Map serverVariables = null;
- private boolean debugging = false;
- private Map defaultHeaderMap = new HashMap();
- private Map defaultCookieMap = new HashMap();
- private String tempFolderPath = null;
+ protected boolean debugging = false;
+ protected Map defaultHeaderMap = new HashMap();
+ protected Map defaultCookieMap = new HashMap();
+ protected String tempFolderPath = null;
- private Map authentications;
+ protected Map authentications;
- private DateFormat dateFormat;
- private DateFormat datetimeFormat;
- private boolean lenientDatetimeFormat;
- private int dateLength;
+ protected DateFormat dateFormat;
+ protected DateFormat datetimeFormat;
+ protected boolean lenientDatetimeFormat;
+ protected int dateLength;
- private InputStream sslCaCert;
- private boolean verifyingSsl;
- private KeyManager[] keyManagers;
+ protected InputStream sslCaCert;
+ protected boolean verifyingSsl;
+ protected KeyManager[] keyManagers;
- private OkHttpClient httpClient;
- private JSON json;
+ protected OkHttpClient httpClient;
+ protected JSON json;
- private HttpLoggingInterceptor loggingInterceptor;
+ protected HttpLoggingInterceptor loggingInterceptor;
/**
* Basic constructor for ApiClient
@@ -121,11 +121,11 @@ public ApiClient(OkHttpClient client) {
authentications = Collections.unmodifiableMap(authentications);
}
- private void initHttpClient() {
+ protected void initHttpClient() {
initHttpClient(Collections.emptyList());
}
- private void initHttpClient(List interceptors) {
+ protected void initHttpClient(List interceptors) {
OkHttpClient.Builder builder = new OkHttpClient.Builder();
builder.addNetworkInterceptor(getProgressInterceptor());
for (Interceptor interceptor: interceptors) {
@@ -135,7 +135,7 @@ private void initHttpClient(List interceptors) {
httpClient = builder.build();
}
- private void init() {
+ protected void init() {
verifyingSsl = true;
json = new JSON();
@@ -158,8 +158,8 @@ public String getBasePath() {
/**
* Set base path
*
- * @param basePath Base path of the URL (e.g http://localhost
- * @return An instance of OkHttpClient
+ * @param basePath Base path of the URL (e.g http://localhost)
+ * @return An instance of ApiClient
*/
public ApiClient setBasePath(String basePath) {
this.basePath = basePath;
@@ -207,7 +207,7 @@ public OkHttpClient getHttpClient() {
* Set HTTP client, which must never be null.
*
* @param newHttpClient An instance of OkHttpClient
- * @return Api Client
+ * @return ApiClient
* @throws java.lang.NullPointerException when newHttpClient is null
*/
public ApiClient setHttpClient(OkHttpClient newHttpClient) {
@@ -695,7 +695,7 @@ public List parameterToPair(String name, Object value) {
* @param value The value of the parameter.
* @return A list of {@code Pair} objects.
*/
- public List parameterToPairs(String collectionFormat, String name, Collection value) {
+ public List parameterToPairs(String collectionFormat, String name, Collection> value) {
List params = new ArrayList();
// preconditions
@@ -802,7 +802,7 @@ public String collectionPathParameterToString(String collectionFormat, Collectio
* @return The sanitized filename
*/
public String sanitizeFilename(String filename) {
- return filename.replaceAll(".*[/\\\\]", "");
+ return filename.replaceFirst("^.*[/\\\\]", "");
}
/**
@@ -912,17 +912,8 @@ public T deserialize(Response response, Type returnType) throws ApiException
return (T) downloadFileFromResponse(response);
}
- String respBody;
- try {
- if (response.body() != null)
- respBody = response.body().string();
- else
- respBody = null;
- } catch (IOException e) {
- throw new ApiException(e);
- }
-
- if (respBody == null || "".equals(respBody)) {
+ ResponseBody respBody = response.body();
+ if (respBody == null) {
return null;
}
@@ -931,17 +922,25 @@ public T deserialize(Response response, Type returnType) throws ApiException
// ensuring a default content type
contentType = "application/json";
}
- if (isJsonMime(contentType)) {
- return JSON.deserialize(respBody, returnType);
- } else if (returnType.equals(String.class)) {
- // Expecting string, return the raw response body.
- return (T) respBody;
- } else {
- throw new ApiException(
+ try {
+ if (isJsonMime(contentType)) {
+ return JSON.deserialize(respBody.byteStream(), returnType);
+ } else if (returnType.equals(String.class)) {
+ String respBodyString = respBody.string();
+ if (respBodyString.isEmpty()) {
+ return null;
+ }
+ // Expecting string, return the raw response body.
+ return (T) respBodyString;
+ } else {
+ throw new ApiException(
"Content type \"" + contentType + "\" is not supported for type: " + returnType,
response.code(),
response.headers().toMultimap(),
- respBody);
+ response.body().string());
+ }
+ } catch (IOException e) {
+ throw new ApiException(e);
}
}
@@ -1268,7 +1267,8 @@ public String buildUrl(String baseUrl, String path, List queryParams, List
if (serverIndex != null) {
if (serverIndex < 0 || serverIndex >= servers.size()) {
throw new ArrayIndexOutOfBoundsException(String.format(
- "Invalid index %d when selecting the host settings. Must be less than %d", serverIndex, servers.size()
+ Locale.ROOT,
+ "Invalid index %d when selecting the host settings. Must be less than %d", serverIndex, servers.size()
));
}
baseURL = servers.get(serverIndex).URL(serverVariables);
@@ -1340,11 +1340,11 @@ public void processHeaderParams(Map headerParams, Request.Builde
*/
public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) {
for (Entry param : cookieParams.entrySet()) {
- reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue()));
+ reqBuilder.addHeader("Cookie", String.format(Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
for (Entry param : defaultCookieMap.entrySet()) {
if (!cookieParams.containsKey(param.getKey())) {
- reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue()));
+ reqBuilder.addHeader("Cookie", String.format(Locale.ROOT, "%s=%s", param.getKey(), param.getValue()));
}
}
}
@@ -1437,7 +1437,7 @@ public String guessContentTypeFromFile(File file) {
* @param key The key of the Header element
* @param file The file to add to the Header
*/
- private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) {
+ protected void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) {
Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\"; filename=\"" + file.getName() + "\"");
MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file));
mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType));
@@ -1450,7 +1450,7 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k
* @param key The key of the Header element
* @param obj The complex object to add to the Header
*/
- private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) {
+ protected void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) {
RequestBody requestBody;
if (obj instanceof String) {
requestBody = RequestBody.create((String) obj, MediaType.parse("text/plain"));
@@ -1472,7 +1472,7 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k
* Get network interceptor to add it to the httpClient to track download progress for
* async requests.
*/
- private Interceptor getProgressInterceptor() {
+ protected Interceptor getProgressInterceptor() {
return new Interceptor() {
@Override
public Response intercept(Interceptor.Chain chain) throws IOException {
@@ -1493,7 +1493,7 @@ public Response intercept(Interceptor.Chain chain) throws IOException {
* Apply SSL related settings to httpClient according to the current values of
* verifyingSsl and sslCaCert.
*/
- private void applySslSettings() {
+ protected void applySslSettings() {
try {
TrustManager[] trustManagers;
HostnameVerifier hostnameVerifier;
@@ -1555,7 +1555,7 @@ public boolean verify(String hostname, SSLSession session) {
}
}
- private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException {
+ protected KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException {
try {
KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
keyStore.load(null, password);
@@ -1572,7 +1572,7 @@ private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityExcepti
* @return The string representation of the HTTP request body
* @throws com.bandwidth.sdk.ApiException If fail to serialize the request body object into a string
*/
- private String requestBodyToString(RequestBody requestBody) throws ApiException {
+ protected String requestBodyToString(RequestBody requestBody) throws ApiException {
if (requestBody != null) {
try {
final Buffer buffer = new Buffer();
diff --git a/src/main/java/com/bandwidth/sdk/ApiException.java b/src/main/java/com/bandwidth/sdk/ApiException.java
index 1bb97746..c3e60582 100644
--- a/src/main/java/com/bandwidth/sdk/ApiException.java
+++ b/src/main/java/com/bandwidth/sdk/ApiException.java
@@ -15,13 +15,14 @@
import java.util.Map;
import java.util.List;
+import java.util.Locale;
/**
* ApiException class.
*/
@SuppressWarnings("serial")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.17.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;
@@ -161,7 +162,7 @@ public String getResponseBody() {
* @return The exception message
*/
public String getMessage() {
- return String.format("Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s",
+ return String.format(Locale.ROOT, "Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s",
super.getMessage(), this.getCode(), this.getResponseBody(), this.getResponseHeaders());
}
}
diff --git a/src/main/java/com/bandwidth/sdk/Configuration.java b/src/main/java/com/bandwidth/sdk/Configuration.java
index 57fcf592..3070c62d 100644
--- a/src/main/java/com/bandwidth/sdk/Configuration.java
+++ b/src/main/java/com/bandwidth/sdk/Configuration.java
@@ -13,29 +13,51 @@
package com.bandwidth.sdk;
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
+import java.util.Objects;
+import java.util.concurrent.atomic.AtomicReference;
+import java.util.function.Supplier;
+
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.17.0")
public class Configuration {
- public static final String VERSION = "1.0.0";
-
- private static ApiClient defaultApiClient = new ApiClient();
-
- /**
- * Get the default API client, which would be used when creating API
- * instances without providing an API client.
- *
- * @return Default API client
- */
- public static ApiClient getDefaultApiClient() {
- return defaultApiClient;
- }
+ public static final String VERSION = "1.0.0";
+
+ private static final AtomicReference defaultApiClient = new AtomicReference<>();
+ private static volatile Supplier apiClientFactory = ApiClient::new;
- /**
- * Set the default API client, which would be used when creating API
- * instances without providing an API client.
- *
- * @param apiClient API client
- */
- public static void setDefaultApiClient(ApiClient apiClient) {
- defaultApiClient = apiClient;
+ /**
+ * Get the default API client, which would be used when creating API instances without providing an API client.
+ *
+ * @return Default API client
+ */
+ public static ApiClient getDefaultApiClient() {
+ ApiClient client = defaultApiClient.get();
+ if (client == null) {
+ client = defaultApiClient.updateAndGet(val -> {
+ if (val != null) { // changed by another thread
+ return val;
+ }
+ return apiClientFactory.get();
+ });
}
-}
+ return client;
+ }
+
+ /**
+ * Set the default API client, which would be used when creating API instances without providing an API client.
+ *
+ * @param apiClient API client
+ */
+ public static void setDefaultApiClient(ApiClient apiClient) {
+ defaultApiClient.set(apiClient);
+ }
+
+ /**
+ * set the callback used to create new ApiClient objects
+ */
+ public static void setApiClientFactory(Supplier factory) {
+ apiClientFactory = Objects.requireNonNull(factory);
+ }
+
+ private Configuration() {
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/bandwidth/sdk/JSON.java b/src/main/java/com/bandwidth/sdk/JSON.java
index 90740687..f3bcd4e7 100644
--- a/src/main/java/com/bandwidth/sdk/JSON.java
+++ b/src/main/java/com/bandwidth/sdk/JSON.java
@@ -27,8 +27,11 @@
import okio.ByteString;
import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
import java.io.StringReader;
import java.lang.reflect.Type;
+import java.nio.charset.StandardCharsets;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.ParsePosition;
@@ -69,8 +72,6 @@ public Class extends com.bandwidth.sdk.model.Callback> getClassForElement(Json
classByDiscriminatorValue.put("message-sent", com.bandwidth.sdk.model.StatusCallback.class);
classByDiscriminatorValue.put("request-location-response", com.bandwidth.sdk.model.InboundCallback.class);
classByDiscriminatorValue.put("suggestion-response", com.bandwidth.sdk.model.InboundCallback.class);
- classByDiscriminatorValue.put("inboundCallback", com.bandwidth.sdk.model.InboundCallback.class);
- classByDiscriminatorValue.put("statusCallback", com.bandwidth.sdk.model.StatusCallback.class);
classByDiscriminatorValue.put("callback", com.bandwidth.sdk.model.Callback.class);
return getClassByDiscriminator(classByDiscriminatorValue,
getDiscriminatorValue(readElement, "type"));
@@ -86,11 +87,6 @@ public Class extends com.bandwidth.sdk.model.MultiChannelAction> getClassForEl
classByDiscriminatorValue.put("REPLY", com.bandwidth.sdk.model.RbmActionBase.class);
classByDiscriminatorValue.put("REQUEST_LOCATION", com.bandwidth.sdk.model.RbmActionBase.class);
classByDiscriminatorValue.put("SHOW_LOCATION", com.bandwidth.sdk.model.RbmActionViewLocation.class);
- classByDiscriminatorValue.put("multiChannelActionCalendarEvent", com.bandwidth.sdk.model.MultiChannelActionCalendarEvent.class);
- classByDiscriminatorValue.put("rbmActionBase", com.bandwidth.sdk.model.RbmActionBase.class);
- classByDiscriminatorValue.put("rbmActionDial", com.bandwidth.sdk.model.RbmActionDial.class);
- classByDiscriminatorValue.put("rbmActionOpenUrl", com.bandwidth.sdk.model.RbmActionOpenUrl.class);
- classByDiscriminatorValue.put("rbmActionViewLocation", com.bandwidth.sdk.model.RbmActionViewLocation.class);
classByDiscriminatorValue.put("multiChannelAction", com.bandwidth.sdk.model.MultiChannelAction.class);
return getClassByDiscriminator(classByDiscriminatorValue,
getDiscriminatorValue(readElement, "type"));
@@ -135,6 +131,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.AdditionalDenialReason.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Address.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.AnswerCallback.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.AsyncLookupRequest.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.BlockedWebhook.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.BridgeCompleteCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.BridgeTargetCompleteCallback.CustomTypeAdapterFactory());
@@ -155,11 +152,14 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.ConferenceRecordingMetadata.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.ConferenceRedirectCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Contact.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateAsyncBulkLookupResponse.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateAsyncBulkLookupResponseData.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateCall.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateCallResponse.CustomTypeAdapterFactory());
- gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateLookupResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateMessageRequestError.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateMultiChannelMessageResponse.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateSyncLookupResponse.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CreateSyncLookupResponseData.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.DisconnectCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Diversion.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.DtmfCallback.CustomTypeAdapterFactory());
@@ -169,15 +169,19 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.FailureWebhook.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.FieldError.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.GatherCallback.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.GetAsyncBulkLookupResponse.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.GetAsyncBulkLookupResponseData.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.InboundCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.InboundCallbackMessage.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.InitiateCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Link.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LinkSchema.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LinksObject.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.ListMessageItem.CustomTypeAdapterFactory());
- gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LookupRequest.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LookupErrorResponse.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LookupErrorSchema.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LookupErrorSchemaMeta.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LookupResult.CustomTypeAdapterFactory());
- gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.LookupStatus.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.MachineDetectionCompleteCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.MachineDetectionConfiguration.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.MachineDetectionResult.CustomTypeAdapterFactory());
@@ -226,13 +230,13 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.StatusCallback.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.StatusCallbackMessage.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.StirShaken.CustomTypeAdapterFactory());
+ gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.SyncLookupRequest.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TelephoneNumber.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TfvBasicAuthentication.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TfvError.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TfvStatus.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TfvSubmissionInfo.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TfvSubmissionWrapper.CustomTypeAdapterFactory());
- gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TnLookupRequestError.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TranscribeRecording.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Transcription.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TranscriptionAvailableCallback.CustomTypeAdapterFactory());
@@ -320,6 +324,28 @@ public static T deserialize(String body, Type returnType) {
}
}
+ /**
+ * Deserialize the given JSON InputStream to a Java object.
+ *
+ * @param Type
+ * @param inputStream The JSON InputStream
+ * @param returnType The type to deserialize into
+ * @return The deserialized Java object
+ */
+ @SuppressWarnings("unchecked")
+ public static T deserialize(InputStream inputStream, Type returnType) throws IOException {
+ try (InputStreamReader reader = new InputStreamReader(inputStream, StandardCharsets.UTF_8)) {
+ if (isLenientOnJson) {
+ // see https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean)
+ JsonReader jsonReader = new JsonReader(reader);
+ jsonReader.setLenient(true);
+ return gson.fromJson(jsonReader, returnType);
+ } else {
+ return gson.fromJson(reader, returnType);
+ }
+ }
+ }
+
/**
* Gson TypeAdapter for Byte Array type
*/
diff --git a/src/main/java/com/bandwidth/sdk/Pair.java b/src/main/java/com/bandwidth/sdk/Pair.java
index a04697ce..c2dfaf95 100644
--- a/src/main/java/com/bandwidth/sdk/Pair.java
+++ b/src/main/java/com/bandwidth/sdk/Pair.java
@@ -13,45 +13,25 @@
package com.bandwidth.sdk;
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.17.0")
public class Pair {
- private String name = "";
- private String value = "";
+ private final String name;
+ private final String value;
- public Pair (String name, String value) {
- setName(name);
- setValue(value);
- }
+ public Pair(String name, String value) {
+ this.name = isValidString(name) ? name : "";
+ this.value = isValidString(value) ? value : "";
+ }
- private void setName(String name) {
- if (!isValidString(name)) {
- return;
- }
+ public String getName() {
+ return this.name;
+ }
- this.name = name;
- }
+ public String getValue() {
+ return this.value;
+ }
- private void setValue(String value) {
- if (!isValidString(value)) {
- return;
- }
-
- this.value = value;
- }
-
- public String getName() {
- return this.name;
- }
-
- public String getValue() {
- return this.value;
- }
-
- private boolean isValidString(String arg) {
- if (arg == null) {
- return false;
- }
-
- return true;
- }
+ private static boolean isValidString(String arg) {
+ return arg != null;
+ }
}
diff --git a/src/main/java/com/bandwidth/sdk/ServerConfiguration.java b/src/main/java/com/bandwidth/sdk/ServerConfiguration.java
index c74fbd03..f8a16f7e 100644
--- a/src/main/java/com/bandwidth/sdk/ServerConfiguration.java
+++ b/src/main/java/com/bandwidth/sdk/ServerConfiguration.java
@@ -18,7 +18,7 @@
/**
* Representing a Server configuration.
*/
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.17.0")
public class ServerConfiguration {
public String URL;
public String description;
diff --git a/src/main/java/com/bandwidth/sdk/ServerVariable.java b/src/main/java/com/bandwidth/sdk/ServerVariable.java
index beaab482..37ac39a2 100644
--- a/src/main/java/com/bandwidth/sdk/ServerVariable.java
+++ b/src/main/java/com/bandwidth/sdk/ServerVariable.java
@@ -18,7 +18,7 @@
/**
* Representing a Server Variable for server URL template substitution.
*/
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.17.0")
public class ServerVariable {
public String description;
public String defaultValue;
diff --git a/src/main/java/com/bandwidth/sdk/StringUtil.java b/src/main/java/com/bandwidth/sdk/StringUtil.java
index 6ef9eb8c..81afa101 100644
--- a/src/main/java/com/bandwidth/sdk/StringUtil.java
+++ b/src/main/java/com/bandwidth/sdk/StringUtil.java
@@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.17.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
diff --git a/src/main/java/com/bandwidth/sdk/api/CallsApi.java b/src/main/java/com/bandwidth/sdk/api/CallsApi.java
index c80844d8..fbf70f46 100644
--- a/src/main/java/com/bandwidth/sdk/api/CallsApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/CallsApi.java
@@ -98,7 +98,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call createCallCall(String accountId, CreateCall createCall, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createCallCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CreateCall createCall, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -145,7 +145,7 @@ public okhttp3.Call createCallCall(String accountId, CreateCall createCall, fina
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createCallValidateBeforeCall(String accountId, CreateCall createCall, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createCallValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CreateCall createCall, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling createCall(Async)");
@@ -182,7 +182,7 @@ private okhttp3.Call createCallValidateBeforeCall(String accountId, CreateCall c
| 500 | Internal Server Error | - |
*/
- public CreateCallResponse createCall(String accountId, CreateCall createCall) throws ApiException {
+ public CreateCallResponse createCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CreateCall createCall) throws ApiException {
ApiResponse localVarResp = createCallWithHttpInfo(accountId, createCall);
return localVarResp.getData();
}
@@ -209,7 +209,7 @@ public CreateCallResponse createCall(String accountId, CreateCall createCall) th
| 500 | Internal Server Error | - |
*/
- public ApiResponse createCallWithHttpInfo(String accountId, CreateCall createCall) throws ApiException {
+ public ApiResponse createCallWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CreateCall createCall) throws ApiException {
okhttp3.Call localVarCall = createCallValidateBeforeCall(accountId, createCall, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -238,7 +238,7 @@ public ApiResponse createCallWithHttpInfo(String accountId,
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call createCallAsync(String accountId, CreateCall createCall, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createCallAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CreateCall createCall, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = createCallValidateBeforeCall(accountId, createCall, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -267,7 +267,7 @@ public okhttp3.Call createCallAsync(String accountId, CreateCall createCall, fin
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getCallStateCall(String accountId, String callId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCallStateCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -314,7 +314,7 @@ public okhttp3.Call getCallStateCall(String accountId, String callId, final ApiC
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getCallStateValidateBeforeCall(String accountId, String callId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCallStateValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling getCallState(Async)");
@@ -351,7 +351,7 @@ private okhttp3.Call getCallStateValidateBeforeCall(String accountId, String cal
| 500 | Internal Server Error | - |
*/
- public CallState getCallState(String accountId, String callId) throws ApiException {
+ public CallState getCallState(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId) throws ApiException {
ApiResponse localVarResp = getCallStateWithHttpInfo(accountId, callId);
return localVarResp.getData();
}
@@ -378,7 +378,7 @@ public CallState getCallState(String accountId, String callId) throws ApiExcepti
| 500 | Internal Server Error | - |
*/
- public ApiResponse getCallStateWithHttpInfo(String accountId, String callId) throws ApiException {
+ public ApiResponse getCallStateWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId) throws ApiException {
okhttp3.Call localVarCall = getCallStateValidateBeforeCall(accountId, callId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -407,7 +407,7 @@ public ApiResponse getCallStateWithHttpInfo(String accountId, String
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getCallStateAsync(String accountId, String callId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCallStateAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getCallStateValidateBeforeCall(accountId, callId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -442,7 +442,7 @@ public okhttp3.Call getCallStateAsync(String accountId, String callId, final Api
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listCallsCall(String accountId, String to, String from, String minStartTime, String maxStartTime, String disconnectCause, Integer pageSize, String pageToken, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call listCallsCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String to, @javax.annotation.Nullable String from, @javax.annotation.Nullable String minStartTime, @javax.annotation.Nullable String maxStartTime, @javax.annotation.Nullable String disconnectCause, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -516,7 +516,7 @@ public okhttp3.Call listCallsCall(String accountId, String to, String from, Stri
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call listCallsValidateBeforeCall(String accountId, String to, String from, String minStartTime, String maxStartTime, String disconnectCause, Integer pageSize, String pageToken, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listCallsValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String to, @javax.annotation.Nullable String from, @javax.annotation.Nullable String minStartTime, @javax.annotation.Nullable String maxStartTime, @javax.annotation.Nullable String disconnectCause, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling listCalls(Async)");
@@ -554,7 +554,7 @@ private okhttp3.Call listCallsValidateBeforeCall(String accountId, String to, St
| 500 | Internal Server Error | - |
*/
- public List listCalls(String accountId, String to, String from, String minStartTime, String maxStartTime, String disconnectCause, Integer pageSize, String pageToken) throws ApiException {
+ public List listCalls(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String to, @javax.annotation.Nullable String from, @javax.annotation.Nullable String minStartTime, @javax.annotation.Nullable String maxStartTime, @javax.annotation.Nullable String disconnectCause, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken) throws ApiException {
ApiResponse> localVarResp = listCallsWithHttpInfo(accountId, to, from, minStartTime, maxStartTime, disconnectCause, pageSize, pageToken);
return localVarResp.getData();
}
@@ -587,7 +587,7 @@ public List listCalls(String accountId, String to, String from, Strin
| 500 | Internal Server Error | - |
*/
- public ApiResponse> listCallsWithHttpInfo(String accountId, String to, String from, String minStartTime, String maxStartTime, String disconnectCause, Integer pageSize, String pageToken) throws ApiException {
+ public ApiResponse> listCallsWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String to, @javax.annotation.Nullable String from, @javax.annotation.Nullable String minStartTime, @javax.annotation.Nullable String maxStartTime, @javax.annotation.Nullable String disconnectCause, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken) throws ApiException {
okhttp3.Call localVarCall = listCallsValidateBeforeCall(accountId, to, from, minStartTime, maxStartTime, disconnectCause, pageSize, pageToken, null);
Type localVarReturnType = new TypeToken>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -622,7 +622,7 @@ public ApiResponse> listCallsWithHttpInfo(String accountId, Stri
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listCallsAsync(String accountId, String to, String from, String minStartTime, String maxStartTime, String disconnectCause, Integer pageSize, String pageToken, final ApiCallback> _callback) throws ApiException {
+ public okhttp3.Call listCallsAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String to, @javax.annotation.Nullable String from, @javax.annotation.Nullable String minStartTime, @javax.annotation.Nullable String maxStartTime, @javax.annotation.Nullable String disconnectCause, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken, final ApiCallback> _callback) throws ApiException {
okhttp3.Call localVarCall = listCallsValidateBeforeCall(accountId, to, from, minStartTime, maxStartTime, disconnectCause, pageSize, pageToken, _callback);
Type localVarReturnType = new TypeToken>(){}.getType();
@@ -653,7 +653,7 @@ public okhttp3.Call listCallsAsync(String accountId, String to, String from, Str
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateCallCall(String accountId, String callId, UpdateCall updateCall, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateCallCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull UpdateCall updateCall, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -701,7 +701,7 @@ public okhttp3.Call updateCallCall(String accountId, String callId, UpdateCall u
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateCallValidateBeforeCall(String accountId, String callId, UpdateCall updateCall, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateCallValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull UpdateCall updateCall, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling updateCall(Async)");
@@ -744,7 +744,7 @@ private okhttp3.Call updateCallValidateBeforeCall(String accountId, String callI
| 500 | Internal Server Error | - |
*/
- public void updateCall(String accountId, String callId, UpdateCall updateCall) throws ApiException {
+ public void updateCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull UpdateCall updateCall) throws ApiException {
updateCallWithHttpInfo(accountId, callId, updateCall);
}
@@ -772,7 +772,7 @@ public void updateCall(String accountId, String callId, UpdateCall updateCall) t
| 500 | Internal Server Error | - |
*/
- public ApiResponse updateCallWithHttpInfo(String accountId, String callId, UpdateCall updateCall) throws ApiException {
+ public ApiResponse updateCallWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull UpdateCall updateCall) throws ApiException {
okhttp3.Call localVarCall = updateCallValidateBeforeCall(accountId, callId, updateCall, null);
return localVarApiClient.execute(localVarCall);
}
@@ -802,7 +802,7 @@ public ApiResponse updateCallWithHttpInfo(String accountId, String callId,
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateCallAsync(String accountId, String callId, UpdateCall updateCall, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateCallAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull UpdateCall updateCall, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = updateCallValidateBeforeCall(accountId, callId, updateCall, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
@@ -832,7 +832,7 @@ public okhttp3.Call updateCallAsync(String accountId, String callId, UpdateCall
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateCallBxmlCall(String accountId, String callId, String body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateCallBxmlCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull String body, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -880,7 +880,7 @@ public okhttp3.Call updateCallBxmlCall(String accountId, String callId, String b
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateCallBxmlValidateBeforeCall(String accountId, String callId, String body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateCallBxmlValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull String body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling updateCallBxml(Async)");
@@ -923,7 +923,7 @@ private okhttp3.Call updateCallBxmlValidateBeforeCall(String accountId, String c
| 500 | Internal Server Error | - |
*/
- public void updateCallBxml(String accountId, String callId, String body) throws ApiException {
+ public void updateCallBxml(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull String body) throws ApiException {
updateCallBxmlWithHttpInfo(accountId, callId, body);
}
@@ -951,7 +951,7 @@ public void updateCallBxml(String accountId, String callId, String body) throws
| 500 | Internal Server Error | - |
*/
- public ApiResponse updateCallBxmlWithHttpInfo(String accountId, String callId, String body) throws ApiException {
+ public ApiResponse updateCallBxmlWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull String body) throws ApiException {
okhttp3.Call localVarCall = updateCallBxmlValidateBeforeCall(accountId, callId, body, null);
return localVarApiClient.execute(localVarCall);
}
@@ -981,7 +981,7 @@ public ApiResponse updateCallBxmlWithHttpInfo(String accountId, String cal
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateCallBxmlAsync(String accountId, String callId, String body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateCallBxmlAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String callId, @javax.annotation.Nonnull String body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = updateCallBxmlValidateBeforeCall(accountId, callId, body, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
diff --git a/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java b/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java
index aaf24a61..02951333 100644
--- a/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java
@@ -101,7 +101,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call downloadConferenceRecordingCall(String accountId, String conferenceId, String recordingId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call downloadConferenceRecordingCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -151,7 +151,7 @@ public okhttp3.Call downloadConferenceRecordingCall(String accountId, String con
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call downloadConferenceRecordingValidateBeforeCall(String accountId, String conferenceId, String recordingId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call downloadConferenceRecordingValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling downloadConferenceRecording(Async)");
@@ -194,7 +194,7 @@ private okhttp3.Call downloadConferenceRecordingValidateBeforeCall(String accoun
| 500 | Internal Server Error | - |
*/
- public File downloadConferenceRecording(String accountId, String conferenceId, String recordingId) throws ApiException {
+ public File downloadConferenceRecording(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId) throws ApiException {
ApiResponse localVarResp = downloadConferenceRecordingWithHttpInfo(accountId, conferenceId, recordingId);
return localVarResp.getData();
}
@@ -222,7 +222,7 @@ public File downloadConferenceRecording(String accountId, String conferenceId, S
| 500 | Internal Server Error | - |
*/
- public ApiResponse downloadConferenceRecordingWithHttpInfo(String accountId, String conferenceId, String recordingId) throws ApiException {
+ public ApiResponse downloadConferenceRecordingWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId) throws ApiException {
okhttp3.Call localVarCall = downloadConferenceRecordingValidateBeforeCall(accountId, conferenceId, recordingId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -252,7 +252,7 @@ public ApiResponse downloadConferenceRecordingWithHttpInfo(String accountI
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call downloadConferenceRecordingAsync(String accountId, String conferenceId, String recordingId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call downloadConferenceRecordingAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = downloadConferenceRecordingValidateBeforeCall(accountId, conferenceId, recordingId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -281,7 +281,7 @@ public okhttp3.Call downloadConferenceRecordingAsync(String accountId, String co
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getConferenceCall(String accountId, String conferenceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getConferenceCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -328,7 +328,7 @@ public okhttp3.Call getConferenceCall(String accountId, String conferenceId, fin
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getConferenceValidateBeforeCall(String accountId, String conferenceId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getConferenceValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling getConference(Async)");
@@ -365,7 +365,7 @@ private okhttp3.Call getConferenceValidateBeforeCall(String accountId, String co
| 500 | Internal Server Error | - |
*/
- public Conference getConference(String accountId, String conferenceId) throws ApiException {
+ public Conference getConference(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId) throws ApiException {
ApiResponse localVarResp = getConferenceWithHttpInfo(accountId, conferenceId);
return localVarResp.getData();
}
@@ -392,7 +392,7 @@ public Conference getConference(String accountId, String conferenceId) throws Ap
| 500 | Internal Server Error | - |
*/
- public ApiResponse getConferenceWithHttpInfo(String accountId, String conferenceId) throws ApiException {
+ public ApiResponse getConferenceWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId) throws ApiException {
okhttp3.Call localVarCall = getConferenceValidateBeforeCall(accountId, conferenceId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -421,7 +421,7 @@ public ApiResponse getConferenceWithHttpInfo(String accountId, Strin
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getConferenceAsync(String accountId, String conferenceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getConferenceAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getConferenceValidateBeforeCall(accountId, conferenceId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -451,7 +451,7 @@ public okhttp3.Call getConferenceAsync(String accountId, String conferenceId, fi
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getConferenceMemberCall(String accountId, String conferenceId, String memberId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getConferenceMemberCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -499,7 +499,7 @@ public okhttp3.Call getConferenceMemberCall(String accountId, String conferenceI
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getConferenceMemberValidateBeforeCall(String accountId, String conferenceId, String memberId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getConferenceMemberValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling getConferenceMember(Async)");
@@ -542,7 +542,7 @@ private okhttp3.Call getConferenceMemberValidateBeforeCall(String accountId, Str
| 500 | Internal Server Error | - |
*/
- public ConferenceMember getConferenceMember(String accountId, String conferenceId, String memberId) throws ApiException {
+ public ConferenceMember getConferenceMember(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId) throws ApiException {
ApiResponse localVarResp = getConferenceMemberWithHttpInfo(accountId, conferenceId, memberId);
return localVarResp.getData();
}
@@ -570,7 +570,7 @@ public ConferenceMember getConferenceMember(String accountId, String conferenceI
| 500 | Internal Server Error | - |
*/
- public ApiResponse getConferenceMemberWithHttpInfo(String accountId, String conferenceId, String memberId) throws ApiException {
+ public ApiResponse getConferenceMemberWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId) throws ApiException {
okhttp3.Call localVarCall = getConferenceMemberValidateBeforeCall(accountId, conferenceId, memberId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -600,7 +600,7 @@ public ApiResponse getConferenceMemberWithHttpInfo(String acco
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getConferenceMemberAsync(String accountId, String conferenceId, String memberId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getConferenceMemberAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getConferenceMemberValidateBeforeCall(accountId, conferenceId, memberId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -630,7 +630,7 @@ public okhttp3.Call getConferenceMemberAsync(String accountId, String conference
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getConferenceRecordingCall(String accountId, String conferenceId, String recordingId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getConferenceRecordingCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -678,7 +678,7 @@ public okhttp3.Call getConferenceRecordingCall(String accountId, String conferen
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getConferenceRecordingValidateBeforeCall(String accountId, String conferenceId, String recordingId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getConferenceRecordingValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling getConferenceRecording(Async)");
@@ -721,7 +721,7 @@ private okhttp3.Call getConferenceRecordingValidateBeforeCall(String accountId,
| 500 | Internal Server Error | - |
*/
- public ConferenceRecordingMetadata getConferenceRecording(String accountId, String conferenceId, String recordingId) throws ApiException {
+ public ConferenceRecordingMetadata getConferenceRecording(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId) throws ApiException {
ApiResponse localVarResp = getConferenceRecordingWithHttpInfo(accountId, conferenceId, recordingId);
return localVarResp.getData();
}
@@ -749,7 +749,7 @@ public ConferenceRecordingMetadata getConferenceRecording(String accountId, Stri
| 500 | Internal Server Error | - |
*/
- public ApiResponse getConferenceRecordingWithHttpInfo(String accountId, String conferenceId, String recordingId) throws ApiException {
+ public ApiResponse getConferenceRecordingWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId) throws ApiException {
okhttp3.Call localVarCall = getConferenceRecordingValidateBeforeCall(accountId, conferenceId, recordingId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -779,7 +779,7 @@ public ApiResponse getConferenceRecordingWithHttpIn
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getConferenceRecordingAsync(String accountId, String conferenceId, String recordingId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getConferenceRecordingAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String recordingId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getConferenceRecordingValidateBeforeCall(accountId, conferenceId, recordingId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -808,7 +808,7 @@ public okhttp3.Call getConferenceRecordingAsync(String accountId, String confere
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listConferenceRecordingsCall(String accountId, String conferenceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call listConferenceRecordingsCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -855,7 +855,7 @@ public okhttp3.Call listConferenceRecordingsCall(String accountId, String confer
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call listConferenceRecordingsValidateBeforeCall(String accountId, String conferenceId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listConferenceRecordingsValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling listConferenceRecordings(Async)");
@@ -892,7 +892,7 @@ private okhttp3.Call listConferenceRecordingsValidateBeforeCall(String accountId
| 500 | Internal Server Error | - |
*/
- public List listConferenceRecordings(String accountId, String conferenceId) throws ApiException {
+ public List listConferenceRecordings(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId) throws ApiException {
ApiResponse> localVarResp = listConferenceRecordingsWithHttpInfo(accountId, conferenceId);
return localVarResp.getData();
}
@@ -919,7 +919,7 @@ public List listConferenceRecordings(String account
| 500 | Internal Server Error | - |
*/
- public ApiResponse> listConferenceRecordingsWithHttpInfo(String accountId, String conferenceId) throws ApiException {
+ public ApiResponse> listConferenceRecordingsWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId) throws ApiException {
okhttp3.Call localVarCall = listConferenceRecordingsValidateBeforeCall(accountId, conferenceId, null);
Type localVarReturnType = new TypeToken>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -948,7 +948,7 @@ public ApiResponse> listConferenceRecordingsWi
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listConferenceRecordingsAsync(String accountId, String conferenceId, final ApiCallback> _callback) throws ApiException {
+ public okhttp3.Call listConferenceRecordingsAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, final ApiCallback> _callback) throws ApiException {
okhttp3.Call localVarCall = listConferenceRecordingsValidateBeforeCall(accountId, conferenceId, _callback);
Type localVarReturnType = new TypeToken>(){}.getType();
@@ -981,7 +981,7 @@ public okhttp3.Call listConferenceRecordingsAsync(String accountId, String confe
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listConferencesCall(String accountId, String name, String minCreatedTime, String maxCreatedTime, Integer pageSize, String pageToken, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call listConferencesCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String minCreatedTime, @javax.annotation.Nullable String maxCreatedTime, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -1047,7 +1047,7 @@ public okhttp3.Call listConferencesCall(String accountId, String name, String mi
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call listConferencesValidateBeforeCall(String accountId, String name, String minCreatedTime, String maxCreatedTime, Integer pageSize, String pageToken, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listConferencesValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String minCreatedTime, @javax.annotation.Nullable String maxCreatedTime, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling listConferences(Async)");
@@ -1083,7 +1083,7 @@ private okhttp3.Call listConferencesValidateBeforeCall(String accountId, String
| 500 | Internal Server Error | - |
*/
- public List listConferences(String accountId, String name, String minCreatedTime, String maxCreatedTime, Integer pageSize, String pageToken) throws ApiException {
+ public List listConferences(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String minCreatedTime, @javax.annotation.Nullable String maxCreatedTime, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken) throws ApiException {
ApiResponse> localVarResp = listConferencesWithHttpInfo(accountId, name, minCreatedTime, maxCreatedTime, pageSize, pageToken);
return localVarResp.getData();
}
@@ -1114,7 +1114,7 @@ public List listConferences(String accountId, String name, String mi
| 500 | Internal Server Error | - |
*/
- public ApiResponse> listConferencesWithHttpInfo(String accountId, String name, String minCreatedTime, String maxCreatedTime, Integer pageSize, String pageToken) throws ApiException {
+ public ApiResponse> listConferencesWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String minCreatedTime, @javax.annotation.Nullable String maxCreatedTime, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken) throws ApiException {
okhttp3.Call localVarCall = listConferencesValidateBeforeCall(accountId, name, minCreatedTime, maxCreatedTime, pageSize, pageToken, null);
Type localVarReturnType = new TypeToken>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -1147,7 +1147,7 @@ public ApiResponse> listConferencesWithHttpInfo(String accountI
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listConferencesAsync(String accountId, String name, String minCreatedTime, String maxCreatedTime, Integer pageSize, String pageToken, final ApiCallback> _callback) throws ApiException {
+ public okhttp3.Call listConferencesAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String minCreatedTime, @javax.annotation.Nullable String maxCreatedTime, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String pageToken, final ApiCallback> _callback) throws ApiException {
okhttp3.Call localVarCall = listConferencesValidateBeforeCall(accountId, name, minCreatedTime, maxCreatedTime, pageSize, pageToken, _callback);
Type localVarReturnType = new TypeToken>(){}.getType();
@@ -1177,7 +1177,7 @@ public okhttp3.Call listConferencesAsync(String accountId, String name, String m
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateConferenceCall(String accountId, String conferenceId, UpdateConference updateConference, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateConferenceCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull UpdateConference updateConference, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -1225,7 +1225,7 @@ public okhttp3.Call updateConferenceCall(String accountId, String conferenceId,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateConferenceValidateBeforeCall(String accountId, String conferenceId, UpdateConference updateConference, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateConferenceValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull UpdateConference updateConference, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling updateConference(Async)");
@@ -1267,7 +1267,7 @@ private okhttp3.Call updateConferenceValidateBeforeCall(String accountId, String
| 500 | Internal Server Error | - |
*/
- public void updateConference(String accountId, String conferenceId, UpdateConference updateConference) throws ApiException {
+ public void updateConference(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull UpdateConference updateConference) throws ApiException {
updateConferenceWithHttpInfo(accountId, conferenceId, updateConference);
}
@@ -1294,7 +1294,7 @@ public void updateConference(String accountId, String conferenceId, UpdateConfer
| 500 | Internal Server Error | - |
*/
- public ApiResponse updateConferenceWithHttpInfo(String accountId, String conferenceId, UpdateConference updateConference) throws ApiException {
+ public ApiResponse updateConferenceWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull UpdateConference updateConference) throws ApiException {
okhttp3.Call localVarCall = updateConferenceValidateBeforeCall(accountId, conferenceId, updateConference, null);
return localVarApiClient.execute(localVarCall);
}
@@ -1323,7 +1323,7 @@ public ApiResponse updateConferenceWithHttpInfo(String accountId, String c
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateConferenceAsync(String accountId, String conferenceId, UpdateConference updateConference, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateConferenceAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull UpdateConference updateConference, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = updateConferenceValidateBeforeCall(accountId, conferenceId, updateConference, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
@@ -1352,7 +1352,7 @@ public okhttp3.Call updateConferenceAsync(String accountId, String conferenceId,
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateConferenceBxmlCall(String accountId, String conferenceId, String body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateConferenceBxmlCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String body, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -1400,7 +1400,7 @@ public okhttp3.Call updateConferenceBxmlCall(String accountId, String conference
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateConferenceBxmlValidateBeforeCall(String accountId, String conferenceId, String body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateConferenceBxmlValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling updateConferenceBxml(Async)");
@@ -1442,7 +1442,7 @@ private okhttp3.Call updateConferenceBxmlValidateBeforeCall(String accountId, St
| 500 | Internal Server Error | - |
*/
- public void updateConferenceBxml(String accountId, String conferenceId, String body) throws ApiException {
+ public void updateConferenceBxml(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String body) throws ApiException {
updateConferenceBxmlWithHttpInfo(accountId, conferenceId, body);
}
@@ -1469,7 +1469,7 @@ public void updateConferenceBxml(String accountId, String conferenceId, String b
| 500 | Internal Server Error | - |
*/
- public ApiResponse updateConferenceBxmlWithHttpInfo(String accountId, String conferenceId, String body) throws ApiException {
+ public ApiResponse updateConferenceBxmlWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String body) throws ApiException {
okhttp3.Call localVarCall = updateConferenceBxmlValidateBeforeCall(accountId, conferenceId, body, null);
return localVarApiClient.execute(localVarCall);
}
@@ -1498,7 +1498,7 @@ public ApiResponse updateConferenceBxmlWithHttpInfo(String accountId, Stri
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateConferenceBxmlAsync(String accountId, String conferenceId, String body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateConferenceBxmlAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = updateConferenceBxmlValidateBeforeCall(accountId, conferenceId, body, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
@@ -1528,7 +1528,7 @@ public okhttp3.Call updateConferenceBxmlAsync(String accountId, String conferenc
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateConferenceMemberCall(String accountId, String conferenceId, String memberId, UpdateConferenceMember updateConferenceMember, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateConferenceMemberCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, @javax.annotation.Nonnull UpdateConferenceMember updateConferenceMember, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://voice.bandwidth.com/api/v2" };
@@ -1577,7 +1577,7 @@ public okhttp3.Call updateConferenceMemberCall(String accountId, String conferen
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateConferenceMemberValidateBeforeCall(String accountId, String conferenceId, String memberId, UpdateConferenceMember updateConferenceMember, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateConferenceMemberValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, @javax.annotation.Nonnull UpdateConferenceMember updateConferenceMember, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling updateConferenceMember(Async)");
@@ -1625,7 +1625,7 @@ private okhttp3.Call updateConferenceMemberValidateBeforeCall(String accountId,
| 500 | Internal Server Error | - |
*/
- public void updateConferenceMember(String accountId, String conferenceId, String memberId, UpdateConferenceMember updateConferenceMember) throws ApiException {
+ public void updateConferenceMember(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, @javax.annotation.Nonnull UpdateConferenceMember updateConferenceMember) throws ApiException {
updateConferenceMemberWithHttpInfo(accountId, conferenceId, memberId, updateConferenceMember);
}
@@ -1653,7 +1653,7 @@ public void updateConferenceMember(String accountId, String conferenceId, String
| 500 | Internal Server Error | - |
*/
- public ApiResponse updateConferenceMemberWithHttpInfo(String accountId, String conferenceId, String memberId, UpdateConferenceMember updateConferenceMember) throws ApiException {
+ public ApiResponse updateConferenceMemberWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, @javax.annotation.Nonnull UpdateConferenceMember updateConferenceMember) throws ApiException {
okhttp3.Call localVarCall = updateConferenceMemberValidateBeforeCall(accountId, conferenceId, memberId, updateConferenceMember, null);
return localVarApiClient.execute(localVarCall);
}
@@ -1683,7 +1683,7 @@ public ApiResponse updateConferenceMemberWithHttpInfo(String accountId, St
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call updateConferenceMemberAsync(String accountId, String conferenceId, String memberId, UpdateConferenceMember updateConferenceMember, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateConferenceMemberAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String conferenceId, @javax.annotation.Nonnull String memberId, @javax.annotation.Nonnull UpdateConferenceMember updateConferenceMember, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = updateConferenceMemberValidateBeforeCall(accountId, conferenceId, memberId, updateConferenceMember, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
diff --git a/src/main/java/com/bandwidth/sdk/api/MediaApi.java b/src/main/java/com/bandwidth/sdk/api/MediaApi.java
index e98cfb3b..d0e2cf9d 100644
--- a/src/main/java/com/bandwidth/sdk/api/MediaApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/MediaApi.java
@@ -96,7 +96,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call deleteMediaCall(String accountId, String mediaId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call deleteMediaCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -143,7 +143,7 @@ public okhttp3.Call deleteMediaCall(String accountId, String mediaId, final ApiC
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteMediaValidateBeforeCall(String accountId, String mediaId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteMediaValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling deleteMedia(Async)");
@@ -179,7 +179,7 @@ private okhttp3.Call deleteMediaValidateBeforeCall(String accountId, String medi
| 500 | Internal Server Error | - |
*/
- public void deleteMedia(String accountId, String mediaId) throws ApiException {
+ public void deleteMedia(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId) throws ApiException {
deleteMediaWithHttpInfo(accountId, mediaId);
}
@@ -205,7 +205,7 @@ public void deleteMedia(String accountId, String mediaId) throws ApiException {
| 500 | Internal Server Error | - |
*/
- public ApiResponse deleteMediaWithHttpInfo(String accountId, String mediaId) throws ApiException {
+ public ApiResponse deleteMediaWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId) throws ApiException {
okhttp3.Call localVarCall = deleteMediaValidateBeforeCall(accountId, mediaId, null);
return localVarApiClient.execute(localVarCall);
}
@@ -233,7 +233,7 @@ public ApiResponse deleteMediaWithHttpInfo(String accountId, String mediaI
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call deleteMediaAsync(String accountId, String mediaId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call deleteMediaAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = deleteMediaValidateBeforeCall(accountId, mediaId, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
@@ -261,7 +261,7 @@ public okhttp3.Call deleteMediaAsync(String accountId, String mediaId, final Api
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getMediaCall(String accountId, String mediaId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getMediaCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -309,7 +309,7 @@ public okhttp3.Call getMediaCall(String accountId, String mediaId, final ApiCall
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getMediaValidateBeforeCall(String accountId, String mediaId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getMediaValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling getMedia(Async)");
@@ -346,7 +346,7 @@ private okhttp3.Call getMediaValidateBeforeCall(String accountId, String mediaId
| 500 | Internal Server Error | - |
*/
- public File getMedia(String accountId, String mediaId) throws ApiException {
+ public File getMedia(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId) throws ApiException {
ApiResponse localVarResp = getMediaWithHttpInfo(accountId, mediaId);
return localVarResp.getData();
}
@@ -373,7 +373,7 @@ public File getMedia(String accountId, String mediaId) throws ApiException {
| 500 | Internal Server Error | - |
*/
- public ApiResponse getMediaWithHttpInfo(String accountId, String mediaId) throws ApiException {
+ public ApiResponse getMediaWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId) throws ApiException {
okhttp3.Call localVarCall = getMediaValidateBeforeCall(accountId, mediaId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -402,7 +402,7 @@ public ApiResponse getMediaWithHttpInfo(String accountId, String mediaId)
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call getMediaAsync(String accountId, String mediaId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getMediaAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getMediaValidateBeforeCall(accountId, mediaId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -431,7 +431,7 @@ public okhttp3.Call getMediaAsync(String accountId, String mediaId, final ApiCal
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listMediaCall(String accountId, String continuationToken, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call listMediaCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String continuationToken, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -482,7 +482,7 @@ public okhttp3.Call listMediaCall(String accountId, String continuationToken, fi
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call listMediaValidateBeforeCall(String accountId, String continuationToken, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listMediaValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String continuationToken, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling listMedia(Async)");
@@ -514,7 +514,7 @@ private okhttp3.Call listMediaValidateBeforeCall(String accountId, String contin
| 500 | Internal Server Error | - |
*/
- public List listMedia(String accountId, String continuationToken) throws ApiException {
+ public List listMedia(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String continuationToken) throws ApiException {
ApiResponse> localVarResp = listMediaWithHttpInfo(accountId, continuationToken);
return localVarResp.getData();
}
@@ -541,7 +541,7 @@ public List listMedia(String accountId, String continuationToken) throws
| 500 | Internal Server Error | - |
*/
- public ApiResponse> listMediaWithHttpInfo(String accountId, String continuationToken) throws ApiException {
+ public ApiResponse> listMediaWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String continuationToken) throws ApiException {
okhttp3.Call localVarCall = listMediaValidateBeforeCall(accountId, continuationToken, null);
Type localVarReturnType = new TypeToken>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -570,7 +570,7 @@ public ApiResponse> listMediaWithHttpInfo(String accountId, String c
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listMediaAsync(String accountId, String continuationToken, final ApiCallback> _callback) throws ApiException {
+ public okhttp3.Call listMediaAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String continuationToken, final ApiCallback> _callback) throws ApiException {
okhttp3.Call localVarCall = listMediaValidateBeforeCall(accountId, continuationToken, _callback);
Type localVarReturnType = new TypeToken>(){}.getType();
@@ -602,7 +602,7 @@ public okhttp3.Call listMediaAsync(String accountId, String continuationToken, f
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call uploadMediaCall(String accountId, String mediaId, File body, String contentType, String cacheControl, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call uploadMediaCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, @javax.annotation.Nonnull File body, @javax.annotation.Nullable String contentType, @javax.annotation.Nullable String cacheControl, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -707,7 +707,7 @@ public okhttp3.Call uploadMediaCall(String accountId, String mediaId, File body,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call uploadMediaValidateBeforeCall(String accountId, String mediaId, File body, String contentType, String cacheControl, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call uploadMediaValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, @javax.annotation.Nonnull File body, @javax.annotation.Nullable String contentType, @javax.annotation.Nullable String cacheControl, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling uploadMedia(Async)");
@@ -751,7 +751,7 @@ private okhttp3.Call uploadMediaValidateBeforeCall(String accountId, String medi
| 500 | Internal Server Error | - |
*/
- public void uploadMedia(String accountId, String mediaId, File body, String contentType, String cacheControl) throws ApiException {
+ public void uploadMedia(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, @javax.annotation.Nonnull File body, @javax.annotation.Nullable String contentType, @javax.annotation.Nullable String cacheControl) throws ApiException {
uploadMediaWithHttpInfo(accountId, mediaId, body, contentType, cacheControl);
}
@@ -780,7 +780,7 @@ public void uploadMedia(String accountId, String mediaId, File body, String cont
| 500 | Internal Server Error | - |
*/
- public ApiResponse uploadMediaWithHttpInfo(String accountId, String mediaId, File body, String contentType, String cacheControl) throws ApiException {
+ public ApiResponse uploadMediaWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, @javax.annotation.Nonnull File body, @javax.annotation.Nullable String contentType, @javax.annotation.Nullable String cacheControl) throws ApiException {
okhttp3.Call localVarCall = uploadMediaValidateBeforeCall(accountId, mediaId, body, contentType, cacheControl, null);
return localVarApiClient.execute(localVarCall);
}
@@ -811,7 +811,7 @@ public ApiResponse uploadMediaWithHttpInfo(String accountId, String mediaI
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call uploadMediaAsync(String accountId, String mediaId, File body, String contentType, String cacheControl, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call uploadMediaAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull String mediaId, @javax.annotation.Nonnull File body, @javax.annotation.Nullable String contentType, @javax.annotation.Nullable String cacheControl, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = uploadMediaValidateBeforeCall(accountId, mediaId, body, contentType, cacheControl, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
diff --git a/src/main/java/com/bandwidth/sdk/api/MessagesApi.java b/src/main/java/com/bandwidth/sdk/api/MessagesApi.java
index c20261ed..3f438b59 100644
--- a/src/main/java/com/bandwidth/sdk/api/MessagesApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/MessagesApi.java
@@ -103,7 +103,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call createMessageCall(String accountId, MessageRequest messageRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createMessageCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MessageRequest messageRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -150,7 +150,7 @@ public okhttp3.Call createMessageCall(String accountId, MessageRequest messageRe
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createMessageValidateBeforeCall(String accountId, MessageRequest messageRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createMessageValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MessageRequest messageRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling createMessage(Async)");
@@ -188,7 +188,7 @@ private okhttp3.Call createMessageValidateBeforeCall(String accountId, MessageRe
| 500 | Internal Server Error | - |
*/
- public Message createMessage(String accountId, MessageRequest messageRequest) throws ApiException {
+ public Message createMessage(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MessageRequest messageRequest) throws ApiException {
ApiResponse localVarResp = createMessageWithHttpInfo(accountId, messageRequest);
return localVarResp.getData();
}
@@ -216,7 +216,7 @@ public Message createMessage(String accountId, MessageRequest messageRequest) th
| 500 | Internal Server Error | - |
*/
- public ApiResponse createMessageWithHttpInfo(String accountId, MessageRequest messageRequest) throws ApiException {
+ public ApiResponse createMessageWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MessageRequest messageRequest) throws ApiException {
okhttp3.Call localVarCall = createMessageValidateBeforeCall(accountId, messageRequest, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -246,7 +246,7 @@ public ApiResponse createMessageWithHttpInfo(String accountId, MessageR
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call createMessageAsync(String accountId, MessageRequest messageRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createMessageAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MessageRequest messageRequest, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = createMessageValidateBeforeCall(accountId, messageRequest, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -300,7 +300,7 @@ public okhttp3.Call createMessageAsync(String accountId, MessageRequest messageR
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listMessagesCall(String accountId, String messageId, String sourceTn, String destinationTn, MessageStatusEnum messageStatus, ListMessageDirectionEnum messageDirection, String carrierName, MessageTypeEnum messageType, Integer errorCode, String fromDateTime, String toDateTime, String campaignId, Integer fromBwLatency, Boolean bwQueued, ProductTypeEnum product, String location, Boolean carrierQueued, Integer fromCarrierLatency, String callingNumberCountryA3, String calledNumberCountryA3, Integer fromSegmentCount, Integer toSegmentCount, Integer fromMessageSize, Integer toMessageSize, String sort, String pageToken, Integer limit, Boolean limitTotalCount, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call listMessagesCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String messageId, @javax.annotation.Nullable String sourceTn, @javax.annotation.Nullable String destinationTn, @javax.annotation.Nullable MessageStatusEnum messageStatus, @javax.annotation.Nullable ListMessageDirectionEnum messageDirection, @javax.annotation.Nullable String carrierName, @javax.annotation.Nullable MessageTypeEnum messageType, @javax.annotation.Nullable Integer errorCode, @javax.annotation.Nullable String fromDateTime, @javax.annotation.Nullable String toDateTime, @javax.annotation.Nullable String campaignId, @javax.annotation.Nullable Integer fromBwLatency, @javax.annotation.Nullable Boolean bwQueued, @javax.annotation.Nullable ProductTypeEnum product, @javax.annotation.Nullable String location, @javax.annotation.Nullable Boolean carrierQueued, @javax.annotation.Nullable Integer fromCarrierLatency, @javax.annotation.Nullable String callingNumberCountryA3, @javax.annotation.Nullable String calledNumberCountryA3, @javax.annotation.Nullable Integer fromSegmentCount, @javax.annotation.Nullable Integer toSegmentCount, @javax.annotation.Nullable Integer fromMessageSize, @javax.annotation.Nullable Integer toMessageSize, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String pageToken, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Boolean limitTotalCount, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -454,7 +454,7 @@ public okhttp3.Call listMessagesCall(String accountId, String messageId, String
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call listMessagesValidateBeforeCall(String accountId, String messageId, String sourceTn, String destinationTn, MessageStatusEnum messageStatus, ListMessageDirectionEnum messageDirection, String carrierName, MessageTypeEnum messageType, Integer errorCode, String fromDateTime, String toDateTime, String campaignId, Integer fromBwLatency, Boolean bwQueued, ProductTypeEnum product, String location, Boolean carrierQueued, Integer fromCarrierLatency, String callingNumberCountryA3, String calledNumberCountryA3, Integer fromSegmentCount, Integer toSegmentCount, Integer fromMessageSize, Integer toMessageSize, String sort, String pageToken, Integer limit, Boolean limitTotalCount, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listMessagesValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String messageId, @javax.annotation.Nullable String sourceTn, @javax.annotation.Nullable String destinationTn, @javax.annotation.Nullable MessageStatusEnum messageStatus, @javax.annotation.Nullable ListMessageDirectionEnum messageDirection, @javax.annotation.Nullable String carrierName, @javax.annotation.Nullable MessageTypeEnum messageType, @javax.annotation.Nullable Integer errorCode, @javax.annotation.Nullable String fromDateTime, @javax.annotation.Nullable String toDateTime, @javax.annotation.Nullable String campaignId, @javax.annotation.Nullable Integer fromBwLatency, @javax.annotation.Nullable Boolean bwQueued, @javax.annotation.Nullable ProductTypeEnum product, @javax.annotation.Nullable String location, @javax.annotation.Nullable Boolean carrierQueued, @javax.annotation.Nullable Integer fromCarrierLatency, @javax.annotation.Nullable String callingNumberCountryA3, @javax.annotation.Nullable String calledNumberCountryA3, @javax.annotation.Nullable Integer fromSegmentCount, @javax.annotation.Nullable Integer toSegmentCount, @javax.annotation.Nullable Integer fromMessageSize, @javax.annotation.Nullable Integer toMessageSize, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String pageToken, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Boolean limitTotalCount, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling listMessages(Async)");
@@ -511,7 +511,7 @@ private okhttp3.Call listMessagesValidateBeforeCall(String accountId, String mes
| 500 | Internal Server Error | - |
*/
- public MessagesList listMessages(String accountId, String messageId, String sourceTn, String destinationTn, MessageStatusEnum messageStatus, ListMessageDirectionEnum messageDirection, String carrierName, MessageTypeEnum messageType, Integer errorCode, String fromDateTime, String toDateTime, String campaignId, Integer fromBwLatency, Boolean bwQueued, ProductTypeEnum product, String location, Boolean carrierQueued, Integer fromCarrierLatency, String callingNumberCountryA3, String calledNumberCountryA3, Integer fromSegmentCount, Integer toSegmentCount, Integer fromMessageSize, Integer toMessageSize, String sort, String pageToken, Integer limit, Boolean limitTotalCount) throws ApiException {
+ public MessagesList listMessages(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String messageId, @javax.annotation.Nullable String sourceTn, @javax.annotation.Nullable String destinationTn, @javax.annotation.Nullable MessageStatusEnum messageStatus, @javax.annotation.Nullable ListMessageDirectionEnum messageDirection, @javax.annotation.Nullable String carrierName, @javax.annotation.Nullable MessageTypeEnum messageType, @javax.annotation.Nullable Integer errorCode, @javax.annotation.Nullable String fromDateTime, @javax.annotation.Nullable String toDateTime, @javax.annotation.Nullable String campaignId, @javax.annotation.Nullable Integer fromBwLatency, @javax.annotation.Nullable Boolean bwQueued, @javax.annotation.Nullable ProductTypeEnum product, @javax.annotation.Nullable String location, @javax.annotation.Nullable Boolean carrierQueued, @javax.annotation.Nullable Integer fromCarrierLatency, @javax.annotation.Nullable String callingNumberCountryA3, @javax.annotation.Nullable String calledNumberCountryA3, @javax.annotation.Nullable Integer fromSegmentCount, @javax.annotation.Nullable Integer toSegmentCount, @javax.annotation.Nullable Integer fromMessageSize, @javax.annotation.Nullable Integer toMessageSize, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String pageToken, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Boolean limitTotalCount) throws ApiException {
ApiResponse localVarResp = listMessagesWithHttpInfo(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount);
return localVarResp.getData();
}
@@ -563,7 +563,7 @@ public MessagesList listMessages(String accountId, String messageId, String sour
| 500 | Internal Server Error | - |
*/
- public ApiResponse listMessagesWithHttpInfo(String accountId, String messageId, String sourceTn, String destinationTn, MessageStatusEnum messageStatus, ListMessageDirectionEnum messageDirection, String carrierName, MessageTypeEnum messageType, Integer errorCode, String fromDateTime, String toDateTime, String campaignId, Integer fromBwLatency, Boolean bwQueued, ProductTypeEnum product, String location, Boolean carrierQueued, Integer fromCarrierLatency, String callingNumberCountryA3, String calledNumberCountryA3, Integer fromSegmentCount, Integer toSegmentCount, Integer fromMessageSize, Integer toMessageSize, String sort, String pageToken, Integer limit, Boolean limitTotalCount) throws ApiException {
+ public ApiResponse listMessagesWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String messageId, @javax.annotation.Nullable String sourceTn, @javax.annotation.Nullable String destinationTn, @javax.annotation.Nullable MessageStatusEnum messageStatus, @javax.annotation.Nullable ListMessageDirectionEnum messageDirection, @javax.annotation.Nullable String carrierName, @javax.annotation.Nullable MessageTypeEnum messageType, @javax.annotation.Nullable Integer errorCode, @javax.annotation.Nullable String fromDateTime, @javax.annotation.Nullable String toDateTime, @javax.annotation.Nullable String campaignId, @javax.annotation.Nullable Integer fromBwLatency, @javax.annotation.Nullable Boolean bwQueued, @javax.annotation.Nullable ProductTypeEnum product, @javax.annotation.Nullable String location, @javax.annotation.Nullable Boolean carrierQueued, @javax.annotation.Nullable Integer fromCarrierLatency, @javax.annotation.Nullable String callingNumberCountryA3, @javax.annotation.Nullable String calledNumberCountryA3, @javax.annotation.Nullable Integer fromSegmentCount, @javax.annotation.Nullable Integer toSegmentCount, @javax.annotation.Nullable Integer fromMessageSize, @javax.annotation.Nullable Integer toMessageSize, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String pageToken, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Boolean limitTotalCount) throws ApiException {
okhttp3.Call localVarCall = listMessagesValidateBeforeCall(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -617,7 +617,7 @@ public ApiResponse listMessagesWithHttpInfo(String accountId, Stri
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call listMessagesAsync(String accountId, String messageId, String sourceTn, String destinationTn, MessageStatusEnum messageStatus, ListMessageDirectionEnum messageDirection, String carrierName, MessageTypeEnum messageType, Integer errorCode, String fromDateTime, String toDateTime, String campaignId, Integer fromBwLatency, Boolean bwQueued, ProductTypeEnum product, String location, Boolean carrierQueued, Integer fromCarrierLatency, String callingNumberCountryA3, String calledNumberCountryA3, Integer fromSegmentCount, Integer toSegmentCount, Integer fromMessageSize, Integer toMessageSize, String sort, String pageToken, Integer limit, Boolean limitTotalCount, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call listMessagesAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nullable String messageId, @javax.annotation.Nullable String sourceTn, @javax.annotation.Nullable String destinationTn, @javax.annotation.Nullable MessageStatusEnum messageStatus, @javax.annotation.Nullable ListMessageDirectionEnum messageDirection, @javax.annotation.Nullable String carrierName, @javax.annotation.Nullable MessageTypeEnum messageType, @javax.annotation.Nullable Integer errorCode, @javax.annotation.Nullable String fromDateTime, @javax.annotation.Nullable String toDateTime, @javax.annotation.Nullable String campaignId, @javax.annotation.Nullable Integer fromBwLatency, @javax.annotation.Nullable Boolean bwQueued, @javax.annotation.Nullable ProductTypeEnum product, @javax.annotation.Nullable String location, @javax.annotation.Nullable Boolean carrierQueued, @javax.annotation.Nullable Integer fromCarrierLatency, @javax.annotation.Nullable String callingNumberCountryA3, @javax.annotation.Nullable String calledNumberCountryA3, @javax.annotation.Nullable Integer fromSegmentCount, @javax.annotation.Nullable Integer toSegmentCount, @javax.annotation.Nullable Integer fromMessageSize, @javax.annotation.Nullable Integer toMessageSize, @javax.annotation.Nullable String sort, @javax.annotation.Nullable String pageToken, @javax.annotation.Nullable Integer limit, @javax.annotation.Nullable Boolean limitTotalCount, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = listMessagesValidateBeforeCall(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
diff --git a/src/main/java/com/bandwidth/sdk/api/MfaApi.java b/src/main/java/com/bandwidth/sdk/api/MfaApi.java
index d13c9a70..453d09d4 100644
--- a/src/main/java/com/bandwidth/sdk/api/MfaApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/MfaApi.java
@@ -97,7 +97,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call generateMessagingCodeCall(String accountId, CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call generateMessagingCodeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://mfa.bandwidth.com/api/v1" };
@@ -144,7 +144,7 @@ public okhttp3.Call generateMessagingCodeCall(String accountId, CodeRequest code
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call generateMessagingCodeValidateBeforeCall(String accountId, CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call generateMessagingCodeValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling generateMessagingCode(Async)");
@@ -177,7 +177,7 @@ private okhttp3.Call generateMessagingCodeValidateBeforeCall(String accountId, C
| 500 | Internal Server Error | - |
*/
- public MessagingCodeResponse generateMessagingCode(String accountId, CodeRequest codeRequest) throws ApiException {
+ public MessagingCodeResponse generateMessagingCode(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest) throws ApiException {
ApiResponse localVarResp = generateMessagingCodeWithHttpInfo(accountId, codeRequest);
return localVarResp.getData();
}
@@ -200,7 +200,7 @@ public MessagingCodeResponse generateMessagingCode(String accountId, CodeRequest
| 500 | Internal Server Error | - |
*/
- public ApiResponse generateMessagingCodeWithHttpInfo(String accountId, CodeRequest codeRequest) throws ApiException {
+ public ApiResponse generateMessagingCodeWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest) throws ApiException {
okhttp3.Call localVarCall = generateMessagingCodeValidateBeforeCall(accountId, codeRequest, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -225,7 +225,7 @@ public ApiResponse generateMessagingCodeWithHttpInfo(Stri
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call generateMessagingCodeAsync(String accountId, CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call generateMessagingCodeAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = generateMessagingCodeValidateBeforeCall(accountId, codeRequest, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -250,7 +250,7 @@ public okhttp3.Call generateMessagingCodeAsync(String accountId, CodeRequest cod
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call generateVoiceCodeCall(String accountId, CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call generateVoiceCodeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://mfa.bandwidth.com/api/v1" };
@@ -297,7 +297,7 @@ public okhttp3.Call generateVoiceCodeCall(String accountId, CodeRequest codeRequ
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call generateVoiceCodeValidateBeforeCall(String accountId, CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call generateVoiceCodeValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling generateVoiceCode(Async)");
@@ -330,7 +330,7 @@ private okhttp3.Call generateVoiceCodeValidateBeforeCall(String accountId, CodeR
| 500 | Internal Server Error | - |
*/
- public VoiceCodeResponse generateVoiceCode(String accountId, CodeRequest codeRequest) throws ApiException {
+ public VoiceCodeResponse generateVoiceCode(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest) throws ApiException {
ApiResponse localVarResp = generateVoiceCodeWithHttpInfo(accountId, codeRequest);
return localVarResp.getData();
}
@@ -353,7 +353,7 @@ public VoiceCodeResponse generateVoiceCode(String accountId, CodeRequest codeReq
| 500 | Internal Server Error | - |
*/
- public ApiResponse generateVoiceCodeWithHttpInfo(String accountId, CodeRequest codeRequest) throws ApiException {
+ public ApiResponse generateVoiceCodeWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest) throws ApiException {
okhttp3.Call localVarCall = generateVoiceCodeValidateBeforeCall(accountId, codeRequest, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -378,7 +378,7 @@ public ApiResponse generateVoiceCodeWithHttpInfo(String accou
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call generateVoiceCodeAsync(String accountId, CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call generateVoiceCodeAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull CodeRequest codeRequest, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = generateVoiceCodeValidateBeforeCall(accountId, codeRequest, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -404,7 +404,7 @@ public okhttp3.Call generateVoiceCodeAsync(String accountId, CodeRequest codeReq
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call verifyCodeCall(String accountId, VerifyCodeRequest verifyCodeRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call verifyCodeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull VerifyCodeRequest verifyCodeRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://mfa.bandwidth.com/api/v1" };
@@ -451,7 +451,7 @@ public okhttp3.Call verifyCodeCall(String accountId, VerifyCodeRequest verifyCod
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call verifyCodeValidateBeforeCall(String accountId, VerifyCodeRequest verifyCodeRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call verifyCodeValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull VerifyCodeRequest verifyCodeRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling verifyCode(Async)");
@@ -485,7 +485,7 @@ private okhttp3.Call verifyCodeValidateBeforeCall(String accountId, VerifyCodeRe
| 500 | Internal Server Error | - |
*/
- public VerifyCodeResponse verifyCode(String accountId, VerifyCodeRequest verifyCodeRequest) throws ApiException {
+ public VerifyCodeResponse verifyCode(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull VerifyCodeRequest verifyCodeRequest) throws ApiException {
ApiResponse localVarResp = verifyCodeWithHttpInfo(accountId, verifyCodeRequest);
return localVarResp.getData();
}
@@ -509,7 +509,7 @@ public VerifyCodeResponse verifyCode(String accountId, VerifyCodeRequest verifyC
| 500 | Internal Server Error | - |
*/
- public ApiResponse verifyCodeWithHttpInfo(String accountId, VerifyCodeRequest verifyCodeRequest) throws ApiException {
+ public ApiResponse verifyCodeWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull VerifyCodeRequest verifyCodeRequest) throws ApiException {
okhttp3.Call localVarCall = verifyCodeValidateBeforeCall(accountId, verifyCodeRequest, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -535,7 +535,7 @@ public ApiResponse verifyCodeWithHttpInfo(String accountId,
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call verifyCodeAsync(String accountId, VerifyCodeRequest verifyCodeRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call verifyCodeAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull VerifyCodeRequest verifyCodeRequest, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = verifyCodeValidateBeforeCall(accountId, verifyCodeRequest, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
diff --git a/src/main/java/com/bandwidth/sdk/api/MultiChannelApi.java b/src/main/java/com/bandwidth/sdk/api/MultiChannelApi.java
index e7768696..7ac63f0f 100644
--- a/src/main/java/com/bandwidth/sdk/api/MultiChannelApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/MultiChannelApi.java
@@ -97,7 +97,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call createMultiChannelMessageCall(String accountId, MultiChannelMessageRequest multiChannelMessageRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createMultiChannelMessageCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MultiChannelMessageRequest multiChannelMessageRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { "https://messaging.bandwidth.com/api/v2" };
@@ -144,7 +144,7 @@ public okhttp3.Call createMultiChannelMessageCall(String accountId, MultiChannel
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createMultiChannelMessageValidateBeforeCall(String accountId, MultiChannelMessageRequest multiChannelMessageRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createMultiChannelMessageValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MultiChannelMessageRequest multiChannelMessageRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
throw new ApiException("Missing the required parameter 'accountId' when calling createMultiChannelMessage(Async)");
@@ -182,7 +182,7 @@ private okhttp3.Call createMultiChannelMessageValidateBeforeCall(String accountI
| 500 | Internal Server Error | - |
*/
- public CreateMultiChannelMessageResponse createMultiChannelMessage(String accountId, MultiChannelMessageRequest multiChannelMessageRequest) throws ApiException {
+ public CreateMultiChannelMessageResponse createMultiChannelMessage(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MultiChannelMessageRequest multiChannelMessageRequest) throws ApiException {
ApiResponse localVarResp = createMultiChannelMessageWithHttpInfo(accountId, multiChannelMessageRequest);
return localVarResp.getData();
}
@@ -210,7 +210,7 @@ public CreateMultiChannelMessageResponse createMultiChannelMessage(String accoun
| 500 | Internal Server Error | - |
*/
- public ApiResponse createMultiChannelMessageWithHttpInfo(String accountId, MultiChannelMessageRequest multiChannelMessageRequest) throws ApiException {
+ public ApiResponse createMultiChannelMessageWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MultiChannelMessageRequest multiChannelMessageRequest) throws ApiException {
okhttp3.Call localVarCall = createMultiChannelMessageValidateBeforeCall(accountId, multiChannelMessageRequest, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -240,7 +240,7 @@ public ApiResponse createMultiChannelMessageW
| 500 | Internal Server Error | - |
*/
- public okhttp3.Call createMultiChannelMessageAsync(String accountId, MultiChannelMessageRequest multiChannelMessageRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createMultiChannelMessageAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull MultiChannelMessageRequest multiChannelMessageRequest, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = createMultiChannelMessageValidateBeforeCall(accountId, multiChannelMessageRequest, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
diff --git a/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java b/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java
index 397e6408..c018f821 100644
--- a/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java
+++ b/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java
@@ -27,10 +27,13 @@
import java.io.IOException;
-import com.bandwidth.sdk.model.CreateLookupResponse;
-import com.bandwidth.sdk.model.LookupRequest;
-import com.bandwidth.sdk.model.LookupStatus;
-import com.bandwidth.sdk.model.TnLookupRequestError;
+import com.bandwidth.sdk.model.AsyncLookupRequest;
+import com.bandwidth.sdk.model.CreateAsyncBulkLookupResponse;
+import com.bandwidth.sdk.model.CreateSyncLookupResponse;
+import com.bandwidth.sdk.model.GetAsyncBulkLookupResponse;
+import com.bandwidth.sdk.model.LookupErrorResponse;
+import com.bandwidth.sdk.model.SyncLookupRequest;
+import java.util.UUID;
import java.lang.reflect.Type;
import java.util.ArrayList;
@@ -76,9 +79,9 @@ public void setCustomBaseUrl(String customBaseUrl) {
}
/**
- * Build call for createLookup
- * @param accountId Your Bandwidth Account ID. (required)
- * @param lookupRequest Phone number lookup request. (required)
+ * Build call for createAsyncBulkLookup
+ * @param accountId (required)
+ * @param asyncLookupRequest Asynchronous bulk phone number lookup request. (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -87,20 +90,13 @@ public void setCustomBaseUrl(String customBaseUrl) {
Response Details
| Status Code | Description | Response Headers |
| 202 | Accepted | - |
- | 400 | Bad Request | - |
- | 401 | Unauthorized | - |
- | 403 | Forbidden | - |
- | 415 | Unsupported Media Type | - |
- | 429 | Too Many Requests | - |
- | 500 | Internal Server Error | - |
+ | 0 | Bad Request | - |
- * @deprecated
*/
- @Deprecated
- public okhttp3.Call createLookupCall(String accountId, LookupRequest lookupRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createAsyncBulkLookupCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull AsyncLookupRequest asyncLookupRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
- String[] localBasePaths = new String[] { "https://numbers.bandwidth.com/api/v1" };
+ String[] localBasePaths = new String[] { "https://api.bandwidth.com/v2" };
// Determine Base Path to Use
if (localCustomBaseUrl != null){
@@ -111,10 +107,10 @@ public okhttp3.Call createLookupCall(String accountId, LookupRequest lookupReque
basePath = null;
}
- Object localVarPostBody = lookupRequest;
+ Object localVarPostBody = asyncLookupRequest;
// create path and map variables
- String localVarPath = "/accounts/{accountId}/tnlookup"
+ String localVarPath = "/accounts/{accountId}/phoneNumberLookup/bulk"
.replace("{" + "accountId" + "}", localVarApiClient.escapeString(accountId.toString()));
List localVarQueryParams = new ArrayList();
@@ -143,83 +139,68 @@ public okhttp3.Call createLookupCall(String accountId, LookupRequest lookupReque
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
}
- @Deprecated
@SuppressWarnings("rawtypes")
- private okhttp3.Call createLookupValidateBeforeCall(String accountId, LookupRequest lookupRequest, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createAsyncBulkLookupValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull AsyncLookupRequest asyncLookupRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
- throw new ApiException("Missing the required parameter 'accountId' when calling createLookup(Async)");
+ throw new ApiException("Missing the required parameter 'accountId' when calling createAsyncBulkLookup(Async)");
}
- // verify the required parameter 'lookupRequest' is set
- if (lookupRequest == null) {
- throw new ApiException("Missing the required parameter 'lookupRequest' when calling createLookup(Async)");
+ // verify the required parameter 'asyncLookupRequest' is set
+ if (asyncLookupRequest == null) {
+ throw new ApiException("Missing the required parameter 'asyncLookupRequest' when calling createAsyncBulkLookup(Async)");
}
- return createLookupCall(accountId, lookupRequest, _callback);
+ return createAsyncBulkLookupCall(accountId, asyncLookupRequest, _callback);
}
/**
- * Create Lookup
- * Create a Phone Number Lookup Request.
- * @param accountId Your Bandwidth Account ID. (required)
- * @param lookupRequest Phone number lookup request. (required)
- * @return CreateLookupResponse
+ * Create Asynchronous Bulk Number Lookup
+ * Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
+ * @param accountId (required)
+ * @param asyncLookupRequest Asynchronous bulk phone number lookup request. (required)
+ * @return CreateAsyncBulkLookupResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 202 | Accepted | - |
- | 400 | Bad Request | - |
- | 401 | Unauthorized | - |
- | 403 | Forbidden | - |
- | 415 | Unsupported Media Type | - |
- | 429 | Too Many Requests | - |
- | 500 | Internal Server Error | - |
+ | 0 | Bad Request | - |
- * @deprecated
*/
- @Deprecated
- public CreateLookupResponse createLookup(String accountId, LookupRequest lookupRequest) throws ApiException {
- ApiResponse localVarResp = createLookupWithHttpInfo(accountId, lookupRequest);
+ public CreateAsyncBulkLookupResponse createAsyncBulkLookup(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull AsyncLookupRequest asyncLookupRequest) throws ApiException {
+ ApiResponse localVarResp = createAsyncBulkLookupWithHttpInfo(accountId, asyncLookupRequest);
return localVarResp.getData();
}
/**
- * Create Lookup
- * Create a Phone Number Lookup Request.
- * @param accountId Your Bandwidth Account ID. (required)
- * @param lookupRequest Phone number lookup request. (required)
- * @return ApiResponse<CreateLookupResponse>
+ * Create Asynchronous Bulk Number Lookup
+ * Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
+ * @param accountId (required)
+ * @param asyncLookupRequest Asynchronous bulk phone number lookup request. (required)
+ * @return ApiResponse<CreateAsyncBulkLookupResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 202 | Accepted | - |
- | 400 | Bad Request | - |
- | 401 | Unauthorized | - |
- | 403 | Forbidden | - |
- | 415 | Unsupported Media Type | - |
- | 429 | Too Many Requests | - |
- | 500 | Internal Server Error | - |
+ | 0 | Bad Request | - |
- * @deprecated
*/
- @Deprecated
- public ApiResponse createLookupWithHttpInfo(String accountId, LookupRequest lookupRequest) throws ApiException {
- okhttp3.Call localVarCall = createLookupValidateBeforeCall(accountId, lookupRequest, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse createAsyncBulkLookupWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull AsyncLookupRequest asyncLookupRequest) throws ApiException {
+ okhttp3.Call localVarCall = createAsyncBulkLookupValidateBeforeCall(accountId, asyncLookupRequest, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
/**
- * Create Lookup (asynchronously)
- * Create a Phone Number Lookup Request.
- * @param accountId Your Bandwidth Account ID. (required)
- * @param lookupRequest Phone number lookup request. (required)
+ * Create Asynchronous Bulk Number Lookup (asynchronously)
+ * Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
+ * @param accountId (required)
+ * @param asyncLookupRequest Asynchronous bulk phone number lookup request. (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -228,27 +209,20 @@ public ApiResponse createLookupWithHttpInfo(String account
Response Details
| Status Code | Description | Response Headers |
| 202 | Accepted | - |
- | 400 | Bad Request | - |
- | 401 | Unauthorized | - |
- | 403 | Forbidden | - |
- | 415 | Unsupported Media Type | - |
- | 429 | Too Many Requests | - |
- | 500 | Internal Server Error | - |
+ | 0 | Bad Request | - |
- * @deprecated
*/
- @Deprecated
- public okhttp3.Call createLookupAsync(String accountId, LookupRequest lookupRequest, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createAsyncBulkLookupAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull AsyncLookupRequest asyncLookupRequest, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = createLookupValidateBeforeCall(accountId, lookupRequest, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = createAsyncBulkLookupValidateBeforeCall(accountId, asyncLookupRequest, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
/**
- * Build call for getLookupStatus
- * @param accountId Your Bandwidth Account ID. (required)
- * @param requestId The phone number lookup request ID from Bandwidth. (required)
+ * Build call for createSyncLookup
+ * @param accountId (required)
+ * @param syncLookupRequest Synchronous phone number lookup request. (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -257,20 +231,154 @@ public okhttp3.Call createLookupAsync(String accountId, LookupRequest lookupRequ
Response Details
| Status Code | Description | Response Headers |
| 200 | OK | - |
- | 400 | Bad Request | - |
- | 401 | Unauthorized | - |
- | 403 | Forbidden | - |
- | 404 | Not Found | - |
- | 429 | Too Many Requests | - |
- | 500 | Internal Server Error | - |
+ | 0 | Bad Request | - |
- * @deprecated
*/
- @Deprecated
- public okhttp3.Call getLookupStatusCall(String accountId, String requestId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createSyncLookupCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull SyncLookupRequest syncLookupRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
- String[] localBasePaths = new String[] { "https://numbers.bandwidth.com/api/v1" };
+ String[] localBasePaths = new String[] { "https://api.bandwidth.com/v2" };
+
+ // Determine Base Path to Use
+ if (localCustomBaseUrl != null){
+ basePath = localCustomBaseUrl;
+ } else if ( localBasePaths.length > 0 ) {
+ basePath = localBasePaths[localHostIndex];
+ } else {
+ basePath = null;
+ }
+
+ Object localVarPostBody = syncLookupRequest;
+
+ // create path and map variables
+ String localVarPath = "/accounts/{accountId}/phoneNumberLookup"
+ .replace("{" + "accountId" + "}", localVarApiClient.escapeString(accountId.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { "Basic" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call createSyncLookupValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull SyncLookupRequest syncLookupRequest, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'accountId' is set
+ if (accountId == null) {
+ throw new ApiException("Missing the required parameter 'accountId' when calling createSyncLookup(Async)");
+ }
+
+ // verify the required parameter 'syncLookupRequest' is set
+ if (syncLookupRequest == null) {
+ throw new ApiException("Missing the required parameter 'syncLookupRequest' when calling createSyncLookup(Async)");
+ }
+
+ return createSyncLookupCall(accountId, syncLookupRequest, _callback);
+
+ }
+
+ /**
+ * Create Synchronous Number Lookup
+ * Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
+ * @param accountId (required)
+ * @param syncLookupRequest Synchronous phone number lookup request. (required)
+ * @return CreateSyncLookupResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 0 | Bad Request | - |
+
+ */
+ public CreateSyncLookupResponse createSyncLookup(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull SyncLookupRequest syncLookupRequest) throws ApiException {
+ ApiResponse localVarResp = createSyncLookupWithHttpInfo(accountId, syncLookupRequest);
+ return localVarResp.getData();
+ }
+
+ /**
+ * Create Synchronous Number Lookup
+ * Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
+ * @param accountId (required)
+ * @param syncLookupRequest Synchronous phone number lookup request. (required)
+ * @return ApiResponse<CreateSyncLookupResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 0 | Bad Request | - |
+
+ */
+ public ApiResponse createSyncLookupWithHttpInfo(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull SyncLookupRequest syncLookupRequest) throws ApiException {
+ okhttp3.Call localVarCall = createSyncLookupValidateBeforeCall(accountId, syncLookupRequest, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ /**
+ * Create Synchronous Number Lookup (asynchronously)
+ * Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
+ * @param accountId (required)
+ * @param syncLookupRequest Synchronous phone number lookup request. (required)
+ * @param _callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 0 | Bad Request | - |
+
+ */
+ public okhttp3.Call createSyncLookupAsync(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull SyncLookupRequest syncLookupRequest, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = createSyncLookupValidateBeforeCall(accountId, syncLookupRequest, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+ /**
+ * Build call for getAsyncBulkLookup
+ * @param accountId (required)
+ * @param requestId (required)
+ * @param _callback Callback for upload/download progress
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | OK | - |
+ | 0 | Bad Request | - |
+
+ */
+ public okhttp3.Call getAsyncBulkLookupCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull UUID requestId, final ApiCallback _callback) throws ApiException {
+ String basePath = null;
+ // Operation Servers
+ String[] localBasePaths = new String[] { "https://api.bandwidth.com/v2" };
// Determine Base Path to Use
if (localCustomBaseUrl != null){
@@ -284,7 +392,7 @@ public okhttp3.Call getLookupStatusCall(String accountId, String requestId, fina
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/accounts/{accountId}/tnlookup/{requestId}"
+ String localVarPath = "/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}"
.replace("{" + "accountId" + "}", localVarApiClient.escapeString(accountId.toString()))
.replace("{" + "requestId" + "}", localVarApiClient.escapeString(requestId.toString()));
@@ -313,83 +421,68 @@ public okhttp3.Call getLookupStatusCall(String accountId, String requestId, fina
return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
}
- @Deprecated
@SuppressWarnings("rawtypes")
- private okhttp3.Call getLookupStatusValidateBeforeCall(String accountId, String requestId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getAsyncBulkLookupValidateBeforeCall(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull UUID requestId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
- throw new ApiException("Missing the required parameter 'accountId' when calling getLookupStatus(Async)");
+ throw new ApiException("Missing the required parameter 'accountId' when calling getAsyncBulkLookup(Async)");
}
// verify the required parameter 'requestId' is set
if (requestId == null) {
- throw new ApiException("Missing the required parameter 'requestId' when calling getLookupStatus(Async)");
+ throw new ApiException("Missing the required parameter 'requestId' when calling getAsyncBulkLookup(Async)");
}
- return getLookupStatusCall(accountId, requestId, _callback);
+ return getAsyncBulkLookupCall(accountId, requestId, _callback);
}
/**
- * Get Lookup Request Status
- * Get an existing Phone Number Lookup Request.
- * @param accountId Your Bandwidth Account ID. (required)
- * @param requestId The phone number lookup request ID from Bandwidth. (required)
- * @return LookupStatus
+ * Get Asynchronous Bulk Number Lookup
+ * Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
+ * @param accountId (required)
+ * @param requestId (required)
+ * @return GetAsyncBulkLookupResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | OK | - |
- | 400 | Bad Request | - |
- | 401 | Unauthorized | - |
- | 403 | Forbidden | - |
- | 404 | Not Found | - |
- | 429 | Too Many Requests | - |
- | 500 | Internal Server Error | - |
+ | 0 | Bad Request | - |
- * @deprecated
*/
- @Deprecated
- public LookupStatus getLookupStatus(String accountId, String requestId) throws ApiException {
- ApiResponse localVarResp = getLookupStatusWithHttpInfo(accountId, requestId);
+ public GetAsyncBulkLookupResponse getAsyncBulkLookup(@javax.annotation.Nonnull String accountId, @javax.annotation.Nonnull UUID requestId) throws ApiException {
+ ApiResponse localVarResp = getAsyncBulkLookupWithHttpInfo(accountId, requestId);
return localVarResp.getData();
}
/**
- * Get Lookup Request Status
- * Get an existing Phone Number Lookup Request.
- * @param accountId Your Bandwidth Account ID. (required)
- * @param requestId The phone number lookup request ID from Bandwidth. (required)
- * @return ApiResponse<LookupStatus>
+ * Get Asynchronous Bulk Number Lookup
+ * Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
+ * @param accountId (required)
+ * @param requestId (required)
+ * @return ApiResponse<GetAsyncBulkLookupResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
|