@sinch/verification 0.0.1 → 0.0.3
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.
- package/README.md +29 -24
- package/dist/models/v1/callout-request-event-response/callout-request-event-response.d.ts +0 -6
- package/dist/models/v1/callout-request-event-response/callout-request-event-response.js +0 -6
- package/dist/models/v1/callout-request-event-response/callout-request-event-response.js.map +1 -1
- package/dist/models/v1/callout-request-event-response-callout/callout-request-event-response-callout.d.ts +0 -6
- package/dist/models/v1/callout-request-event-response-callout/callout-request-event-response-callout.js +0 -6
- package/dist/models/v1/callout-request-event-response-callout/callout-request-event-response-callout.js.map +1 -1
- package/dist/models/v1/callout-request-event-response-callout-speech/callout-request-event-response-callout-speech.d.ts +0 -6
- package/dist/models/v1/callout-request-event-response-callout-speech/callout-request-event-response-callout-speech.js +0 -6
- package/dist/models/v1/callout-request-event-response-callout-speech/callout-request-event-response-callout-speech.js.map +1 -1
- package/dist/models/v1/callout-verification-report-response/callout-verification-report-response.d.ts +4 -11
- package/dist/models/v1/callout-verification-report-response/callout-verification-report-response.js +0 -6
- package/dist/models/v1/callout-verification-report-response/callout-verification-report-response.js.map +1 -1
- package/dist/models/v1/enums.d.ts +4 -12
- package/dist/models/v1/{flash-call-request-event-response-flash-call/flash-call-request-event-response-flash-call.d.ts → flashcall-request-event-response/flashcall-request-event-response.d.ts} +9 -7
- package/dist/models/v1/flashcall-request-event-response/flashcall-request-event-response.js +3 -0
- package/dist/models/v1/flashcall-request-event-response/flashcall-request-event-response.js.map +1 -0
- package/dist/models/v1/flashcall-request-event-response/index.d.ts +1 -0
- package/dist/models/v1/flashcall-request-event-response/index.js.map +1 -0
- package/dist/models/v1/flashcall-verification-report-response/flashcall-verification-report-response.d.ts +6 -13
- package/dist/models/v1/flashcall-verification-report-response/flashcall-verification-report-response.js +0 -6
- package/dist/models/v1/flashcall-verification-report-response/flashcall-verification-report-response.js.map +1 -1
- package/dist/models/v1/flashcall-verification-report-response/index.d.ts +1 -1
- package/dist/models/v1/helper.d.ts +13 -0
- package/dist/models/v1/helper.js +117 -0
- package/dist/models/v1/helper.js.map +1 -0
- package/dist/models/v1/identity/identity.d.ts +0 -6
- package/dist/models/v1/identity/identity.js +0 -6
- package/dist/models/v1/identity/identity.js.map +1 -1
- package/dist/models/v1/index.d.ts +9 -24
- package/dist/models/v1/index.js +9 -24
- package/dist/models/v1/index.js.map +1 -1
- package/dist/models/v1/links-object/links-object.d.ts +0 -6
- package/dist/models/v1/links-object/links-object.js +0 -6
- package/dist/models/v1/links-object/links-object.js.map +1 -1
- package/dist/models/v1/price/price.d.ts +0 -6
- package/dist/models/v1/price/price.js +0 -6
- package/dist/models/v1/price/price.js.map +1 -1
- package/dist/models/v1/sms-request-event-response/sms-request-event-response.d.ts +9 -9
- package/dist/models/v1/sms-request-event-response/sms-request-event-response.js +0 -6
- package/dist/models/v1/sms-request-event-response/sms-request-event-response.js.map +1 -1
- package/dist/models/v1/sms-verification-report-response/sms-verification-report-response.d.ts +2 -9
- package/dist/models/v1/sms-verification-report-response/sms-verification-report-response.js +0 -6
- package/dist/models/v1/sms-verification-report-response/sms-verification-report-response.js.map +1 -1
- package/dist/models/v1/start-callout-verification-response/index.d.ts +1 -0
- package/dist/models/v1/start-callout-verification-response/index.js.map +1 -0
- package/dist/models/v1/{callout-initiate-verification-response/callout-initiate-verification-response.d.ts → start-callout-verification-response/start-callout-verification-response.d.ts} +3 -10
- package/dist/models/v1/start-callout-verification-response/start-callout-verification-response.js +3 -0
- package/dist/models/v1/start-callout-verification-response/start-callout-verification-response.js.map +1 -0
- package/dist/models/v1/start-flashcall-verification-response/index.d.ts +1 -0
- package/dist/models/v1/start-flashcall-verification-response/index.js.map +1 -0
- package/dist/models/v1/start-flashcall-verification-response/start-flashcall-verification-response.d.ts +22 -0
- package/dist/models/v1/start-flashcall-verification-response/start-flashcall-verification-response.js +3 -0
- package/dist/models/v1/start-flashcall-verification-response/start-flashcall-verification-response.js.map +1 -0
- package/dist/models/v1/start-seamless-verification-response/index.d.ts +1 -0
- package/dist/models/v1/start-seamless-verification-response/index.js.map +1 -0
- package/dist/models/v1/start-seamless-verification-response/start-seamless-verification-response.d.ts +13 -0
- package/dist/models/v1/start-seamless-verification-response/start-seamless-verification-response.js +3 -0
- package/dist/models/v1/start-seamless-verification-response/start-seamless-verification-response.js.map +1 -0
- package/dist/models/v1/start-sms-verification-response/index.d.ts +1 -0
- package/dist/models/v1/start-sms-verification-response/index.js.map +1 -0
- package/dist/models/v1/start-sms-verification-response/start-sms-verification-response.d.ts +18 -0
- package/dist/models/v1/start-sms-verification-response/start-sms-verification-response.js +3 -0
- package/dist/models/v1/start-sms-verification-response/start-sms-verification-response.js.map +1 -0
- package/dist/models/v1/start-verification-request/index.d.ts +1 -0
- package/dist/models/v1/start-verification-request/index.js.map +1 -0
- package/dist/models/v1/start-verification-request/start-verification-request.d.ts +26 -0
- package/dist/models/v1/start-verification-request/start-verification-request.js +3 -0
- package/dist/models/v1/start-verification-request/start-verification-request.js.map +1 -0
- package/dist/models/v1/verification-error/verification-error.d.ts +0 -6
- package/dist/models/v1/verification-error/verification-error.js +0 -6
- package/dist/models/v1/verification-error/verification-error.js.map +1 -1
- package/dist/models/v1/verification-report-request/index.d.ts +1 -1
- package/dist/models/v1/verification-report-request/verification-report-request.d.ts +27 -10
- package/dist/models/v1/verification-report-request/verification-report-request.js +0 -6
- package/dist/models/v1/verification-report-request/verification-report-request.js.map +1 -1
- package/dist/models/v1/verification-report-response/verification-report-response.d.ts +2 -8
- package/dist/models/v1/verification-report-response/verification-report-response.js +0 -6
- package/dist/models/v1/verification-report-response/verification-report-response.js.map +1 -1
- package/dist/models/v1/verification-report-response-price/index.d.ts +1 -0
- package/dist/models/v1/verification-report-response-price/index.js.map +1 -0
- package/dist/models/v1/{flashcall-verification-report-response-price/flashcall-verification-report-response-price.d.ts → verification-report-response-price/verification-report-response-price.d.ts} +8 -7
- package/dist/models/v1/verification-report-response-price/verification-report-response-price.js +3 -0
- package/dist/models/v1/verification-report-response-price/verification-report-response-price.js.map +1 -0
- package/dist/models/v1/verification-request-event/verification-request-event.d.ts +5 -11
- package/dist/models/v1/verification-request-event/verification-request-event.js +0 -6
- package/dist/models/v1/verification-request-event/verification-request-event.js.map +1 -1
- package/dist/models/v1/verification-request-event-response/verification-request-event-response.d.ts +1 -7
- package/dist/models/v1/verification-request-event-response/verification-request-event-response.js +0 -6
- package/dist/models/v1/verification-request-event-response/verification-request-event-response.js.map +1 -1
- package/dist/models/v1/verification-result-event/verification-result-event.d.ts +0 -6
- package/dist/models/v1/verification-result-event/verification-result-event.js +0 -6
- package/dist/models/v1/verification-result-event/verification-result-event.js.map +1 -1
- package/dist/models/v1/verification-result-event-response/verification-result-event-response.d.ts +1 -7
- package/dist/models/v1/verification-result-event-response/verification-result-event-response.js +0 -6
- package/dist/models/v1/verification-result-event-response/verification-result-event-response.js.map +1 -1
- package/dist/rest/v1/callbacks/callbacks-webhook.d.ts +23 -1
- package/dist/rest/v1/callbacks/callbacks-webhook.js +40 -14
- package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -1
- package/dist/rest/v1/index.d.ts +1 -1
- package/dist/rest/v1/index.js +1 -1
- package/dist/rest/v1/index.js.map +1 -1
- package/dist/rest/v1/{verification-api.d.ts → verification-domain-api.d.ts} +1 -1
- package/dist/rest/v1/{verification-api.js → verification-domain-api.js} +4 -4
- package/dist/rest/v1/verification-domain-api.js.map +1 -0
- package/dist/rest/v1/{verification.d.ts → verification-service.d.ts} +1 -7
- package/dist/rest/v1/{verification.js → verification-service.js} +4 -4
- package/dist/rest/v1/verification-service.js.map +1 -0
- package/dist/rest/v1/verification-status/verification-status-api.d.ts +2 -2
- package/dist/rest/v1/verification-status/verification-status-api.jest.fixture.d.ts +3 -3
- package/dist/rest/v1/verification-status/verification-status-api.jest.fixture.js +3 -3
- package/dist/rest/v1/verification-status/verification-status-api.js +2 -2
- package/dist/rest/v1/verification-status/verification-status-api.js.map +1 -1
- package/dist/rest/v1/verifications/verifications-api.d.ts +97 -22
- package/dist/rest/v1/verifications/verifications-api.jest.fixture.d.ts +56 -8
- package/dist/rest/v1/verifications/verifications-api.jest.fixture.js +34 -6
- package/dist/rest/v1/verifications/verifications-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/verifications/verifications-api.js +216 -18
- package/dist/rest/v1/verifications/verifications-api.js.map +1 -1
- package/package.json +2 -2
- package/dist/models/v1/callout-initiate-verification-response/callout-initiate-verification-response.js +0 -9
- package/dist/models/v1/callout-initiate-verification-response/callout-initiate-verification-response.js.map +0 -1
- package/dist/models/v1/callout-initiate-verification-response/index.d.ts +0 -1
- package/dist/models/v1/callout-initiate-verification-response/index.js.map +0 -1
- package/dist/models/v1/callout-verification-report-request/callout-verification-report-request.d.ts +0 -14
- package/dist/models/v1/callout-verification-report-request/callout-verification-report-request.js +0 -9
- package/dist/models/v1/callout-verification-report-request/callout-verification-report-request.js.map +0 -1
- package/dist/models/v1/callout-verification-report-request/index.d.ts +0 -1
- package/dist/models/v1/callout-verification-report-request/index.js.map +0 -1
- package/dist/models/v1/callout-verification-report-request-callout/callout-verification-report-request-callout.d.ts +0 -13
- package/dist/models/v1/callout-verification-report-request-callout/callout-verification-report-request-callout.js +0 -9
- package/dist/models/v1/callout-verification-report-request-callout/callout-verification-report-request-callout.js.map +0 -1
- package/dist/models/v1/callout-verification-report-request-callout/index.d.ts +0 -1
- package/dist/models/v1/callout-verification-report-request-callout/index.js.map +0 -1
- package/dist/models/v1/data-initiate-verification-response/data-initiate-verification-response.d.ts +0 -19
- package/dist/models/v1/data-initiate-verification-response/data-initiate-verification-response.js +0 -9
- package/dist/models/v1/data-initiate-verification-response/data-initiate-verification-response.js.map +0 -1
- package/dist/models/v1/data-initiate-verification-response/index.d.ts +0 -1
- package/dist/models/v1/data-initiate-verification-response/index.js.map +0 -1
- package/dist/models/v1/data-initiate-verification-response-seamless/data-initiate-verification-response-seamless.d.ts +0 -13
- package/dist/models/v1/data-initiate-verification-response-seamless/data-initiate-verification-response-seamless.js +0 -9
- package/dist/models/v1/data-initiate-verification-response-seamless/data-initiate-verification-response-seamless.js.map +0 -1
- package/dist/models/v1/data-initiate-verification-response-seamless/index.d.ts +0 -1
- package/dist/models/v1/data-initiate-verification-response-seamless/index.js.map +0 -1
- package/dist/models/v1/flash-call-initiate-verification-response/flash-call-initiate-verification-response.d.ts +0 -19
- package/dist/models/v1/flash-call-initiate-verification-response/flash-call-initiate-verification-response.js +0 -9
- package/dist/models/v1/flash-call-initiate-verification-response/flash-call-initiate-verification-response.js.map +0 -1
- package/dist/models/v1/flash-call-initiate-verification-response/index.d.ts +0 -1
- package/dist/models/v1/flash-call-initiate-verification-response/index.js.map +0 -1
- package/dist/models/v1/flash-call-initiate-verification-response-flash-call/flash-call-initiate-verification-response-flash-call.d.ts +0 -19
- package/dist/models/v1/flash-call-initiate-verification-response-flash-call/flash-call-initiate-verification-response-flash-call.js +0 -9
- package/dist/models/v1/flash-call-initiate-verification-response-flash-call/flash-call-initiate-verification-response-flash-call.js.map +0 -1
- package/dist/models/v1/flash-call-initiate-verification-response-flash-call/index.d.ts +0 -1
- package/dist/models/v1/flash-call-initiate-verification-response-flash-call/index.js.map +0 -1
- package/dist/models/v1/flash-call-request-event-response/flash-call-request-event-response.d.ts +0 -14
- package/dist/models/v1/flash-call-request-event-response/flash-call-request-event-response.js +0 -9
- package/dist/models/v1/flash-call-request-event-response/flash-call-request-event-response.js.map +0 -1
- package/dist/models/v1/flash-call-request-event-response/index.d.ts +0 -1
- package/dist/models/v1/flash-call-request-event-response/index.js +0 -3
- package/dist/models/v1/flash-call-request-event-response/index.js.map +0 -1
- package/dist/models/v1/flash-call-request-event-response-flash-call/flash-call-request-event-response-flash-call.js +0 -9
- package/dist/models/v1/flash-call-request-event-response-flash-call/flash-call-request-event-response-flash-call.js.map +0 -1
- package/dist/models/v1/flash-call-request-event-response-flash-call/index.d.ts +0 -1
- package/dist/models/v1/flash-call-request-event-response-flash-call/index.js +0 -3
- package/dist/models/v1/flash-call-request-event-response-flash-call/index.js.map +0 -1
- package/dist/models/v1/flashcall-verification-report-request/flashcall-verification-report-request.d.ts +0 -14
- package/dist/models/v1/flashcall-verification-report-request/flashcall-verification-report-request.js +0 -9
- package/dist/models/v1/flashcall-verification-report-request/flashcall-verification-report-request.js.map +0 -1
- package/dist/models/v1/flashcall-verification-report-request/index.d.ts +0 -1
- package/dist/models/v1/flashcall-verification-report-request/index.js +0 -3
- package/dist/models/v1/flashcall-verification-report-request/index.js.map +0 -1
- package/dist/models/v1/flashcall-verification-report-request-flash-call/flashcall-verification-report-request-flash-call.d.ts +0 -13
- package/dist/models/v1/flashcall-verification-report-request-flash-call/flashcall-verification-report-request-flash-call.js +0 -9
- package/dist/models/v1/flashcall-verification-report-request-flash-call/flashcall-verification-report-request-flash-call.js.map +0 -1
- package/dist/models/v1/flashcall-verification-report-request-flash-call/index.d.ts +0 -1
- package/dist/models/v1/flashcall-verification-report-request-flash-call/index.js +0 -3
- package/dist/models/v1/flashcall-verification-report-request-flash-call/index.js.map +0 -1
- package/dist/models/v1/flashcall-verification-report-response-price/flashcall-verification-report-response-price.js +0 -9
- package/dist/models/v1/flashcall-verification-report-response-price/flashcall-verification-report-response-price.js.map +0 -1
- package/dist/models/v1/flashcall-verification-report-response-price/index.d.ts +0 -1
- package/dist/models/v1/flashcall-verification-report-response-price/index.js +0 -3
- package/dist/models/v1/flashcall-verification-report-response-price/index.js.map +0 -1
- package/dist/models/v1/initiate-verification-resource/index.d.ts +0 -1
- package/dist/models/v1/initiate-verification-resource/index.js +0 -3
- package/dist/models/v1/initiate-verification-resource/index.js.map +0 -1
- package/dist/models/v1/initiate-verification-resource/initiate-verification-resource.d.ts +0 -21
- package/dist/models/v1/initiate-verification-resource/initiate-verification-resource.js +0 -9
- package/dist/models/v1/initiate-verification-resource/initiate-verification-resource.js.map +0 -1
- package/dist/models/v1/initiate-verification-resource-flash-call-options/index.d.ts +0 -1
- package/dist/models/v1/initiate-verification-resource-flash-call-options/index.js +0 -3
- package/dist/models/v1/initiate-verification-resource-flash-call-options/index.js.map +0 -1
- package/dist/models/v1/initiate-verification-resource-flash-call-options/initiate-verification-resource-flash-call-options.d.ts +0 -13
- package/dist/models/v1/initiate-verification-resource-flash-call-options/initiate-verification-resource-flash-call-options.js +0 -9
- package/dist/models/v1/initiate-verification-resource-flash-call-options/initiate-verification-resource-flash-call-options.js.map +0 -1
- package/dist/models/v1/initiate-verification-response/index.d.ts +0 -1
- package/dist/models/v1/initiate-verification-response/index.js +0 -3
- package/dist/models/v1/initiate-verification-response/index.js.map +0 -1
- package/dist/models/v1/initiate-verification-response/initiate-verification-response.d.ts +0 -11
- package/dist/models/v1/initiate-verification-response/initiate-verification-response.js +0 -9
- package/dist/models/v1/initiate-verification-response/initiate-verification-response.js.map +0 -1
- package/dist/models/v1/sms-initiate-verification-response/index.d.ts +0 -1
- package/dist/models/v1/sms-initiate-verification-response/index.js +0 -3
- package/dist/models/v1/sms-initiate-verification-response/index.js.map +0 -1
- package/dist/models/v1/sms-initiate-verification-response/sms-initiate-verification-response.d.ts +0 -19
- package/dist/models/v1/sms-initiate-verification-response/sms-initiate-verification-response.js +0 -9
- package/dist/models/v1/sms-initiate-verification-response/sms-initiate-verification-response.js.map +0 -1
- package/dist/models/v1/sms-initiate-verification-response-sms/index.d.ts +0 -1
- package/dist/models/v1/sms-initiate-verification-response-sms/index.js +0 -3
- package/dist/models/v1/sms-initiate-verification-response-sms/index.js.map +0 -1
- package/dist/models/v1/sms-initiate-verification-response-sms/sms-initiate-verification-response-sms.d.ts +0 -15
- package/dist/models/v1/sms-initiate-verification-response-sms/sms-initiate-verification-response-sms.js +0 -9
- package/dist/models/v1/sms-initiate-verification-response-sms/sms-initiate-verification-response-sms.js.map +0 -1
- package/dist/models/v1/sms-request-event-response-sms/index.d.ts +0 -1
- package/dist/models/v1/sms-request-event-response-sms/index.js +0 -3
- package/dist/models/v1/sms-request-event-response-sms/index.js.map +0 -1
- package/dist/models/v1/sms-request-event-response-sms/sms-request-event-response-sms.d.ts +0 -12
- package/dist/models/v1/sms-request-event-response-sms/sms-request-event-response-sms.js +0 -9
- package/dist/models/v1/sms-request-event-response-sms/sms-request-event-response-sms.js.map +0 -1
- package/dist/models/v1/sms-verification-report-request/index.d.ts +0 -1
- package/dist/models/v1/sms-verification-report-request/index.js +0 -3
- package/dist/models/v1/sms-verification-report-request/index.js.map +0 -1
- package/dist/models/v1/sms-verification-report-request/sms-verification-report-request.d.ts +0 -14
- package/dist/models/v1/sms-verification-report-request/sms-verification-report-request.js +0 -9
- package/dist/models/v1/sms-verification-report-request/sms-verification-report-request.js.map +0 -1
- package/dist/models/v1/sms-verification-report-request-sms/index.d.ts +0 -1
- package/dist/models/v1/sms-verification-report-request-sms/index.js +0 -3
- package/dist/models/v1/sms-verification-report-request-sms/index.js.map +0 -1
- package/dist/models/v1/sms-verification-report-request-sms/sms-verification-report-request-sms.d.ts +0 -15
- package/dist/models/v1/sms-verification-report-request-sms/sms-verification-report-request-sms.js +0 -9
- package/dist/models/v1/sms-verification-report-request-sms/sms-verification-report-request-sms.js.map +0 -1
- package/dist/models/v1/sms-verification-report-response-price/index.d.ts +0 -1
- package/dist/models/v1/sms-verification-report-response-price/index.js +0 -3
- package/dist/models/v1/sms-verification-report-response-price/index.js.map +0 -1
- package/dist/models/v1/sms-verification-report-response-price/sms-verification-report-response-price.d.ts +0 -14
- package/dist/models/v1/sms-verification-report-response-price/sms-verification-report-response-price.js +0 -9
- package/dist/models/v1/sms-verification-report-response-price/sms-verification-report-response-price.js.map +0 -1
- package/dist/models/v1/verification-request-event-price/index.d.ts +0 -1
- package/dist/models/v1/verification-request-event-price/index.js +0 -3
- package/dist/models/v1/verification-request-event-price/index.js.map +0 -1
- package/dist/models/v1/verification-request-event-price/verification-request-event-price.d.ts +0 -15
- package/dist/models/v1/verification-request-event-price/verification-request-event-price.js +0 -9
- package/dist/models/v1/verification-request-event-price/verification-request-event-price.js.map +0 -1
- package/dist/models/v1/verification-response/index.d.ts +0 -1
- package/dist/models/v1/verification-response/index.js +0 -3
- package/dist/models/v1/verification-response/index.js.map +0 -1
- package/dist/models/v1/verification-response/verification-response.d.ts +0 -10
- package/dist/models/v1/verification-response/verification-response.js +0 -9
- package/dist/models/v1/verification-response/verification-response.js.map +0 -1
- package/dist/rest/v1/verification-api.js.map +0 -1
- package/dist/rest/v1/verification.js.map +0 -1
- /package/dist/models/v1/{callout-initiate-verification-response → flashcall-request-event-response}/index.js +0 -0
- /package/dist/models/v1/{callout-verification-report-request-callout → start-callout-verification-response}/index.js +0 -0
- /package/dist/models/v1/{callout-verification-report-request → start-flashcall-verification-response}/index.js +0 -0
- /package/dist/models/v1/{data-initiate-verification-response-seamless → start-seamless-verification-response}/index.js +0 -0
- /package/dist/models/v1/{data-initiate-verification-response → start-sms-verification-response}/index.js +0 -0
- /package/dist/models/v1/{flash-call-initiate-verification-response-flash-call → start-verification-request}/index.js +0 -0
- /package/dist/models/v1/{flash-call-initiate-verification-response → verification-report-response-price}/index.js +0 -0
package/dist/models/v1/index.js
CHANGED
|
@@ -14,45 +14,30 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./callout-initiate-verification-response"), exports);
|
|
18
17
|
__exportStar(require("./callout-request-event-response"), exports);
|
|
19
18
|
__exportStar(require("./callout-request-event-response-callout"), exports);
|
|
20
19
|
__exportStar(require("./callout-request-event-response-callout-speech"), exports);
|
|
21
|
-
__exportStar(require("./callout-verification-report-request"), exports);
|
|
22
|
-
__exportStar(require("./callout-verification-report-request-callout"), exports);
|
|
23
20
|
__exportStar(require("./callout-verification-report-response"), exports);
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./data-initiate-verification-response-seamless"), exports);
|
|
26
|
-
__exportStar(require("./verification-error"), exports);
|
|
27
|
-
__exportStar(require("./flash-call-initiate-verification-response"), exports);
|
|
28
|
-
__exportStar(require("./flash-call-initiate-verification-response-flash-call"), exports);
|
|
29
|
-
__exportStar(require("./flash-call-request-event-response"), exports);
|
|
30
|
-
__exportStar(require("./flash-call-request-event-response-flash-call"), exports);
|
|
31
|
-
__exportStar(require("./flashcall-verification-report-request"), exports);
|
|
32
|
-
__exportStar(require("./flashcall-verification-report-request-flash-call"), exports);
|
|
21
|
+
__exportStar(require("./flashcall-request-event-response"), exports);
|
|
33
22
|
__exportStar(require("./flashcall-verification-report-response"), exports);
|
|
34
|
-
__exportStar(require("./
|
|
23
|
+
__exportStar(require("./verification-report-response-price"), exports);
|
|
35
24
|
__exportStar(require("./identity"), exports);
|
|
36
|
-
__exportStar(require("./
|
|
37
|
-
__exportStar(require("./initiate-verification-resource-flash-call-options"), exports);
|
|
38
|
-
__exportStar(require("./initiate-verification-response"), exports);
|
|
25
|
+
__exportStar(require("./start-verification-request"), exports);
|
|
39
26
|
__exportStar(require("./links-object"), exports);
|
|
40
27
|
__exportStar(require("./price"), exports);
|
|
41
|
-
__exportStar(require("./
|
|
42
|
-
__exportStar(require("./
|
|
28
|
+
__exportStar(require("./start-flashcall-verification-response"), exports);
|
|
29
|
+
__exportStar(require("./start-callout-verification-response"), exports);
|
|
30
|
+
__exportStar(require("./start-seamless-verification-response"), exports);
|
|
31
|
+
__exportStar(require("./start-sms-verification-response"), exports);
|
|
43
32
|
__exportStar(require("./sms-request-event-response"), exports);
|
|
44
|
-
__exportStar(require("./sms-request-event-response-sms"), exports);
|
|
45
33
|
__exportStar(require("./sms-verification-report-response"), exports);
|
|
46
|
-
__exportStar(require("./sms-verification-report-response-price"), exports);
|
|
47
|
-
__exportStar(require("./sms-verification-report-request"), exports);
|
|
48
|
-
__exportStar(require("./sms-verification-report-request-sms"), exports);
|
|
49
34
|
__exportStar(require("./verification-report-request"), exports);
|
|
50
35
|
__exportStar(require("./verification-report-response"), exports);
|
|
51
36
|
__exportStar(require("./verification-request-event"), exports);
|
|
52
|
-
__exportStar(require("./verification-request-event-price"), exports);
|
|
53
37
|
__exportStar(require("./verification-request-event-response"), exports);
|
|
54
|
-
__exportStar(require("./verification-response"), exports);
|
|
55
38
|
__exportStar(require("./verification-result-event"), exports);
|
|
56
39
|
__exportStar(require("./verification-result-event-response"), exports);
|
|
40
|
+
__exportStar(require("./verification-error"), exports);
|
|
57
41
|
__exportStar(require("./enums"), exports);
|
|
42
|
+
__exportStar(require("./helper"), exports);
|
|
58
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links-object.js","sourceRoot":"","sources":["../../../../src/models/v1/links-object/links-object.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"links-object.js","sourceRoot":"","sources":["../../../../src/models/v1/links-object/links-object.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price.js","sourceRoot":"","sources":["../../../../src/models/v1/price/price.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"price.js","sourceRoot":"","sources":["../../../../src/models/v1/price/price.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: SMSRequestEventResponse
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
import { SMSRequestEventResponseSms } from '../sms-request-event-response-sms';
|
|
8
1
|
export interface SMSRequestEventResponse {
|
|
9
2
|
/** Determines whether the verification can be executed. */
|
|
10
3
|
action?: ActionEnum;
|
|
11
|
-
/** @see
|
|
12
|
-
sms?:
|
|
4
|
+
/** @see SmsContent */
|
|
5
|
+
sms?: SmsContent;
|
|
6
|
+
}
|
|
7
|
+
interface SmsContent {
|
|
8
|
+
/** The SMS PIN that should be used. By default, the Sinch dashboard will automatically generate PIN codes for SMS verification. If you want to set your own PIN, you can specify it in the response to the Verification Request Event. */
|
|
9
|
+
code?: string;
|
|
10
|
+
/** List of strings */
|
|
11
|
+
acceptLanguage?: string[];
|
|
13
12
|
}
|
|
14
13
|
export type ActionEnum = 'allow' | 'deny';
|
|
14
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sms-request-event-response.js","sourceRoot":"","sources":["../../../../src/models/v1/sms-request-event-response/sms-request-event-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sms-request-event-response.js","sourceRoot":"","sources":["../../../../src/models/v1/sms-request-event-response/sms-request-event-response.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/sms-verification-report-response/sms-verification-report-response.d.ts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: SMSVerificationReportResponse
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
import { SMSVerificationReportResponsePrice } from '../sms-verification-report-response-price';
|
|
8
1
|
import { VerificationStatusEnum } from '../enums';
|
|
9
2
|
import { Identity } from '../identity';
|
|
3
|
+
import { SMSVerificationReportResponsePrice } from '../verification-report-response-price';
|
|
10
4
|
export interface SMSVerificationReportResponse {
|
|
11
5
|
/** The unique ID of the verification request. */
|
|
12
6
|
id?: string;
|
|
13
7
|
/** The method of the verification request. This will always be `sms`. */
|
|
14
|
-
method?:
|
|
8
|
+
method?: 'sms';
|
|
15
9
|
/** The status of the verification request. */
|
|
16
10
|
status?: VerificationStatusEnum;
|
|
17
11
|
/** Displays the reason why a verification has `FAILED`, was `DENIED`, or was `ABORTED`. */
|
|
@@ -29,6 +23,5 @@ export interface SMSVerificationReportResponse {
|
|
|
29
23
|
/** */
|
|
30
24
|
verificationTimestamp?: Date;
|
|
31
25
|
}
|
|
32
|
-
export type MethodEnum = 'sms';
|
|
33
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';
|
|
34
27
|
export type SourceEnum = 'intercepted' | 'manual';
|
package/dist/models/v1/sms-verification-report-response/sms-verification-report-response.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sms-verification-report-response.js","sourceRoot":"","sources":["../../../../src/models/v1/sms-verification-report-response/sms-verification-report-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sms-verification-report-response.js","sourceRoot":"","sources":["../../../../src/models/v1/sms-verification-report-response/sms-verification-report-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { StartCalloutVerificationResponse } from './start-callout-verification-response';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/start-callout-verification-response/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: CalloutInitiateVerificationResponse
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
1
|
import { LinksObject } from '../links-object';
|
|
8
|
-
export interface
|
|
2
|
+
export interface StartCalloutVerificationResponse {
|
|
9
3
|
/** Verification identifier used to query for status. */
|
|
10
4
|
id?: string;
|
|
11
5
|
/** The value of the method used for the Verification. For Phone Call Verifications, this will always be `callout`. */
|
|
12
|
-
method?:
|
|
6
|
+
method?: 'callout';
|
|
13
7
|
/** @see LinksObject */
|
|
14
|
-
_links?: LinksObject;
|
|
8
|
+
_links?: LinksObject[];
|
|
15
9
|
}
|
|
16
|
-
export type MethodEnum = 'callout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-callout-verification-response.js","sourceRoot":"","sources":["../../../../src/models/v1/start-callout-verification-response/start-callout-verification-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { StartFlashCallVerificationResponse } from './start-flashcall-verification-response';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/start-flashcall-verification-response/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LinksObject } from '../links-object';
|
|
2
|
+
export interface StartFlashCallVerificationResponse {
|
|
3
|
+
/** Verification identifier used to query for status. */
|
|
4
|
+
id?: string;
|
|
5
|
+
/** The value of the method used for the Verification. For Flashcall Verifications, this will always be `flashCall`. */
|
|
6
|
+
method?: 'flashCall';
|
|
7
|
+
/** The response contains the `cliFilter` and `interceptionTimeout` properties. */
|
|
8
|
+
flashCall?: FlashCallContent;
|
|
9
|
+
/** @see LinksObject */
|
|
10
|
+
_links?: LinksObject[];
|
|
11
|
+
}
|
|
12
|
+
interface FlashCallContent {
|
|
13
|
+
/** Filter that should be applied for incoming calls to intercept the Flashcall. */
|
|
14
|
+
cliFilter: string;
|
|
15
|
+
/** Amount of seconds client should wait for the Flashcall. */
|
|
16
|
+
interceptionTimeout: number;
|
|
17
|
+
/** The time in seconds allowed for reporting the code after which the verification will expire. */
|
|
18
|
+
reportTimeout?: number;
|
|
19
|
+
/** Used by the SDKs, this setting makes the handset deny the flashcall after the set time in seconds. */
|
|
20
|
+
denyCallAfter?: number;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-flashcall-verification-response.js","sourceRoot":"","sources":["../../../../src/models/v1/start-flashcall-verification-response/start-flashcall-verification-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { StartSeamlessVerificationResponse } from './start-seamless-verification-response';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/start-seamless-verification-response/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface StartSeamlessVerificationResponse {
|
|
2
|
+
/** Verification identifier used to query for status. */
|
|
3
|
+
id: string;
|
|
4
|
+
/** The value of the method used for the Verification. For Data Verifications, this will always be `seamless`. */
|
|
5
|
+
method?: 'seamless';
|
|
6
|
+
/** The response contains the target URI. */
|
|
7
|
+
seamless?: SeamlessContent;
|
|
8
|
+
}
|
|
9
|
+
interface SeamlessContent {
|
|
10
|
+
/** The target URI. */
|
|
11
|
+
targetUri?: string;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-seamless-verification-response.js","sourceRoot":"","sources":["../../../../src/models/v1/start-seamless-verification-response/start-seamless-verification-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { StartSmsVerificationResponse } from './start-sms-verification-response';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/start-sms-verification-response/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LinksObject } from '../links-object';
|
|
2
|
+
export interface StartSmsVerificationResponse {
|
|
3
|
+
/** Verification identifier used to query for status. */
|
|
4
|
+
id?: string;
|
|
5
|
+
/** The value of the method used for the Verification. For SMS Verifications, this will always be `sms`. */
|
|
6
|
+
method?: 'sms';
|
|
7
|
+
/** The response contains the `template` of the SMS to be expected and intercepted. */
|
|
8
|
+
sms?: SmsContent;
|
|
9
|
+
/** @see LinksObject */
|
|
10
|
+
_links?: LinksObject[];
|
|
11
|
+
}
|
|
12
|
+
interface SmsContent {
|
|
13
|
+
/** The expected template for the SMS response. */
|
|
14
|
+
template?: string;
|
|
15
|
+
/** The amount of time in seconds that the client should wait for the SMS. */
|
|
16
|
+
interceptionTimeout?: number;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-sms-verification-response.js","sourceRoot":"","sources":["../../../../src/models/v1/start-sms-verification-response/start-sms-verification-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { StartVerificationBase, StartVerificationWithSms, StartVerificationWithFlashCall, StartVerificationWithCallout, StartSeamlessVerification, } from './start-verification-request';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/start-verification-request/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Identity } from '../identity';
|
|
2
|
+
export interface StartVerificationWithSms extends StartVerificationBase {
|
|
3
|
+
}
|
|
4
|
+
export interface StartVerificationWithFlashCall extends StartVerificationBase {
|
|
5
|
+
/** @see FlashCallOptions */
|
|
6
|
+
flashCallOptions?: FlashCallOptions;
|
|
7
|
+
}
|
|
8
|
+
export interface StartVerificationWithCallout extends StartVerificationBase {
|
|
9
|
+
}
|
|
10
|
+
export interface StartSeamlessVerification extends StartVerificationBase {
|
|
11
|
+
}
|
|
12
|
+
export interface StartVerificationBase {
|
|
13
|
+
/** @see Identity */
|
|
14
|
+
identity: Identity;
|
|
15
|
+
/** Used to pass your own reference in the request for tracking purposes. */
|
|
16
|
+
reference?: string;
|
|
17
|
+
/** Can be used to pass custom data in the request. */
|
|
18
|
+
custom?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 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
|
+
*/
|
|
23
|
+
export interface FlashCallOptions {
|
|
24
|
+
/** The dial timeout in seconds. */
|
|
25
|
+
dialTimeout?: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-verification-request.js","sourceRoot":"","sources":["../../../../src/models/v1/start-verification-request/start-verification-request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification-error.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-error/verification-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verification-error.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-error/verification-error.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { SmsVerificationReportRequest, FlashCallVerificationReportRequest, CalloutVerificationReportRequest, } from './verification-report-request';
|
|
@@ -1,10 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export interface SmsVerificationReportRequest {
|
|
2
|
+
/** A configuration object containing settings specific to SMS verifications. */
|
|
3
|
+
sms: SmsContent;
|
|
4
|
+
}
|
|
5
|
+
interface SmsContent {
|
|
6
|
+
/** The code which was received by the user submitting the SMS verification. */
|
|
7
|
+
code: string;
|
|
8
|
+
/** The sender ID of the SMS. */
|
|
9
|
+
cli?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FlashCallVerificationReportRequest {
|
|
12
|
+
/** A configuration object containing settings specific to FlashCall verifications. */
|
|
13
|
+
flashCall: FlashCallContent;
|
|
14
|
+
}
|
|
15
|
+
interface FlashCallContent {
|
|
16
|
+
/** The caller ID of the FlashCall. */
|
|
17
|
+
cli: string;
|
|
18
|
+
}
|
|
19
|
+
export interface CalloutVerificationReportRequest {
|
|
20
|
+
/** A configuration object containing settings specific to Phone Call verifications */
|
|
21
|
+
callout: CalloutContent;
|
|
22
|
+
}
|
|
23
|
+
interface CalloutContent {
|
|
24
|
+
/** The code which was received by the user submitting the Phone Call verification. */
|
|
25
|
+
code?: string;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification-report-request.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-request/verification-report-request.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verification-report-request.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-request/verification-report-request.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: VerificationResponse
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
1
|
import { CalloutVerificationReportResponse } from '../callout-verification-report-response';
|
|
8
|
-
import {
|
|
2
|
+
import { FlashCallVerificationReportResponse } from '../flashcall-verification-report-response';
|
|
9
3
|
import { SMSVerificationReportResponse } from '../sms-verification-report-response';
|
|
10
|
-
export type VerificationReportResponse = SMSVerificationReportResponse |
|
|
4
|
+
export type VerificationReportResponse = SMSVerificationReportResponse | FlashCallVerificationReportResponse | CalloutVerificationReportResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification-report-response.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-response/verification-report-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verification-report-response.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-response/verification-report-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { VerificationReportResponsePrice, SMSVerificationReportResponsePrice, } from './verification-report-response-price';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-response-price/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: FlashcallVerificationReportResponsePrice
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
1
|
import { Price } from '../price';
|
|
8
2
|
/**
|
|
9
3
|
* Prices associated with this verification
|
|
10
4
|
*/
|
|
11
|
-
export interface
|
|
5
|
+
export interface VerificationReportResponsePrice {
|
|
12
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. */
|
|
13
7
|
verificationPrice?: Price;
|
|
14
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. */
|
|
@@ -16,3 +10,10 @@ export interface FlashcallVerificationReportResponsePrice {
|
|
|
16
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. */
|
|
17
11
|
billableDuration?: number;
|
|
18
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Prices associated with this verification
|
|
15
|
+
*/
|
|
16
|
+
export interface SMSVerificationReportResponsePrice {
|
|
17
|
+
/** 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. */
|
|
18
|
+
verificationPrice?: Price;
|
|
19
|
+
}
|
package/dist/models/v1/verification-report-response-price/verification-report-response-price.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verification-report-response-price.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-report-response-price/verification-report-response-price.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: VerificationRequestEvent
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
1
|
import { Identity } from '../identity';
|
|
8
|
-
import {
|
|
2
|
+
import { Price } from '../price';
|
|
9
3
|
export interface VerificationRequestEvent {
|
|
10
4
|
/** The ID of the verification request. */
|
|
11
5
|
id: string;
|
|
@@ -15,10 +9,10 @@ export interface VerificationRequestEvent {
|
|
|
15
9
|
method: MethodEnum;
|
|
16
10
|
/** @see Identity */
|
|
17
11
|
identity: Identity;
|
|
18
|
-
/**
|
|
19
|
-
price?:
|
|
20
|
-
/** */
|
|
21
|
-
rate?:
|
|
12
|
+
/** The amount of money and currency of the verification request. */
|
|
13
|
+
price?: Price;
|
|
14
|
+
/** The amount of money and currency of the verification request. */
|
|
15
|
+
rate?: Price;
|
|
22
16
|
/** Used to pass your own reference in the request for tracking purposes. */
|
|
23
17
|
reference?: string;
|
|
24
18
|
/** Can be used to pass custom data in the request. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification-request-event.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-request-event/verification-request-event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verification-request-event.js","sourceRoot":"","sources":["../../../../src/models/v1/verification-request-event/verification-request-event.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/verification-request-event-response/verification-request-event-response.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model: VerificationRequestEventResponse
|
|
3
|
-
*
|
|
4
|
-
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
1
|
import { SMSRequestEventResponse } from '../sms-request-event-response';
|
|
8
|
-
import { FlashCallRequestEventResponse } from '../
|
|
2
|
+
import { FlashCallRequestEventResponse } from '../flashcall-request-event-response';
|
|
9
3
|
import { CalloutRequestEventResponse } from '../callout-request-event-response';
|
|
10
4
|
export type VerificationRequestEventResponse = SMSRequestEventResponse | FlashCallRequestEventResponse | CalloutRequestEventResponse;
|