- [Tech] Update dependency
@sinch/sdk-client
to1.2.0
. - [Feature] Support the
locale
parameter in theSmsOptions
interface. - [Deprecation Notice] In the interface
VerificationStatusByIdentityRequestData
, the propertymethod
supports ‘flashcall’ on top of ‘flashCall’. - [Deprecation Notice] All the references to "callout" and "seamless" will be replaced by "phoneCall" and "data" respectively.
- In the interface
VerificationStatusByIdentityRequestData
, the propertymethod
supports ‘phonecall’ on top of ‘callout’. - API methods:
- In the interface
Deprecated | New |
---|---|
verifications.startCallout() |
verifications.startPhoneCall() |
verifications.reportCalloutById() |
verifications.reportPhoneCallById() |
verifications.reportCalloutByIdentity() |
verifications.reportPhoneCallByIdentity() |
-
- Helpers:
Deprecated | New |
---|---|
startVerificationHelper.buildCalloutRequest() |
startVerificationHelper.buildPhoneCallRequest() |
startVerificationHelper.buildSeamlessRequest() |
startVerificationHelper.buildDataRequest() |
reportVerificationByIdHelper.buildCalloutRequest() |
startVerificationHelper.buildPhoneCallRequest() |
reportVerificationByIdentityHelper.buildCalloutRequest() |
startVerificationHelper.buildPhoneCallRequest() |
-
- Interfaces
Deprecated | New |
---|---|
|
|
|
|
|
|
|
|
|
|
StartSeamlessVerification |
StartDataVerification |
CalloutOptions |
PhoneCallOptions |
CalloutOptionsSpeech |
PhoneCallOptionsSpeech |
CalloutVerificationStatusResponse |
PhoneCallVerificationStatusResponse |
CalloutVerificationReportResponse |
PhoneCallVerificationReportResponse |
StartCalloutVerificationResponse |
StartPhoneCallVerificationResponse |
CalloutRequestEventResponse |
PhoneCallRequestEventResponse |
CalloutProperties |
PhoneCallProperties |
CalloutContent |
PhoneCallContent |
- [Deprecation Notice] The interfaces containing
SMS
in uppercase will be replaced with the same name but withSms
in PascaleCase:
Deprecated | New |
---|---|
VerificationPriceSMS | VerificationPriceSms |
SMSRequestEventResponse | SmsRequestEventResponse |
SMSVerificationStatusResponse | SmsVerificationStatusResponse |
SMSVerificationReportResponse | SmsVerificationReportResponse |
- [Deprecation Notice] The type
VerificationCallback
becomesVerificationCallbackEvent
and is accessible on theVerification
namespace.
Deprecated | New |
---|---|
|
|
- [Deprecation Notice] The type
TypeEnum
should be replaced with the typeIdentityType
. - [Deprecation Notice] The type
FlashCallContent
should be replaced with the typeFlashCallProperties
. - [Deprecation Notice] The type
SmsContent
should be replaced with the typeSmsProperties
. - [E2E] Add Cucumber steps implementation.
- [Tech] Update dependency
@sinch/sdk-client
to1.1.0
- [Tech] Update dependency
@sinch/sdk-client
to1.0.0
- [Feature] Update SDK from the latest specification
- Add
smsOptions
andcalloutOptions
to the respective Start Verification operations - Update response interfaces for Report Verification operations
- Add
- [Tech] Update dependency
@sinch/sdk-client
to0.0.5
- [Tech][Breaking] Export all model interfaces under the namespace
Verification
- [Feature] Support hostname override
- [Feature] Support request and response plugins override
- [Tech] Update dependency
@sinch/sdk-client
to0.0.4
- [Tech] Update dependency
@sinch/sdk-client
to0.0.3
- [Tech] Update dependency
@sinch/sdk-client
to0.0.2
Breaking changes
- Removal of the method
verifications.start()
, replaced by the methods:startSms(data: StartSmsVerificationRequestData): Promise<StartSmsVerificationResponse>)
startFlashCall(data: StartFlashCallVerificationRequestData): Promise<StartFlashCallVerificationResponse>)
startCallout(data: StartCalloutVerificationRequestData): Promise<StartCalloutVerificationResponse>)
startSeamless(data: StartSeamlessVerificationRequestData): Promise<StartSeamlessVerificationResponse>)
- Removal of the method
verifications.reportById()
replaced by the methods:reportSmsById(data: ReportSmsVerificationByIdRequestData): Promise<SMSVerificationReportResponse>
reportFlashCallById(data: ReportFlashCallVerificationByIdRequestData): Promise<FlashCallVerificationReportResponse>
reportCalloutById(data: ReportCalloutVerificationByIdRequestData): Promise<CalloutVerificationReportResponse>
- Removal of the method
verifications.reportByIdentity()
replaced by the methods:reportSmsByIdentity(data: ReportSmsVerificationByIdentityRequestData): Promise<SMSVerificationReportResponse>
reportFlashCallByIdentity(data: ReportFlashCallVerificationByIdentityRequestData): Promise<FlashCallVerificationReportResponse>
reportCalloutByIdentity(data: ReportCalloutVerificationByIdentityRequestData): Promise<CalloutVerificationReportResponse>
- Callbacks management: implementation of the
CallbackProcessor
interface- Rename
parseVerificationEventNotification
intoparseEvent
- Move the header validation to the domain with the method
validateAuthenticationHeader
- Rename
- [Tech] Update dependency
@sinch/sdk-client
to0.0.1
- [Feature] Add the method
parseVerificationEventNotification
to call when receiving a callback event to transform it into the correct type
- Initial version. Support for:
- start verification
- report verification
- get verification status