@dynamic-labs/sdk-api 0.35.0 → 0.37.0
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/BackupKeySharesToLocationsRequestLocations.cjs +2 -0
- package/src/models/BackupKeySharesToLocationsRequestLocations.d.ts +8 -0
- package/src/models/BackupKeySharesToLocationsRequestLocations.js +2 -0
- package/src/models/BackupKeySharesToLocationsWithUserIdRequestLocations.cjs +2 -0
- package/src/models/BackupKeySharesToLocationsWithUserIdRequestLocations.d.ts +8 -0
- package/src/models/BackupKeySharesToLocationsWithUserIdRequestLocations.js +2 -0
- package/src/models/FlowListItem.cjs +4 -0
- package/src/models/FlowListItem.d.ts +12 -0
- package/src/models/FlowListItem.js +4 -0
package/package.json
CHANGED
|
@@ -28,6 +28,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
|
|
|
28
28
|
'keygenId': !runtime.exists(json, 'keygenId') ? undefined : json['keygenId'],
|
|
29
29
|
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
30
30
|
'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
|
|
31
|
+
'passwordEncrypted': !runtime.exists(json, 'passwordEncrypted') ? undefined : json['passwordEncrypted'],
|
|
31
32
|
'tokenSource': !runtime.exists(json, 'tokenSource') ? undefined : json['tokenSource'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
@@ -43,6 +44,7 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
|
|
|
43
44
|
'keygenId': value.keygenId,
|
|
44
45
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
45
46
|
'externalKeyShareId': value.externalKeyShareId,
|
|
47
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
46
48
|
'tokenSource': value.tokenSource,
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -41,6 +41,14 @@ export interface BackupKeySharesToLocationsRequestLocations {
|
|
|
41
41
|
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
42
42
|
*/
|
|
43
43
|
externalKeyShareId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the key share stored at this location is encrypted with a
|
|
46
|
+
* user-provided password. Stored as `false` when omitted, which makes
|
|
47
|
+
* recovery decrypt the share with the environment id instead.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
50
|
+
*/
|
|
51
|
+
passwordEncrypted?: boolean;
|
|
44
52
|
/**
|
|
45
53
|
* Audit-only indicator of which OAuth token the client used to back
|
|
46
54
|
* up this location: `external` (consumer-supplied, e.g. Fanpla's own
|
|
@@ -24,6 +24,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
|
|
|
24
24
|
'keygenId': !exists(json, 'keygenId') ? undefined : json['keygenId'],
|
|
25
25
|
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
26
26
|
'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
|
|
27
|
+
'passwordEncrypted': !exists(json, 'passwordEncrypted') ? undefined : json['passwordEncrypted'],
|
|
27
28
|
'tokenSource': !exists(json, 'tokenSource') ? undefined : json['tokenSource'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
@@ -39,6 +40,7 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
|
|
|
39
40
|
'keygenId': value.keygenId,
|
|
40
41
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
41
42
|
'externalKeyShareId': value.externalKeyShareId,
|
|
43
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
42
44
|
'tokenSource': value.tokenSource,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -19,6 +19,7 @@ function BackupKeySharesToLocationsWithUserIdRequestLocationsFromJSONTyped(json,
|
|
|
19
19
|
'keygenId': !runtime.exists(json, 'keygenId') ? undefined : json['keygenId'],
|
|
20
20
|
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
21
21
|
'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
|
|
22
|
+
'passwordEncrypted': !runtime.exists(json, 'passwordEncrypted') ? undefined : json['passwordEncrypted'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function BackupKeySharesToLocationsWithUserIdRequestLocationsToJSON(value) {
|
|
@@ -33,6 +34,7 @@ function BackupKeySharesToLocationsWithUserIdRequestLocationsToJSON(value) {
|
|
|
33
34
|
'keygenId': value.keygenId,
|
|
34
35
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
35
36
|
'externalKeyShareId': value.externalKeyShareId,
|
|
37
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -41,6 +41,14 @@ export interface BackupKeySharesToLocationsWithUserIdRequestLocations {
|
|
|
41
41
|
* @memberof BackupKeySharesToLocationsWithUserIdRequestLocations
|
|
42
42
|
*/
|
|
43
43
|
externalKeyShareId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the key share stored at this location is encrypted with a
|
|
46
|
+
* user-provided password. Stored as `false` when omitted, which makes
|
|
47
|
+
* recovery decrypt the share with the environment id instead.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof BackupKeySharesToLocationsWithUserIdRequestLocations
|
|
50
|
+
*/
|
|
51
|
+
passwordEncrypted?: boolean;
|
|
44
52
|
}
|
|
45
53
|
export declare function BackupKeySharesToLocationsWithUserIdRequestLocationsFromJSON(json: any): BackupKeySharesToLocationsWithUserIdRequestLocations;
|
|
46
54
|
export declare function BackupKeySharesToLocationsWithUserIdRequestLocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsWithUserIdRequestLocations;
|
|
@@ -15,6 +15,7 @@ function BackupKeySharesToLocationsWithUserIdRequestLocationsFromJSONTyped(json,
|
|
|
15
15
|
'keygenId': !exists(json, 'keygenId') ? undefined : json['keygenId'],
|
|
16
16
|
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
17
17
|
'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
|
|
18
|
+
'passwordEncrypted': !exists(json, 'passwordEncrypted') ? undefined : json['passwordEncrypted'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function BackupKeySharesToLocationsWithUserIdRequestLocationsToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function BackupKeySharesToLocationsWithUserIdRequestLocationsToJSON(value) {
|
|
|
29
30
|
'keygenId': value.keygenId,
|
|
30
31
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
31
32
|
'externalKeyShareId': value.externalKeyShareId,
|
|
33
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|
|
@@ -38,9 +38,11 @@ function FlowListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'id': json['id'],
|
|
39
39
|
'mode': FlowModeEnum.FlowModeEnumFromJSON(json['mode']),
|
|
40
40
|
'settlementState': FlowSettlementStateEnum.FlowSettlementStateEnumFromJSON(json['settlementState']),
|
|
41
|
+
'settlementTxHash': !runtime.exists(json, 'settlementTxHash') ? undefined : json['settlementTxHash'],
|
|
41
42
|
'sourceType': !runtime.exists(json, 'sourceType') ? undefined : json['sourceType'],
|
|
42
43
|
'toChain': !runtime.exists(json, 'toChain') ? undefined : json['toChain'],
|
|
43
44
|
'toToken': !runtime.exists(json, 'toToken') ? undefined : json['toToken'],
|
|
45
|
+
'txHash': !runtime.exists(json, 'txHash') ? undefined : json['txHash'],
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
function FlowListItemToJSON(value) {
|
|
@@ -62,9 +64,11 @@ function FlowListItemToJSON(value) {
|
|
|
62
64
|
'id': value.id,
|
|
63
65
|
'mode': FlowModeEnum.FlowModeEnumToJSON(value.mode),
|
|
64
66
|
'settlementState': FlowSettlementStateEnum.FlowSettlementStateEnumToJSON(value.settlementState),
|
|
67
|
+
'settlementTxHash': value.settlementTxHash,
|
|
65
68
|
'sourceType': value.sourceType,
|
|
66
69
|
'toChain': value.toChain,
|
|
67
70
|
'toToken': value.toToken,
|
|
71
|
+
'txHash': value.txHash,
|
|
68
72
|
};
|
|
69
73
|
}
|
|
70
74
|
|
|
@@ -85,6 +85,12 @@ export interface FlowListItem {
|
|
|
85
85
|
* @memberof FlowListItem
|
|
86
86
|
*/
|
|
87
87
|
settlementState: FlowSettlementStateEnum;
|
|
88
|
+
/**
|
|
89
|
+
* Transaction hash of the settlement on the destination chain
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof FlowListItem
|
|
92
|
+
*/
|
|
93
|
+
settlementTxHash?: string | null;
|
|
88
94
|
/**
|
|
89
95
|
*
|
|
90
96
|
* @type {string}
|
|
@@ -103,6 +109,12 @@ export interface FlowListItem {
|
|
|
103
109
|
* @memberof FlowListItem
|
|
104
110
|
*/
|
|
105
111
|
toToken?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Transaction hash of the flow's transfer on the source chain
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof FlowListItem
|
|
116
|
+
*/
|
|
117
|
+
txHash?: string | null;
|
|
106
118
|
}
|
|
107
119
|
/**
|
|
108
120
|
* @export
|
|
@@ -34,9 +34,11 @@ function FlowListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'id': json['id'],
|
|
35
35
|
'mode': FlowModeEnumFromJSON(json['mode']),
|
|
36
36
|
'settlementState': FlowSettlementStateEnumFromJSON(json['settlementState']),
|
|
37
|
+
'settlementTxHash': !exists(json, 'settlementTxHash') ? undefined : json['settlementTxHash'],
|
|
37
38
|
'sourceType': !exists(json, 'sourceType') ? undefined : json['sourceType'],
|
|
38
39
|
'toChain': !exists(json, 'toChain') ? undefined : json['toChain'],
|
|
39
40
|
'toToken': !exists(json, 'toToken') ? undefined : json['toToken'],
|
|
41
|
+
'txHash': !exists(json, 'txHash') ? undefined : json['txHash'],
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
function FlowListItemToJSON(value) {
|
|
@@ -58,9 +60,11 @@ function FlowListItemToJSON(value) {
|
|
|
58
60
|
'id': value.id,
|
|
59
61
|
'mode': FlowModeEnumToJSON(value.mode),
|
|
60
62
|
'settlementState': FlowSettlementStateEnumToJSON(value.settlementState),
|
|
63
|
+
'settlementTxHash': value.settlementTxHash,
|
|
61
64
|
'sourceType': value.sourceType,
|
|
62
65
|
'toChain': value.toChain,
|
|
63
66
|
'toToken': value.toToken,
|
|
67
|
+
'txHash': value.txHash,
|
|
64
68
|
};
|
|
65
69
|
}
|
|
66
70
|
|