@dynamic-labs/sdk-api 0.0.598 → 0.0.600
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/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +276 -0
- package/src/apis/CustomNetworksApi.d.ts +78 -0
- package/src/apis/CustomNetworksApi.js +272 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +57 -0
- package/src/apis/SDKApi.d.ts +23 -1
- package/src/apis/SDKApi.js +57 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +22 -0
- package/src/index.js +6 -1
- package/src/models/CustomNetworkRequest.cjs +51 -0
- package/src/models/CustomNetworkRequest.d.ts +82 -0
- package/src/models/CustomNetworkRequest.js +45 -0
- package/src/models/CustomNetworkResponse.cjs +34 -0
- package/src/models/CustomNetworkResponse.d.ts +28 -0
- package/src/models/CustomNetworkResponse.js +28 -0
- package/src/models/CustomNetworkResponseCustomNetwork.cjs +53 -0
- package/src/models/CustomNetworkResponseCustomNetwork.d.ts +88 -0
- package/src/models/CustomNetworkResponseCustomNetwork.js +47 -0
- package/src/models/InlineResponse200.cjs +34 -0
- package/src/models/InlineResponse200.d.ts +28 -0
- package/src/models/InlineResponse200.js +28 -0
- package/src/models/Network.cjs +13 -0
- package/src/models/Network.d.ts +20 -0
- package/src/models/Network.js +14 -1
- package/src/models/index.d.ts +4 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var CustomNetworkResponseCustomNetwork = require('./CustomNetworkResponseCustomNetwork.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function CustomNetworkResponseFromJSON(json) {
|
|
10
|
+
return CustomNetworkResponseFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function CustomNetworkResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'customNetwork': !runtime.exists(json, 'customNetwork') ? undefined : CustomNetworkResponseCustomNetwork.CustomNetworkResponseCustomNetworkFromJSON(json['customNetwork']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function CustomNetworkResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'customNetwork': CustomNetworkResponseCustomNetwork.CustomNetworkResponseCustomNetworkToJSON(value.customNetwork),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports.CustomNetworkResponseFromJSON = CustomNetworkResponseFromJSON;
|
|
33
|
+
exports.CustomNetworkResponseFromJSONTyped = CustomNetworkResponseFromJSONTyped;
|
|
34
|
+
exports.CustomNetworkResponseToJSON = CustomNetworkResponseToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
import { CustomNetworkResponseCustomNetwork } from './CustomNetworkResponseCustomNetwork';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CustomNetworkResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface CustomNetworkResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CustomNetworkResponseCustomNetwork}
|
|
22
|
+
* @memberof CustomNetworkResponse
|
|
23
|
+
*/
|
|
24
|
+
customNetwork?: CustomNetworkResponseCustomNetwork;
|
|
25
|
+
}
|
|
26
|
+
export declare function CustomNetworkResponseFromJSON(json: any): CustomNetworkResponse;
|
|
27
|
+
export declare function CustomNetworkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomNetworkResponse;
|
|
28
|
+
export declare function CustomNetworkResponseToJSON(value?: CustomNetworkResponse | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { CustomNetworkResponseCustomNetworkFromJSON, CustomNetworkResponseCustomNetworkToJSON } from './CustomNetworkResponseCustomNetwork.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function CustomNetworkResponseFromJSON(json) {
|
|
6
|
+
return CustomNetworkResponseFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function CustomNetworkResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'customNetwork': !exists(json, 'customNetwork') ? undefined : CustomNetworkResponseCustomNetworkFromJSON(json['customNetwork']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function CustomNetworkResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'customNetwork': CustomNetworkResponseCustomNetworkToJSON(value.customNetwork),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { CustomNetworkResponseFromJSON, CustomNetworkResponseFromJSONTyped, CustomNetworkResponseToJSON };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function CustomNetworkResponseCustomNetworkFromJSON(json) {
|
|
9
|
+
return CustomNetworkResponseCustomNetworkFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function CustomNetworkResponseCustomNetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'networkType': ChainEnum.ChainEnumFromJSON(json['networkType']),
|
|
18
|
+
'chainName': json['chainName'],
|
|
19
|
+
'chainId': json['chainId'],
|
|
20
|
+
'rpcUrl': json['rpcUrl'],
|
|
21
|
+
'blockExplorerUrl': json['blockExplorerUrl'],
|
|
22
|
+
'iconUrl': json['iconUrl'],
|
|
23
|
+
'nativeCurrencyName': json['nativeCurrencyName'],
|
|
24
|
+
'nativeCurrencySymbol': json['nativeCurrencySymbol'],
|
|
25
|
+
'nativeCurrencyIconUrl': json['nativeCurrencyIconUrl'],
|
|
26
|
+
'nativeCurrencyDecimals': json['nativeCurrencyDecimals'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function CustomNetworkResponseCustomNetworkToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': value.id,
|
|
38
|
+
'networkType': ChainEnum.ChainEnumToJSON(value.networkType),
|
|
39
|
+
'chainName': value.chainName,
|
|
40
|
+
'chainId': value.chainId,
|
|
41
|
+
'rpcUrl': value.rpcUrl,
|
|
42
|
+
'blockExplorerUrl': value.blockExplorerUrl,
|
|
43
|
+
'iconUrl': value.iconUrl,
|
|
44
|
+
'nativeCurrencyName': value.nativeCurrencyName,
|
|
45
|
+
'nativeCurrencySymbol': value.nativeCurrencySymbol,
|
|
46
|
+
'nativeCurrencyIconUrl': value.nativeCurrencyIconUrl,
|
|
47
|
+
'nativeCurrencyDecimals': value.nativeCurrencyDecimals,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
exports.CustomNetworkResponseCustomNetworkFromJSON = CustomNetworkResponseCustomNetworkFromJSON;
|
|
52
|
+
exports.CustomNetworkResponseCustomNetworkFromJSONTyped = CustomNetworkResponseCustomNetworkFromJSONTyped;
|
|
53
|
+
exports.CustomNetworkResponseCustomNetworkToJSON = CustomNetworkResponseCustomNetworkToJSON;
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
import { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CustomNetworkResponseCustomNetwork
|
|
17
|
+
*/
|
|
18
|
+
export interface CustomNetworkResponseCustomNetwork {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ChainEnum}
|
|
28
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
29
|
+
*/
|
|
30
|
+
networkType: ChainEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
35
|
+
*/
|
|
36
|
+
chainName: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
41
|
+
*/
|
|
42
|
+
chainId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
47
|
+
*/
|
|
48
|
+
rpcUrl: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
53
|
+
*/
|
|
54
|
+
blockExplorerUrl: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
59
|
+
*/
|
|
60
|
+
iconUrl: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
65
|
+
*/
|
|
66
|
+
nativeCurrencyName: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
71
|
+
*/
|
|
72
|
+
nativeCurrencySymbol: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
77
|
+
*/
|
|
78
|
+
nativeCurrencyIconUrl: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof CustomNetworkResponseCustomNetwork
|
|
83
|
+
*/
|
|
84
|
+
nativeCurrencyDecimals: number;
|
|
85
|
+
}
|
|
86
|
+
export declare function CustomNetworkResponseCustomNetworkFromJSON(json: any): CustomNetworkResponseCustomNetwork;
|
|
87
|
+
export declare function CustomNetworkResponseCustomNetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomNetworkResponseCustomNetwork;
|
|
88
|
+
export declare function CustomNetworkResponseCustomNetworkToJSON(value?: CustomNetworkResponseCustomNetwork | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function CustomNetworkResponseCustomNetworkFromJSON(json) {
|
|
5
|
+
return CustomNetworkResponseCustomNetworkFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function CustomNetworkResponseCustomNetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': json['id'],
|
|
13
|
+
'networkType': ChainEnumFromJSON(json['networkType']),
|
|
14
|
+
'chainName': json['chainName'],
|
|
15
|
+
'chainId': json['chainId'],
|
|
16
|
+
'rpcUrl': json['rpcUrl'],
|
|
17
|
+
'blockExplorerUrl': json['blockExplorerUrl'],
|
|
18
|
+
'iconUrl': json['iconUrl'],
|
|
19
|
+
'nativeCurrencyName': json['nativeCurrencyName'],
|
|
20
|
+
'nativeCurrencySymbol': json['nativeCurrencySymbol'],
|
|
21
|
+
'nativeCurrencyIconUrl': json['nativeCurrencyIconUrl'],
|
|
22
|
+
'nativeCurrencyDecimals': json['nativeCurrencyDecimals'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function CustomNetworkResponseCustomNetworkToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': value.id,
|
|
34
|
+
'networkType': ChainEnumToJSON(value.networkType),
|
|
35
|
+
'chainName': value.chainName,
|
|
36
|
+
'chainId': value.chainId,
|
|
37
|
+
'rpcUrl': value.rpcUrl,
|
|
38
|
+
'blockExplorerUrl': value.blockExplorerUrl,
|
|
39
|
+
'iconUrl': value.iconUrl,
|
|
40
|
+
'nativeCurrencyName': value.nativeCurrencyName,
|
|
41
|
+
'nativeCurrencySymbol': value.nativeCurrencySymbol,
|
|
42
|
+
'nativeCurrencyIconUrl': value.nativeCurrencyIconUrl,
|
|
43
|
+
'nativeCurrencyDecimals': value.nativeCurrencyDecimals,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { CustomNetworkResponseCustomNetworkFromJSON, CustomNetworkResponseCustomNetworkFromJSONTyped, CustomNetworkResponseCustomNetworkToJSON };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var CustomNetworkResponse = require('./CustomNetworkResponse.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function InlineResponse200FromJSON(json) {
|
|
10
|
+
return InlineResponse200FromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function InlineResponse200FromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'customNetworks': !runtime.exists(json, 'customNetworks') ? undefined : (json['customNetworks'].map(CustomNetworkResponse.CustomNetworkResponseFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function InlineResponse200ToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'customNetworks': value.customNetworks === undefined ? undefined : (value.customNetworks.map(CustomNetworkResponse.CustomNetworkResponseToJSON)),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports.InlineResponse200FromJSON = InlineResponse200FromJSON;
|
|
33
|
+
exports.InlineResponse200FromJSONTyped = InlineResponse200FromJSONTyped;
|
|
34
|
+
exports.InlineResponse200ToJSON = InlineResponse200ToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
import { CustomNetworkResponse } from './CustomNetworkResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InlineResponse200
|
|
17
|
+
*/
|
|
18
|
+
export interface InlineResponse200 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CustomNetworkResponse>}
|
|
22
|
+
* @memberof InlineResponse200
|
|
23
|
+
*/
|
|
24
|
+
customNetworks?: Array<CustomNetworkResponse>;
|
|
25
|
+
}
|
|
26
|
+
export declare function InlineResponse200FromJSON(json: any): InlineResponse200;
|
|
27
|
+
export declare function InlineResponse200FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse200;
|
|
28
|
+
export declare function InlineResponse200ToJSON(value?: InlineResponse200 | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { CustomNetworkResponseFromJSON, CustomNetworkResponseToJSON } from './CustomNetworkResponse.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function InlineResponse200FromJSON(json) {
|
|
6
|
+
return InlineResponse200FromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function InlineResponse200FromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'customNetworks': !exists(json, 'customNetworks') ? undefined : (json['customNetworks'].map(CustomNetworkResponseFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function InlineResponse200ToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'customNetworks': value.customNetworks === undefined ? undefined : (value.customNetworks.map(CustomNetworkResponseToJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON };
|
package/src/models/Network.cjs
CHANGED
|
@@ -5,6 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
|
|
7
7
|
/* tslint:disable */
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @enum {string}
|
|
11
|
+
*/
|
|
12
|
+
exports.NetworkTypeEnum = void 0;
|
|
13
|
+
(function (NetworkTypeEnum) {
|
|
14
|
+
NetworkTypeEnum["Custom"] = "custom";
|
|
15
|
+
NetworkTypeEnum["Default"] = "default";
|
|
16
|
+
})(exports.NetworkTypeEnum || (exports.NetworkTypeEnum = {}));
|
|
8
17
|
function NetworkFromJSON(json) {
|
|
9
18
|
return NetworkFromJSONTyped(json);
|
|
10
19
|
}
|
|
@@ -17,6 +26,8 @@ function NetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
26
|
'chainName': json['chainName'],
|
|
18
27
|
'enabled': json['enabled'],
|
|
19
28
|
'rpcUrl': !runtime.exists(json, 'rpcUrl') ? undefined : json['rpcUrl'],
|
|
29
|
+
'iconUrl': !runtime.exists(json, 'iconUrl') ? undefined : json['iconUrl'],
|
|
30
|
+
'type': !runtime.exists(json, 'type') ? undefined : json['type'],
|
|
20
31
|
};
|
|
21
32
|
}
|
|
22
33
|
function NetworkToJSON(value) {
|
|
@@ -31,6 +42,8 @@ function NetworkToJSON(value) {
|
|
|
31
42
|
'chainName': value.chainName,
|
|
32
43
|
'enabled': value.enabled,
|
|
33
44
|
'rpcUrl': value.rpcUrl,
|
|
45
|
+
'iconUrl': value.iconUrl,
|
|
46
|
+
'type': value.type,
|
|
34
47
|
};
|
|
35
48
|
}
|
|
36
49
|
|
package/src/models/Network.d.ts
CHANGED
|
@@ -39,6 +39,26 @@ export interface Network {
|
|
|
39
39
|
* @memberof Network
|
|
40
40
|
*/
|
|
41
41
|
rpcUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Network
|
|
46
|
+
*/
|
|
47
|
+
iconUrl?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Network
|
|
52
|
+
*/
|
|
53
|
+
type?: NetworkTypeEnum;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
* @enum {string}
|
|
58
|
+
*/
|
|
59
|
+
export declare enum NetworkTypeEnum {
|
|
60
|
+
Custom = "custom",
|
|
61
|
+
Default = "default"
|
|
42
62
|
}
|
|
43
63
|
export declare function NetworkFromJSON(json: any): Network;
|
|
44
64
|
export declare function NetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Network;
|
package/src/models/Network.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var NetworkTypeEnum;
|
|
9
|
+
(function (NetworkTypeEnum) {
|
|
10
|
+
NetworkTypeEnum["Custom"] = "custom";
|
|
11
|
+
NetworkTypeEnum["Default"] = "default";
|
|
12
|
+
})(NetworkTypeEnum || (NetworkTypeEnum = {}));
|
|
4
13
|
function NetworkFromJSON(json) {
|
|
5
14
|
return NetworkFromJSONTyped(json);
|
|
6
15
|
}
|
|
@@ -13,6 +22,8 @@ function NetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
22
|
'chainName': json['chainName'],
|
|
14
23
|
'enabled': json['enabled'],
|
|
15
24
|
'rpcUrl': !exists(json, 'rpcUrl') ? undefined : json['rpcUrl'],
|
|
25
|
+
'iconUrl': !exists(json, 'iconUrl') ? undefined : json['iconUrl'],
|
|
26
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
16
27
|
};
|
|
17
28
|
}
|
|
18
29
|
function NetworkToJSON(value) {
|
|
@@ -27,7 +38,9 @@ function NetworkToJSON(value) {
|
|
|
27
38
|
'chainName': value.chainName,
|
|
28
39
|
'enabled': value.enabled,
|
|
29
40
|
'rpcUrl': value.rpcUrl,
|
|
41
|
+
'iconUrl': value.iconUrl,
|
|
42
|
+
'type': value.type,
|
|
30
43
|
};
|
|
31
44
|
}
|
|
32
45
|
|
|
33
|
-
export { NetworkFromJSON, NetworkFromJSONTyped, NetworkToJSON };
|
|
46
|
+
export { NetworkFromJSON, NetworkFromJSONTyped, NetworkToJSON, NetworkTypeEnum };
|
package/src/models/index.d.ts
CHANGED
|
@@ -69,6 +69,9 @@ export * from './CustomHostnameUsageEnum';
|
|
|
69
69
|
export * from './CustomHostnameVerificationRecord';
|
|
70
70
|
export * from './CustomHostnameVerificationType';
|
|
71
71
|
export * from './CustomHostnamesResponse';
|
|
72
|
+
export * from './CustomNetworkRequest';
|
|
73
|
+
export * from './CustomNetworkResponse';
|
|
74
|
+
export * from './CustomNetworkResponseCustomNetwork';
|
|
72
75
|
export * from './DeeplinkUrlResponse';
|
|
73
76
|
export * from './DeeplinkUrlsResponse';
|
|
74
77
|
export * from './DeleteEmbeddedWalletsRequest';
|
|
@@ -144,6 +147,7 @@ export * from './InitEmailAuthResponse';
|
|
|
144
147
|
export * from './InitPasskeyRecoveryRequest';
|
|
145
148
|
export * from './InitPasskeyRecoveryResponse';
|
|
146
149
|
export * from './InlineObject';
|
|
150
|
+
export * from './InlineResponse200';
|
|
147
151
|
export * from './InlineResponse201';
|
|
148
152
|
export * from './InlineResponse400';
|
|
149
153
|
export * from './IntegrationSetting';
|