@dynamic-labs/sdk-api-core 0.0.522 → 0.0.524
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/models/EmailVerificationVerifyRequest.cjs +2 -0
- package/src/models/EmailVerificationVerifyRequest.d.ts +6 -0
- package/src/models/EmailVerificationVerifyRequest.js +2 -0
- package/src/models/ExternalAuthSigninRequest.cjs +2 -0
- package/src/models/ExternalAuthSigninRequest.d.ts +6 -0
- package/src/models/ExternalAuthSigninRequest.js +2 -0
- package/src/models/FarcasterSignInRequest.cjs +2 -0
- package/src/models/FarcasterSignInRequest.d.ts +6 -0
- package/src/models/FarcasterSignInRequest.js +2 -0
- package/src/models/OauthRequest.cjs +2 -0
- package/src/models/OauthRequest.d.ts +6 -0
- package/src/models/OauthRequest.js +2 -0
- package/src/models/OauthResultRequest.cjs +4 -12
- package/src/models/OauthResultRequest.d.ts +6 -0
- package/src/models/OauthResultRequest.js +4 -12
- package/src/models/ProjectSettingsSdkEmbeddedWallets.cjs +3 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.d.ts +7 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.js +3 -0
- package/src/models/SmsVerificationVerifyRequest.cjs +2 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +6 -0
- package/src/models/SmsVerificationVerifyRequest.js +2 -0
- package/src/models/VerifyRequest.cjs +2 -0
- package/src/models/VerifyRequest.d.ts +6 -0
- package/src/models/VerifyRequest.js +2 -0
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
16
16
|
'verificationUUID': json['verificationUUID'],
|
|
17
17
|
'verificationToken': json['verificationToken'],
|
|
18
18
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
29
30
|
'verificationUUID': value.verificationUUID,
|
|
30
31
|
'verificationToken': value.verificationToken,
|
|
31
32
|
'captchaToken': value.captchaToken,
|
|
33
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|
|
@@ -33,6 +33,12 @@ export interface EmailVerificationVerifyRequest {
|
|
|
33
33
|
* @memberof EmailVerificationVerifyRequest
|
|
34
34
|
*/
|
|
35
35
|
captchaToken?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EmailVerificationVerifyRequest
|
|
40
|
+
*/
|
|
41
|
+
sessionPublicKey?: string;
|
|
36
42
|
}
|
|
37
43
|
export declare function EmailVerificationVerifyRequestFromJSON(json: any): EmailVerificationVerifyRequest;
|
|
38
44
|
export declare function EmailVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailVerificationVerifyRequest;
|
|
@@ -12,6 +12,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
12
12
|
'verificationUUID': json['verificationUUID'],
|
|
13
13
|
'verificationToken': json['verificationToken'],
|
|
14
14
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
25
26
|
'verificationUUID': value.verificationUUID,
|
|
26
27
|
'verificationToken': value.verificationToken,
|
|
27
28
|
'captchaToken': value.captchaToken,
|
|
29
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -14,6 +14,7 @@ function ExternalAuthSigninRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
16
|
'jwt': !runtime.exists(json, 'jwt') ? undefined : json['jwt'],
|
|
17
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
function ExternalAuthSigninRequestToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function ExternalAuthSigninRequestToJSON(value) {
|
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
28
|
'jwt': value.jwt,
|
|
29
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -21,6 +21,12 @@ export interface ExternalAuthSigninRequest {
|
|
|
21
21
|
* @memberof ExternalAuthSigninRequest
|
|
22
22
|
*/
|
|
23
23
|
jwt?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExternalAuthSigninRequest
|
|
28
|
+
*/
|
|
29
|
+
sessionPublicKey?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function ExternalAuthSigninRequestFromJSON(json: any): ExternalAuthSigninRequest;
|
|
26
32
|
export declare function ExternalAuthSigninRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalAuthSigninRequest;
|
|
@@ -10,6 +10,7 @@ function ExternalAuthSigninRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
12
|
'jwt': !exists(json, 'jwt') ? undefined : json['jwt'],
|
|
13
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
function ExternalAuthSigninRequestToJSON(value) {
|
|
@@ -21,6 +22,7 @@ function ExternalAuthSigninRequestToJSON(value) {
|
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
23
24
|
'jwt': value.jwt,
|
|
25
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
|
|
@@ -19,6 +19,7 @@ function FarcasterSignInRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'message': json['message'],
|
|
20
20
|
'signature': json['signature'],
|
|
21
21
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
22
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function FarcasterSignInRequestToJSON(value) {
|
|
@@ -35,6 +36,7 @@ function FarcasterSignInRequestToJSON(value) {
|
|
|
35
36
|
'message': value.message,
|
|
36
37
|
'signature': value.signature,
|
|
37
38
|
'captchaToken': value.captchaToken,
|
|
39
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -51,6 +51,12 @@ export interface FarcasterSignInRequest {
|
|
|
51
51
|
* @memberof FarcasterSignInRequest
|
|
52
52
|
*/
|
|
53
53
|
captchaToken?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof FarcasterSignInRequest
|
|
58
|
+
*/
|
|
59
|
+
sessionPublicKey?: string;
|
|
54
60
|
}
|
|
55
61
|
export declare function FarcasterSignInRequestFromJSON(json: any): FarcasterSignInRequest;
|
|
56
62
|
export declare function FarcasterSignInRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FarcasterSignInRequest;
|
|
@@ -15,6 +15,7 @@ function FarcasterSignInRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
'message': json['message'],
|
|
16
16
|
'signature': json['signature'],
|
|
17
17
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
18
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function FarcasterSignInRequestToJSON(value) {
|
|
@@ -31,6 +32,7 @@ function FarcasterSignInRequestToJSON(value) {
|
|
|
31
32
|
'message': value.message,
|
|
32
33
|
'signature': value.signature,
|
|
33
34
|
'captchaToken': value.captchaToken,
|
|
35
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
|
|
@@ -17,6 +17,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'codeVerifier': !runtime.exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
|
|
18
18
|
'state': json['state'],
|
|
19
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
20
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
function OauthRequestToJSON(value) {
|
|
@@ -31,6 +32,7 @@ function OauthRequestToJSON(value) {
|
|
|
31
32
|
'codeVerifier': value.codeVerifier,
|
|
32
33
|
'state': value.state,
|
|
33
34
|
'captchaToken': value.captchaToken,
|
|
35
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
|
|
@@ -39,6 +39,12 @@ export interface OauthRequest {
|
|
|
39
39
|
* @memberof OauthRequest
|
|
40
40
|
*/
|
|
41
41
|
captchaToken?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OauthRequest
|
|
46
|
+
*/
|
|
47
|
+
sessionPublicKey?: string;
|
|
42
48
|
}
|
|
43
49
|
export declare function OauthRequestFromJSON(json: any): OauthRequest;
|
|
44
50
|
export declare function OauthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthRequest;
|
|
@@ -13,6 +13,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'codeVerifier': !exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
|
|
14
14
|
'state': json['state'],
|
|
15
15
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
16
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
function OauthRequestToJSON(value) {
|
|
@@ -27,6 +28,7 @@ function OauthRequestToJSON(value) {
|
|
|
27
28
|
'codeVerifier': value.codeVerifier,
|
|
28
29
|
'state': value.state,
|
|
29
30
|
'captchaToken': value.captchaToken,
|
|
31
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* 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
8
|
function OauthResultRequestFromJSON(json) {
|
|
19
9
|
return OauthResultRequestFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,6 +14,7 @@ function OauthResultRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'state': json['state'],
|
|
17
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
27
18
|
};
|
|
28
19
|
}
|
|
29
20
|
function OauthResultRequestToJSON(value) {
|
|
@@ -35,6 +26,7 @@ function OauthResultRequestToJSON(value) {
|
|
|
35
26
|
}
|
|
36
27
|
return {
|
|
37
28
|
'state': value.state,
|
|
29
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
38
30
|
};
|
|
39
31
|
}
|
|
40
32
|
|
|
@@ -21,6 +21,12 @@ export interface OauthResultRequest {
|
|
|
21
21
|
* @memberof OauthResultRequest
|
|
22
22
|
*/
|
|
23
23
|
state: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OauthResultRequest
|
|
28
|
+
*/
|
|
29
|
+
sessionPublicKey?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function OauthResultRequestFromJSON(json: any): OauthResultRequest;
|
|
26
32
|
export declare function OauthResultRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthResultRequest;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* 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
4
|
function OauthResultRequestFromJSON(json) {
|
|
15
5
|
return OauthResultRequestFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,6 +10,7 @@ function OauthResultRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'state': json['state'],
|
|
13
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
23
14
|
};
|
|
24
15
|
}
|
|
25
16
|
function OauthResultRequestToJSON(value) {
|
|
@@ -31,6 +22,7 @@ function OauthResultRequestToJSON(value) {
|
|
|
31
22
|
}
|
|
32
23
|
return {
|
|
33
24
|
'state': value.state,
|
|
25
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
34
26
|
};
|
|
35
27
|
}
|
|
36
28
|
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var ChainConfiguration = require('./ChainConfiguration.cjs');
|
|
7
7
|
var Duration = require('./Duration.cjs');
|
|
8
|
+
var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
|
|
8
9
|
var SupportedSecurityMethods = require('./SupportedSecurityMethods.cjs');
|
|
9
10
|
|
|
10
11
|
/* tslint:disable */
|
|
@@ -25,6 +26,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
25
26
|
'supportedSecurityMethods': !runtime.exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethods.SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
26
27
|
'chainConfigurations': !runtime.exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfiguration.ChainConfigurationFromJSON)),
|
|
27
28
|
'domainEnabledByProvider': !runtime.exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
|
|
29
|
+
'defaultWalletVersion': !runtime.exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
@@ -44,6 +46,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
44
46
|
'supportedSecurityMethods': SupportedSecurityMethods.SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
45
47
|
'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfiguration.ChainConfigurationToJSON)),
|
|
46
48
|
'domainEnabledByProvider': value.domainEnabledByProvider,
|
|
49
|
+
'defaultWalletVersion': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChainConfiguration } from './ChainConfiguration';
|
|
13
13
|
import { Duration } from './Duration';
|
|
14
|
+
import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
|
|
14
15
|
import { SupportedSecurityMethods } from './SupportedSecurityMethods';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -72,6 +73,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
|
|
|
72
73
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
73
74
|
*/
|
|
74
75
|
domainEnabledByProvider?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {EmbeddedWalletVersionEnum}
|
|
79
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
80
|
+
*/
|
|
81
|
+
defaultWalletVersion?: EmbeddedWalletVersionEnum;
|
|
75
82
|
}
|
|
76
83
|
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
|
|
77
84
|
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ChainConfigurationFromJSON, ChainConfigurationToJSON } from './ChainConfiguration.js';
|
|
3
3
|
import { DurationFromJSON, DurationToJSON } from './Duration.js';
|
|
4
|
+
import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
|
|
4
5
|
import { SupportedSecurityMethodsFromJSON, SupportedSecurityMethodsToJSON } from './SupportedSecurityMethods.js';
|
|
5
6
|
|
|
6
7
|
/* tslint:disable */
|
|
@@ -21,6 +22,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
21
22
|
'supportedSecurityMethods': !exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
22
23
|
'chainConfigurations': !exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfigurationFromJSON)),
|
|
23
24
|
'domainEnabledByProvider': !exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
|
|
25
|
+
'defaultWalletVersion': !exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
@@ -40,6 +42,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
40
42
|
'supportedSecurityMethods': SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
41
43
|
'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfigurationToJSON)),
|
|
42
44
|
'domainEnabledByProvider': value.domainEnabledByProvider,
|
|
45
|
+
'defaultWalletVersion': EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
|
|
@@ -16,6 +16,7 @@ function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'verificationUUID': json['verificationUUID'],
|
|
17
17
|
'verificationToken': json['verificationToken'],
|
|
18
18
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
function SmsVerificationVerifyRequestToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function SmsVerificationVerifyRequestToJSON(value) {
|
|
|
29
30
|
'verificationUUID': value.verificationUUID,
|
|
30
31
|
'verificationToken': value.verificationToken,
|
|
31
32
|
'captchaToken': value.captchaToken,
|
|
33
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|
|
@@ -33,6 +33,12 @@ export interface SmsVerificationVerifyRequest {
|
|
|
33
33
|
* @memberof SmsVerificationVerifyRequest
|
|
34
34
|
*/
|
|
35
35
|
captchaToken?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SmsVerificationVerifyRequest
|
|
40
|
+
*/
|
|
41
|
+
sessionPublicKey?: string;
|
|
36
42
|
}
|
|
37
43
|
export declare function SmsVerificationVerifyRequestFromJSON(json: any): SmsVerificationVerifyRequest;
|
|
38
44
|
export declare function SmsVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationVerifyRequest;
|
|
@@ -12,6 +12,7 @@ function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
12
|
'verificationUUID': json['verificationUUID'],
|
|
13
13
|
'verificationToken': json['verificationToken'],
|
|
14
14
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
function SmsVerificationVerifyRequestToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function SmsVerificationVerifyRequestToJSON(value) {
|
|
|
25
26
|
'verificationUUID': value.verificationUUID,
|
|
26
27
|
'verificationToken': value.verificationToken,
|
|
27
28
|
'captchaToken': value.captchaToken,
|
|
29
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -32,6 +32,7 @@ function VerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'backup': !runtime.exists(json, 'backup') ? undefined : json['backup'],
|
|
33
33
|
'password': !runtime.exists(json, 'password') ? undefined : json['password'],
|
|
34
34
|
'passwordSource': !runtime.exists(json, 'passwordSource') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['passwordSource']),
|
|
35
|
+
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
function VerifyRequestToJSON(value) {
|
|
@@ -56,6 +57,7 @@ function VerifyRequestToJSON(value) {
|
|
|
56
57
|
'backup': value.backup,
|
|
57
58
|
'password': value.password,
|
|
58
59
|
'passwordSource': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.passwordSource),
|
|
60
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
|
|
@@ -104,6 +104,12 @@ export interface VerifyRequest {
|
|
|
104
104
|
* @memberof VerifyRequest
|
|
105
105
|
*/
|
|
106
106
|
passwordSource?: PasswordSourceTypeEnum;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof VerifyRequest
|
|
111
|
+
*/
|
|
112
|
+
sessionPublicKey?: string;
|
|
107
113
|
}
|
|
108
114
|
export declare function VerifyRequestFromJSON(json: any): VerifyRequest;
|
|
109
115
|
export declare function VerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyRequest;
|
|
@@ -28,6 +28,7 @@ function VerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'backup': !exists(json, 'backup') ? undefined : json['backup'],
|
|
29
29
|
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
30
30
|
'passwordSource': !exists(json, 'passwordSource') ? undefined : PasswordSourceTypeEnumFromJSON(json['passwordSource']),
|
|
31
|
+
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
function VerifyRequestToJSON(value) {
|
|
@@ -52,6 +53,7 @@ function VerifyRequestToJSON(value) {
|
|
|
52
53
|
'backup': value.backup,
|
|
53
54
|
'password': value.password,
|
|
54
55
|
'passwordSource': PasswordSourceTypeEnumToJSON(value.passwordSource),
|
|
56
|
+
'sessionPublicKey': value.sessionPublicKey,
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
59
|
|