UNPKG

whalecloud-dxp-api-react-native

Version:

This section explains how to use the SDK and illustrates it with an example: - This chapter is essential to learn - For specific business development, see [Bussiness Scenario](https://www.digchan.info/en-US/dxp/user-sso/sign-up) - The Business Scenario pr

112 lines (104 loc) 2.77 kB
/* tslint:disable */ /* eslint-disable */ /** * DXP API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface RegistrationReq */ export interface RegistrationReq { /** * User\'s name. * @type {string} * @memberof RegistrationReq */ 'userName'?: string; /** * Authorization token generated by the social media platform. * @type {string} * @memberof RegistrationReq */ 'oauthToken'?: string; /** * Unique identifier used by social media platforms to identify users. * @type {string} * @memberof RegistrationReq */ 'oauthOpenId'?: string; /** * Source platform used by social media. Possible values are: / FACEBOOK/ GOOGLE/ APPLE * @type {string} * @memberof RegistrationReq */ 'platform'?: RegistrationReqPlatformEnum; /** * The email address. * @type {string} * @memberof RegistrationReq */ 'email'?: string; /** * User\'s mobile phone number. * @type {string} * @memberof RegistrationReq */ 'mobile'?: string; /** * The type of identification document. * @type {string} * @memberof RegistrationReq */ 'identificationType'?: string; /** * The number of the identification document. This is used to uniquely identify the document. * @type {string} * @memberof RegistrationReq */ 'identificationNbr'?: string; /** * User\'s password. * @type {string} * @memberof RegistrationReq */ 'password'?: string; /** * One-Time Password (OTP). * @type {string} * @memberof RegistrationReq */ 'otp'?: string; /** * Email One-Time Password (OTP). * @type {string} * @memberof RegistrationReq */ 'emailOtp'?: string; /** * A string containing the characters or image data of the CAPTCHA used for user verification. * @type {string} * @memberof RegistrationReq */ 'captcha'?: string; /** * A unique serial number associated with the CAPTCHA, used to track and validate the CAPTCHA session. * @type {string} * @memberof RegistrationReq */ 'captchaSn'?: string; } export const RegistrationReqPlatformEnum = { Facebook: 'FACEBOOK', Google: 'GOOGLE', Apple: 'APPLE' } as const; export type RegistrationReqPlatformEnum = typeof RegistrationReqPlatformEnum[keyof typeof RegistrationReqPlatformEnum];