@dynamic-labs/sdk-api-core 0.0.624 → 0.0.625
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/SDKApi.cjs +1 -1
- package/src/apis/SDKApi.js +1 -1
- package/src/models/WaasWalletProperties.cjs +3 -0
- package/src/models/WaasWalletProperties.d.ts +7 -0
- package/src/models/WaasWalletProperties.js +3 -0
- package/src/models/WalletProperties.cjs +3 -0
- package/src/models/WalletProperties.d.ts +7 -0
- package/src/models/WalletProperties.js +3 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -22,6 +22,7 @@ require('../models/HardwareWalletEnum.cjs');
|
|
|
22
22
|
require('../models/PasswordSourceTypeEnum.cjs');
|
|
23
23
|
require('../models/ProviderEntryPointVersionEnum.cjs');
|
|
24
24
|
require('../models/ProviderKernelVersionEnum.cjs');
|
|
25
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
25
26
|
require('../models/WalletProviderEnum.cjs');
|
|
26
27
|
require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
27
28
|
require('../models/CustomFieldType.cjs');
|
|
@@ -128,7 +129,6 @@ var SolanaTransactionOptimizationRequest = require('../models/SolanaTransactionO
|
|
|
128
129
|
var SolanaTransactionOptimizationResponse = require('../models/SolanaTransactionOptimizationResponse.cjs');
|
|
129
130
|
var SupportedOnrampsResponse = require('../models/SupportedOnrampsResponse.cjs');
|
|
130
131
|
var TelegramPostRequest = require('../models/TelegramPostRequest.cjs');
|
|
131
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
132
132
|
var TokenBalance = require('../models/TokenBalance.cjs');
|
|
133
133
|
var TurnkeyCreateWalletAccountsRequestBody = require('../models/TurnkeyCreateWalletAccountsRequestBody.cjs');
|
|
134
134
|
var TurnkeyDeleteEmbeddedWalletsRequestBody = require('../models/TurnkeyDeleteEmbeddedWalletsRequestBody.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -18,6 +18,7 @@ import '../models/HardwareWalletEnum.js';
|
|
|
18
18
|
import '../models/PasswordSourceTypeEnum.js';
|
|
19
19
|
import '../models/ProviderEntryPointVersionEnum.js';
|
|
20
20
|
import '../models/ProviderKernelVersionEnum.js';
|
|
21
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
21
22
|
import '../models/WalletProviderEnum.js';
|
|
22
23
|
import '../models/MfaBackupCodeAcknowledgement.js';
|
|
23
24
|
import '../models/CustomFieldType.js';
|
|
@@ -124,7 +125,6 @@ import { SolanaTransactionOptimizationRequestToJSON } from '../models/SolanaTran
|
|
|
124
125
|
import { SolanaTransactionOptimizationResponseFromJSON } from '../models/SolanaTransactionOptimizationResponse.js';
|
|
125
126
|
import { SupportedOnrampsResponseFromJSON } from '../models/SupportedOnrampsResponse.js';
|
|
126
127
|
import { TelegramPostRequestToJSON } from '../models/TelegramPostRequest.js';
|
|
127
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
128
128
|
import { TokenBalanceFromJSON } from '../models/TokenBalance.js';
|
|
129
129
|
import { TurnkeyCreateWalletAccountsRequestBodyFromJSON } from '../models/TurnkeyCreateWalletAccountsRequestBody.js';
|
|
130
130
|
import { TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSON } from '../models/TurnkeyDeleteEmbeddedWalletsRequestBody.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
6
7
|
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
}
|
|
16
17
|
return {
|
|
17
18
|
'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
|
|
19
|
+
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
function WaasWalletPropertiesToJSON(value) {
|
|
@@ -26,6 +28,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
26
28
|
}
|
|
27
29
|
return {
|
|
28
30
|
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
|
|
31
|
+
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
12
13
|
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,6 +23,12 @@ export interface WaasWalletProperties {
|
|
|
22
23
|
* @memberof WaasWalletProperties
|
|
23
24
|
*/
|
|
24
25
|
keyShares?: Array<WalletKeyShareInfo>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ThresholdSignatureScheme}
|
|
29
|
+
* @memberof WaasWalletProperties
|
|
30
|
+
*/
|
|
31
|
+
thresholdSignatureScheme?: ThresholdSignatureScheme;
|
|
25
32
|
}
|
|
26
33
|
export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
|
|
27
34
|
export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
2
3
|
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -11,6 +12,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
12
|
}
|
|
12
13
|
return {
|
|
13
14
|
'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
|
|
15
|
+
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
18
|
function WaasWalletPropertiesToJSON(value) {
|
|
@@ -22,6 +24,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
22
24
|
}
|
|
23
25
|
return {
|
|
24
26
|
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
|
|
27
|
+
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
25
28
|
};
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -9,6 +9,7 @@ var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
|
|
|
9
9
|
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
10
10
|
var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
|
|
11
11
|
var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
|
|
12
|
+
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
12
13
|
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
13
14
|
|
|
14
15
|
/* tslint:disable */
|
|
@@ -34,6 +35,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
|
|
35
36
|
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
36
37
|
'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
|
|
38
|
+
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
function WalletPropertiesToJSON(value) {
|
|
@@ -58,6 +60,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
58
60
|
'claimed': value.claimed,
|
|
59
61
|
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
60
62
|
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
|
|
63
|
+
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
61
64
|
};
|
|
62
65
|
}
|
|
63
66
|
|
|
@@ -15,6 +15,7 @@ import { HardwareWalletEnum } from './HardwareWalletEnum';
|
|
|
15
15
|
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
16
16
|
import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
|
|
17
17
|
import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
|
|
18
|
+
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
18
19
|
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -106,6 +107,12 @@ export interface WalletProperties {
|
|
|
106
107
|
* @memberof WalletProperties
|
|
107
108
|
*/
|
|
108
109
|
keyShares?: Array<WalletKeyShareInfo>;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {ThresholdSignatureScheme}
|
|
113
|
+
* @memberof WalletProperties
|
|
114
|
+
*/
|
|
115
|
+
thresholdSignatureScheme?: ThresholdSignatureScheme;
|
|
109
116
|
}
|
|
110
117
|
export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
|
|
111
118
|
export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
|
|
@@ -5,6 +5,7 @@ import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './Hardware
|
|
|
5
5
|
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
6
6
|
import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
|
|
7
7
|
import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
|
|
8
|
+
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
8
9
|
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
9
10
|
|
|
10
11
|
/* tslint:disable */
|
|
@@ -30,6 +31,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
|
|
31
32
|
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
32
33
|
'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
|
|
34
|
+
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
function WalletPropertiesToJSON(value) {
|
|
@@ -54,6 +56,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
54
56
|
'claimed': value.claimed,
|
|
55
57
|
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
56
58
|
'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
|
|
59
|
+
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
57
60
|
};
|
|
58
61
|
}
|
|
59
62
|
|