Skip to content

Commit b61f385

Browse files
authored
SWI-9299 Update Ticket Number to String (#222)
1 parent 5896f7e commit b61f385

18 files changed

+36
-51
lines changed

api/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13748,13 +13748,11 @@ components:
1374813748
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
1374913749
the verification status of a toll-free number - included in all webhook payloads.
1375013750
example: acde070d-8c4c-4f0d-9d8a-162843c10333
13751-
format: uuid
1375213751
type: string
1375313752
internalTicketNumberForWebhook:
1375413753
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
1375513754
the verification status of a toll-free number.
1375613755
example: acde070d-8c4c-4f0d-9d8a-162843c10333
13757-
format: uuid
1375813756
type: string
1375913757
businessContactPhoneNumber:
1376013758
description: Contact telephone number
@@ -14034,7 +14032,6 @@ components:
1403414032
description: Unique identifier (UUID) generated by Bandwidth to assist in
1403514033
tracking the verification status of a toll-free number.
1403614034
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14037-
format: uuid
1403814035
type: string
1403914036
type: object
1404014037
verificationDenialWebhook:
@@ -14070,7 +14067,6 @@ components:
1407014067
description: Unique identifier (UUID) generated by Bandwidth to assist in
1407114068
tracking the verification status of a toll-free number.
1407214069
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14073-
format: uuid
1407414070
type: string
1407514071
phoneNumber:
1407614072
description: Toll-free telephone number in E.164 format.
@@ -14120,7 +14116,6 @@ components:
1412014116
description: Unique identifier (UUID) generated by Bandwidth to assist in
1412114117
tracking the verification status of a toll-free number.
1412214118
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14123-
format: uuid
1412414119
type: string
1412514120
type: object
1412614121
blockedWebhook:
@@ -14143,7 +14138,6 @@ components:
1414314138
description: Unique identifier (UUID) generated by Bandwidth to assist in
1414414139
tracking the verification status of a toll-free number.
1414514140
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14146-
format: uuid
1414714141
type: string
1414814142
blocked:
1414914143
description: Whether a Toll-Free Verification is blocked. This attribute
@@ -14626,7 +14620,6 @@ components:
1462614620
tracking the verification status of a toll-free number - included in all
1462714621
webhook payloads.
1462814622
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14629-
format: uuid
1463014623
type: string
1463114624
declineReasonDescription:
1463214625
description: Explanation for why a verification request was declined.

bandwidth.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5875,15 +5875,13 @@ components:
58755875
type: object
58765876
internalTicketNumber:
58775877
type: string
5878-
format: uuid
58795878
description: >-
58805879
Unique identifier (UUID) generated by Bandwidth to assist in tracking
58815880
the verification status of a toll-free number - included in all webhook
58825881
payloads.
58835882
example: acde070d-8c4c-4f0d-9d8a-162843c10333
58845883
internalTicketNumberForWebhook:
58855884
type: string
5886-
format: uuid
58875885
description: >-
58885886
Unique identifier (UUID) generated by Bandwidth to assist in tracking
58895887
the verification status of a toll-free number.

docs/BlockedWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
|**accountId** | **String** | User's account ID. | [optional] |
1111
|**phoneNumber** | **String** | Toll-free telephone number in E.164 format. | [optional] |
1212
|**status** | **TfvCallbackStatusEnum** | | [optional] |
13-
|**internalTicketNumber** | **UUID** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
13+
|**internalTicketNumber** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
1414
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
1515
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
1616

docs/FailureWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|**errorCode** | **String** | An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered. | [optional] |
1313
|**errorMessage** | **String** | A description of the error that was encountered. | [optional] |
1414
|**errors** | **List<String>** | Details of the errors that were encountered when processing the request. | [optional] |
15-
|**internalTicketNumber** | **UUID** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
15+
|**internalTicketNumber** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
1616

1717

1818

docs/TfvStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**phoneNumber** | **String** | Toll-free telephone number in E.164 format. | [optional] |
1111
|**status** | **TfvStatusEnum** | | [optional] |
12-
|**internalTicketNumber** | **UUID** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional] |
12+
|**internalTicketNumber** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional] |
1313
|**declineReasonDescription** | **String** | Explanation for why a verification request was declined. | [optional] |
1414
|**resubmitAllowed** | **Boolean** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional] |
1515
|**createdDateTime** | **OffsetDateTime** | Date and time the verification request was created. | [optional] |

docs/VerificationDenialWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
|**additionalDenialReasons** | [**List<AdditionalDenialReason>**](AdditionalDenialReason.md) | An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply. | [optional] |
1212
|**declineReasonDescription** | **String** | Explanation for why a verification request was declined. | [optional] |
1313
|**denialStatusCode** | **Integer** | Reason code for denial. | [optional] |
14-
|**internalTicketNumber** | **UUID** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
14+
|**internalTicketNumber** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
1515
|**phoneNumber** | **String** | Toll-free telephone number in E.164 format. | [optional] |
1616
|**resubmitAllowed** | **Boolean** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional] |
1717
|**status** | **String** | | [optional] |

docs/VerificationWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
|**accountId** | **String** | User's account ID. | [optional] |
1111
|**phoneNumber** | **String** | Toll-free telephone number in E.164 format. | [optional] |
1212
|**status** | **TfvCallbackStatusEnum** | | [optional] |
13-
|**internalTicketNumber** | **UUID** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
13+
|**internalTicketNumber** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
1414

1515

1616

src/main/java/com/bandwidth/sdk/model/BlockedWebhook.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import com.google.gson.stream.JsonWriter;
2424
import java.io.IOException;
2525
import java.util.Arrays;
26-
import java.util.UUID;
2726

