@dynamic-labs/sdk-api 0.80.0 → 0.81.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/Flow.cjs +2 -0
- package/src/models/Flow.d.ts +6 -0
- package/src/models/Flow.js +2 -0
package/package.json
CHANGED
package/src/models/Flow.cjs
CHANGED
|
@@ -29,6 +29,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'id': json['id'],
|
|
30
30
|
'mode': FlowModeEnum.FlowModeEnumFromJSON(json['mode']),
|
|
31
31
|
'amount': json['amount'],
|
|
32
|
+
'amountUsd': !runtime.exists(json, 'amountUsd') ? undefined : json['amountUsd'],
|
|
32
33
|
'currency': json['currency'],
|
|
33
34
|
'memo': !runtime.exists(json, 'memo') ? undefined : json['memo'],
|
|
34
35
|
'userId': !runtime.exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -77,6 +78,7 @@ function FlowToJSON(value) {
|
|
|
77
78
|
'id': value.id,
|
|
78
79
|
'mode': FlowModeEnum.FlowModeEnumToJSON(value.mode),
|
|
79
80
|
'amount': value.amount,
|
|
81
|
+
'amountUsd': value.amountUsd,
|
|
80
82
|
'currency': value.currency,
|
|
81
83
|
'memo': value.memo,
|
|
82
84
|
'userId': value.userId,
|
package/src/models/Flow.d.ts
CHANGED
|
@@ -46,6 +46,12 @@ export interface Flow {
|
|
|
46
46
|
* @memberof Flow
|
|
47
47
|
*/
|
|
48
48
|
amount: string;
|
|
49
|
+
/**
|
|
50
|
+
* Amount in USD. Equals `amount` when `currency` is USD. For token-denominated currencies it is `amount` multiplied by the settlement token's USD price, calculated when a quote is generated. Absent until then, or if no price is available.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Flow
|
|
53
|
+
*/
|
|
54
|
+
amountUsd?: string;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {string}
|
package/src/models/Flow.js
CHANGED
|
@@ -25,6 +25,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'id': json['id'],
|
|
26
26
|
'mode': FlowModeEnumFromJSON(json['mode']),
|
|
27
27
|
'amount': json['amount'],
|
|
28
|
+
'amountUsd': !exists(json, 'amountUsd') ? undefined : json['amountUsd'],
|
|
28
29
|
'currency': json['currency'],
|
|
29
30
|
'memo': !exists(json, 'memo') ? undefined : json['memo'],
|
|
30
31
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -73,6 +74,7 @@ function FlowToJSON(value) {
|
|
|
73
74
|
'id': value.id,
|
|
74
75
|
'mode': FlowModeEnumToJSON(value.mode),
|
|
75
76
|
'amount': value.amount,
|
|
77
|
+
'amountUsd': value.amountUsd,
|
|
76
78
|
'currency': value.currency,
|
|
77
79
|
'memo': value.memo,
|
|
78
80
|
'userId': value.userId,
|