@dynamic-labs/sdk-api-core 0.0.950 → 0.0.952
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 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -0
- package/src/models/WaasWalletProperties.cjs +5 -0
- package/src/models/WaasWalletProperties.d.ts +13 -0
- package/src/models/WaasWalletProperties.js +5 -0
- package/src/models/WaasWalletShareSetType.cjs +41 -0
- package/src/models/WaasWalletShareSetType.d.ts +24 -0
- package/src/models/WaasWalletShareSetType.js +35 -0
- package/src/models/WalletAddressType.cjs +3 -0
- package/src/models/WalletAddressType.d.ts +4 -1
- package/src/models/WalletAddressType.js +3 -0
- package/src/models/WalletProperties.cjs +5 -0
- package/src/models/WalletProperties.d.ts +13 -0
- package/src/models/WalletProperties.js +5 -0
- package/src/models/WalletTransaction.cjs +3 -0
- package/src/models/WalletTransaction.d.ts +7 -0
- package/src/models/WalletTransaction.js +3 -0
- package/src/models/WalletTransactionFee.cjs +41 -0
- package/src/models/WalletTransactionFee.d.ts +51 -0
- package/src/models/WalletTransactionFee.js +35 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -29,6 +29,7 @@ require('../models/HardwareWalletEnum.cjs');
|
|
|
29
29
|
require('../models/PasswordSourceTypeEnum.cjs');
|
|
30
30
|
require('../models/ProviderEntryPointVersionEnum.cjs');
|
|
31
31
|
require('../models/ProviderKernelVersionEnum.cjs');
|
|
32
|
+
require('../models/WaasWalletShareSetType.cjs');
|
|
32
33
|
require('../models/WalletProviderEnum.cjs');
|
|
33
34
|
require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
34
35
|
require('../models/CustomFieldType.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -25,6 +25,7 @@ import '../models/HardwareWalletEnum.js';
|
|
|
25
25
|
import '../models/PasswordSourceTypeEnum.js';
|
|
26
26
|
import '../models/ProviderEntryPointVersionEnum.js';
|
|
27
27
|
import '../models/ProviderKernelVersionEnum.js';
|
|
28
|
+
import '../models/WaasWalletShareSetType.js';
|
|
28
29
|
import '../models/WalletProviderEnum.js';
|
|
29
30
|
import '../models/MfaBackupCodeAcknowledgement.js';
|
|
30
31
|
import '../models/CustomFieldType.js';
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -26,6 +26,7 @@ require('../models/HardwareWalletEnum.cjs');
|
|
|
26
26
|
require('../models/PasswordSourceTypeEnum.cjs');
|
|
27
27
|
require('../models/ProviderEntryPointVersionEnum.cjs');
|
|
28
28
|
require('../models/ProviderKernelVersionEnum.cjs');
|
|
29
|
+
require('../models/WaasWalletShareSetType.cjs');
|
|
29
30
|
require('../models/WalletProviderEnum.cjs');
|
|
30
31
|
require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
31
32
|
require('../models/CustomFieldType.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -22,6 +22,7 @@ import '../models/HardwareWalletEnum.js';
|
|
|
22
22
|
import '../models/PasswordSourceTypeEnum.js';
|
|
23
23
|
import '../models/ProviderEntryPointVersionEnum.js';
|
|
24
24
|
import '../models/ProviderKernelVersionEnum.js';
|
|
25
|
+
import '../models/WaasWalletShareSetType.js';
|
|
25
26
|
import '../models/WalletProviderEnum.js';
|
|
26
27
|
import '../models/MfaBackupCodeAcknowledgement.js';
|
|
27
28
|
import '../models/CustomFieldType.js';
|
package/src/index.cjs
CHANGED
|
@@ -433,6 +433,7 @@ var WaasChainEnum = require('./models/WaasChainEnum.cjs');
|
|
|
433
433
|
var WaasDelegatedAccessEncryptionPublicKeyType = require('./models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
|
|
434
434
|
var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
|
|
435
435
|
var WaasWalletSettings = require('./models/WaasWalletSettings.cjs');
|
|
436
|
+
var WaasWalletShareSetType = require('./models/WaasWalletShareSetType.cjs');
|
|
436
437
|
var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
|
|
437
438
|
var WalletAddressType = require('./models/WalletAddressType.cjs');
|
|
438
439
|
var WalletBitcoinConfig = require('./models/WalletBitcoinConfig.cjs');
|
|
@@ -445,6 +446,7 @@ var WalletSanctionsResponse = require('./models/WalletSanctionsResponse.cjs');
|
|
|
445
446
|
var WalletTransaction = require('./models/WalletTransaction.cjs');
|
|
446
447
|
var WalletTransactionAssetTransfer = require('./models/WalletTransactionAssetTransfer.cjs');
|
|
447
448
|
var WalletTransactionAssetTransferMetadata = require('./models/WalletTransactionAssetTransferMetadata.cjs');
|
|
449
|
+
var WalletTransactionFee = require('./models/WalletTransactionFee.cjs');
|
|
448
450
|
var WalletTransactionType = require('./models/WalletTransactionType.cjs');
|
|
449
451
|
var WalletTransactionsResponse = require('./models/WalletTransactionsResponse.cjs');
|
|
450
452
|
var ZerodevBundlerProvider = require('./models/ZerodevBundlerProvider.cjs');
|
|
@@ -2079,6 +2081,13 @@ exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesTo
|
|
|
2079
2081
|
exports.WaasWalletSettingsFromJSON = WaasWalletSettings.WaasWalletSettingsFromJSON;
|
|
2080
2082
|
exports.WaasWalletSettingsFromJSONTyped = WaasWalletSettings.WaasWalletSettingsFromJSONTyped;
|
|
2081
2083
|
exports.WaasWalletSettingsToJSON = WaasWalletSettings.WaasWalletSettingsToJSON;
|
|
2084
|
+
Object.defineProperty(exports, 'WaasWalletShareSetType', {
|
|
2085
|
+
enumerable: true,
|
|
2086
|
+
get: function () { return WaasWalletShareSetType.WaasWalletShareSetType; }
|
|
2087
|
+
});
|
|
2088
|
+
exports.WaasWalletShareSetTypeFromJSON = WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON;
|
|
2089
|
+
exports.WaasWalletShareSetTypeFromJSONTyped = WaasWalletShareSetType.WaasWalletShareSetTypeFromJSONTyped;
|
|
2090
|
+
exports.WaasWalletShareSetTypeToJSON = WaasWalletShareSetType.WaasWalletShareSetTypeToJSON;
|
|
2082
2091
|
exports.WalletAdditionalAddressFromJSON = WalletAdditionalAddress.WalletAdditionalAddressFromJSON;
|
|
2083
2092
|
exports.WalletAdditionalAddressFromJSONTyped = WalletAdditionalAddress.WalletAdditionalAddressFromJSONTyped;
|
|
2084
2093
|
exports.WalletAdditionalAddressToJSON = WalletAdditionalAddress.WalletAdditionalAddressToJSON;
|
|
@@ -2123,6 +2132,9 @@ exports.WalletTransactionAssetTransferToJSON = WalletTransactionAssetTransfer.Wa
|
|
|
2123
2132
|
exports.WalletTransactionAssetTransferMetadataFromJSON = WalletTransactionAssetTransferMetadata.WalletTransactionAssetTransferMetadataFromJSON;
|
|
2124
2133
|
exports.WalletTransactionAssetTransferMetadataFromJSONTyped = WalletTransactionAssetTransferMetadata.WalletTransactionAssetTransferMetadataFromJSONTyped;
|
|
2125
2134
|
exports.WalletTransactionAssetTransferMetadataToJSON = WalletTransactionAssetTransferMetadata.WalletTransactionAssetTransferMetadataToJSON;
|
|
2135
|
+
exports.WalletTransactionFeeFromJSON = WalletTransactionFee.WalletTransactionFeeFromJSON;
|
|
2136
|
+
exports.WalletTransactionFeeFromJSONTyped = WalletTransactionFee.WalletTransactionFeeFromJSONTyped;
|
|
2137
|
+
exports.WalletTransactionFeeToJSON = WalletTransactionFee.WalletTransactionFeeToJSON;
|
|
2126
2138
|
Object.defineProperty(exports, 'WalletTransactionType', {
|
|
2127
2139
|
enumerable: true,
|
|
2128
2140
|
get: function () { return WalletTransactionType.WalletTransactionType; }
|
package/src/index.js
CHANGED
|
@@ -429,6 +429,7 @@ export { WaasChainEnum, WaasChainEnumFromJSON, WaasChainEnumFromJSONTyped, WaasC
|
|
|
429
429
|
export { WaasDelegatedAccessEncryptionPublicKeyType, WaasDelegatedAccessEncryptionPublicKeyTypeFromJSON, WaasDelegatedAccessEncryptionPublicKeyTypeFromJSONTyped, WaasDelegatedAccessEncryptionPublicKeyTypeToJSON } from './models/WaasDelegatedAccessEncryptionPublicKeyType.js';
|
|
430
430
|
export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
|
|
431
431
|
export { WaasWalletSettingsFromJSON, WaasWalletSettingsFromJSONTyped, WaasWalletSettingsToJSON } from './models/WaasWalletSettings.js';
|
|
432
|
+
export { WaasWalletShareSetType, WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeFromJSONTyped, WaasWalletShareSetTypeToJSON } from './models/WaasWalletShareSetType.js';
|
|
432
433
|
export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
|
|
433
434
|
export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
|
|
434
435
|
export { WalletBitcoinConfigFromJSON, WalletBitcoinConfigFromJSONTyped, WalletBitcoinConfigToJSON } from './models/WalletBitcoinConfig.js';
|
|
@@ -441,6 +442,7 @@ export { WalletSanctionsResponseFromJSON, WalletSanctionsResponseFromJSONTyped,
|
|
|
441
442
|
export { WalletTransactionFromJSON, WalletTransactionFromJSONTyped, WalletTransactionToJSON } from './models/WalletTransaction.js';
|
|
442
443
|
export { WalletTransactionAssetTransferFromJSON, WalletTransactionAssetTransferFromJSONTyped, WalletTransactionAssetTransferToJSON } from './models/WalletTransactionAssetTransfer.js';
|
|
443
444
|
export { WalletTransactionAssetTransferMetadataFromJSON, WalletTransactionAssetTransferMetadataFromJSONTyped, WalletTransactionAssetTransferMetadataToJSON } from './models/WalletTransactionAssetTransferMetadata.js';
|
|
445
|
+
export { WalletTransactionFeeFromJSON, WalletTransactionFeeFromJSONTyped, WalletTransactionFeeToJSON } from './models/WalletTransactionFee.js';
|
|
444
446
|
export { WalletTransactionType, WalletTransactionTypeFromJSON, WalletTransactionTypeFromJSONTyped, WalletTransactionTypeToJSON } from './models/WalletTransactionType.js';
|
|
445
447
|
export { WalletTransactionsResponseFromJSON, WalletTransactionsResponseFromJSONTyped, WalletTransactionsResponseToJSON } from './models/WalletTransactionsResponse.js';
|
|
446
448
|
export { ZerodevBundlerProvider, ZerodevBundlerProviderFromJSON, ZerodevBundlerProviderFromJSONTyped, ZerodevBundlerProviderToJSON } from './models/ZerodevBundlerProvider.js';
|
|
@@ -6,6 +6,7 @@ var runtime = require('../runtime.cjs');
|
|
|
6
6
|
var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
|
|
7
7
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
8
8
|
var WaasWalletSettings = require('./WaasWalletSettings.cjs');
|
|
9
|
+
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
9
10
|
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
10
11
|
|
|
11
12
|
/* tslint:disable */
|
|
@@ -21,6 +22,8 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
22
|
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
22
23
|
'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
23
24
|
'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
|
|
25
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
26
|
+
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
24
27
|
'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
25
28
|
};
|
|
26
29
|
}
|
|
@@ -36,6 +39,8 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
36
39
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
37
40
|
'derivationPath': value.derivationPath,
|
|
38
41
|
'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
|
|
42
|
+
'shareSetId': value.shareSetId,
|
|
43
|
+
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
39
44
|
'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
|
|
40
45
|
};
|
|
41
46
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
|
|
13
13
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
14
14
|
import { WaasWalletSettings } from './WaasWalletSettings';
|
|
15
|
+
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
15
16
|
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
@@ -43,6 +44,18 @@ export interface WaasWalletProperties {
|
|
|
43
44
|
* @memberof WaasWalletProperties
|
|
44
45
|
*/
|
|
45
46
|
settings?: WaasWalletSettings;
|
|
47
|
+
/**
|
|
48
|
+
* Identifier of the share set (WaasWallets row) that owns these key shares
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof WaasWalletProperties
|
|
51
|
+
*/
|
|
52
|
+
shareSetId?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {WaasWalletShareSetType}
|
|
56
|
+
* @memberof WaasWalletProperties
|
|
57
|
+
*/
|
|
58
|
+
shareSetType?: WaasWalletShareSetType;
|
|
46
59
|
/**
|
|
47
60
|
*
|
|
48
61
|
* @type {EmbeddedWalletVersionEnum}
|
|
@@ -2,6 +2,7 @@ import { exists } from '../runtime.js';
|
|
|
2
2
|
import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
|
|
3
3
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
4
4
|
import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
|
|
5
|
+
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
5
6
|
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
@@ -17,6 +18,8 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
18
19
|
'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
19
20
|
'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
|
|
21
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
22
|
+
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
20
23
|
'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
21
24
|
};
|
|
22
25
|
}
|
|
@@ -32,6 +35,8 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
32
35
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
33
36
|
'derivationPath': value.derivationPath,
|
|
34
37
|
'settings': WaasWalletSettingsToJSON(value.settings),
|
|
38
|
+
'shareSetId': value.shareSetId,
|
|
39
|
+
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
35
40
|
'version': EmbeddedWalletVersionEnumToJSON(value.version),
|
|
36
41
|
};
|
|
37
42
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* 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
|
+
/**
|
|
19
|
+
* The role this share set plays for the wallet
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.WaasWalletShareSetType = void 0;
|
|
24
|
+
(function (WaasWalletShareSetType) {
|
|
25
|
+
WaasWalletShareSetType["Delegated"] = "delegated";
|
|
26
|
+
WaasWalletShareSetType["RootUser"] = "rootUser";
|
|
27
|
+
WaasWalletShareSetType["Server"] = "server";
|
|
28
|
+
})(exports.WaasWalletShareSetType || (exports.WaasWalletShareSetType = {}));
|
|
29
|
+
function WaasWalletShareSetTypeFromJSON(json) {
|
|
30
|
+
return WaasWalletShareSetTypeFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function WaasWalletShareSetTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function WaasWalletShareSetTypeToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.WaasWalletShareSetTypeFromJSON = WaasWalletShareSetTypeFromJSON;
|
|
40
|
+
exports.WaasWalletShareSetTypeFromJSONTyped = WaasWalletShareSetTypeFromJSONTyped;
|
|
41
|
+
exports.WaasWalletShareSetTypeToJSON = WaasWalletShareSetTypeToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* The role this share set plays for the wallet
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum WaasWalletShareSetType {
|
|
18
|
+
Delegated = "delegated",
|
|
19
|
+
RootUser = "rootUser",
|
|
20
|
+
Server = "server"
|
|
21
|
+
}
|
|
22
|
+
export declare function WaasWalletShareSetTypeFromJSON(json: any): WaasWalletShareSetType;
|
|
23
|
+
export declare function WaasWalletShareSetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletShareSetType;
|
|
24
|
+
export declare function WaasWalletShareSetTypeToJSON(value?: WaasWalletShareSetType | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* 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
|
+
/**
|
|
15
|
+
* The role this share set plays for the wallet
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var WaasWalletShareSetType;
|
|
20
|
+
(function (WaasWalletShareSetType) {
|
|
21
|
+
WaasWalletShareSetType["Delegated"] = "delegated";
|
|
22
|
+
WaasWalletShareSetType["RootUser"] = "rootUser";
|
|
23
|
+
WaasWalletShareSetType["Server"] = "server";
|
|
24
|
+
})(WaasWalletShareSetType || (WaasWalletShareSetType = {}));
|
|
25
|
+
function WaasWalletShareSetTypeFromJSON(json) {
|
|
26
|
+
return WaasWalletShareSetTypeFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function WaasWalletShareSetTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function WaasWalletShareSetTypeToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { WaasWalletShareSetType, WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeFromJSONTyped, WaasWalletShareSetTypeToJSON };
|
|
@@ -28,6 +28,9 @@ exports.WalletAddressType = void 0;
|
|
|
28
28
|
WalletAddressType["Evm"] = "evm";
|
|
29
29
|
WalletAddressType["Stellar"] = "stellar";
|
|
30
30
|
WalletAddressType["Ton"] = "ton";
|
|
31
|
+
WalletAddressType["MidnightUnshielded"] = "midnight_unshielded";
|
|
32
|
+
WalletAddressType["MidnightDust"] = "midnight_dust";
|
|
33
|
+
WalletAddressType["MidnightShielded"] = "midnight_shielded";
|
|
31
34
|
})(exports.WalletAddressType || (exports.WalletAddressType = {}));
|
|
32
35
|
function WalletAddressTypeFromJSON(json) {
|
|
33
36
|
return WalletAddressTypeFromJSONTyped(json);
|
|
@@ -20,7 +20,10 @@ export declare enum WalletAddressType {
|
|
|
20
20
|
Cosmos = "cosmos",
|
|
21
21
|
Evm = "evm",
|
|
22
22
|
Stellar = "stellar",
|
|
23
|
-
Ton = "ton"
|
|
23
|
+
Ton = "ton",
|
|
24
|
+
MidnightUnshielded = "midnight_unshielded",
|
|
25
|
+
MidnightDust = "midnight_dust",
|
|
26
|
+
MidnightShielded = "midnight_shielded"
|
|
24
27
|
}
|
|
25
28
|
export declare function WalletAddressTypeFromJSON(json: any): WalletAddressType;
|
|
26
29
|
export declare function WalletAddressTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletAddressType;
|
|
@@ -24,6 +24,9 @@ var WalletAddressType;
|
|
|
24
24
|
WalletAddressType["Evm"] = "evm";
|
|
25
25
|
WalletAddressType["Stellar"] = "stellar";
|
|
26
26
|
WalletAddressType["Ton"] = "ton";
|
|
27
|
+
WalletAddressType["MidnightUnshielded"] = "midnight_unshielded";
|
|
28
|
+
WalletAddressType["MidnightDust"] = "midnight_dust";
|
|
29
|
+
WalletAddressType["MidnightShielded"] = "midnight_shielded";
|
|
27
30
|
})(WalletAddressType || (WalletAddressType = {}));
|
|
28
31
|
function WalletAddressTypeFromJSON(json) {
|
|
29
32
|
return WalletAddressTypeFromJSONTyped(json);
|
|
@@ -11,6 +11,7 @@ var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs
|
|
|
11
11
|
var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
|
|
12
12
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
13
13
|
var WaasWalletSettings = require('./WaasWalletSettings.cjs');
|
|
14
|
+
var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
|
|
14
15
|
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
15
16
|
|
|
16
17
|
/* tslint:disable */
|
|
@@ -39,6 +40,8 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
40
41
|
'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
41
42
|
'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
|
|
43
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
44
|
+
'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
function WalletPropertiesToJSON(value) {
|
|
@@ -66,6 +69,8 @@ function WalletPropertiesToJSON(value) {
|
|
|
66
69
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
67
70
|
'derivationPath': value.derivationPath,
|
|
68
71
|
'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
|
|
72
|
+
'shareSetId': value.shareSetId,
|
|
73
|
+
'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
69
74
|
};
|
|
70
75
|
}
|
|
71
76
|
|
|
@@ -17,6 +17,7 @@ import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
|
|
|
17
17
|
import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
|
|
18
18
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
19
19
|
import { WaasWalletSettings } from './WaasWalletSettings';
|
|
20
|
+
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
20
21
|
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
@@ -126,6 +127,18 @@ export interface WalletProperties {
|
|
|
126
127
|
* @memberof WalletProperties
|
|
127
128
|
*/
|
|
128
129
|
settings?: WaasWalletSettings;
|
|
130
|
+
/**
|
|
131
|
+
* Identifier of the share set (WaasWallets row) that owns these key shares
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof WalletProperties
|
|
134
|
+
*/
|
|
135
|
+
shareSetId?: string;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {WaasWalletShareSetType}
|
|
139
|
+
* @memberof WalletProperties
|
|
140
|
+
*/
|
|
141
|
+
shareSetType?: WaasWalletShareSetType;
|
|
129
142
|
}
|
|
130
143
|
export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
|
|
131
144
|
export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
|
|
@@ -7,6 +7,7 @@ import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJ
|
|
|
7
7
|
import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
|
|
8
8
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
9
9
|
import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
|
|
10
|
+
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
10
11
|
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
11
12
|
|
|
12
13
|
/* tslint:disable */
|
|
@@ -35,6 +36,8 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
36
37
|
'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
37
38
|
'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
|
|
39
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
40
|
+
'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
38
41
|
};
|
|
39
42
|
}
|
|
40
43
|
function WalletPropertiesToJSON(value) {
|
|
@@ -62,6 +65,8 @@ function WalletPropertiesToJSON(value) {
|
|
|
62
65
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
63
66
|
'derivationPath': value.derivationPath,
|
|
64
67
|
'settings': WaasWalletSettingsToJSON(value.settings),
|
|
68
|
+
'shareSetId': value.shareSetId,
|
|
69
|
+
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
65
70
|
};
|
|
66
71
|
}
|
|
67
72
|
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
7
|
var WalletTransactionAssetTransfer = require('./WalletTransactionAssetTransfer.cjs');
|
|
8
|
+
var WalletTransactionFee = require('./WalletTransactionFee.cjs');
|
|
8
9
|
var WalletTransactionType = require('./WalletTransactionType.cjs');
|
|
9
10
|
|
|
10
11
|
/* tslint:disable */
|
|
@@ -31,6 +32,7 @@ function WalletTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
32
|
'source': !runtime.exists(json, 'source') ? undefined : json['source'],
|
|
32
33
|
'spam': !runtime.exists(json, 'spam') ? undefined : json['spam'],
|
|
33
34
|
'transactionType': !runtime.exists(json, 'transactionType') ? undefined : json['transactionType'],
|
|
35
|
+
'fee': !runtime.exists(json, 'fee') ? undefined : WalletTransactionFee.WalletTransactionFeeFromJSON(json['fee']),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
function WalletTransactionToJSON(value) {
|
|
@@ -56,6 +58,7 @@ function WalletTransactionToJSON(value) {
|
|
|
56
58
|
'source': value.source,
|
|
57
59
|
'spam': value.spam,
|
|
58
60
|
'transactionType': value.transactionType,
|
|
61
|
+
'fee': WalletTransactionFee.WalletTransactionFeeToJSON(value.fee),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChainEnum } from './ChainEnum';
|
|
13
13
|
import { WalletTransactionAssetTransfer } from './WalletTransactionAssetTransfer';
|
|
14
|
+
import { WalletTransactionFee } from './WalletTransactionFee';
|
|
14
15
|
import { WalletTransactionType } from './WalletTransactionType';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -108,6 +109,12 @@ export interface WalletTransaction {
|
|
|
108
109
|
* @memberof WalletTransaction
|
|
109
110
|
*/
|
|
110
111
|
transactionType?: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {WalletTransactionFee}
|
|
115
|
+
* @memberof WalletTransaction
|
|
116
|
+
*/
|
|
117
|
+
fee?: WalletTransactionFee;
|
|
111
118
|
}
|
|
112
119
|
export declare function WalletTransactionFromJSON(json: any): WalletTransaction;
|
|
113
120
|
export declare function WalletTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletTransaction;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
3
|
import { WalletTransactionAssetTransferFromJSON, WalletTransactionAssetTransferToJSON } from './WalletTransactionAssetTransfer.js';
|
|
4
|
+
import { WalletTransactionFeeFromJSON, WalletTransactionFeeToJSON } from './WalletTransactionFee.js';
|
|
4
5
|
import { WalletTransactionTypeFromJSON, WalletTransactionTypeToJSON } from './WalletTransactionType.js';
|
|
5
6
|
|
|
6
7
|
/* tslint:disable */
|
|
@@ -27,6 +28,7 @@ function WalletTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
28
|
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
28
29
|
'spam': !exists(json, 'spam') ? undefined : json['spam'],
|
|
29
30
|
'transactionType': !exists(json, 'transactionType') ? undefined : json['transactionType'],
|
|
31
|
+
'fee': !exists(json, 'fee') ? undefined : WalletTransactionFeeFromJSON(json['fee']),
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
function WalletTransactionToJSON(value) {
|
|
@@ -52,6 +54,7 @@ function WalletTransactionToJSON(value) {
|
|
|
52
54
|
'source': value.source,
|
|
53
55
|
'spam': value.spam,
|
|
54
56
|
'transactionType': value.transactionType,
|
|
57
|
+
'fee': WalletTransactionFeeToJSON(value.fee),
|
|
55
58
|
};
|
|
56
59
|
}
|
|
57
60
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WalletTransactionFeeFromJSON(json) {
|
|
9
|
+
return WalletTransactionFeeFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WalletTransactionFeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'amount': !runtime.exists(json, 'amount') ? undefined : json['amount'],
|
|
17
|
+
'sponsored': !runtime.exists(json, 'sponsored') ? undefined : json['sponsored'],
|
|
18
|
+
'sponsor': !runtime.exists(json, 'sponsor') ? undefined : json['sponsor'],
|
|
19
|
+
'gasUsed': !runtime.exists(json, 'gasUsed') ? undefined : json['gasUsed'],
|
|
20
|
+
'gasPrice': !runtime.exists(json, 'gasPrice') ? undefined : json['gasPrice'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function WalletTransactionFeeToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'amount': value.amount,
|
|
32
|
+
'sponsored': value.sponsored,
|
|
33
|
+
'sponsor': value.sponsor,
|
|
34
|
+
'gasUsed': value.gasUsed,
|
|
35
|
+
'gasPrice': value.gasPrice,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.WalletTransactionFeeFromJSON = WalletTransactionFeeFromJSON;
|
|
40
|
+
exports.WalletTransactionFeeFromJSONTyped = WalletTransactionFeeFromJSONTyped;
|
|
41
|
+
exports.WalletTransactionFeeToJSON = WalletTransactionFeeToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 WalletTransactionFee
|
|
16
|
+
*/
|
|
17
|
+
export interface WalletTransactionFee {
|
|
18
|
+
/**
|
|
19
|
+
* Fee amount in the smallest native denomination (wei for EVM chains, lamports for SVM chains).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WalletTransactionFee
|
|
22
|
+
*/
|
|
23
|
+
amount?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the fee was paid by a third party.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof WalletTransactionFee
|
|
28
|
+
*/
|
|
29
|
+
sponsored?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Address of the entity that paid the fee. Only present when sponsored is true.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WalletTransactionFee
|
|
34
|
+
*/
|
|
35
|
+
sponsor?: string;
|
|
36
|
+
/**
|
|
37
|
+
* EVM only. Amount of gas actually consumed by the transaction.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof WalletTransactionFee
|
|
40
|
+
*/
|
|
41
|
+
gasUsed?: string;
|
|
42
|
+
/**
|
|
43
|
+
* EVM only. Effective gas price paid in wei (base fee + priority fee for EIP-1559 transactions).
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof WalletTransactionFee
|
|
46
|
+
*/
|
|
47
|
+
gasPrice?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function WalletTransactionFeeFromJSON(json: any): WalletTransactionFee;
|
|
50
|
+
export declare function WalletTransactionFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletTransactionFee;
|
|
51
|
+
export declare function WalletTransactionFeeToJSON(value?: WalletTransactionFee | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WalletTransactionFeeFromJSON(json) {
|
|
5
|
+
return WalletTransactionFeeFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WalletTransactionFeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
13
|
+
'sponsored': !exists(json, 'sponsored') ? undefined : json['sponsored'],
|
|
14
|
+
'sponsor': !exists(json, 'sponsor') ? undefined : json['sponsor'],
|
|
15
|
+
'gasUsed': !exists(json, 'gasUsed') ? undefined : json['gasUsed'],
|
|
16
|
+
'gasPrice': !exists(json, 'gasPrice') ? undefined : json['gasPrice'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function WalletTransactionFeeToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'amount': value.amount,
|
|
28
|
+
'sponsored': value.sponsored,
|
|
29
|
+
'sponsor': value.sponsor,
|
|
30
|
+
'gasUsed': value.gasUsed,
|
|
31
|
+
'gasPrice': value.gasPrice,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { WalletTransactionFeeFromJSON, WalletTransactionFeeFromJSONTyped, WalletTransactionFeeToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -426,6 +426,7 @@ export * from './WaasChainEnum';
|
|
|
426
426
|
export * from './WaasDelegatedAccessEncryptionPublicKeyType';
|
|
427
427
|
export * from './WaasWalletProperties';
|
|
428
428
|
export * from './WaasWalletSettings';
|
|
429
|
+
export * from './WaasWalletShareSetType';
|
|
429
430
|
export * from './WalletAdditionalAddress';
|
|
430
431
|
export * from './WalletAddressType';
|
|
431
432
|
export * from './WalletBitcoinConfig';
|
|
@@ -438,6 +439,7 @@ export * from './WalletSanctionsResponse';
|
|
|
438
439
|
export * from './WalletTransaction';
|
|
439
440
|
export * from './WalletTransactionAssetTransfer';
|
|
440
441
|
export * from './WalletTransactionAssetTransferMetadata';
|
|
442
|
+
export * from './WalletTransactionFee';
|
|
441
443
|
export * from './WalletTransactionType';
|
|
442
444
|
export * from './WalletTransactionsResponse';
|
|
443
445
|
export * from './ZerodevBundlerProvider';
|