@dynamic-labs/sdk-api 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.858",
3
+ "version": "0.0.859",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
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';
@@ -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 };
@@ -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';