@dynamic-labs/sdk-api 0.0.332 → 0.0.333
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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var NetworkConfigurationResponse = require('./NetworkConfigurationResponse.cjs');
|
|
6
7
|
var ProjectSettingsChains = require('./ProjectSettingsChains.cjs');
|
|
7
8
|
var ProjectSettingsDesign = require('./ProjectSettingsDesign.cjs');
|
|
8
9
|
var ProjectSettingsGeneral = require('./ProjectSettingsGeneral.cjs');
|
|
@@ -29,6 +30,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
30
|
'providers': !runtime.exists(json, 'providers') ? undefined : (json['providers'].map(Provider.ProviderFromJSON)),
|
|
30
31
|
'sdk': ProjectSettingsSdk.ProjectSettingsSdkFromJSON(json['sdk']),
|
|
31
32
|
'security': ProjectSettingsSecurity.ProjectSettingsSecurityFromJSON(json['security']),
|
|
33
|
+
'networks': !runtime.exists(json, 'networks') ? undefined : (json['networks'].map(NetworkConfigurationResponse.NetworkConfigurationResponseFromJSON)),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
function ProjectSettingsToJSON(value) {
|
|
@@ -47,6 +49,7 @@ function ProjectSettingsToJSON(value) {
|
|
|
47
49
|
'providers': value.providers === undefined ? undefined : (value.providers.map(Provider.ProviderToJSON)),
|
|
48
50
|
'sdk': ProjectSettingsSdk.ProjectSettingsSdkToJSON(value.sdk),
|
|
49
51
|
'security': ProjectSettingsSecurity.ProjectSettingsSecurityToJSON(value.security),
|
|
52
|
+
'networks': value.networks === undefined ? undefined : (value.networks.map(NetworkConfigurationResponse.NetworkConfigurationResponseToJSON)),
|
|
50
53
|
};
|
|
51
54
|
}
|
|
52
55
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { NetworkConfigurationResponse } from './NetworkConfigurationResponse';
|
|
12
13
|
import { ProjectSettingsChains } from './ProjectSettingsChains';
|
|
13
14
|
import { ProjectSettingsDesign } from './ProjectSettingsDesign';
|
|
14
15
|
import { ProjectSettingsGeneral } from './ProjectSettingsGeneral';
|
|
@@ -71,6 +72,12 @@ export interface ProjectSettings {
|
|
|
71
72
|
* @memberof ProjectSettings
|
|
72
73
|
*/
|
|
73
74
|
security: ProjectSettingsSecurity;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {Array<NetworkConfigurationResponse>}
|
|
78
|
+
* @memberof ProjectSettings
|
|
79
|
+
*/
|
|
80
|
+
networks?: Array<NetworkConfigurationResponse>;
|
|
74
81
|
}
|
|
75
82
|
export declare function ProjectSettingsFromJSON(json: any): ProjectSettings;
|
|
76
83
|
export declare function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { NetworkConfigurationResponseFromJSON, NetworkConfigurationResponseToJSON } from './NetworkConfigurationResponse.js';
|
|
2
3
|
import { ProjectSettingsChainsFromJSON, ProjectSettingsChainsToJSON } from './ProjectSettingsChains.js';
|
|
3
4
|
import { ProjectSettingsDesignFromJSON, ProjectSettingsDesignToJSON } from './ProjectSettingsDesign.js';
|
|
4
5
|
import { ProjectSettingsGeneralFromJSON, ProjectSettingsGeneralToJSON } from './ProjectSettingsGeneral.js';
|
|
@@ -25,6 +26,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
'providers': !exists(json, 'providers') ? undefined : (json['providers'].map(ProviderFromJSON)),
|
|
26
27
|
'sdk': ProjectSettingsSdkFromJSON(json['sdk']),
|
|
27
28
|
'security': ProjectSettingsSecurityFromJSON(json['security']),
|
|
29
|
+
'networks': !exists(json, 'networks') ? undefined : (json['networks'].map(NetworkConfigurationResponseFromJSON)),
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
function ProjectSettingsToJSON(value) {
|
|
@@ -43,6 +45,7 @@ function ProjectSettingsToJSON(value) {
|
|
|
43
45
|
'providers': value.providers === undefined ? undefined : (value.providers.map(ProviderToJSON)),
|
|
44
46
|
'sdk': ProjectSettingsSdkToJSON(value.sdk),
|
|
45
47
|
'security': ProjectSettingsSecurityToJSON(value.security),
|
|
48
|
+
'networks': value.networks === undefined ? undefined : (value.networks.map(NetworkConfigurationResponseToJSON)),
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
|