Skip to content

Commit 948ca2d

Browse files
authored
Merge branch 'main' into brtc-java-sdk
2 parents 8bb5063 + 1aeb6ea commit 948ca2d

22 files changed

Lines changed: 180 additions & 35 deletions

.bandwidth/catalog-info.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: backstage.io/v1alpha1
2+
kind: Location
3+
metadata:
4+
schemaVersion: v1.0.0
5+
name: java-sdk-location
6+
description: Links to additional entities in the java-sdk repository.
7+
annotations:
8+
github.com/project-slug: Bandwidth/java-sdk
9+
spec:
10+
targets:
11+
- ./component.yaml

.bandwidth/component.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: backstage.io/v1alpha1
2+
kind: Component
3+
metadata:
4+
schemaVersion: v1.0.0
5+
name: java-sdk
6+
description: Bandwidth Java SDK
7+
annotations:
8+
github.com/project-slug: Bandwidth/java-sdk
9+
organization: BW
10+
costCenter: Development - Software Infra
11+
spec:
12+
type: Library
13+
owner: github/band-swi
14+
lifecycle: Available

api/openapi.yaml

Lines changed: 60 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6928,7 +6928,7 @@ components:
69286928
latestMessageDeliveryStatusDate: 2025-05-18
69296929
- phoneNumber: "+10072904498"
69306930
countryCodeA3: USA
6931-
lineType: FIXED
6931+
lineType: MOBILE
69326932
voiceProvider: VERIZON
69336933
latestMessageDeliveryStatus: DEACTIVATED
69346934
initialMessageDeliveryStatusDate: 2025-09-05
@@ -6942,6 +6942,14 @@ components:
69426942
deactivationDate: 2025-09-29 01:23:00
69436943
deactivationEvent: DEACTIVATED
69446944
latestMessageDeliveryStatus: UNKNOWN
6945+
- phoneNumber: "+10072904500"
6946+
lineType: FIXED
6947+
countryCodeA3: USA
6948+
voiceProvider: VERIZON
6949+
deactivationReporter: Verizon Wireless
6950+
deactivationDate: 2025-09-29 01:23:00
6951+
deactivationEvent: DEACTIVATED
6952+
latestMessageDeliveryStatus: NOT_ENABLED
69456953
errors: []
69466954
badRequestExample:
69476955
summary: Example Bad Request Error
@@ -9330,15 +9338,17 @@ components:
93309338
type: string
93319339
media:
93329340
example:
9333-
contentLength: 0
9341+
contentLength: 1024
93349342
content: content
9335-
mediaName: mediaName
9343+
mediaName: image.png
93369344
properties:
93379345
content:
93389346
type: string
93399347
contentLength:
9348+
example: 1024
93409349
type: integer
93419350
mediaName:
9351+
example: image.png
93429352
type: string
93439353
title: Media
93449354
type: object
@@ -10537,6 +10547,7 @@ components:
1053710547
- `inboundCallback` indicates an inbound MO message or a multichannel message client's response to a suggestion or location request.
1053810548
discriminator:
1053910549
mapping:
10550+
message-sending: "#/components/schemas/statusCallback"
1054010551
message-sent: "#/components/schemas/statusCallback"
1054110552
message-delivered: "#/components/schemas/statusCallback"
1054210553
message-failed: "#/components/schemas/statusCallback"
@@ -14263,10 +14274,12 @@ components:
1426314274
- ACTIVE: A message was successfully sent to the number (delivery code 0).
1426414275
- DEACTIVATED: A message was not delivered to a number (delivery code 720)
1426514276
- UNKNOWN: Bandwidth cannot find an delivery status entry for the number.
14277+
- NOT_ENABLED: The phone number is not enabled for messaging, so there is no delivery status information.
1426614278
enum:
1426714279
- ACTIVE
1426814280
- DEACTIVATED
1426914281
- UNKNOWN
14282+
- NOT_ENABLED
1427014283
type: string
1427114284
lineTypeEnum:
1427214285
enum:
@@ -14680,24 +14693,31 @@ components:
1468014693
privacyPolicyUrl:
1468114694
description: The Toll-Free Verification request privacy policy URL.
1468214695
example: http://your-company.com/privacyPolicy
14696+
maxLength: 500
1468314697
type: string
1468414698
termsAndConditionsUrl:
1468514699
description: The Toll-Free Verification request terms and conditions policy
1468614700
URL.
1468714701
example: http://your-company.com/termsAndConditions
14702+
maxLength: 500
1468814703
type: string
1468914704
businessDba:
1469014705
description: The company 'Doing Business As'.
1469114706
example: Another Company Name Inc.
14707+
maxLength: 500
1469214708
type: string
1469314709
businessRegistrationNumber:
14694-
description: Government-issued business identifying number.
14710+
description: |
14711+
Government-issued business identifying number.
14712+
14713+
**Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
1469514714
example: 12-3456789
1469614715
maxLength: 500
1469714716
nullable: true
1469814717
type: string
1469914718
businessRegistrationTypeEnum:
14700-
description: The type of business registration number.
14719+
description: |
14720+
The type of business registration number.
1470114721
enum:
1470214722
- EIN
1470314723
- CBN
@@ -14717,11 +14737,14 @@ components:
1471714737
- CNPJ
1471814738
- UID
1471914739
- OTHER
14740+
example: EIN
1472014741
nullable: true
1472114742
type: string
1472214743
businessRegistrationIssuingCountryEnum:
1472314744
description: |-
14724-
The country issuing the business registration in ISO-3166-1 alpha-3 format.
14745+
The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged.
14746+
14747+
**Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`.
1472514748

1472614749
| Registration Type | Supported Countries |
1472714750
|----------------------|------------------------------------|
@@ -14757,17 +14780,23 @@ components:
1475714780
- DEU
1475814781
- ESP
1475914782
- CHE
14783+
- CYP
14784+
- IND
14785+
- CHN
14786+
- BGR
14787+
example: USA
1476014788
nullable: false
1476114789
type: string
1476214790
businessEntityTypeEnum:
14763-
description: "The type of registered business. If no option is applicable, please\
14764-
\ provide \"SOLE_PROPRIETOR\" as a value."
14791+
description: |
14792+
The type of registered business.
1476514793
enum:
1476614794
- SOLE_PROPRIETOR
1476714795
- PRIVATE_PROFIT
1476814796
- PUBLIC_PROFIT
1476914797
- NON_PROFIT
1477014798
- GOVERNMENT
14799+
example: PRIVATE_PROFIT
1477114800
nullable: false
1477214801
type: string
1477314802
helpMessageResponse:
@@ -14876,18 +14905,24 @@ components:
1487614905
privacyPolicyUrl:
1487714906
description: The Toll-Free Verification request privacy policy URL.
1487814907
example: http://your-company.com/privacyPolicy
14908+
maxLength: 500
1487914909
type: string
1488014910
termsAndConditionsUrl:
1488114911
description: The Toll-Free Verification request terms and conditions policy
1488214912
URL.
1488314913
example: http://your-company.com/termsAndConditions
14914+
maxLength: 500
1488414915
type: string
1488514916
businessDba:
1488614917
description: The company 'Doing Business As'.
1488714918
example: Another Company Name Inc.
14919+
maxLength: 500
1488814920
type: string
1488914921
businessRegistrationNumber:
14890-
description: Government-issued business identifying number.
14922+
description: |
14923+
Government-issued business identifying number.
14924+
14925+
**Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
1489114926
example: 12-3456789
1489214927
maxLength: 500
1489314928
nullable: true
@@ -14980,18 +15015,24 @@ components:
1498015015
privacyPolicyUrl:
1498115016
description: The Toll-Free Verification request privacy policy URL.
1498215017
example: http://your-company.com/privacyPolicy
15018+
maxLength: 500
1498315019
type: string
1498415020
termsAndConditionsUrl:
1498515021
description: The Toll-Free Verification request terms and conditions policy
1498615022
URL.
1498715023
example: http://your-company.com/termsAndConditions
15024+
maxLength: 500
1498815025
type: string
1498915026
businessDba:
1499015027
description: The company 'Doing Business As'.
1499115028
example: Another Company Name Inc.
15029+
maxLength: 500
1499215030
type: string
1499315031
businessRegistrationNumber:
14994-
description: Government-issued business identifying number.
15032+
description: |
15033+
Government-issued business identifying number.
15034+
15035+
**Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
1499515036
example: 12-3456789
1499615037
maxLength: 500
1499715038
nullable: true
@@ -15656,7 +15697,7 @@ components:
1565615697
phoneNumber: "+19192654500"
1565715698
email: foo@bar.com
1565815699
messageVolume: 10000
15659-
businessEntityType: SOLE_PROPRIETOR
15700+
businessEntityType: PRIVATE_PROFIT
1566015701
businessRegistrationType: EIN
1566115702
privacyPolicyUrl: http://your-company.com/privacyPolicy
1566215703
optInWorkflow:
@@ -15755,7 +15796,7 @@ components:
1575515796
phoneNumber: "+19192654500"
1575615797
email: foo@bar.com
1575715798
messageVolume: 10000
15758-
businessEntityType: SOLE_PROPRIETOR
15799+
businessEntityType: PRIVATE_PROFIT
1575915800
businessRegistrationType: EIN
1576015801
privacyPolicyUrl: http://your-company.com/privacyPolicy
1576115802
optInWorkflow:
@@ -15828,18 +15869,24 @@ components:
1582815869
privacyPolicyUrl:
1582915870
description: The Toll-Free Verification request privacy policy URL.
1583015871
example: http://your-company.com/privacyPolicy
15872+
maxLength: 500
1583115873
type: string
1583215874
termsAndConditionsUrl:
1583315875
description: The Toll-Free Verification request terms and conditions policy
1583415876
URL.
1583515877
example: http://your-company.com/termsAndConditions
15878+
maxLength: 500
1583615879
type: string
1583715880
businessDba:
1583815881
description: The company 'Doing Business As'.
1583915882
example: Another Company Name Inc.
15883+
maxLength: 500
1584015884
type: string
1584115885
businessRegistrationNumber:
15842-
description: Government-issued business identifying number.
15886+
description: |
15887+
Government-issued business identifying number.
15888+
15889+
**Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
1584315890
example: 12-3456789
1584415891
maxLength: 500
1584515892
nullable: true

0 commit comments

Comments
 (0)