@dynamic-labs/sdk-api 0.0.382 → 0.0.383
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
CHANGED
|
@@ -6,6 +6,7 @@ var runtime = require('../runtime.cjs');
|
|
|
6
6
|
var EmailVerificationCreateResponse = require('./EmailVerificationCreateResponse.cjs');
|
|
7
7
|
var NextViewEnum = require('./NextViewEnum.cjs');
|
|
8
8
|
var SdkUser = require('./SdkUser.cjs');
|
|
9
|
+
var SmsVerificationCreateResponse = require('./SmsVerificationCreateResponse.cjs');
|
|
9
10
|
|
|
10
11
|
/* tslint:disable */
|
|
11
12
|
function UpdateSelfResponseFromJSON(json) {
|
|
@@ -19,6 +20,7 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
20
|
'user': SdkUser.SdkUserFromJSON(json['user']),
|
|
20
21
|
'nextView': NextViewEnum.NextViewEnumFromJSON(json['nextView']),
|
|
21
22
|
'emailVerification': !runtime.exists(json, 'emailVerification') ? undefined : EmailVerificationCreateResponse.EmailVerificationCreateResponseFromJSON(json['emailVerification']),
|
|
23
|
+
'smsVerification': !runtime.exists(json, 'smsVerification') ? undefined : SmsVerificationCreateResponse.SmsVerificationCreateResponseFromJSON(json['smsVerification']),
|
|
22
24
|
'jwt': json['jwt'],
|
|
23
25
|
'minifiedJwt': json['minifiedJwt'],
|
|
24
26
|
};
|
|
@@ -34,6 +36,7 @@ function UpdateSelfResponseToJSON(value) {
|
|
|
34
36
|
'user': SdkUser.SdkUserToJSON(value.user),
|
|
35
37
|
'nextView': NextViewEnum.NextViewEnumToJSON(value.nextView),
|
|
36
38
|
'emailVerification': EmailVerificationCreateResponse.EmailVerificationCreateResponseToJSON(value.emailVerification),
|
|
39
|
+
'smsVerification': SmsVerificationCreateResponse.SmsVerificationCreateResponseToJSON(value.smsVerification),
|
|
37
40
|
'jwt': value.jwt,
|
|
38
41
|
'minifiedJwt': value.minifiedJwt,
|
|
39
42
|
};
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { EmailVerificationCreateResponse } from './EmailVerificationCreateResponse';
|
|
13
13
|
import { NextViewEnum } from './NextViewEnum';
|
|
14
14
|
import { SdkUser } from './SdkUser';
|
|
15
|
+
import { SmsVerificationCreateResponse } from './SmsVerificationCreateResponse';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
@@ -36,6 +37,12 @@ export interface UpdateSelfResponse {
|
|
|
36
37
|
* @memberof UpdateSelfResponse
|
|
37
38
|
*/
|
|
38
39
|
emailVerification?: EmailVerificationCreateResponse;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {SmsVerificationCreateResponse}
|
|
43
|
+
* @memberof UpdateSelfResponse
|
|
44
|
+
*/
|
|
45
|
+
smsVerification?: SmsVerificationCreateResponse;
|
|
39
46
|
/**
|
|
40
47
|
* Encoded JWT token
|
|
41
48
|
* @type {string}
|
|
@@ -2,6 +2,7 @@ import { exists } from '../runtime.js';
|
|
|
2
2
|
import { EmailVerificationCreateResponseFromJSON, EmailVerificationCreateResponseToJSON } from './EmailVerificationCreateResponse.js';
|
|
3
3
|
import { NextViewEnumFromJSON, NextViewEnumToJSON } from './NextViewEnum.js';
|
|
4
4
|
import { SdkUserFromJSON, SdkUserToJSON } from './SdkUser.js';
|
|
5
|
+
import { SmsVerificationCreateResponseFromJSON, SmsVerificationCreateResponseToJSON } from './SmsVerificationCreateResponse.js';
|
|
5
6
|
|
|
6
7
|
/* tslint:disable */
|
|
7
8
|
function UpdateSelfResponseFromJSON(json) {
|
|
@@ -15,6 +16,7 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
'user': SdkUserFromJSON(json['user']),
|
|
16
17
|
'nextView': NextViewEnumFromJSON(json['nextView']),
|
|
17
18
|
'emailVerification': !exists(json, 'emailVerification') ? undefined : EmailVerificationCreateResponseFromJSON(json['emailVerification']),
|
|
19
|
+
'smsVerification': !exists(json, 'smsVerification') ? undefined : SmsVerificationCreateResponseFromJSON(json['smsVerification']),
|
|
18
20
|
'jwt': json['jwt'],
|
|
19
21
|
'minifiedJwt': json['minifiedJwt'],
|
|
20
22
|
};
|
|
@@ -30,6 +32,7 @@ function UpdateSelfResponseToJSON(value) {
|
|
|
30
32
|
'user': SdkUserToJSON(value.user),
|
|
31
33
|
'nextView': NextViewEnumToJSON(value.nextView),
|
|
32
34
|
'emailVerification': EmailVerificationCreateResponseToJSON(value.emailVerification),
|
|
35
|
+
'smsVerification': SmsVerificationCreateResponseToJSON(value.smsVerification),
|
|
33
36
|
'jwt': value.jwt,
|
|
34
37
|
'minifiedJwt': value.minifiedJwt,
|
|
35
38
|
};
|