@dynamic-labs/sdk-api 0.0.360 → 0.0.362
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +224 -0
- package/src/apis/SDKApi.d.ts +82 -1
- package/src/apis/SDKApi.js +224 -0
- package/src/index.cjs +16 -0
- package/src/index.js +4 -0
- package/src/models/EmailVerificationVerifyRequest.d.ts +1 -1
- package/src/models/JwtVerifiedCredential.cjs +4 -0
- package/src/models/JwtVerifiedCredential.d.ts +12 -0
- package/src/models/JwtVerifiedCredential.js +4 -0
- package/src/models/JwtVerifiedCredentialFormatEnum.cjs +1 -0
- package/src/models/JwtVerifiedCredentialFormatEnum.d.ts +2 -1
- package/src/models/JwtVerifiedCredentialFormatEnum.js +1 -0
- package/src/models/ProviderEnum.cjs +1 -0
- package/src/models/ProviderEnum.d.ts +2 -1
- package/src/models/ProviderEnum.js +1 -0
- package/src/models/SmsVerificationCreateRequest.cjs +37 -0
- package/src/models/SmsVerificationCreateRequest.d.ts +39 -0
- package/src/models/SmsVerificationCreateRequest.js +31 -0
- package/src/models/SmsVerificationCreateResponse.cjs +47 -0
- package/src/models/SmsVerificationCreateResponse.d.ts +39 -0
- package/src/models/SmsVerificationCreateResponse.js +41 -0
- package/src/models/SmsVerificationRetryRequest.cjs +39 -0
- package/src/models/SmsVerificationRetryRequest.d.ts +45 -0
- package/src/models/SmsVerificationRetryRequest.js +33 -0
- package/src/models/SmsVerificationVerifyRequest.cjs +37 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +39 -0
- package/src/models/SmsVerificationVerifyRequest.js +31 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +7 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +7 -0
- package/src/models/UnprocessableEntityErrorCode.js +7 -0
- package/src/models/index.d.ts +4 -0
package/src/index.cjs
CHANGED
|
@@ -206,6 +206,10 @@ var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
|
|
|
206
206
|
var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
207
207
|
var Session = require('./models/Session.cjs');
|
|
208
208
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
209
|
+
var SmsVerificationCreateRequest = require('./models/SmsVerificationCreateRequest.cjs');
|
|
210
|
+
var SmsVerificationCreateResponse = require('./models/SmsVerificationCreateResponse.cjs');
|
|
211
|
+
var SmsVerificationRetryRequest = require('./models/SmsVerificationRetryRequest.cjs');
|
|
212
|
+
var SmsVerificationVerifyRequest = require('./models/SmsVerificationVerifyRequest.cjs');
|
|
209
213
|
var SocialSignInProvider = require('./models/SocialSignInProvider.cjs');
|
|
210
214
|
var SocialSignInProviderEnum = require('./models/SocialSignInProviderEnum.cjs');
|
|
211
215
|
var SubscriptionAdvancedScopeEnum = require('./models/SubscriptionAdvancedScopeEnum.cjs');
|
|
@@ -952,6 +956,18 @@ Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
|
952
956
|
exports.SignInProviderEnumFromJSON = SignInProviderEnum.SignInProviderEnumFromJSON;
|
|
953
957
|
exports.SignInProviderEnumFromJSONTyped = SignInProviderEnum.SignInProviderEnumFromJSONTyped;
|
|
954
958
|
exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
959
|
+
exports.SmsVerificationCreateRequestFromJSON = SmsVerificationCreateRequest.SmsVerificationCreateRequestFromJSON;
|
|
960
|
+
exports.SmsVerificationCreateRequestFromJSONTyped = SmsVerificationCreateRequest.SmsVerificationCreateRequestFromJSONTyped;
|
|
961
|
+
exports.SmsVerificationCreateRequestToJSON = SmsVerificationCreateRequest.SmsVerificationCreateRequestToJSON;
|
|
962
|
+
exports.SmsVerificationCreateResponseFromJSON = SmsVerificationCreateResponse.SmsVerificationCreateResponseFromJSON;
|
|
963
|
+
exports.SmsVerificationCreateResponseFromJSONTyped = SmsVerificationCreateResponse.SmsVerificationCreateResponseFromJSONTyped;
|
|
964
|
+
exports.SmsVerificationCreateResponseToJSON = SmsVerificationCreateResponse.SmsVerificationCreateResponseToJSON;
|
|
965
|
+
exports.SmsVerificationRetryRequestFromJSON = SmsVerificationRetryRequest.SmsVerificationRetryRequestFromJSON;
|
|
966
|
+
exports.SmsVerificationRetryRequestFromJSONTyped = SmsVerificationRetryRequest.SmsVerificationRetryRequestFromJSONTyped;
|
|
967
|
+
exports.SmsVerificationRetryRequestToJSON = SmsVerificationRetryRequest.SmsVerificationRetryRequestToJSON;
|
|
968
|
+
exports.SmsVerificationVerifyRequestFromJSON = SmsVerificationVerifyRequest.SmsVerificationVerifyRequestFromJSON;
|
|
969
|
+
exports.SmsVerificationVerifyRequestFromJSONTyped = SmsVerificationVerifyRequest.SmsVerificationVerifyRequestFromJSONTyped;
|
|
970
|
+
exports.SmsVerificationVerifyRequestToJSON = SmsVerificationVerifyRequest.SmsVerificationVerifyRequestToJSON;
|
|
955
971
|
exports.SocialSignInProviderFromJSON = SocialSignInProvider.SocialSignInProviderFromJSON;
|
|
956
972
|
exports.SocialSignInProviderFromJSONTyped = SocialSignInProvider.SocialSignInProviderFromJSONTyped;
|
|
957
973
|
exports.SocialSignInProviderToJSON = SocialSignInProvider.SocialSignInProviderToJSON;
|
package/src/index.js
CHANGED
|
@@ -202,6 +202,10 @@ export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkVie
|
|
|
202
202
|
export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
|
|
203
203
|
export { SessionFromJSON, SessionFromJSONTyped, SessionToJSON } from './models/Session.js';
|
|
204
204
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
205
|
+
export { SmsVerificationCreateRequestFromJSON, SmsVerificationCreateRequestFromJSONTyped, SmsVerificationCreateRequestToJSON } from './models/SmsVerificationCreateRequest.js';
|
|
206
|
+
export { SmsVerificationCreateResponseFromJSON, SmsVerificationCreateResponseFromJSONTyped, SmsVerificationCreateResponseToJSON } from './models/SmsVerificationCreateResponse.js';
|
|
207
|
+
export { SmsVerificationRetryRequestFromJSON, SmsVerificationRetryRequestFromJSONTyped, SmsVerificationRetryRequestToJSON } from './models/SmsVerificationRetryRequest.js';
|
|
208
|
+
export { SmsVerificationVerifyRequestFromJSON, SmsVerificationVerifyRequestFromJSONTyped, SmsVerificationVerifyRequestToJSON } from './models/SmsVerificationVerifyRequest.js';
|
|
205
209
|
export { SocialSignInProviderFromJSON, SocialSignInProviderFromJSONTyped, SocialSignInProviderToJSON } from './models/SocialSignInProvider.js';
|
|
206
210
|
export { SocialSignInProviderEnum, SocialSignInProviderEnumFromJSON, SocialSignInProviderEnumFromJSONTyped, SocialSignInProviderEnumToJSON } from './models/SocialSignInProviderEnum.js';
|
|
207
211
|
export { SubscriptionAdvancedScopeEnum, SubscriptionAdvancedScopeEnumFromJSON, SubscriptionAdvancedScopeEnumFromJSONTyped, SubscriptionAdvancedScopeEnumToJSON } from './models/SubscriptionAdvancedScopeEnum.js';
|
|
@@ -35,6 +35,8 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'oauthUsername': !runtime.exists(json, 'oauth_username') ? undefined : json['oauth_username'],
|
|
36
36
|
'oauthDisplayName': !runtime.exists(json, 'oauth_display_name') ? undefined : json['oauth_display_name'],
|
|
37
37
|
'oauthAccountId': !runtime.exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
|
|
38
|
+
'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
39
|
+
'phoneCountryCode': !runtime.exists(json, 'phoneCountryCode') ? undefined : json['phoneCountryCode'],
|
|
38
40
|
'oauthAccountPhotos': !runtime.exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
|
|
39
41
|
'oauthEmails': !runtime.exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
|
|
40
42
|
'oauthMetadata': !runtime.exists(json, 'oauth_metadata') ? undefined : json['oauth_metadata'],
|
|
@@ -67,6 +69,8 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
67
69
|
'oauth_username': value.oauthUsername,
|
|
68
70
|
'oauth_display_name': value.oauthDisplayName,
|
|
69
71
|
'oauth_account_id': value.oauthAccountId,
|
|
72
|
+
'phoneNumber': value.phoneNumber,
|
|
73
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
70
74
|
'oauth_account_photos': value.oauthAccountPhotos,
|
|
71
75
|
'oauth_emails': value.oauthEmails,
|
|
72
76
|
'oauth_metadata': value.oauthMetadata,
|
|
@@ -117,6 +117,18 @@ export interface JwtVerifiedCredential {
|
|
|
117
117
|
* @memberof JwtVerifiedCredential
|
|
118
118
|
*/
|
|
119
119
|
oauthAccountId?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof JwtVerifiedCredential
|
|
124
|
+
*/
|
|
125
|
+
phoneNumber?: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof JwtVerifiedCredential
|
|
130
|
+
*/
|
|
131
|
+
phoneCountryCode?: string;
|
|
120
132
|
/**
|
|
121
133
|
*
|
|
122
134
|
* @type {Array<string>}
|
|
@@ -31,6 +31,8 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'oauthUsername': !exists(json, 'oauth_username') ? undefined : json['oauth_username'],
|
|
32
32
|
'oauthDisplayName': !exists(json, 'oauth_display_name') ? undefined : json['oauth_display_name'],
|
|
33
33
|
'oauthAccountId': !exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
|
|
34
|
+
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
35
|
+
'phoneCountryCode': !exists(json, 'phoneCountryCode') ? undefined : json['phoneCountryCode'],
|
|
34
36
|
'oauthAccountPhotos': !exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
|
|
35
37
|
'oauthEmails': !exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
|
|
36
38
|
'oauthMetadata': !exists(json, 'oauth_metadata') ? undefined : json['oauth_metadata'],
|
|
@@ -63,6 +65,8 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
63
65
|
'oauth_username': value.oauthUsername,
|
|
64
66
|
'oauth_display_name': value.oauthDisplayName,
|
|
65
67
|
'oauth_account_id': value.oauthAccountId,
|
|
68
|
+
'phoneNumber': value.phoneNumber,
|
|
69
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
66
70
|
'oauth_account_photos': value.oauthAccountPhotos,
|
|
67
71
|
'oauth_emails': value.oauthEmails,
|
|
68
72
|
'oauth_metadata': value.oauthMetadata,
|
|
@@ -26,6 +26,7 @@ exports.JwtVerifiedCredentialFormatEnum = void 0;
|
|
|
26
26
|
JwtVerifiedCredentialFormatEnum["Email"] = "email";
|
|
27
27
|
JwtVerifiedCredentialFormatEnum["Oauth"] = "oauth";
|
|
28
28
|
JwtVerifiedCredentialFormatEnum["Passkey"] = "passkey";
|
|
29
|
+
JwtVerifiedCredentialFormatEnum["PhoneNumber"] = "phoneNumber";
|
|
29
30
|
})(exports.JwtVerifiedCredentialFormatEnum || (exports.JwtVerifiedCredentialFormatEnum = {}));
|
|
30
31
|
function JwtVerifiedCredentialFormatEnumFromJSON(json) {
|
|
31
32
|
return JwtVerifiedCredentialFormatEnumFromJSONTyped(json);
|
|
@@ -18,7 +18,8 @@ export declare enum JwtVerifiedCredentialFormatEnum {
|
|
|
18
18
|
Blockchain = "blockchain",
|
|
19
19
|
Email = "email",
|
|
20
20
|
Oauth = "oauth",
|
|
21
|
-
Passkey = "passkey"
|
|
21
|
+
Passkey = "passkey",
|
|
22
|
+
PhoneNumber = "phoneNumber"
|
|
22
23
|
}
|
|
23
24
|
export declare function JwtVerifiedCredentialFormatEnumFromJSON(json: any): JwtVerifiedCredentialFormatEnum;
|
|
24
25
|
export declare function JwtVerifiedCredentialFormatEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): JwtVerifiedCredentialFormatEnum;
|
|
@@ -22,6 +22,7 @@ var JwtVerifiedCredentialFormatEnum;
|
|
|
22
22
|
JwtVerifiedCredentialFormatEnum["Email"] = "email";
|
|
23
23
|
JwtVerifiedCredentialFormatEnum["Oauth"] = "oauth";
|
|
24
24
|
JwtVerifiedCredentialFormatEnum["Passkey"] = "passkey";
|
|
25
|
+
JwtVerifiedCredentialFormatEnum["PhoneNumber"] = "phoneNumber";
|
|
25
26
|
})(JwtVerifiedCredentialFormatEnum || (JwtVerifiedCredentialFormatEnum = {}));
|
|
26
27
|
function JwtVerifiedCredentialFormatEnumFromJSON(json) {
|
|
27
28
|
return JwtVerifiedCredentialFormatEnumFromJSONTyped(json);
|
|
@@ -43,6 +43,7 @@ exports.ProviderEnum = void 0;
|
|
|
43
43
|
ProviderEnum["Zerodev"] = "zerodev";
|
|
44
44
|
ProviderEnum["Turnkey"] = "turnkey";
|
|
45
45
|
ProviderEnum["CoinbaseWaas"] = "coinbaseWaas";
|
|
46
|
+
ProviderEnum["Sms"] = "sms";
|
|
46
47
|
})(exports.ProviderEnum || (exports.ProviderEnum = {}));
|
|
47
48
|
function ProviderEnumFromJSON(json) {
|
|
48
49
|
return ProviderEnumFromJSONTyped(json);
|
|
@@ -35,7 +35,8 @@ export declare enum ProviderEnum {
|
|
|
35
35
|
Alchemy = "alchemy",
|
|
36
36
|
Zerodev = "zerodev",
|
|
37
37
|
Turnkey = "turnkey",
|
|
38
|
-
CoinbaseWaas = "coinbaseWaas"
|
|
38
|
+
CoinbaseWaas = "coinbaseWaas",
|
|
39
|
+
Sms = "sms"
|
|
39
40
|
}
|
|
40
41
|
export declare function ProviderEnumFromJSON(json: any): ProviderEnum;
|
|
41
42
|
export declare function ProviderEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderEnum;
|
|
@@ -39,6 +39,7 @@ var ProviderEnum;
|
|
|
39
39
|
ProviderEnum["Zerodev"] = "zerodev";
|
|
40
40
|
ProviderEnum["Turnkey"] = "turnkey";
|
|
41
41
|
ProviderEnum["CoinbaseWaas"] = "coinbaseWaas";
|
|
42
|
+
ProviderEnum["Sms"] = "sms";
|
|
42
43
|
})(ProviderEnum || (ProviderEnum = {}));
|
|
43
44
|
function ProviderEnumFromJSON(json) {
|
|
44
45
|
return ProviderEnumFromJSONTyped(json);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SmsVerificationCreateRequestFromJSON(json) {
|
|
9
|
+
return SmsVerificationCreateRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SmsVerificationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
17
|
+
'phoneNumber': json['phoneNumber'],
|
|
18
|
+
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SmsVerificationCreateRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
30
|
+
'phoneNumber': value.phoneNumber,
|
|
31
|
+
'captchaToken': value.captchaToken,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.SmsVerificationCreateRequestFromJSON = SmsVerificationCreateRequestFromJSON;
|
|
36
|
+
exports.SmsVerificationCreateRequestFromJSONTyped = SmsVerificationCreateRequestFromJSONTyped;
|
|
37
|
+
exports.SmsVerificationCreateRequestToJSON = SmsVerificationCreateRequestToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmsVerificationCreateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SmsVerificationCreateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmsVerificationCreateRequest
|
|
22
|
+
*/
|
|
23
|
+
phoneCountryCode: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SmsVerificationCreateRequest
|
|
28
|
+
*/
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
/**
|
|
31
|
+
* When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SmsVerificationCreateRequest
|
|
34
|
+
*/
|
|
35
|
+
captchaToken?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function SmsVerificationCreateRequestFromJSON(json: any): SmsVerificationCreateRequest;
|
|
38
|
+
export declare function SmsVerificationCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationCreateRequest;
|
|
39
|
+
export declare function SmsVerificationCreateRequestToJSON(value?: SmsVerificationCreateRequest | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SmsVerificationCreateRequestFromJSON(json) {
|
|
5
|
+
return SmsVerificationCreateRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SmsVerificationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
13
|
+
'phoneNumber': json['phoneNumber'],
|
|
14
|
+
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function SmsVerificationCreateRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
26
|
+
'phoneNumber': value.phoneNumber,
|
|
27
|
+
'captchaToken': value.captchaToken,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { SmsVerificationCreateRequestFromJSON, SmsVerificationCreateRequestFromJSONTyped, SmsVerificationCreateRequestToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function SmsVerificationCreateResponseFromJSON(json) {
|
|
19
|
+
return SmsVerificationCreateResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'verificationUUID': json['verificationUUID'],
|
|
27
|
+
'phoneNumber': json['phoneNumber'],
|
|
28
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function SmsVerificationCreateResponseToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'verificationUUID': value.verificationUUID,
|
|
40
|
+
'phoneNumber': value.phoneNumber,
|
|
41
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.SmsVerificationCreateResponseFromJSON = SmsVerificationCreateResponseFromJSON;
|
|
46
|
+
exports.SmsVerificationCreateResponseFromJSONTyped = SmsVerificationCreateResponseFromJSONTyped;
|
|
47
|
+
exports.SmsVerificationCreateResponseToJSON = SmsVerificationCreateResponseToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmsVerificationCreateResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SmsVerificationCreateResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmsVerificationCreateResponse
|
|
22
|
+
*/
|
|
23
|
+
verificationUUID: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SmsVerificationCreateResponse
|
|
28
|
+
*/
|
|
29
|
+
phoneNumber: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SmsVerificationCreateResponse
|
|
34
|
+
*/
|
|
35
|
+
phoneCountryCode: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function SmsVerificationCreateResponseFromJSON(json: any): SmsVerificationCreateResponse;
|
|
38
|
+
export declare function SmsVerificationCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationCreateResponse;
|
|
39
|
+
export declare function SmsVerificationCreateResponseToJSON(value?: SmsVerificationCreateResponse | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function SmsVerificationCreateResponseFromJSON(json) {
|
|
15
|
+
return SmsVerificationCreateResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'verificationUUID': json['verificationUUID'],
|
|
23
|
+
'phoneNumber': json['phoneNumber'],
|
|
24
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SmsVerificationCreateResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'verificationUUID': value.verificationUUID,
|
|
36
|
+
'phoneNumber': value.phoneNumber,
|
|
37
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SmsVerificationCreateResponseFromJSON, SmsVerificationCreateResponseFromJSONTyped, SmsVerificationCreateResponseToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SmsVerificationRetryRequestFromJSON(json) {
|
|
9
|
+
return SmsVerificationRetryRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SmsVerificationRetryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'verificationUUID': json['verificationUUID'],
|
|
17
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
18
|
+
'phoneNumber': json['phoneNumber'],
|
|
19
|
+
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SmsVerificationRetryRequestToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'verificationUUID': value.verificationUUID,
|
|
31
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
32
|
+
'phoneNumber': value.phoneNumber,
|
|
33
|
+
'captchaToken': value.captchaToken,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.SmsVerificationRetryRequestFromJSON = SmsVerificationRetryRequestFromJSON;
|
|
38
|
+
exports.SmsVerificationRetryRequestFromJSONTyped = SmsVerificationRetryRequestFromJSONTyped;
|
|
39
|
+
exports.SmsVerificationRetryRequestToJSON = SmsVerificationRetryRequestToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmsVerificationRetryRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SmsVerificationRetryRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmsVerificationRetryRequest
|
|
22
|
+
*/
|
|
23
|
+
verificationUUID: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SmsVerificationRetryRequest
|
|
28
|
+
*/
|
|
29
|
+
phoneCountryCode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SmsVerificationRetryRequest
|
|
34
|
+
*/
|
|
35
|
+
phoneNumber: string;
|
|
36
|
+
/**
|
|
37
|
+
* When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SmsVerificationRetryRequest
|
|
40
|
+
*/
|
|
41
|
+
captchaToken?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function SmsVerificationRetryRequestFromJSON(json: any): SmsVerificationRetryRequest;
|
|
44
|
+
export declare function SmsVerificationRetryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationRetryRequest;
|
|
45
|
+
export declare function SmsVerificationRetryRequestToJSON(value?: SmsVerificationRetryRequest | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SmsVerificationRetryRequestFromJSON(json) {
|
|
5
|
+
return SmsVerificationRetryRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SmsVerificationRetryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'verificationUUID': json['verificationUUID'],
|
|
13
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
14
|
+
'phoneNumber': json['phoneNumber'],
|
|
15
|
+
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SmsVerificationRetryRequestToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'verificationUUID': value.verificationUUID,
|
|
27
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
28
|
+
'phoneNumber': value.phoneNumber,
|
|
29
|
+
'captchaToken': value.captchaToken,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { SmsVerificationRetryRequestFromJSON, SmsVerificationRetryRequestFromJSONTyped, SmsVerificationRetryRequestToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SmsVerificationVerifyRequestFromJSON(json) {
|
|
9
|
+
return SmsVerificationVerifyRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'verificationUUID': json['verificationUUID'],
|
|
17
|
+
'verificationToken': json['verificationToken'],
|
|
18
|
+
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SmsVerificationVerifyRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'verificationUUID': value.verificationUUID,
|
|
30
|
+
'verificationToken': value.verificationToken,
|
|
31
|
+
'captchaToken': value.captchaToken,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.SmsVerificationVerifyRequestFromJSON = SmsVerificationVerifyRequestFromJSON;
|
|
36
|
+
exports.SmsVerificationVerifyRequestFromJSONTyped = SmsVerificationVerifyRequestFromJSONTyped;
|
|
37
|
+
exports.SmsVerificationVerifyRequestToJSON = SmsVerificationVerifyRequestToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmsVerificationVerifyRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SmsVerificationVerifyRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmsVerificationVerifyRequest
|
|
22
|
+
*/
|
|
23
|
+
verificationUUID: string;
|
|
24
|
+
/**
|
|
25
|
+
* A 6-digit number
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SmsVerificationVerifyRequest
|
|
28
|
+
*/
|
|
29
|
+
verificationToken: string;
|
|
30
|
+
/**
|
|
31
|
+
* When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SmsVerificationVerifyRequest
|
|
34
|
+
*/
|
|
35
|
+
captchaToken?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function SmsVerificationVerifyRequestFromJSON(json: any): SmsVerificationVerifyRequest;
|
|
38
|
+
export declare function SmsVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationVerifyRequest;
|
|
39
|
+
export declare function SmsVerificationVerifyRequestToJSON(value?: SmsVerificationVerifyRequest | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SmsVerificationVerifyRequestFromJSON(json) {
|
|
5
|
+
return SmsVerificationVerifyRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'verificationUUID': json['verificationUUID'],
|
|
13
|
+
'verificationToken': json['verificationToken'],
|
|
14
|
+
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function SmsVerificationVerifyRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'verificationUUID': value.verificationUUID,
|
|
26
|
+
'verificationToken': value.verificationToken,
|
|
27
|
+
'captchaToken': value.captchaToken,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { SmsVerificationVerifyRequestFromJSON, SmsVerificationVerifyRequestFromJSONTyped, SmsVerificationVerifyRequestToJSON };
|