diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/ActiveNumberApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/ActiveNumberApi.java index 6b6b20b7..a381369e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/ActiveNumberApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/ActiveNumberApi.java @@ -70,6 +70,7 @@ public ActiveNumberDto numberServiceGetActiveNumber(String projectId, String pho "[numberServiceGetActiveNumber] " + "projectId: " + projectId + + ", " + "phoneNumber: " + phoneNumber); @@ -175,20 +176,28 @@ public ActiveNumbersResponseDto numberServiceListActiveNumbers( "[numberServiceListActiveNumbers] " + "projectId: " + projectId + + ", " + "regionCode: " + regionCode + + ", " + "type: " + type + + ", " + "numberPatternPattern: " + numberPatternPattern + + ", " + "numberPatternSearchPattern: " + numberPatternSearchPattern + + ", " + "capability: " + capability + + ", " + "pageSize: " + pageSize + + ", " + "pageToken: " + pageToken + + ", " + "orderBy: " + orderBy); @@ -342,6 +351,7 @@ public ActiveNumberDto numberServiceReleaseNumber(String projectId, String phone "[numberServiceReleaseNumber] " + "projectId: " + projectId + + ", " + "phoneNumber: " + phoneNumber); @@ -431,8 +441,10 @@ public ActiveNumberDto numberServiceUpdateActiveNumber( "[numberServiceUpdateActiveNumber] " + "projectId: " + projectId + + ", " + "phoneNumber: " + phoneNumber + + ", " + "activeNumberRequestDto: " + activeNumberRequestDto); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableNumberApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableNumberApi.java index bea37f8a..5e726f75 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableNumberApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableNumberApi.java @@ -74,6 +74,7 @@ public AvailableNumberDto numberServiceGetAvailableNumber(String projectId, Stri "[numberServiceGetAvailableNumber] " + "projectId: " + projectId + + ", " + "phoneNumber: " + phoneNumber); @@ -179,16 +180,22 @@ public AvailableNumbersResponseDto numberServiceListAvailableNumbers( "[numberServiceListAvailableNumbers] " + "projectId: " + projectId + + ", " + "regionCode: " + regionCode + + ", " + "type: " + type + + ", " + "numberPatternPattern: " + numberPatternPattern + + ", " + "numberPatternSearchPattern: " + numberPatternSearchPattern + + ", " + "capabilities: " + capabilities + + ", " + "size: " + size); @@ -330,6 +337,7 @@ public ActiveNumberDto numberServiceRentAnyNumber( "[numberServiceRentAnyNumber] " + "projectId: " + projectId + + ", " + "rentAnyNumberRequestDto: " + rentAnyNumberRequestDto); @@ -417,8 +425,10 @@ public ActiveNumberDto numberServiceRentNumber( "[numberServiceRentNumber] " + "projectId: " + projectId + + ", " + "phoneNumber: " + phoneNumber + + ", " + "rentNumberRequestDto: " + rentNumberRequestDto); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableRegionsApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableRegionsApi.java index 24b763c3..8fe90f51 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableRegionsApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/AvailableRegionsApi.java @@ -67,7 +67,12 @@ public ListAvailableRegionsResponseDto numberServiceListAvailableRegions( String projectId, List types) throws ApiException { LOGGER.finest( - "[numberServiceListAvailableRegions] " + "projectId: " + projectId + "types: " + types); + "[numberServiceListAvailableRegions] " + + "projectId: " + + projectId + + ", " + + "types: " + + types); HttpRequest httpRequest = numberServiceListAvailableRegionsRequestBuilder(projectId, types); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/CallbackConfigurationApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/CallbackConfigurationApi.java index e95d2ed3..c5e6af56 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/CallbackConfigurationApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/adapters/api/v1/CallbackConfigurationApi.java @@ -132,6 +132,7 @@ public CallbackConfigurationDto updateCallbackConfiguration( "[updateCallbackConfiguration] " + "projectId: " + projectId + + ", " + "callbackConfigurationUpdateDto: " + callbackConfigurationUpdateDto); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/BatchesApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/BatchesApi.java index b1e470c3..a161c8a8 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/BatchesApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/BatchesApi.java @@ -55,12 +55,11 @@ public BatchesApi( } /** - * Cancel a batch message A batch can be canceled at any point. If a batch is canceled while - * it's currently being delivered some messages currently being processed might still be - * delivered. The delivery report will indicate which messages were canceled and which - * weren't. Canceling a batch scheduled in the future will result in an empty delivery report - * while canceling an already sent batch would result in no change to the completed delivery - * report. + * Cancel a batch message A batch can be canceled aty point. If a batch is canceled while it's + * currently being delivered some messages currently being processed might still be delivered. The + * delivery report will indicate which messages were canceled and which weren't. Canceling a + * batch scheduled in the future will result in an empty delivery report while canceling an + * already sent batch would result in no change to the completed delivery report. * * @param servicePlanId Your service plan ID. You can find this on your * [Dashboard](https://dashboard.sinch.com/sms/api/rest). (required) @@ -72,7 +71,7 @@ public SendSMS201ResponseDto cancelBatchMessage(String servicePlanId, String bat throws ApiException { LOGGER.finest( - "[cancelBatchMessage] " + "servicePlanId: " + servicePlanId + "batchId: " + batchId); + "[cancelBatchMessage] " + "servicePlanId: " + servicePlanId + ", " + "batchId: " + batchId); HttpRequest httpRequest = cancelBatchMessageRequestBuilder(servicePlanId, batchId); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); @@ -159,8 +158,10 @@ public void deliveryFeedback( "[deliveryFeedback] " + "servicePlanId: " + servicePlanId + + ", " + "batchId: " + batchId + + ", " + "apiDeliveryFeedbackDto: " + apiDeliveryFeedbackDto); @@ -254,10 +255,13 @@ public DryRun200ResponseDto dryRun( "[dryRun] " + "servicePlanId: " + servicePlanId + + ", " + "perRecipient: " + perRecipient + + ", " + "numberOfRecipients: " + numberOfRecipients + + ", " + "sendSMSRequestDto: " + sendSMSRequestDto); @@ -346,7 +350,8 @@ private HttpRequest dryRunRequestBuilder( public SendSMS201ResponseDto getBatchMessage(String servicePlanId, String batchId) throws ApiException { - LOGGER.finest("[getBatchMessage] " + "servicePlanId: " + servicePlanId + "batchId: " + batchId); + LOGGER.finest( + "[getBatchMessage] " + "servicePlanId: " + servicePlanId + ", " + "batchId: " + batchId); HttpRequest httpRequest = getBatchMessageRequestBuilder(servicePlanId, batchId); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); @@ -442,16 +447,22 @@ public ApiBatchListDto listBatches( "[listBatches] " + "servicePlanId: " + servicePlanId + + ", " + "page: " + page + + ", " + "pageSize: " + pageSize + + ", " + "from: " + from + + ", " + "startDate: " + startDate + + ", " + "endDate: " + endDate + + ", " + "clientReference: " + clientReference); @@ -565,8 +576,10 @@ public SendSMS201ResponseDto replaceBatch( "[replaceBatch] " + "servicePlanId: " + servicePlanId + + ", " + "batchId: " + batchId + + ", " + "replaceBatchRequestDto: " + replaceBatchRequestDto); @@ -653,6 +666,7 @@ public SendSMS201ResponseDto sendSMS(String servicePlanId, SendSMSRequestDto sen "[sendSMS] " + "servicePlanId: " + servicePlanId + + ", " + "sendSMSRequestDto: " + sendSMSRequestDto); @@ -729,8 +743,10 @@ public SendSMS201ResponseDto updateBatchMessage( "[updateBatchMessage] " + "servicePlanId: " + servicePlanId + + ", " + "batchId: " + batchId + + ", " + "updateBatchMessageRequestDto: " + updateBatchMessageRequestDto); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/DeliveryReportsApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/DeliveryReportsApi.java index 3a5a402a..050f5334 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/DeliveryReportsApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/DeliveryReportsApi.java @@ -76,12 +76,16 @@ public DeliveryReportDto getDeliveryReportByBatchId( "[getDeliveryReportByBatchId] " + "servicePlanId: " + servicePlanId + + ", " + "batchId: " + batchId + + ", " + "type: " + type + + ", " + "status: " + status + + ", " + "code: " + code); @@ -179,8 +183,10 @@ public RecipientDeliveryReportDto getDeliveryReportByPhoneNumber( "[getDeliveryReportByPhoneNumber] " + "servicePlanId: " + servicePlanId + + ", " + "batchId: " + batchId + + ", " + "recipientMsisdn: " + recipientMsisdn); @@ -290,18 +296,25 @@ public DeliveryReportListDto getDeliveryReports( "[getDeliveryReports] " + "servicePlanId: " + servicePlanId + + ", " + "page: " + page + + ", " + "pageSize: " + pageSize + + ", " + "startDate: " + startDate + + ", " + "endDate: " + endDate + + ", " + "status: " + status + + ", " + "code: " + code + + ", " + "clientReference: " + clientReference); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/GroupsApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/GroupsApi.java index 03fe680a..6b47edeb 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/GroupsApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/GroupsApi.java @@ -67,7 +67,12 @@ public CreateGroupResponseDto createGroup(String servicePlanId, GroupObjectDto g throws ApiException { LOGGER.finest( - "[createGroup] " + "servicePlanId: " + servicePlanId + "groupObjectDto: " + groupObjectDto); + "[createGroup] " + + "servicePlanId: " + + servicePlanId + + ", " + + "groupObjectDto: " + + groupObjectDto); HttpRequest httpRequest = createGroupRequestBuilder(servicePlanId, groupObjectDto); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); @@ -131,7 +136,8 @@ private HttpRequest createGroupRequestBuilder(String servicePlanId, GroupObjectD */ public void deleteGroup(String servicePlanId, String groupId) throws ApiException { - LOGGER.finest("[deleteGroup] " + "servicePlanId: " + servicePlanId + "groupId: " + groupId); + LOGGER.finest( + "[deleteGroup] " + "servicePlanId: " + servicePlanId + ", " + "groupId: " + groupId); HttpRequest httpRequest = deleteGroupRequestBuilder(servicePlanId, groupId); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); @@ -203,7 +209,8 @@ private HttpRequest deleteGroupRequestBuilder(String servicePlanId, String group */ public List getMembers(String servicePlanId, String groupId) throws ApiException { - LOGGER.finest("[getMembers] " + "servicePlanId: " + servicePlanId + "groupId: " + groupId); + LOGGER.finest( + "[getMembers] " + "servicePlanId: " + servicePlanId + ", " + "groupId: " + groupId); HttpRequest httpRequest = getMembersRequestBuilder(servicePlanId, groupId); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); @@ -282,8 +289,10 @@ public ListGroups200ResponseDto listGroups(String servicePlanId, Integer page, I "[listGroups] " + "servicePlanId: " + servicePlanId + + ", " + "page: " + page + + ", " + "pageSize: " + pageSize); @@ -368,8 +377,10 @@ public CreateGroupResponseDto replaceGroup( "[replaceGroup] " + "servicePlanId: " + servicePlanId + + ", " + "groupId: " + groupId + + ", " + "replaceGroupRequestDto: " + replaceGroupRequestDto); @@ -447,7 +458,8 @@ private HttpRequest replaceGroupRequestBuilder( public CreateGroupResponseDto retrieveGroup(String servicePlanId, String groupId) throws ApiException { - LOGGER.finest("[retrieveGroup] " + "servicePlanId: " + servicePlanId + "groupId: " + groupId); + LOGGER.finest( + "[retrieveGroup] " + "servicePlanId: " + servicePlanId + ", " + "groupId: " + groupId); HttpRequest httpRequest = retrieveGroupRequestBuilder(servicePlanId, groupId); HttpResponse response = httpClient.invokeAPI(this.serverConfiguration, httpRequest); @@ -537,8 +549,10 @@ public CreateGroupResponseDto updateGroup( "[updateGroup] " + "servicePlanId: " + servicePlanId + + ", " + "groupId: " + groupId + + ", " + "updateGroupRequestDto: " + updateGroupRequestDto); diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/InboundsApi.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/InboundsApi.java index c2f0c6bf..e04bc496 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/InboundsApi.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/adapters/api/v1/InboundsApi.java @@ -92,16 +92,22 @@ public ApiInboundListDto listInboundMessages( "[listInboundMessages] " + "servicePlanId: " + servicePlanId + + ", " + "page: " + page + + ", " + "pageSize: " + pageSize + + ", " + "to: " + to + + ", " + "startDate: " + startDate + + ", " + "endDate: " + endDate + + ", " + "clientReference: " + clientReference); @@ -214,6 +220,7 @@ public RetrieveInboundMessage200ResponseDto retrieveInboundMessage( "[retrieveInboundMessage] " + "servicePlanId: " + servicePlanId + + ", " + "inboundId: " + inboundId);