@dynamic-labs/sdk-api 0.0.1072 → 0.0.1073
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/models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.cjs +4 -12
- package/src/models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.d.ts +6 -0
- package/src/models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js +4 -12
- package/src/models/WalletAdditionalAddress.cjs +2 -0
- package/src/models/WalletAdditionalAddress.d.ts +6 -0
- package/src/models/WalletAdditionalAddress.js +2 -0
package/package.json
CHANGED
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
8
|
/**
|
|
19
9
|
* @export
|
|
20
10
|
* @enum {string}
|
|
@@ -36,6 +26,7 @@ function SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJ
|
|
|
36
26
|
'address': json['address'],
|
|
37
27
|
'publicKey': json['publicKey'],
|
|
38
28
|
'type': json['type'],
|
|
29
|
+
'network': !runtime.exists(json, 'network') ? undefined : json['network'],
|
|
39
30
|
};
|
|
40
31
|
}
|
|
41
32
|
function SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON(value) {
|
|
@@ -49,6 +40,7 @@ function SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSO
|
|
|
49
40
|
'address': value.address,
|
|
50
41
|
'publicKey': value.publicKey,
|
|
51
42
|
'type': value.type,
|
|
43
|
+
'network': value.network,
|
|
52
44
|
};
|
|
53
45
|
}
|
|
54
46
|
|
|
@@ -33,6 +33,12 @@ export interface SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddres
|
|
|
33
33
|
* @memberof SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses
|
|
34
34
|
*/
|
|
35
35
|
type: SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Network this address is encoded for (e.g. 'preview' | 'mainnet'). Lets one wallet hold an address per network.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses
|
|
40
|
+
*/
|
|
41
|
+
network?: string;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* @export
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dashboard API
|
|
5
|
-
* Dashboard API documentation
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
4
|
/**
|
|
15
5
|
* @export
|
|
16
6
|
* @enum {string}
|
|
@@ -32,6 +22,7 @@ function SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesFromJ
|
|
|
32
22
|
'address': json['address'],
|
|
33
23
|
'publicKey': json['publicKey'],
|
|
34
24
|
'type': json['type'],
|
|
25
|
+
'network': !exists(json, 'network') ? undefined : json['network'],
|
|
35
26
|
};
|
|
36
27
|
}
|
|
37
28
|
function SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSON(value) {
|
|
@@ -45,6 +36,7 @@ function SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddressesToJSO
|
|
|
45
36
|
'address': value.address,
|
|
46
37
|
'publicKey': value.publicKey,
|
|
47
38
|
'type': value.type,
|
|
39
|
+
'network': value.network,
|
|
48
40
|
};
|
|
49
41
|
}
|
|
50
42
|
|
|
@@ -17,6 +17,7 @@ function WalletAdditionalAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'address': json['address'],
|
|
18
18
|
'publicKey': !runtime.exists(json, 'publicKey') ? undefined : json['publicKey'],
|
|
19
19
|
'type': WalletAddressType.WalletAddressTypeFromJSON(json['type']),
|
|
20
|
+
'network': !runtime.exists(json, 'network') ? undefined : json['network'],
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
function WalletAdditionalAddressToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function WalletAdditionalAddressToJSON(value) {
|
|
|
30
31
|
'address': value.address,
|
|
31
32
|
'publicKey': value.publicKey,
|
|
32
33
|
'type': WalletAddressType.WalletAddressTypeToJSON(value.type),
|
|
34
|
+
'network': value.network,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -34,6 +34,12 @@ export interface WalletAdditionalAddress {
|
|
|
34
34
|
* @memberof WalletAdditionalAddress
|
|
35
35
|
*/
|
|
36
36
|
type: WalletAddressType;
|
|
37
|
+
/**
|
|
38
|
+
* Network this address is encoded for (e.g. 'mainnet' | 'testnet' | 'preview'). Present when a wallet exposes an address per network.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof WalletAdditionalAddress
|
|
41
|
+
*/
|
|
42
|
+
network?: string;
|
|
37
43
|
}
|
|
38
44
|
export declare function WalletAdditionalAddressFromJSON(json: any): WalletAdditionalAddress;
|
|
39
45
|
export declare function WalletAdditionalAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletAdditionalAddress;
|
|
@@ -13,6 +13,7 @@ function WalletAdditionalAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'address': json['address'],
|
|
14
14
|
'publicKey': !exists(json, 'publicKey') ? undefined : json['publicKey'],
|
|
15
15
|
'type': WalletAddressTypeFromJSON(json['type']),
|
|
16
|
+
'network': !exists(json, 'network') ? undefined : json['network'],
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
function WalletAdditionalAddressToJSON(value) {
|
|
@@ -26,6 +27,7 @@ function WalletAdditionalAddressToJSON(value) {
|
|
|
26
27
|
'address': value.address,
|
|
27
28
|
'publicKey': value.publicKey,
|
|
28
29
|
'type': WalletAddressTypeToJSON(value.type),
|
|
30
|
+
'network': value.network,
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
|