@dynamic-labs/sdk-api 0.0.839 → 0.0.841
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/Account.d.ts +1 -1
- package/src/models/CryptoDotComPaymentCreateRequest.cjs +2 -0
- package/src/models/CryptoDotComPaymentCreateRequest.d.ts +6 -0
- package/src/models/CryptoDotComPaymentCreateRequest.js +2 -0
- 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/WalletTransaction.d.ts +1 -1
package/package.json
CHANGED
package/src/models/Account.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ function CryptoDotComPaymentCreateRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
23
23
|
'walletAddress': json['walletAddress'],
|
|
24
24
|
'networkId': !runtime.exists(json, 'networkId') ? undefined : json['networkId'],
|
|
25
25
|
'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
26
|
+
'merchantName': !runtime.exists(json, 'merchantName') ? undefined : json['merchantName'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function CryptoDotComPaymentCreateRequestToJSON(value) {
|
|
@@ -42,6 +43,7 @@ function CryptoDotComPaymentCreateRequestToJSON(value) {
|
|
|
42
43
|
'walletAddress': value.walletAddress,
|
|
43
44
|
'networkId': value.networkId,
|
|
44
45
|
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
46
|
+
'merchantName': value.merchantName,
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -70,6 +70,12 @@ export interface CryptoDotComPaymentCreateRequest {
|
|
|
70
70
|
* @memberof CryptoDotComPaymentCreateRequest
|
|
71
71
|
*/
|
|
72
72
|
chain: ChainEnum;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
77
|
+
*/
|
|
78
|
+
merchantName?: string;
|
|
73
79
|
}
|
|
74
80
|
export declare function CryptoDotComPaymentCreateRequestFromJSON(json: any): CryptoDotComPaymentCreateRequest;
|
|
75
81
|
export declare function CryptoDotComPaymentCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CryptoDotComPaymentCreateRequest;
|
|
@@ -19,6 +19,7 @@ function CryptoDotComPaymentCreateRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
19
19
|
'walletAddress': json['walletAddress'],
|
|
20
20
|
'networkId': !exists(json, 'networkId') ? undefined : json['networkId'],
|
|
21
21
|
'chain': ChainEnumFromJSON(json['chain']),
|
|
22
|
+
'merchantName': !exists(json, 'merchantName') ? undefined : json['merchantName'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function CryptoDotComPaymentCreateRequestToJSON(value) {
|
|
@@ -38,6 +39,7 @@ function CryptoDotComPaymentCreateRequestToJSON(value) {
|
|
|
38
39
|
'walletAddress': value.walletAddress,
|
|
39
40
|
'networkId': value.networkId,
|
|
40
41
|
'chain': ChainEnumToJSON(value.chain),
|
|
42
|
+
'merchantName': value.merchantName,
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
|
|
6
7
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
8
|
var WaasWalletSettings = require('./WaasWalletSettings.cjs');
|
|
8
9
|
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
@@ -20,6 +21,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
21
22
|
'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
22
23
|
'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
|
|
24
|
+
'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
function WaasWalletPropertiesToJSON(value) {
|
|
@@ -34,6 +36,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
34
36
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
35
37
|
'derivationPath': value.derivationPath,
|
|
36
38
|
'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
|
|
39
|
+
'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
|
|
37
40
|
};
|
|
38
41
|
}
|
|
39
42
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
|
|
12
13
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
14
|
import { WaasWalletSettings } from './WaasWalletSettings';
|
|
14
15
|
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
@@ -42,6 +43,12 @@ export interface WaasWalletProperties {
|
|
|
42
43
|
* @memberof WaasWalletProperties
|
|
43
44
|
*/
|
|
44
45
|
settings?: WaasWalletSettings;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {EmbeddedWalletVersionEnum}
|
|
49
|
+
* @memberof WaasWalletProperties
|
|
50
|
+
*/
|
|
51
|
+
version?: EmbeddedWalletVersionEnum;
|
|
45
52
|
}
|
|
46
53
|
export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
|
|
47
54
|
export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
|
|
2
3
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
4
|
import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
|
|
4
5
|
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
@@ -16,6 +17,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
17
18
|
'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
|
|
18
19
|
'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
|
|
20
|
+
'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function WaasWalletPropertiesToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function WaasWalletPropertiesToJSON(value) {
|
|
|
30
32
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
31
33
|
'derivationPath': value.derivationPath,
|
|
32
34
|
'settings': WaasWalletSettingsToJSON(value.settings),
|
|
35
|
+
'version': EmbeddedWalletVersionEnumToJSON(value.version),
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|