@dynamic-labs/sdk-api 0.0.857 → 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/ProjectSettingsSdkWaas.cjs +2 -0
- package/src/models/ProjectSettingsSdkWaas.d.ts +6 -0
- package/src/models/ProjectSettingsSdkWaas.js +2 -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
|
@@ -472,6 +472,7 @@ var SdkViewSectionType = require('./models/SdkViewSectionType.cjs');
|
|
|
472
472
|
var SdkViewType = require('./models/SdkViewType.cjs');
|
|
473
473
|
var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
|
|
474
474
|
var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
475
|
+
var SecurityNotifications = require('./models/SecurityNotifications.cjs');
|
|
475
476
|
var Session = require('./models/Session.cjs');
|
|
476
477
|
var SessionsHeatmapResult = require('./models/SessionsHeatmapResult.cjs');
|
|
477
478
|
var SessionsResponse = require('./models/SessionsResponse.cjs');
|
|
@@ -2259,6 +2260,9 @@ exports.SdkViewUpdateRequestToJSON = SdkViewUpdateRequest.SdkViewUpdateRequestTo
|
|
|
2259
2260
|
exports.SdkViewsResponseFromJSON = SdkViewsResponse.SdkViewsResponseFromJSON;
|
|
2260
2261
|
exports.SdkViewsResponseFromJSONTyped = SdkViewsResponse.SdkViewsResponseFromJSONTyped;
|
|
2261
2262
|
exports.SdkViewsResponseToJSON = SdkViewsResponse.SdkViewsResponseToJSON;
|
|
2263
|
+
exports.SecurityNotificationsFromJSON = SecurityNotifications.SecurityNotificationsFromJSON;
|
|
2264
|
+
exports.SecurityNotificationsFromJSONTyped = SecurityNotifications.SecurityNotificationsFromJSONTyped;
|
|
2265
|
+
exports.SecurityNotificationsToJSON = SecurityNotifications.SecurityNotificationsToJSON;
|
|
2262
2266
|
exports.SessionFromJSON = Session.SessionFromJSON;
|
|
2263
2267
|
exports.SessionFromJSONTyped = Session.SessionFromJSONTyped;
|
|
2264
2268
|
exports.SessionToJSON = Session.SessionToJSON;
|
package/src/index.js
CHANGED
|
@@ -468,6 +468,7 @@ export { SdkViewSectionType, SdkViewSectionTypeFromJSON, SdkViewSectionTypeFromJ
|
|
|
468
468
|
export { SdkViewType, SdkViewTypeFromJSON, SdkViewTypeFromJSONTyped, SdkViewTypeToJSON } from './models/SdkViewType.js';
|
|
469
469
|
export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkViewUpdateRequestToJSON } from './models/SdkViewUpdateRequest.js';
|
|
470
470
|
export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
|
|
471
|
+
export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON } from './models/SecurityNotifications.js';
|
|
471
472
|
export { SessionFromJSON, SessionFromJSONTyped, SessionToJSON } from './models/Session.js';
|
|
472
473
|
export { SessionsHeatmapResultFromJSON, SessionsHeatmapResultFromJSONTyped, SessionsHeatmapResultToJSON } from './models/SessionsHeatmapResult.js';
|
|
473
474
|
export { SessionsResponseFromJSON, SessionsResponseFromJSONTyped, SessionsResponseToJSON } from './models/SessionsResponse.js';
|
|
@@ -27,6 +27,7 @@ function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'delegatedAccess': !runtime.exists(json, 'delegatedAccess') ? undefined : ProjectSettingsSdkWaasDelegatedAccess.ProjectSettingsSdkWaasDelegatedAccessFromJSON(json['delegatedAccess']),
|
|
28
28
|
'enableForwardMPCClient': !runtime.exists(json, 'enableForwardMPCClient') ? undefined : json['enableForwardMPCClient'],
|
|
29
29
|
'customKeyshareRelayBaseUrl': !runtime.exists(json, 'customKeyshareRelayBaseUrl') ? undefined : json['customKeyshareRelayBaseUrl'],
|
|
30
|
+
'exportDisabled': !runtime.exists(json, 'exportDisabled') ? undefined : json['exportDisabled'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
function ProjectSettingsSdkWaasToJSON(value) {
|
|
@@ -47,6 +48,7 @@ function ProjectSettingsSdkWaasToJSON(value) {
|
|
|
47
48
|
'delegatedAccess': ProjectSettingsSdkWaasDelegatedAccess.ProjectSettingsSdkWaasDelegatedAccessToJSON(value.delegatedAccess),
|
|
48
49
|
'enableForwardMPCClient': value.enableForwardMPCClient,
|
|
49
50
|
'customKeyshareRelayBaseUrl': value.customKeyshareRelayBaseUrl,
|
|
51
|
+
'exportDisabled': value.exportDisabled,
|
|
50
52
|
};
|
|
51
53
|
}
|
|
52
54
|
|
|
@@ -79,6 +79,12 @@ export interface ProjectSettingsSdkWaas {
|
|
|
79
79
|
* @memberof ProjectSettingsSdkWaas
|
|
80
80
|
*/
|
|
81
81
|
customKeyshareRelayBaseUrl?: string;
|
|
82
|
+
/**
|
|
83
|
+
* When true, private key exports are disabled at both API and wallet enclave levels. When false (default), users can export their private keys from v3 embedded wallets.
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof ProjectSettingsSdkWaas
|
|
86
|
+
*/
|
|
87
|
+
exportDisabled?: boolean;
|
|
82
88
|
}
|
|
83
89
|
export declare function ProjectSettingsSdkWaasFromJSON(json: any): ProjectSettingsSdkWaas;
|
|
84
90
|
export declare function ProjectSettingsSdkWaasFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkWaas;
|
|
@@ -23,6 +23,7 @@ function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'delegatedAccess': !exists(json, 'delegatedAccess') ? undefined : ProjectSettingsSdkWaasDelegatedAccessFromJSON(json['delegatedAccess']),
|
|
24
24
|
'enableForwardMPCClient': !exists(json, 'enableForwardMPCClient') ? undefined : json['enableForwardMPCClient'],
|
|
25
25
|
'customKeyshareRelayBaseUrl': !exists(json, 'customKeyshareRelayBaseUrl') ? undefined : json['customKeyshareRelayBaseUrl'],
|
|
26
|
+
'exportDisabled': !exists(json, 'exportDisabled') ? undefined : json['exportDisabled'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function ProjectSettingsSdkWaasToJSON(value) {
|
|
@@ -43,6 +44,7 @@ function ProjectSettingsSdkWaasToJSON(value) {
|
|
|
43
44
|
'delegatedAccess': ProjectSettingsSdkWaasDelegatedAccessToJSON(value.delegatedAccess),
|
|
44
45
|
'enableForwardMPCClient': value.enableForwardMPCClient,
|
|
45
46
|
'customKeyshareRelayBaseUrl': value.customKeyshareRelayBaseUrl,
|
|
47
|
+
'exportDisabled': value.exportDisabled,
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
50
|
|
|
@@ -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
|
@@ -430,6 +430,7 @@ export * from './SdkViewSectionType';
|
|
|
430
430
|
export * from './SdkViewType';
|
|
431
431
|
export * from './SdkViewUpdateRequest';
|
|
432
432
|
export * from './SdkViewsResponse';
|
|
433
|
+
export * from './SecurityNotifications';
|
|
433
434
|
export * from './Session';
|
|
434
435
|
export * from './SessionsHeatmapResult';
|
|
435
436
|
export * from './SessionsResponse';
|