@dynamic-labs/sdk-api-core 0.0.858 → 0.0.859
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/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/ProjectSettingsSecurity.cjs +3 -0
- package/src/models/ProjectSettingsSecurity.d.ts +7 -0
- package/src/models/ProjectSettingsSecurity.js +3 -0
- package/src/models/SecurityNotifications.cjs +35 -0
- package/src/models/SecurityNotifications.d.ts +33 -0
- package/src/models/SecurityNotifications.js +29 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -287,6 +287,7 @@ var SdkViewSectionType = require('./models/SdkViewSectionType.cjs');
|
|
|
287
287
|
var SdkViewType = require('./models/SdkViewType.cjs');
|
|
288
288
|
var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
|
|
289
289
|
var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
290
|
+
var SecurityNotifications = require('./models/SecurityNotifications.cjs');
|
|
290
291
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
291
292
|
var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
|
|
292
293
|
var SignMessageContext = require('./models/SignMessageContext.cjs');
|
|
@@ -1463,6 +1464,9 @@ exports.SdkViewUpdateRequestToJSON = SdkViewUpdateRequest.SdkViewUpdateRequestTo
|
|
|
1463
1464
|
exports.SdkViewsResponseFromJSON = SdkViewsResponse.SdkViewsResponseFromJSON;
|
|
1464
1465
|
exports.SdkViewsResponseFromJSONTyped = SdkViewsResponse.SdkViewsResponseFromJSONTyped;
|
|
1465
1466
|
exports.SdkViewsResponseToJSON = SdkViewsResponse.SdkViewsResponseToJSON;
|
|
1467
|
+
exports.SecurityNotificationsFromJSON = SecurityNotifications.SecurityNotificationsFromJSON;
|
|
1468
|
+
exports.SecurityNotificationsFromJSONTyped = SecurityNotifications.SecurityNotificationsFromJSONTyped;
|
|
1469
|
+
exports.SecurityNotificationsToJSON = SecurityNotifications.SecurityNotificationsToJSON;
|
|
1466
1470
|
Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
1467
1471
|
enumerable: true,
|
|
1468
1472
|
get: function () { return SignInProviderEnum.SignInProviderEnum; }
|
package/src/index.js
CHANGED
|
@@ -283,6 +283,7 @@ export { SdkViewSectionType, SdkViewSectionTypeFromJSON, SdkViewSectionTypeFromJ
|
|
|
283
283
|
export { SdkViewType, SdkViewTypeFromJSON, SdkViewTypeFromJSONTyped, SdkViewTypeToJSON } from './models/SdkViewType.js';
|
|
284
284
|
export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkViewUpdateRequestToJSON } from './models/SdkViewUpdateRequest.js';
|
|
285
285
|
export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
|
|
286
|
+
export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON } from './models/SecurityNotifications.js';
|
|
286
287
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
287
288
|
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
|
|
288
289
|
export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
|
|
@@ -8,6 +8,7 @@ var Duration = require('./Duration.cjs');
|
|
|
8
8
|
var ExternalAuth = require('./ExternalAuth.cjs');
|
|
9
9
|
var HCaptchaSettings = require('./HCaptchaSettings.cjs');
|
|
10
10
|
var MFASettings = require('./MFASettings.cjs');
|
|
11
|
+
var SecurityNotifications = require('./SecurityNotifications.cjs');
|
|
11
12
|
|
|
12
13
|
/* tslint:disable */
|
|
13
14
|
function ProjectSettingsSecurityFromJSON(json) {
|
|
@@ -24,6 +25,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
25
|
'auth': !runtime.exists(json, 'auth') ? undefined : AuthSettings.AuthSettingsFromJSON(json['auth']),
|
|
25
26
|
'externalAuth': !runtime.exists(json, 'externalAuth') ? undefined : ExternalAuth.ExternalAuthFromJSON(json['externalAuth']),
|
|
26
27
|
'environmentLocked': !runtime.exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
28
|
+
'notifications': !runtime.exists(json, 'notifications') ? undefined : SecurityNotifications.SecurityNotificationsFromJSON(json['notifications']),
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
function ProjectSettingsSecurityToJSON(value) {
|
|
@@ -40,6 +42,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
40
42
|
'auth': AuthSettings.AuthSettingsToJSON(value.auth),
|
|
41
43
|
'externalAuth': ExternalAuth.ExternalAuthToJSON(value.externalAuth),
|
|
42
44
|
'environmentLocked': value.environmentLocked,
|
|
45
|
+
'notifications': SecurityNotifications.SecurityNotificationsToJSON(value.notifications),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
|
|
@@ -14,6 +14,7 @@ import { Duration } from './Duration';
|
|
|
14
14
|
import { ExternalAuth } from './ExternalAuth';
|
|
15
15
|
import { HCaptchaSettings } from './HCaptchaSettings';
|
|
16
16
|
import { MFASettings } from './MFASettings';
|
|
17
|
+
import { SecurityNotifications } from './SecurityNotifications';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
@@ -56,6 +57,12 @@ export interface ProjectSettingsSecurity {
|
|
|
56
57
|
* @memberof ProjectSettingsSecurity
|
|
57
58
|
*/
|
|
58
59
|
environmentLocked?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {SecurityNotifications}
|
|
63
|
+
* @memberof ProjectSettingsSecurity
|
|
64
|
+
*/
|
|
65
|
+
notifications?: SecurityNotifications;
|
|
59
66
|
}
|
|
60
67
|
export declare function ProjectSettingsSecurityFromJSON(json: any): ProjectSettingsSecurity;
|
|
61
68
|
export declare function ProjectSettingsSecurityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSecurity;
|
|
@@ -4,6 +4,7 @@ import { DurationFromJSON, DurationToJSON } from './Duration.js';
|
|
|
4
4
|
import { ExternalAuthFromJSON, ExternalAuthToJSON } from './ExternalAuth.js';
|
|
5
5
|
import { HCaptchaSettingsFromJSON, HCaptchaSettingsToJSON } from './HCaptchaSettings.js';
|
|
6
6
|
import { MFASettingsFromJSON, MFASettingsToJSON } from './MFASettings.js';
|
|
7
|
+
import { SecurityNotificationsFromJSON, SecurityNotificationsToJSON } from './SecurityNotifications.js';
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function ProjectSettingsSecurityFromJSON(json) {
|
|
@@ -20,6 +21,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
'auth': !exists(json, 'auth') ? undefined : AuthSettingsFromJSON(json['auth']),
|
|
21
22
|
'externalAuth': !exists(json, 'externalAuth') ? undefined : ExternalAuthFromJSON(json['externalAuth']),
|
|
22
23
|
'environmentLocked': !exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
24
|
+
'notifications': !exists(json, 'notifications') ? undefined : SecurityNotificationsFromJSON(json['notifications']),
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
function ProjectSettingsSecurityToJSON(value) {
|
|
@@ -36,6 +38,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
36
38
|
'auth': AuthSettingsToJSON(value.auth),
|
|
37
39
|
'externalAuth': ExternalAuthToJSON(value.externalAuth),
|
|
38
40
|
'environmentLocked': value.environmentLocked,
|
|
41
|
+
'notifications': SecurityNotificationsToJSON(value.notifications),
|
|
39
42
|
};
|
|
40
43
|
}
|
|
41
44
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SecurityNotificationsFromJSON(json) {
|
|
9
|
+
return SecurityNotificationsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SecurityNotificationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'waasPrivateKeyExport': !runtime.exists(json, 'waasPrivateKeyExport') ? undefined : json['waasPrivateKeyExport'],
|
|
17
|
+
'waasSignedTransaction': !runtime.exists(json, 'waasSignedTransaction') ? undefined : json['waasSignedTransaction'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SecurityNotificationsToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'waasPrivateKeyExport': value.waasPrivateKeyExport,
|
|
29
|
+
'waasSignedTransaction': value.waasSignedTransaction,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.SecurityNotificationsFromJSON = SecurityNotificationsFromJSON;
|
|
34
|
+
exports.SecurityNotificationsFromJSONTyped = SecurityNotificationsFromJSONTyped;
|
|
35
|
+
exports.SecurityNotificationsToJSON = SecurityNotificationsToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SecurityNotifications
|
|
16
|
+
*/
|
|
17
|
+
export interface SecurityNotifications {
|
|
18
|
+
/**
|
|
19
|
+
* Send email notification when a user exports their embedded wallet private key. Defaults to true.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SecurityNotifications
|
|
22
|
+
*/
|
|
23
|
+
waasPrivateKeyExport?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Send email notification when a transaction is signed with an embedded wallet. Defaults to true.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SecurityNotifications
|
|
28
|
+
*/
|
|
29
|
+
waasSignedTransaction?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare function SecurityNotificationsFromJSON(json: any): SecurityNotifications;
|
|
32
|
+
export declare function SecurityNotificationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityNotifications;
|
|
33
|
+
export declare function SecurityNotificationsToJSON(value?: SecurityNotifications | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SecurityNotificationsFromJSON(json) {
|
|
5
|
+
return SecurityNotificationsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SecurityNotificationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'waasPrivateKeyExport': !exists(json, 'waasPrivateKeyExport') ? undefined : json['waasPrivateKeyExport'],
|
|
13
|
+
'waasSignedTransaction': !exists(json, 'waasSignedTransaction') ? undefined : json['waasSignedTransaction'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function SecurityNotificationsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'waasPrivateKeyExport': value.waasPrivateKeyExport,
|
|
25
|
+
'waasSignedTransaction': value.waasSignedTransaction,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -280,6 +280,7 @@ export * from './SdkViewSectionType';
|
|
|
280
280
|
export * from './SdkViewType';
|
|
281
281
|
export * from './SdkViewUpdateRequest';
|
|
282
282
|
export * from './SdkViewsResponse';
|
|
283
|
+
export * from './SecurityNotifications';
|
|
283
284
|
export * from './SignInProviderEnum';
|
|
284
285
|
export * from './SignMessageAuthorizationSignature';
|
|
285
286
|
export * from './SignMessageContext';
|