Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MIGRATION-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This guide lists all removed classes and interfaces from V1 and how to migrate t

- Removed support of `SINCH_CHAT` channel.
- [channelspecific.whatsapp.payment.OrderDetailsPayment](https://www.javadoc.io/doc/com.sinch.sdk/sinch-sdk-java/latest/com/sinch/sdk/domains/conversation/models/v1/messages/types/channelspecific/whatsapp/payment/OrderDetailsPayment.html) is now processing `OderDetailsSettings` interface for payment settings to support `boleto` and `payment_link` payment methods.
- Conversation Template V1 is deprecated. Use Conversation Template V2 instead.

#### Replacement models
| Old class | New class |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public interface TemplatesService {
*
* @return Templates V1 service
* @since 1.3
* @deprecated Use {@link #v2()} instead.
*/
TemplatesServiceV1 v1();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* href="https://developers.sinch.com/docs/conversation/api-reference/template/tag/Templates-V1">online
* documentation</a>
* @since 1.3
* @deprecated Use {@link com.sinch.sdk.domains.conversation.api.templates.v2.TemplatesServiceV2}
* instead.
*/
public interface TemplatesServiceV1 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
* @see <a href="https://developers.sinch.com/docs/conversation/templates/#version-1">Conversation
* Templates V1</a>
* @since 1.3
* @deprecated Use {@link com.sinch.sdk.domains.conversation.api.templates.v2} instead.
*/
package com.sinch.sdk.domains.conversation.api.templates.v1;
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
* href="https://developers.sinch.com/docs/conversation/api-reference/template/tag/Templates-V1">Templates
* V1</a>
* @since 1.3
* @deprecated Use {@link com.sinch.sdk.domains.conversation.templates.models.v2} instead.
*/
package com.sinch.sdk.domains.conversation.templates.models.v1;
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ public V1Api(
* @param templateV1 Required. The template to create. (required)
* @return TemplateV1
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public TemplateV1 templatesCreateTemplate(String projectId, TemplateV1 templateV1)
throws ApiException {

Expand Down Expand Up @@ -137,7 +139,9 @@ private HttpRequest templatesCreateTemplateRequestBuilder(String projectId, Temp
* @param templateId Required. The ID of the template to fetch. (required)
* @return Object
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public Object templatesDeleteTemplate(String projectId, String templateId) throws ApiException {

LOGGER.finest(
Expand Down Expand Up @@ -217,7 +221,9 @@ private HttpRequest templatesDeleteTemplateRequestBuilder(String projectId, Stri
* @param templateId Required. The ID of the template to fetch. (required)
* @return TemplateV1
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public TemplateV1 templatesGetTemplate(String projectId, String templateId) throws ApiException {

LOGGER.finest(
Expand Down Expand Up @@ -296,7 +302,9 @@ private HttpRequest templatesGetTemplateRequestBuilder(String projectId, String
* @param projectId Required. The project ID. (required)
* @return V1ListTemplatesResponseInternal
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public V1ListTemplatesResponseInternal templatesListTemplates(String projectId)
throws ApiException {

Expand Down Expand Up @@ -365,7 +373,9 @@ private HttpRequest templatesListTemplatesRequestBuilder(String projectId) throw
* @param updateMask The set of field mask paths. (optional
* @return TemplateV1
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public TemplateV1 templatesUpdateTemplate(
String projectId, String templateId, TemplateV1 templateV1, List<String> updateMask)
throws ApiException {
Expand Down
Loading