@sinch/verification 0.0.5 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +0 -3
  2. package/dist/models/v1/callout-request-event-response/callout-request-event-response.d.ts +1 -1
  3. package/dist/models/v1/callout-verification-report-response/callout-verification-report-response.d.ts +6 -14
  4. package/dist/models/v1/callout-verification-status-response/callout-verification-status-response.d.ts +27 -0
  5. package/dist/models/v1/callout-verification-status-response/callout-verification-status-response.js +3 -0
  6. package/dist/models/v1/callout-verification-status-response/callout-verification-status-response.js.map +1 -0
  7. package/dist/models/v1/callout-verification-status-response/index.d.ts +1 -0
  8. package/dist/models/v1/callout-verification-status-response/index.js +18 -0
  9. package/dist/models/v1/callout-verification-status-response/index.js.map +1 -0
  10. package/dist/models/v1/enums.d.ts +5 -7
  11. package/dist/models/v1/flashcall-request-event-response/flashcall-request-event-response.d.ts +1 -1
  12. package/dist/models/v1/flashcall-verification-report-response/flashcall-verification-report-response.d.ts +3 -14
  13. package/dist/models/v1/flashcall-verification-status-response/flashcall-verification-status-response.d.ts +29 -0
  14. package/dist/models/v1/flashcall-verification-status-response/flashcall-verification-status-response.js +3 -0
  15. package/dist/models/v1/flashcall-verification-status-response/flashcall-verification-status-response.js.map +1 -0
  16. package/dist/models/v1/flashcall-verification-status-response/index.d.ts +1 -0
  17. package/dist/models/v1/flashcall-verification-status-response/index.js +18 -0
  18. package/dist/models/v1/flashcall-verification-status-response/index.js.map +1 -0
  19. package/dist/models/v1/helper.d.ts +3 -2
  20. package/dist/models/v1/helper.js +14 -2
  21. package/dist/models/v1/helper.js.map +1 -1
  22. package/dist/models/v1/index.d.ts +6 -1
  23. package/dist/models/v1/index.js +6 -1
  24. package/dist/models/v1/index.js.map +1 -1
  25. package/dist/models/v1/sms-request-event-response/sms-request-event-response.d.ts +1 -1
  26. package/dist/models/v1/sms-verification-report-response/sms-verification-report-response.d.ts +2 -11
  27. package/dist/models/v1/sms-verification-status-response/index.d.ts +1 -0
  28. package/dist/models/v1/sms-verification-status-response/index.js +18 -0
  29. package/dist/models/v1/sms-verification-status-response/index.js.map +1 -0
  30. package/dist/models/v1/sms-verification-status-response/sms-verification-status-response.d.ts +25 -0
  31. package/dist/models/v1/sms-verification-status-response/sms-verification-status-response.js +3 -0
  32. package/dist/models/v1/sms-verification-status-response/sms-verification-status-response.js.map +1 -0
  33. package/dist/models/v1/start-flashcall-verification-response/start-flashcall-verification-response.d.ts +1 -1
  34. package/dist/models/v1/start-seamless-verification-response/start-seamless-verification-response.d.ts +3 -0
  35. package/dist/models/v1/start-verification-request/index.d.ts +1 -1
  36. package/dist/models/v1/start-verification-request/start-verification-request.d.ts +30 -0
  37. package/dist/models/v1/verification-price-call/index.d.ts +1 -0
  38. package/dist/models/v1/verification-price-call/index.js +18 -0
  39. package/dist/models/v1/verification-price-call/index.js.map +1 -0
  40. package/dist/models/v1/verification-price-call/verification-price-call.d.ts +12 -0
  41. package/dist/models/v1/{verification-report-response/verification-report-response.js → verification-price-call/verification-price-call.js} +1 -1
  42. package/dist/models/v1/verification-price-call/verification-price-call.js.map +1 -0
  43. package/dist/models/v1/verification-price-sms/index.d.ts +1 -0
  44. package/dist/models/v1/verification-price-sms/index.js +18 -0
  45. package/dist/models/v1/verification-price-sms/index.js.map +1 -0
  46. package/dist/models/v1/verification-price-sms/verification-price-sms.d.ts +8 -0
  47. package/dist/models/v1/verification-price-sms/verification-price-sms.js +3 -0
  48. package/dist/models/v1/verification-price-sms/verification-price-sms.js.map +1 -0
  49. package/dist/models/v1/verification-report-response-price/index.d.ts +1 -1
  50. package/dist/models/v1/verification-result-event/verification-result-event.d.ts +1 -3
  51. package/dist/models/v1/verification-status-response/index.d.ts +1 -0
  52. package/dist/models/v1/verification-status-response/index.js.map +1 -0
  53. package/dist/models/v1/verification-status-response/verification-status-response.d.ts +4 -0
  54. package/dist/models/v1/verification-status-response/verification-status-response.js +3 -0
  55. package/dist/models/v1/verification-status-response/verification-status-response.js.map +1 -0
  56. package/dist/rest/v1/verification-domain-api.js +1 -1
  57. package/dist/rest/v1/verification-domain-api.js.map +1 -1
  58. package/dist/rest/v1/verification-status/verification-status-api.d.ts +4 -4
  59. package/dist/rest/v1/verification-status/verification-status-api.jest.fixture.d.ts +4 -4
  60. package/dist/rest/v1/verifications/verifications-api.d.ts +3 -1
  61. package/dist/rest/v1/verifications/verifications-api.js +22 -2
  62. package/dist/rest/v1/verifications/verifications-api.js.map +1 -1
  63. package/package.json +2 -2
  64. package/dist/models/v1/verification-report-response/index.d.ts +0 -1
  65. package/dist/models/v1/verification-report-response/index.js.map +0 -1
  66. package/dist/models/v1/verification-report-response/verification-report-response.d.ts +0 -4
  67. package/dist/models/v1/verification-report-response/verification-report-response.js.map +0 -1
  68. /package/dist/models/v1/{verification-report-response → verification-status-response}/index.js +0 -0
package/README.md CHANGED
@@ -2,9 +2,6 @@
2
2
 
3
3
  This package contains the Sinch Verification SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.
4
4
 
5
- > <span style="color:red; font-weight:bold">Warning:</span>
6
- > **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
7
-
8
5
  ## Installation
9
6
 
10
7
  We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
@@ -1,8 +1,8 @@
1
1
  import { CalloutRequestEventResponseCallout } from '../callout-request-event-response-callout';
2
+ import { ActionEnum } from '../enums';
2
3
  export interface CalloutRequestEventResponse {
3
4
  /** Determines whether the verification can be executed. */
4
5
  action?: ActionEnum;
5
6
  /** @see CalloutRequestEventResponseCallout */
6
7
  callout?: CalloutRequestEventResponseCallout;
7
8
  }
