@dynamic-labs/sdk-api 0.0.382 → 0.0.384
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/EnvironmentVisitorsResponseUsers.cjs +2 -0
- package/src/models/EnvironmentVisitorsResponseUsers.d.ts +6 -0
- package/src/models/EnvironmentVisitorsResponseUsers.js +2 -0
- package/src/models/UpdateSelfResponse.cjs +3 -0
- package/src/models/UpdateSelfResponse.d.ts +7 -0
- package/src/models/UpdateSelfResponse.js +3 -0
package/package.json
CHANGED
|
@@ -14,6 +14,7 @@ function EnvironmentVisitorsResponseUsersFromJSONTyped(json, ignoreDiscriminator
|
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
16
|
'count': !runtime.exists(json, 'count') ? undefined : json['count'],
|
|
17
|
+
'uniquePastMonth': !runtime.exists(json, 'uniquePastMonth') ? undefined : json['uniquePastMonth'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
function EnvironmentVisitorsResponseUsersToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function EnvironmentVisitorsResponseUsersToJSON(value) {
|
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
28
|
'count': value.count,
|
|
29
|
+
'uniquePastMonth': value.uniquePastMonth,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -21,6 +21,12 @@ export interface EnvironmentVisitorsResponseUsers {
|
|
|
21
21
|
* @memberof EnvironmentVisitorsResponseUsers
|
|
22
22
|
*/
|
|
23
23
|
count?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof EnvironmentVisitorsResponseUsers
|
|
28
|
+
*/
|
|
29
|
+
uniquePastMonth?: number;
|
|
24
30
|
}
|
|
25
31
|
export declare function EnvironmentVisitorsResponseUsersFromJSON(json: any): EnvironmentVisitorsResponseUsers;
|
|
26
32
|
export declare function EnvironmentVisitorsResponseUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentVisitorsResponseUsers;
|
|
@@ -10,6 +10,7 @@ function EnvironmentVisitorsResponseUsersFromJSONTyped(json, ignoreDiscriminator
|
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
12
|
'count': !exists(json, 'count') ? undefined : json['count'],
|
|
13
|
+
'uniquePastMonth': !exists(json, 'uniquePastMonth') ? undefined : json['uniquePastMonth'],
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
function EnvironmentVisitorsResponseUsersToJSON(value) {
|
|
@@ -21,6 +22,7 @@ function EnvironmentVisitorsResponseUsersToJSON(value) {
|
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
23
24
|
'count': value.count,
|
|
25
|
+
'uniquePastMonth': value.uniquePastMonth,
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
|
|
@@ -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
|
};
|