@dynamic-labs/sdk-api-core 0.0.941 → 0.0.943
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
|
@@ -24,6 +24,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'mfa': !runtime.exists(json, 'mfa') ? undefined : MFASettings.MFASettingsFromJSON(json['mfa']),
|
|
25
25
|
'auth': !runtime.exists(json, 'auth') ? undefined : AuthSettings.AuthSettingsFromJSON(json['auth']),
|
|
26
26
|
'externalAuth': !runtime.exists(json, 'externalAuth') ? undefined : ExternalAuth.ExternalAuthFromJSON(json['externalAuth']),
|
|
27
|
+
'deviceRegistrationRequired': !runtime.exists(json, 'deviceRegistrationRequired') ? undefined : json['deviceRegistrationRequired'],
|
|
27
28
|
'environmentLocked': !runtime.exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
28
29
|
'notifications': !runtime.exists(json, 'notifications') ? undefined : SecurityNotifications.SecurityNotificationsFromJSON(json['notifications']),
|
|
29
30
|
};
|
|
@@ -41,6 +42,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
41
42
|
'mfa': MFASettings.MFASettingsToJSON(value.mfa),
|
|
42
43
|
'auth': AuthSettings.AuthSettingsToJSON(value.auth),
|
|
43
44
|
'externalAuth': ExternalAuth.ExternalAuthToJSON(value.externalAuth),
|
|
45
|
+
'deviceRegistrationRequired': value.deviceRegistrationRequired,
|
|
44
46
|
'environmentLocked': value.environmentLocked,
|
|
45
47
|
'notifications': SecurityNotifications.SecurityNotificationsToJSON(value.notifications),
|
|
46
48
|
};
|
|
@@ -51,6 +51,12 @@ export interface ProjectSettingsSecurity {
|
|
|
51
51
|
* @memberof ProjectSettingsSecurity
|
|
52
52
|
*/
|
|
53
53
|
externalAuth?: ExternalAuth;
|
|
54
|
+
/**
|
|
55
|
+
* When enabled, users must verify new devices via email before accessing the application. Defaults to true when not set.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ProjectSettingsSecurity
|
|
58
|
+
*/
|
|
59
|
+
deviceRegistrationRequired?: boolean;
|
|
54
60
|
/**
|
|
55
61
|
* When enabled, all SDK requests to this environment will be blocked.
|
|
56
62
|
* @type {boolean}
|
|
@@ -20,6 +20,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'mfa': !exists(json, 'mfa') ? undefined : MFASettingsFromJSON(json['mfa']),
|
|
21
21
|
'auth': !exists(json, 'auth') ? undefined : AuthSettingsFromJSON(json['auth']),
|
|
22
22
|
'externalAuth': !exists(json, 'externalAuth') ? undefined : ExternalAuthFromJSON(json['externalAuth']),
|
|
23
|
+
'deviceRegistrationRequired': !exists(json, 'deviceRegistrationRequired') ? undefined : json['deviceRegistrationRequired'],
|
|
23
24
|
'environmentLocked': !exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
24
25
|
'notifications': !exists(json, 'notifications') ? undefined : SecurityNotificationsFromJSON(json['notifications']),
|
|
25
26
|
};
|
|
@@ -37,6 +38,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
37
38
|
'mfa': MFASettingsToJSON(value.mfa),
|
|
38
39
|
'auth': AuthSettingsToJSON(value.auth),
|
|
39
40
|
'externalAuth': ExternalAuthToJSON(value.externalAuth),
|
|
41
|
+
'deviceRegistrationRequired': value.deviceRegistrationRequired,
|
|
40
42
|
'environmentLocked': value.environmentLocked,
|
|
41
43
|
'notifications': SecurityNotificationsToJSON(value.notifications),
|
|
42
44
|
};
|