2827
import com.google.gson.Gson;
2928
import com.google.gson.GsonBuilder;
@@ -72,7 +71,7 @@ public class BlockedWebhook {
7271
public static final String SERIALIZED_NAME_INTERNAL_TICKET_NUMBER = "internalTicketNumber";
7372
@SerializedName(SERIALIZED_NAME_INTERNAL_TICKET_NUMBER)
7473
@javax.annotation.Nullable
75-
private UUID internalTicketNumber;
74+
private String internalTicketNumber;
7675

7776
public static final String SERIALIZED_NAME_BLOCKED = "blocked";
7877
@SerializedName(SERIALIZED_NAME_BLOCKED)
@@ -144,7 +143,7 @@ public void setStatus(@javax.annotation.Nullable TfvCallbackStatusEnum status) {
144143
}
145144

146145

147-
public BlockedWebhook internalTicketNumber(@javax.annotation.Nullable UUID internalTicketNumber) {
146+
public BlockedWebhook internalTicketNumber(@javax.annotation.Nullable String internalTicketNumber) {
148147
this.internalTicketNumber = internalTicketNumber;
149148
return this;
150149
}
@@ -154,11 +153,11 @@ public BlockedWebhook internalTicketNumber(@javax.annotation.Nullable UUID inter
154153
* @return internalTicketNumber
155154
*/
156155
@javax.annotation.Nullable
157-
public UUID getInternalTicketNumber() {
156+
public String getInternalTicketNumber() {
158157
return internalTicketNumber;
159158
}
160159

161-
public void setInternalTicketNumber(@javax.annotation.Nullable UUID internalTicketNumber) {
160+
public void setInternalTicketNumber(@javax.annotation.Nullable String internalTicketNumber) {
162161
this.internalTicketNumber = internalTicketNumber;
163162
}
164163

src/main/java/com/bandwidth/sdk/model/FailureWebhook.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import java.util.ArrayList;
2525
import java.util.Arrays;
2626
import java.util.List;
27-
import java.util.UUID;
2827

2928
import com.google.gson.Gson;
3029
import com.google.gson.GsonBuilder;
@@ -83,7 +82,7 @@ public class FailureWebhook {
8382
public static final String SERIALIZED_NAME_INTERNAL_TICKET_NUMBER = "internalTicketNumber";
8483
@SerializedName(SERIALIZED_NAME_INTERNAL_TICKET_NUMBER)
8584
@javax.annotation.Nullable
86-
private UUID internalTicketNumber;
85+
private String internalTicketNumber;
8786

8887
public FailureWebhook() {
8988
}
@@ -191,7 +190,7 @@ public void setErrors(@javax.annotation.Nullable List<String> errors) {
191190
}
192191

193192

194-
public FailureWebhook internalTicketNumber(@javax.annotation.Nullable UUID internalTicketNumber) {
193+
public FailureWebhook internalTicketNumber(@javax.annotation.Nullable String internalTicketNumber) {
195194
this.internalTicketNumber = internalTicketNumber;
196195
return this;
197196
}
@@ -201,11 +200,11 @@ public FailureWebhook internalTicketNumber(@javax.annotation.Nullable UUID inter
201200
* @return internalTicketNumber
202201
*/
203202
@javax.annotation.Nullable
204-
public UUID getInternalTicketNumber() {
203+
public String getInternalTicketNumber() {
205204
return internalTicketNumber;
206205
}
207206

208-
public void setInternalTicketNumber(@javax.annotation.Nullable UUID internalTicketNumber) {
207+
public void setInternalTicketNumber(@javax.annotation.Nullable String internalTicketNumber) {
209208
this.internalTicketNumber = internalTicketNumber;
210209
}
211210

src/main/java/com/bandwidth/sdk/model/TfvStatus.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import java.io.IOException;
2626
import java.time.OffsetDateTime;
2727
import java.util.Arrays;
28-
import java.util.UUID;
2928

3029
import com.google.gson.Gson;
3130
import com.google.gson.GsonBuilder;
@@ -69,7 +68,7 @@ public class TfvStatus {
6968
public static final String SERIALIZED_NAME_INTERNAL_TICKET_NUMBER = "internalTicketNumber";
7069
@SerializedName(SERIALIZED_NAME_INTERNAL_TICKET_NUMBER)
7170
@javax.annotation.Nullable
72-
private UUID internalTicketNumber;
71+
private String internalTicketNumber;
7372

7473
public static final String SERIALIZED_NAME_DECLINE_REASON_DESCRIPTION = "declineReasonDescription";
7574
@SerializedName(SERIALIZED_NAME_DECLINE_REASON_DESCRIPTION)
@@ -147,7 +146,7 @@ public void setStatus(@javax.annotation.Nullable TfvStatusEnum status) {
147146
}
148147

149148

150-
public TfvStatus internalTicketNumber(@javax.annotation.Nullable UUID internalTicketNumber) {
149+
public TfvStatus internalTicketNumber(@javax.annotation.Nullable String internalTicketNumber) {
151150
this.internalTicketNumber = internalTicketNumber;
152151
return this;
153152
}
@@ -157,11 +156,11 @@ public TfvStatus internalTicketNumber(@javax.annotation.Nullable UUID internalTi
157156
* @return internalTicketNumber
158157
*/
159158
@javax.annotation.Nullable
160-
public UUID getInternalTicketNumber() {
159+
public String getInternalTicketNumber() {
161160
return internalTicketNumber;
162161
}
163162

164-
public void setInternalTicketNumber(@javax.annotation.Nullable UUID internalTicketNumber) {
163+
public void setInternalTicketNumber(@javax.annotation.Nullable String internalTicketNumber) {
165164
this.internalTicketNumber = internalTicketNumber;
166165
}
167166

0 commit comments

Comments
 (0)