8
- export type ActionEnum = 'allow' | 'deny';
@@ -1,5 +1,4 @@
1
- import { VerificationReportResponsePrice } from '../verification-report-response-price';
2
- import { VerificationStatusEnum } from '../enums';
1
+ import { ReasonEnum, SourceEnum, VerificationStatusEnum } from '../enums';
3
2
  import { Identity } from '../identity';
4
3
  export interface CalloutVerificationReportResponse {
5
4
  /** The unique ID of the verification request. */
@@ -10,19 +9,12 @@ export interface CalloutVerificationReportResponse {
10
9
  status?: VerificationStatusEnum;
11
10
  /** Displays the reason why a verification has `FAILED`, was `DENIED`, or was `ABORTED`. */
12
11
  reason?: ReasonEnum;
13
- /** Shows whether the call is complete or not. */
14
- callComplete?: boolean;
15
12
  /** The reference ID that was optionally passed together with the verification request. */
16
13
  reference?: string;
17
- /** @see VerificationReportResponsePrice */
18
- price?: VerificationReportResponsePrice;
19
- /** */
14
+ /** Free text that the client is sending, used to show if the call/SMS was intercepted or not. */
15
+ source?: SourceEnum;
16
+ /** @see Identity */
20
17
  identity?: Identity;
21
- /** */
22
- countryId?: string;
23
- /** */
24
- verificationTimestamp?: Date;
25
- /** */
26
- callResult?: string;
18
+ /** Shows whether the call is complete or not. */
19
+ callComplete?: boolean;
27
20
  }
28
- export type ReasonEnum = 'Fraud' | 'Not enough credit' | 'Blocked' | 'Denied by callback' | 'Invalid callback' | 'Internal error' | 'Destination denied' | 'Network error or number unreachable' | 'Failed pending' | 'SMS delivery failure' | 'Invalid CLI' | 'Invalid code' | 'Expired' | 'Hung up without entering valid code';
@@ -0,0 +1,27 @@
1
+ import { CallResult, ReasonEnum, VerificationStatusEnum } from '../enums';
2
+ import { Identity } from '../identity';
3
+ import { VerificationPriceCall } from '../verification-price-call';
4
+ export interface CalloutVerificationStatusResponse {
5
+ /** The unique ID of the verification request. */
6
+ id?: string;
7
+ /** The method of the verification request. This will always be `callout`. */
8
+ method?: 'callout';
9
+ /** The status of the verification request. */
10
+ status?: VerificationStatusEnum;
11
+ /** Displays the reason why a verification has `FAILED`, was `DENIED`, or was `ABORTED`. */
12
+ reason?: ReasonEnum;
13
+ /** Shows whether the call is complete or not. */
14
+ callComplete?: boolean;
15
+ /** The result of the call. */
16
+ callResult?: CallResult;
17
+ /** The reference ID that was optionally passed together with the verification request. */
18
+ reference?: string;
19
+ /** Prices associated with this verification */
20
+ price?: VerificationPriceCall;
21
+ /** @see Identity */
22
+ identity?: Identity;
23
+ /** The ID of the country to which the verification was sent. */
24
+ countryId?: string;
25
+ /** The timestamp in UTC format. </br> **Note:** The formatting does not respect `ISO-8601` and the returned value has the format `YYYY-MM-DDThh:mm:ss.SSS`. If you need to parse this value into a specific date object in your programming language, please append `Z` (Zulu time = UTC) at the end of the date value to match the `ISO-8601` format: `YYYY-MM-DDThh:mm:ss.SSSZ`. */
26
+ verificationTimestamp?: Date;
27
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=callout-verification-status-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-verification-status-response.js","sourceRoot":"","sources":["../../../../src/models/v1/callout-verification-status-response/callout-verification-status-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './callout-verification-status-response';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./callout-verification-status-response"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/callout-verification-status-response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD"}
@@ -1,10 +1,8 @@
1
- export type { ActionEnum as CalloutRequestEventResponseActionEnum, } from './callout-request-event-response/callout-request-event-response';
2
- export type { ReasonEnum as CalloutVerificationReportResponseReasonEnum, } from './callout-verification-report-response/callout-verification-report-response';
3
- export type { ActionEnum as FlashCallRequestEventResponseActionEnum, } from './flashcall-request-event-response/flashcall-request-event-response';
4
- export type { ReasonEnum as FlashcallVerificationReportResponseReasonEnum, SourceEnum as FlashcallVerificationReportResponseSourceEnum, } from './flashcall-verification-report-response/flashcall-verification-report-response';
5
1
  export type { TypeEnum as IdentityTypeEnum } from './identity/identity';
6
- export type { ActionEnum as SMSRequestEventResponseActionEnum, } from './sms-request-event-response/sms-request-event-response';
7
- export type { ReasonEnum as SMSVerificationReportResponseReasonEnum, SourceEnum as SMSVerificationReportResponseSourceEnum, } from './sms-verification-report-response/sms-verification-report-response';
8
2
  export type { MethodEnum as VerificationRequestEventMethodEnum, } from './verification-request-event/verification-request-event';
9
- export type { MethodEnum as VerificationResultEventMethodEnum, ReasonEnum as VerificationResultEventReasonEnum, SourceEnum as VerificationResultEventSourceEnum, } from './verification-result-event/verification-result-event';
3
+ export type { MethodEnum as VerificationResultEventMethodEnum, } from './verification-result-event/verification-result-event';
4
+ export type ActionEnum = 'allow' | 'deny';
10
5
  export type VerificationStatusEnum = 'PENDING' | 'SUCCESSFUL' | 'FAIL' | 'DENIED' | 'ABORTED' | 'ERROR';
6
+ export type ReasonEnum = 'Fraud' | 'Not enough credit' | 'Blocked' | 'Denied by callback' | 'Invalid callback' | 'Internal error' | 'Destination denied' | 'Network error or number unreachable' | 'Failed pending' | 'SMS delivery failure' | 'Invalid CLI' | 'Invalid code' | 'Expired' | 'Hung up without entering valid code';
7
+ export type SourceEnum = 'intercepted' | 'manual';
8
+ export type CallResult = 'ANSWERED' | 'COMPLETED' | 'NO_ANSWER' | 'CANCEL' | 'BUSY' | 'FAILED' | string;
@@ -1,10 +1,10 @@
1
+ import { ActionEnum } from '../enums';
1
2
  export interface FlashCallRequestEventResponse {
2
3
  /** Determines whether the verification can be executed. */
3
4
  action?: ActionEnum;
4
5
  /** @see FlashCallContent */
5
6
  flashCall?: FlashCallContent;
6
7
  }
7
- export type ActionEnum = 'allow' | 'deny';
8
8
  interface FlashCallContent {
9
9
  /** The phone number that will be displayed to the user when the flashcall is received on the user\'s phone. By default, the Sinch dashboard will randomly select the CLI that will be displayed during a flashcall from a pool of numbers. If you want to set your own CLI, you can specify it in the response to the Verification Request Event. */
10
10
  cli?: string;
@@ -1,5 +1,4 @@
1
- import { VerificationReportResponsePrice } from '../verification-report-response-price';
2
- import { VerificationStatusEnum } from '../enums';
1
+ import { ReasonEnum, SourceEnum, VerificationStatusEnum } from '../enums';
3
2
  import { Identity } from '../identity';
4
3
  export interface FlashCallVerificationReportResponse {
5
4
  /** The unique ID of the verification request. */
@@ -12,20 +11,10 @@ export interface FlashCallVerificationReportResponse {
12
11
  reason?: ReasonEnum;
13
12
  /** The reference ID that was optionally passed together with the verification request. */
14
13
  reference?: string;
15
- /** @see VerificationReportResponsePrice */
16
- price?: VerificationReportResponsePrice;
17
14
  /** Free text that the client is sending, used to show if the call/SMS was intercepted or not. */
18
15
  source?: SourceEnum;
19
- /** */
16
+ /** @see Identity */
20
17
  identity?: Identity;
21
- /** */
22
- countryId?: string;
23
- /** */
24
- verificationTimestamp?: Date;
25
- /** */
18
+ /** Shows whether the call is complete or not. */
26
19
  callComplete?: boolean;
27
- /** */
28
- callResult?: string;
29
20
  }
30
- export type ReasonEnum = 'Fraud' | 'Not enough credit' | 'Blocked' | 'Denied by callback' | 'Invalid callback' | 'Internal error' | 'Destination denied' | 'Network error or number unreachable' | 'Failed pending' | 'SMS delivery failure' | 'Invalid CLI' | 'Invalid code' | 'Expired' | 'Hung up without entering valid code';
31
- export type SourceEnum = 'intercepted' | 'manual';
@@ -0,0 +1,29 @@
1
+ import { CallResult, ReasonEnum, SourceEnum, VerificationStatusEnum } from '../enums';
2
+ import { Identity } from '../identity';
3
+ import { VerificationPriceCall } from '../verification-price-call';
4
+ export interface FlashCallVerificationStatusResponse {
5
+ /** The unique ID of the verification request. */
6
+ id?: string;
7
+ /** The method of the verification request. This will always be `flashCall`. */
8
+ method?: 'flashcall';
9
+ /** The status of the verification request. */
10
+ status?: VerificationStatusEnum;
11
+ /** Displays the reason why a verification has `FAILED`, was `DENIED`, or was `ABORTED`. */
12
+ reason?: ReasonEnum;
13
+ /** Shows whether the call is complete or not. */
14
+ callComplete?: boolean;
15
+ /** The result of the call. */
16
+ callResult?: CallResult;
17
+ /** The reference ID that was optionally passed together with the verification request. */
18
+ reference?: string;
19
+ /** Prices associated with this verification */
20
+ price?: VerificationPriceCall;
21
+ /** @see Identity */
22
+ identity?: Identity;
23
+ /** The ID of the country to which the verification was sent. */
24
+ countryId?: string;
25
+ /** The timestamp in UTC format. </br> **Note:** The formatting does not respect `ISO-8601` and the returned value has the format `YYYY-MM-DDThh:mm:ss.SSS`. If you need to parse this value into a specific date object in your programming language, please append `Z` (Zulu time = UTC) at the end of the date value to match the `ISO-8601` format: `YYYY-MM-DDThh:mm:ss.SSSZ`. */
26
+ verificationTimestamp?: Date;
27
+ /** Free text that the client is sending, used to show if the call/SMS was intercepted or not. */
28
+ source?: SourceEnum;
29
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=flashcall-verification-status-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flashcall-verification-status-response.js","sourceRoot":"","sources":["../../../../src/models/v1/flashcall-verification-status-response/flashcall-verification-status-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './flashcall-verification-status-response';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./flashcall-verification-status-response"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/flashcall-verification-status-response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAyD"}
@@ -1,7 +1,8 @@
1
1
  import { ReportCalloutVerificationByIdentityRequestData, ReportCalloutVerificationByIdRequestData, ReportFlashCallVerificationByIdentityRequestData, ReportFlashCallVerificationByIdRequestData, ReportSmsVerificationByIdentityRequestData, ReportSmsVerificationByIdRequestData, StartCalloutVerificationRequestData, StartFlashCallVerificationRequestData, StartSeamlessVerificationRequestData, StartSmsVerificationRequestData } from './requests';
2
+ import { SmsOptions } from './start-verification-request';
2
3
  export declare const startVerificationHelper: {
3
- buildSmsRequest: (phoneNumber: string, reference?: string) => StartSmsVerificationRequestData;
4
- buildCalloutRequest: (phoneNumber: string, reference?: string) => StartCalloutVerificationRequestData;
4
+ buildSmsRequest: (phoneNumber: string, reference?: string, smsOptions?: SmsOptions) => StartSmsVerificationRequestData;
5
+ buildCalloutRequest: (phoneNumber: string, reference?: string, locale?: string) => StartCalloutVerificationRequestData;
5
6
  buildFlashCallRequest: (phoneNumber: string, reference?: string, dialTimeout?: number) => StartFlashCallVerificationRequestData;
6
7
  buildSeamlessRequest: (phoneNumber: string, reference?: string) => StartSeamlessVerificationRequestData;
7
8
  };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.reportVerificationByIdentityHelper = exports.reportVerificationByIdHelper = exports.startVerificationHelper = void 0;
4
4
  exports.startVerificationHelper = {
5
- buildSmsRequest: (phoneNumber, reference) => {
5
+ buildSmsRequest: (phoneNumber, reference, smsOptions) => {
6
6
  return {
7
7
  startVerificationWithSmsRequestBody: {
8
8
  identity: {
@@ -10,10 +10,15 @@ exports.startVerificationHelper = {
10
10
  endpoint: phoneNumber,
11
11
  },
12
12
  reference,
13
+ ...(smsOptions !== undefined) ? {
14
+ smsOptions: {
15
+ ...smsOptions,
16
+ },
17
+ } : {},
13
18
  },
14
19
  };
15
20
  },
16
- buildCalloutRequest: (phoneNumber, reference) => {
21
+ buildCalloutRequest: (phoneNumber, reference, locale) => {
17
22
  return {
18
23
  startVerificationWithCalloutRequestBody: {
19
24
  identity: {
@@ -21,6 +26,13 @@ exports.startVerificationHelper = {
21
26
  endpoint: phoneNumber,
22
27
  },
23
28
  reference,
29
+ ...(locale !== undefined) ? {
30
+ calloutOptions: {
31
+ speech: {
32
+ locale,
33
+ },
34
+ },
35
+ } : {},
24
36
  },
25
37
  };
26
38
  },
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/models/v1/helper.ts"],"names":[],"mappings":";;;AAaa,QAAA,uBAAuB,GAAG;IACrC,eAAe,EAAE,CACf,WAAmB,EACnB,SAAkB,EACe,EAAE;QACnC,OAAO;YACL,mCAAmC,EAAE;gBACnC,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,WAAW;iBACtB;gBACD,SAAS;aACV;SACF,CAAC;IACJ,CAAC;IACD,mBAAmB,EAAE,CACnB,WAAmB,EACnB,SAAkB,EACmB,EAAE;QACvC,OAAO;YACL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C;IACJ,CAAC;CACF,CAAC;AACW,QAAA,kCAAkC,GAAG;IAChD,eAAe,EAAE,CACf,QAAgB,EAChB,IAAY,EACZ,GAAY,EACgC,EAAE;QAC9C,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,0CAA0C,EAAE;gBAC1C,GAAG,EAAE;oBACH,IAAI;oBACJ,GAAG;iBACJ;aACF;SACF,CAAC;IACJ,CAAC;IACD,mBAAmB,EAAE,CACnB,QAAgB,EAChB,IAAY,EACoC,EAAE;QAClD,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,8CAA8C,EAAE;gBAC9C,OAAO,EAAE;oBACP,IAAI;iBACL;aACF;SACF,CAAC;IACJ,CAAC;IACD,qBAAqB,EAAE,CACrB,QAAgB,EAChB,GAAW,EACuC,EAAE;QACpD,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,gDAAgD,EAAE;gBAChD,SAAS,EAAE;oBACT,GAAG;iBACJ;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/models/v1/helper.ts"],"names":[],"mappings":";;;AAca,QAAA,uBAAuB,GAAG;IACrC,eAAe,EAAE,CACf,WAAmB,EACnB,SAAkB,EAClB,UAAuB,EACU,EAAE;QACnC,OAAO;YACL,mCAAmC,EAAE;gBACnC,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,WAAW;iBACtB;gBACD,SAAS;gBACT,GAAG,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC;oBAC9B,UAAU,EAAE;wBACV,GAAG,UAAU;qBACd;iBACF,CAAC,CAAC,CAAC,EAAE;aACP;SACF,CAAC;IACJ,CAAC;IACD,mBAAmB,EAAE,CACnB,WAAmB,EACnB,SAAkB,EAClB,MAAe,EACsB,EAAE;QACvC,OAAO;YACL,uCAAuC,EAAE;gBACvC,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBAC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AAO;YACL,EAAE;YACF,0CAA0C,EAAE;gBAC1C,SAAS,EAAE;oBACT,GAAG;iBACJ;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC;AACW,QAAA,kCAAkC,GAAG;IAChD,eAAe,EAAE,CACf,QAAgB,EAChB,IAAY,EACZ,GAAY,EACgC,EAAE;QAC9C,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,0CAA0C,EAAE;gBAC1C,GAAG,EAAE;oBACH,IAAI;oBACJ,GAAG;iBACJ;aACF;SACF,CAAC;IACJ,CAAC;IACD,mBAAmB,EAAE,CACnB,QAAgB,EAChB,IAAY,EACoC,EAAE;QAClD,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,8CAA8C,EAAE;gBAC9C,OAAO,EAAE;oBACP,IAAI;iBACL;aACF;SACF,CAAC;IACJ,CAAC;IACD,qBAAqB,EAAE,CACrB,QAAgB,EAChB,GAAW,EACuC,EAAE;QACpD,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,gDAAgD,EAAE;gBAChD,SAAS,EAAE;oBACT,GAAG;iBACJ;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC"}
@@ -2,8 +2,10 @@ export * from './callout-request-event-response';
2
2
  export * from './callout-request-event-response-callout';
3
3
  export * from './callout-request-event-response-callout-speech';
4
4
  export * from './callout-verification-report-response';
5
+ export * from './callout-verification-status-response';
5
6
  export * from './flashcall-request-event-response';
6
7
  export * from './flashcall-verification-report-response';
8
+ export * from './flashcall-verification-status-response';
7
9
  export * from './verification-report-response-price';
8
10
  export * from './identity';
9
11
  export * from './start-verification-request';
@@ -15,8 +17,11 @@ export * from './start-seamless-verification-response';
15
17
  export * from './start-sms-verification-response';
16
18
  export * from './sms-request-event-response';
17
19
  export * from './sms-verification-report-response';
20
+ export * from './sms-verification-status-response';
21
+ export * from './verification-price-call';
22
+ export * from './verification-price-sms';
18
23
  export * from './verification-report-request';
19
- export * from './verification-report-response';
24
+ export * from './verification-status-response';
20
25
  export * from './verification-request-event';
21
26
  export * from './verification-request-event-response';
22
27
  export * from './verification-result-event';
@@ -18,8 +18,10 @@ __exportStar(require("./callout-request-event-response"), exports);
18
18
  __exportStar(require("./callout-request-event-response-callout"), exports);
19
19
  __exportStar(require("./callout-request-event-response-callout-speech"), exports);
20
20
  __exportStar(require("./callout-verification-report-response"), exports);
21
+ __exportStar(require("./callout-verification-status-response"), exports);
21
22
  __exportStar(require("./flashcall-request-event-response"), exports);
22
23
  __exportStar(require("./flashcall-verification-report-response"), exports);
24
+ __exportStar(require("./flashcall-verification-status-response"), exports);
23
25
  __exportStar(require("./verification-report-response-price"), exports);
24
26
  __exportStar(require("./identity"), exports);
25
27
  __exportStar(require("./start-verification-request"), exports);
@@ -31,8 +33,11 @@ __exportStar(require("./start-seamless-verification-response"), exports);
31
33
  __exportStar(require("./start-sms-verification-response"), exports);
32
34
  __exportStar(require("./sms-request-event-response"), exports);
33
35
  __exportStar(require("./sms-verification-report-response"), exports);
36
+ __exportStar(require("./sms-verification-status-response"), exports);
37
+ __exportStar(require("./verification-price-call"), exports);
38
+ __exportStar(require("./verification-price-sms"), exports);
34
39
  __exportStar(require("./verification-report-request"), exports);
35
- __exportStar(require("./verification-report-response"), exports);
40
+ __exportStar(require("./verification-status-response"), exports);
36
41
  __exportStar(require("./verification-request-event"), exports);
37
42
  __exportStar(require("./verification-request-event-response"), exports);
38
43
  __exportStar(require("./verification-result-event"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,2EAAyD;AACzD,kFAAgE;AAChE,yEAAuD;AACvD,qEAAmD;AACnD,2EAAyD;AACzD,uEAAqD;AACrD,6CAA2B;AAC3B,+DAA6C;AAC7C,iDAA+B;AAC/B,0CAAwB;AACxB,0EAAwD;AACxD,wEAAsD;AACtD,yEAAuD;AACvD,oEAAkD;AAClD,+DAA6C;AAC7C,qEAAmD;AACnD,gEAA8C;AAC9C,iEAA+C;AAC/C,+DAA6C;AAC7C,wEAAsD;AACtD,8DAA4C;AAC5C,uEAAqD;AACrD,uDAAqC;AACrC,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,2EAAyD;AACzD,kFAAgE;AAChE,yEAAuD;AACvD,yEAAuD;AACvD,qEAAmD;AACnD,2EAAyD;AACzD,2EAAyD;AACzD,uEAAqD;AACrD,6CAA2B;AAC3B,+DAA6C;AAC7C,iDAA+B;AAC/B,0CAAwB;AACxB,0EAAwD;AACxD,wEAAsD;AACtD,yEAAuD;AACvD,oEAAkD;AAClD,+DAA6C;AAC7C,qEAAmD;AACnD,qEAAmD;AACnD,4DAA0C;AAC1C,2DAAyC;AACzC,gEAA8C;AAC9C,iEAA+C;AAC/C,+DAA6C;AAC7C,wEAAsD;AACtD,8DAA4C;AAC5C,uEAAqD;AACrD,uDAAqC;AACrC,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B"}
@@ -1,3 +1,4 @@
1
+ import { ActionEnum } from '../enums';
1
2
  export interface SMSRequestEventResponse {
2
3
  /** Determines whether the verification can be executed. */
3
4
  action?: ActionEnum;
@@ -10,5 +11,4 @@ interface SmsContent {
10
11
  /** List of strings */
11
12
  acceptLanguage?: string[];
12
13
  }
13
- export type ActionEnum = 'allow' | 'deny';
14
14
  export {};
@@ -1,6 +1,5 @@
1
- import { VerificationStatusEnum } from '../enums';
1
+ import { ReasonEnum, SourceEnum, VerificationStatusEnum } from '../enums';
2
2
  import { Identity } from '../identity';
3
- import { SMSVerificationReportResponsePrice } from '../verification-report-response-price';
4
3
  export interface SMSVerificationReportResponse {
5
4
  /** The unique ID of the verification request. */
6
5
  id?: string;
@@ -12,16 +11,8 @@ export interface SMSVerificationReportResponse {
12
11
  reason?: ReasonEnum;
13
12
  /** The reference ID that was optionally passed together with the verification request. */
14
13
  reference?: string;
15
- /** @see SMSVerificationReportResponsePrice */
16
- price?: SMSVerificationReportResponsePrice;
17
14
  /** Free text that the client is sending, used to show if the call/SMS was intercepted or not. */
18
15
  source?: SourceEnum;
19
- /** */
16
+ /** @see Identity */
20
17
  identity?: Identity;
21
- /** */
22
- countryId?: string;
23
- /** */
24
- verificationTimestamp?: Date;
25
18
  }
26
- export type ReasonEnum = 'Fraud' | 'Not enough credit' | 'Blocked' | 'Denied by callback' | 'Invalid callback' | 'Internal error' | 'Destination denied' | 'Network error or number unreachable' | 'Failed pending' | 'SMS delivery failure' | 'Invalid CLI' | 'Invalid code' | 'Expired' | 'Hung up without entering valid code';
27
- export type SourceEnum = 'intercepted' | 'manual';
@@ -0,0 +1 @@
1
+ export * from './sms-verification-status-response';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./sms-verification-status-response"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/sms-verification-status-response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD"}
@@ -0,0 +1,25 @@
1
+ import { ReasonEnum, SourceEnum, VerificationStatusEnum } from '../enums';
2
+ import { Identity } from '../identity';
3
+ import { VerificationPriceSMS } from '../verification-price-sms';
4
+ export interface SMSVerificationStatusResponse {
5
+ /** The unique ID of the verification request. */
6
+ id?: string;
7
+ /** The method of the verification request. This will always be `sms`. */
8
+ method?: 'sms';
9
+ /** The status of the verification request. */
10
+ status?: VerificationStatusEnum;
11
+ /** Displays the reason why a verification has `FAILED`, was `DENIED`, or was `ABORTED`. */
12
+ reason?: ReasonEnum;
13
+ /** The reference ID that was optionally passed together with the verification request. */
14
+ reference?: string;
15
+ /** Prices associated with this verification */
16
+ price?: VerificationPriceSMS;
17
+ /** @see Identity */
18
+ identity?: Identity;
19
+ /** The ID of the country to which the verification was sent. */
20
+ countryId?: string;
21
+ /** The timestamp in UTC format. </br> **Note:** The formatting does not respect `ISO-8601` and the returned value has the format `YYYY-MM-DDThh:mm:ss.SSS`. If you need to parse this value into a specific date object in your programming language, please append `Z` (Zulu time = UTC) at the end of the date value to match the `ISO-8601` format: `YYYY-MM-DDThh:mm:ss.SSSZ`. */
22
+ verificationTimestamp?: Date;
23
+ /** Free text that the client is sending, used to show if the call/SMS was intercepted or not. */
24
+ source?: SourceEnum;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sms-verification-status-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-verification-status-response.js","sourceRoot":"","sources":["../../../../src/models/v1/sms-verification-status-response/sms-verification-status-response.ts"],"names":[],"mappings":""}
@@ -3,7 +3,7 @@ export interface StartFlashCallVerificationResponse {
3
3
  /** Verification identifier used to query for status. */
4
4
  id?: string;
5
5
  /** The value of the method used for the Verification. For Flashcall Verifications, this will always be `flashCall`. */
6
- method?: 'flashCall';
6
+ method?: 'flashcall';
7
7
  /** The response contains the `cliFilter` and `interceptionTimeout` properties. */
8
8
  flashCall?: FlashCallContent;
9
9
  /** @see LinksObject */
@@ -1,3 +1,4 @@
1
+ import { LinksObject } from '../links-object';
1
2
  export interface StartSeamlessVerificationResponse {
2
3
  /** Verification identifier used to query for status. */
3
4
  id: string;
@@ -5,6 +6,8 @@ export interface StartSeamlessVerificationResponse {
5
6
  method?: 'seamless';
6
7
  /** The response contains the target URI. */
7
8
  seamless?: SeamlessContent;
9
+ /** @see LinksObject */
10
+ _links?: LinksObject[];
8
11
  }
9
12
  interface SeamlessContent {
10
13
  /** The target URI. */
@@ -1 +1 @@
1
- export type { StartVerificationBase, StartVerificationWithSms, StartVerificationWithFlashCall, StartVerificationWithCallout, StartSeamlessVerification, } from './start-verification-request';
1
+ export type { StartVerificationBase, StartVerificationWithSms, StartVerificationWithFlashCall, StartVerificationWithCallout, StartSeamlessVerification, SmsOptions, CodeType, CalloutOptions, CalloutOptionsSpeech, FlashCallOptions, } from './start-verification-request';
@@ -1,11 +1,15 @@
1
1
  import { Identity } from '../identity';
2
2
  export interface StartVerificationWithSms extends StartVerificationBase {
3
+ /** @see SmsOptions */
4
+ smsOptions?: SmsOptions;
3
5
  }
4
6
  export interface StartVerificationWithFlashCall extends StartVerificationBase {
5
7
  /** @see FlashCallOptions */
6
8
  flashCallOptions?: FlashCallOptions;
7
9
  }
8
10
  export interface StartVerificationWithCallout extends StartVerificationBase {
11
+ /** @see CalloutOptions */
12
+ calloutOptions?: CalloutOptions;
9
13
  }
10
14
  export interface StartSeamlessVerification extends StartVerificationBase {
11
15
  }
@@ -17,6 +21,18 @@ export interface StartVerificationBase {
17
21
  /** Can be used to pass custom data in the request. */
18
22
  custom?: string;
19
23
  }
24
+ /**
25
+ * An optional object for SMS Verification, with default values assumed for all contained values if not provided.
26
+ */
27
+ export interface SmsOptions {
28
+ /** The expiration time for a verification process is represented in the format `HH:MM:SS`. */
29
+ expiry?: Date | string;
30
+ /** Accepted values for the type of code to be generated are `Numeric`, `Alpha`, and `Alphanumeric`. Default is `Numeric`. */
31
+ codeType?: CodeType;
32
+ /** The SMS template must include a placeholder `{{CODE}}` where the verification code will be inserted, and it can otherwise be customized as desired. */
33
+ template?: string;
34
+ }
35
+ export type CodeType = 'Numeric' | 'Alpha' | 'Alphanumeric';
20
36
  /**
21
37
  * An optional object for flashCall verifications. It allows you to specify dial time out parameter for flashCall. FlashCallOptions object can be specified optionally, and only if the verification request was triggered from your backend (no SDK client) through an [Application signed request](/docs/voice/api-reference/authentication/signed-request).
22
38
  */
@@ -24,3 +40,17 @@ export interface FlashCallOptions {
24
40
  /** The dial timeout in seconds. */
25
41
  dialTimeout?: number;
26
42
  }
43
+ /**
44
+ * An optional object for Phone Call Verification, with default values assumed for all contained values if not provided.
45
+ */
46
+ export interface CalloutOptions {
47
+ /** @see CalloutOptionsSpeech */
48
+ speech?: CalloutOptionsSpeech;
49
+ }
50
+ /**
51
+ * Text-To-Speech engine settings
52
+ */
53
+ export interface CalloutOptionsSpeech {
54
+ /** A `language-region` identifier according to [IANA](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). Only a subset of those identifiers is accepted. */
55
+ locale?: string;
56
+ }
@@ -0,0 +1 @@
1
+ export * from './verification-price-call';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./verification-price-call"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-price-call/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
@@ -0,0 +1,12 @@
1
+ import { Price } from '../price';
2
+ /**
3
+ * Prices associated with this verification
4
+ */
5
+ export interface VerificationPriceCall {
6
+ /** The maximum price charged for this verification process. This property will appear in the body of the response with a delay. It will become visible only when the verification status is other than PENDING. */
7
+ verificationPrice?: Price;
8
+ /** The maximum cost of the call made during this verification process. Present only when termination debiting is enabled (disabled by default). This property will appear in the body of the response with a delay. It will become visible only after the call is completed, when its cost is known to Sinch. */
9
+ terminationPrice?: Price;
10
+ /** The time of the call for which the fee was charged. Present only when termination debiting is enabled (disabled by default). Depending on the type of rounding used, the value is the actual call time rounded to the nearest second, minute or other value. */
11
+ billableDuration?: number;
12
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=verification-report-response.js.map
3
+ //# sourceMappingURL=verification-price-call.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification-price-call.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-price-call/verification-price-call.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './verification-price-sms';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./verification-price-sms"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-price-sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
@@ -0,0 +1,8 @@
1
+ import { Price } from '../price';
2
+ /**
3
+ * Prices associated with this verification
4
+ */
5
+ export interface VerificationPriceSMS {
6
+ /** The maximum price charged for this verification process. This property will appear in the body of the response with a delay. It will become visible only when the verification status is other than PENDING. */
7
+ verificationPrice?: Price;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=verification-price-sms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification-price-sms.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-price-sms/verification-price-sms.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- export type { VerificationReportResponsePrice, SMSVerificationReportResponsePrice, } from './verification-report-response-price';
1
+ export type { VerificationReportResponsePrice, } from './verification-report-response-price';
@@ -1,5 +1,5 @@
1
1
  import { Identity } from '../identity';
2
- import { VerificationStatusEnum } from '../enums';
2
+ import { ReasonEnum, SourceEnum, VerificationStatusEnum } from '../enums';
3
3
  export interface VerificationResultEvent {
4
4
  /** The ID of the verification request. */
5
5
  id: string;
@@ -21,5 +21,3 @@ export interface VerificationResultEvent {
21
21
  custom?: string;
22
22
  }
23
23
  export type MethodEnum = 'sms' | 'flashcall' | 'callout' | 'seamless';
24
- export type ReasonEnum = 'Fraud' | 'Not enough credit' | 'Blocked' | 'Denied by callback' | 'Invalid callback' | 'Internal error' | 'Destination denied' | 'Network error or number unreachable' | 'Failed pending' | 'SMS delivery failure' | 'Invalid CLI' | 'Invalid code' | 'Expired' | 'Hung up without entering valid code';
25
- export type SourceEnum = 'intercepted' | 'manual';
@@ -0,0 +1 @@
1
+ export type { VerificationStatusResponse } from './verification-status-response';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-status-response/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { SMSVerificationStatusResponse } from '../sms-verification-status-response';
2
+ import { FlashCallVerificationStatusResponse } from '../flashcall-verification-status-response';
3
+ import { CalloutVerificationStatusResponse } from '../callout-verification-status-response';
4
+ export type VerificationStatusResponse = SMSVerificationStatusResponse | FlashCallVerificationStatusResponse | CalloutVerificationStatusResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=verification-status-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification-status-response.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-status-response/verification-status-response.ts"],"names":[],"mappings":""}
@@ -54,7 +54,7 @@ class VerificationDomainApi {
54
54
  if (!this.client) {
55
55
  const apiClientOptions = (0, sdk_client_1.buildApplicationSignedApiClientOptions)(this.sinchClientParameters, 'Verification');
56
56
  this.client = new sdk_client_1.ApiFetchClient(apiClientOptions);
57
- this.client.apiClientOptions.hostname = this.sinchClientParameters.verificationHostname ?? 'https://verification.api.sinch.com';
57
+ this.client.apiClientOptions.hostname = this.sinchClientParameters.verificationHostname ?? sdk_client_1.VERIFICATION_HOSTNAME;
58
58
  }
59
59
  return this.client;
60
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"verification-domain-api.js","sourceRoot":"","sources":["../../../src/rest/v1/verification-domain-api.ts"],"names":[],"mappings":";;;AAAA,kDAO2B;AAE3B,MAAa,qBAAqB;IAKhC,YAAY,qBAA4C,EAAE,OAAe;QACvE,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAA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,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;CACF;AA9DD,sDA8DC"}
1
+ {"version":3,"file":"verification-domain-api.js","sourceRoot":"","sources":["../../../src/rest/v1/verification-domain-api.ts"],"names":[],"mappings":";;;AAAA,kDAQ2B;AAE3B,MAAa,qBAAqB;IAKhC,YAAY,qBAA4C,EAAE,OAAe;QACvE,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED;;;OAGG;IACI,WAAW,CAAC,QAAgB;QACjC,IAAI,CAAC;YACH,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;YACpC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACnD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,0FAA0F,CAAC,CAAC;YAC1G,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACI,cAAc,CAAC,WAAmC;QACvD,MAAM,gBAAgB,GAAG,EAAE,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC3D,IAAI,CAAC,qBAAqB,GAAG;YAC3B,GAAG,gBAAgB;YACnB,GAAG,WAAW;SACf,CAAC;QACF,IAAI,CAAC,cAAc,EAAE,CAAC;QACtB,IAAI,CAAC;YACH,IAAI,CAAC,cAAc,EAAE,CAAC;QACxB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,kEAAkE,CAAC,CAAC;YAClF,IAAI,CAAC,qBAAqB,GAAG,gBAAgB,CAAC;YAC9C,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;IAEO,cAAc;QACpB,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;IAC1B,CAAC;IAED;;;;;OAKG;IACI,cAAc;QACnB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,MAAM,gBAAgB,GAAG,IAAA,mDAAsC,EAAC,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC;YAC5G,IAAI,CAAC,MAAM,GAAG,IAAI,2BAAc,CAAC,gBAAgB,CAAC,CAAC;YACnD,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,GAAG,IAAI,CAAC,qBAAqB,CAAC,oBAAoB,IAAI,kCAAqB,CAAC;QACnH,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;CACF;AA9DD,sDA8DC"}
@@ -1,5 +1,5 @@
1
1
  import { SinchClientParameters } from '@sinch/sdk-client';
2
- import { VerificationReportResponse, VerificationStatusByIdentityRequestData, VerificationStatusByIdRequestData, VerificationStatusByReferenceRequestData } from '../../../models';
2
+ import { VerificationStatusResponse, VerificationStatusByIdentityRequestData, VerificationStatusByIdRequestData, VerificationStatusByReferenceRequestData } from '../../../models';
3
3
  import { VerificationDomainApi } from '../verification-domain-api';
4
4
  export declare class VerificationStatusApi extends VerificationDomainApi {
5
5
  /**
@@ -13,17 +13,17 @@ export declare class VerificationStatusApi extends VerificationDomainApi {
13
13
  * Queries the verification result by sending the verification ID. With this query you can get the result of a verification.
14
14
  * @param { VerificationStatusByIdRequestData } data - The data to provide to the API call.
15
15
  */
16
- getById(data: VerificationStatusByIdRequestData): Promise<VerificationReportResponse>;
16
+ getById(data: VerificationStatusByIdRequestData): Promise<VerificationStatusResponse>;
17
17
  /**
18
18
  * Get verification by Identity
19
19
  * Queries the verification result by sending the verification Identity (usually a phone number) and its method. With this query you can get the result of a verification.
20
20
  * @param { VerificationStatusByIdentityRequestData } data - The data to provide to the API call.
21
21
  */
22
- getByIdentity(data: VerificationStatusByIdentityRequestData): Promise<VerificationReportResponse>;
22
+ getByIdentity(data: VerificationStatusByIdentityRequestData): Promise<VerificationStatusResponse>;
23
23
  /**
24
24
  * Get verification by Reference
25
25
  * Queries the verification result by sending the verification Reference. With this query you can get the result of a verification.
26
26
  * @param { VerificationStatusByReferenceRequestData } data - The data to provide to the API call.
27
27
  */
28
- getByReference(data: VerificationStatusByReferenceRequestData): Promise<VerificationReportResponse>;
28
+ getByReference(data: VerificationStatusByReferenceRequestData): Promise<VerificationStatusResponse>;
29
29
  }
@@ -1,17 +1,17 @@
1
1
  /// <reference types="jest" />
2
2
  import { VerificationStatusApi } from './verification-status-api';
3
- import { VerificationReportResponse, VerificationStatusByIdRequestData, VerificationStatusByIdentityRequestData, VerificationStatusByReferenceRequestData } from '../../../models';
3
+ import { VerificationStatusResponse, VerificationStatusByIdRequestData, VerificationStatusByIdentityRequestData, VerificationStatusByReferenceRequestData } from '../../../models';
4
4
  export declare class VerificationStatusApiFixture implements Partial<Readonly<VerificationStatusApi>> {
5
5
  /**
6
6
  * Fixture associated to function getById
7
7
  */
8
- getById: jest.Mock<Promise<VerificationReportResponse>, [VerificationStatusByIdRequestData]>;
8
+ getById: jest.Mock<Promise<VerificationStatusResponse>, [VerificationStatusByIdRequestData]>;
9
9
  /**
10
10
  * Fixture associated to function getByIdentity
11
11
  */
12
- getByIdentity: jest.Mock<Promise<VerificationReportResponse>, [VerificationStatusByIdentityRequestData]>;
12
+ getByIdentity: jest.Mock<Promise<VerificationStatusResponse>, [VerificationStatusByIdentityRequestData]>;
13
13
  /**
14
14
  * Fixture associated to function getByReference
15
15
  */
16
- getByReference: jest.Mock<Promise<VerificationReportResponse>, [VerificationStatusByReferenceRequestData]>;
16
+ getByReference: jest.Mock<Promise<VerificationStatusResponse>, [VerificationStatusByReferenceRequestData]>;
17
17
  }
@@ -1,4 +1,4 @@
1
- import { StartCalloutVerificationResponse, CalloutVerificationReportResponse, StartSeamlessVerificationResponse, StartFlashCallVerificationResponse, FlashCallVerificationReportResponse, StartSmsVerificationResponse, SMSVerificationReportResponse, ReportSmsVerificationByIdRequestData, ReportFlashCallVerificationByIdRequestData, ReportCalloutVerificationByIdRequestData, ReportSmsVerificationByIdentityRequestData, ReportFlashCallVerificationByIdentityRequestData, ReportCalloutVerificationByIdentityRequestData, StartSmsVerificationRequestData, StartFlashCallVerificationRequestData, StartCalloutVerificationRequestData, StartSeamlessVerificationRequestData } from '../../../models';
1
+ import { StartCalloutVerificationResponse, CalloutVerificationReportResponse, StartSeamlessVerificationResponse, StartFlashCallVerificationResponse, FlashCallVerificationReportResponse, StartSmsVerificationResponse, SMSVerificationReportResponse, ReportSmsVerificationByIdRequestData, ReportFlashCallVerificationByIdRequestData, ReportCalloutVerificationByIdRequestData, ReportSmsVerificationByIdentityRequestData, ReportFlashCallVerificationByIdentityRequestData, ReportCalloutVerificationByIdentityRequestData, StartSmsVerificationRequestData, StartFlashCallVerificationRequestData, StartCalloutVerificationRequestData, StartSeamlessVerificationRequestData, StartVerificationWithSms } from '../../../models';
2
2
  import { SinchClientParameters } from '@sinch/sdk-client';
3
3
  import { VerificationDomainApi } from '../verification-domain-api';
4
4
  export declare class VerificationsApi extends VerificationDomainApi {
@@ -50,6 +50,8 @@ export declare class VerificationsApi extends VerificationDomainApi {
50
50
  * @param { StartSmsVerificationRequestData } data - The data to provide to the API call.
51
51
  */
52
52
  startSms(data: StartSmsVerificationRequestData): Promise<StartSmsVerificationResponse>;
53
+ performStartSmsRequestBodyTransformation(body: StartVerificationWithSms): StartVerificationWithSms;
54
+ formatTime(date: Date): string;
53
55
  /**
54
56
  * Start verification with a FlashCall
55
57
  * This method is used by the mobile and web Verification SDKs to start a verification. It can also be used to request a verification from your backend, by making a request.
@@ -186,8 +186,10 @@ class VerificationsApi extends verification_domain_api_1.VerificationDomainApi {
186
186
  'Content-Type': 'application/json; charset=UTF-8',
187
187
  'Accept': 'application/json',
188
188
  };
189
- const body = data['startVerificationWithSmsRequestBody']
190
- ? JSON.stringify(data['startVerificationWithSmsRequestBody'])
189
+ // Special fields handling: see method for details
190
+ const requestDataBody = this.performStartSmsRequestBodyTransformation(data.startVerificationWithSmsRequestBody);
191
+ const body = requestDataBody
192
+ ? JSON.stringify(requestDataBody)
191
193
  : '{}';
192
194
  const path = '/verification/v1/verifications';
193
195
  const basePathUrl = this.client.apiClientOptions.hostname + path;
@@ -200,6 +202,24 @@ class VerificationsApi extends verification_domain_api_1.VerificationDomainApi {
200
202
  operationId: 'StartVerificationWithSms',
201
203
  });
202
204
  }
205
+ performStartSmsRequestBodyTransformation(body) {
206
+ const requestDataBody = { ...body };
207
+ if (requestDataBody.smsOptions?.expiry !== undefined) {
208
+ const expiry = requestDataBody.smsOptions?.expiry;
209
+ if (expiry instanceof Date) {
210
+ requestDataBody.smsOptions.expiry = this.formatTime(expiry);
211
+ }
212
+ }
213
+ return requestDataBody;
214
+ }
215
+ formatTime(date) {
216
+ // Assume the hours needs to be set at the UTC time + Pad single-digit components with leading zeros
217
+ const formattedHours = String(date.getUTCHours()).padStart(2, '0');
218
+ const formattedMinutes = String(date.getUTCMinutes()).padStart(2, '0');
219
+ const formattedSeconds = String(date.getUTCSeconds()).padStart(2, '0');
220
+ // Concatenate the components with colons to form the formatted time string
221
+ return `${formattedHours}:${formattedMinutes}:${formattedSeconds}`;
222
+ }
203
223
  /**
204
224
  * Start verification with a FlashCall
205
225
  * This method is used by the mobile and web Verification SDKs to start a verification. It can also be used to request a verification from your backend, by making a request.
@@ -1 +1 @@
1
- {"version":3,"file":"verifications-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/verifications/verifications-api.ts"],"names":[],"mappings":";;;AAuBA,wEAAmE;AAEnE,MAAa,gBAAiB,SAAQ,+CAAqB;IAEzD;;;;OAIG;IACH,YAAY,qBAA4C;QACtD,KAAK,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAC;IACnD,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,aAAa,CAAC,IAA0C;QACnE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACnC,IAAI,CAAC,oCAA4C,CAAC,MAAM,GAAG,KAAK,CAAC;QAClE,MAAM,SAAS,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QACvE,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAuC,IAAI,EAAE,EAAa,CAAC,CAAC;QAC5G,MAAM,OAAO,GAA0C;YACrD,cAAc,EAAE,iCAAiC;YACjD,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;QAEF,MAAM,IAAI,GAAgB,IAAI,CAAC,sCAAsC,CAAC;YACpE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YAC9D,CAAC,CAAC,IAAI,CAAC;QACT,MAAM,IAAI,GAAG,gCAAgC,CAAC;QAC9C,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,GAAG,IAAI,CAAC;QAEjE,MAAM,cAAc,GAChB,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,IAAI,CAAC,CAAC;QACvG,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAoC;YAChE,GAAG;YACH,cAAc;YACd,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,2BAA2B;SACzC,CAAC,CAAC;IACL,CAAC;CAEF;AA3VD,4CA2VC"}
1
+ {"version":3,"file":"verifications-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/verifications/verifications-api.ts"],"names":[],"mappings":";;;AAwBA,wEAAmE;AAEnE,MAAa,gBAAiB,SAAQ,+CAAqB;IAEzD;;;;OAIG;IACH,YAAY,qBAA4C;QACtD,KAAK,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAC;IACnD,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,aAAa,CAAC,IAA0C;QACnE,I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kB;SAC7B,CAAC;QAEF,MAAM,IAAI,GAAgB,IAAI,CAAC,sCAAsC,CAAC;YACpE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YAC9D,CAAC,CAAC,IAAI,CAAC;QACT,MAAM,IAAI,GAAG,gCAAgC,CAAC;QAC9C,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,GAAG,IAAI,CAAC;QAEjE,MAAM,cAAc,GAChB,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,IAAI,CAAC,CAAC;QACvG,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAoC;YAChE,GAAG;YACH,cAAc;YACd,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,2BAA2B;SACzC,CAAC,CAAC;IACL,CAAC;CAEF;AApXD,4CAoXC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinch/verification",
3
- "version": "0.0.5",
3
+ "version": "1.1.0",
4
4
  "description": "Sinch Verification API",
5
5
  "homepage": "",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
29
29
  },
30
30
  "dependencies": {
31
- "@sinch/sdk-client": "^0.0.5"
31
+ "@sinch/sdk-client": "^1.1.0"
32
32
  },
33
33
  "devDependencies": {},
34
34
  "publishConfig": {
@@ -1 +0,0 @@
1
- export type { VerificationReportResponse } from './verification-report-response';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-response/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { CalloutVerificationReportResponse } from '../callout-verification-report-response';
2
- import { FlashCallVerificationReportResponse } from '../flashcall-verification-report-response';
3
- import { SMSVerificationReportResponse } from '../sms-verification-report-response';
4
- export type VerificationReportResponse = SMSVerificationReportResponse | FlashCallVerificationReportResponse | CalloutVerificationReportResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"verification-report-response.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-response/verification-report-response.ts"],"names":[],"mappings":""}