@dynamic-labs/sdk-api 0.0.901 → 0.0.903

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.901",
3
+ "version": "0.0.903",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -45,9 +45,9 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'quoteVersion': json['quoteVersion'],
46
46
  'quote': !runtime.exists(json, 'quote') ? undefined : CheckoutQuoteSnapshot.CheckoutQuoteSnapshotFromJSON(json['quote']),
47
47
  'quoteExpiresAt': !runtime.exists(json, 'quoteExpiresAt') ? undefined : (new Date(json['quoteExpiresAt'])),
48
+ 'lastQuotedAt': !runtime.exists(json, 'lastQuotedAt') ? undefined : (new Date(json['lastQuotedAt'])),
48
49
  'signingPayload': !runtime.exists(json, 'signingPayload') ? undefined : CheckoutSigningPayload.CheckoutSigningPayloadFromJSON(json['signingPayload']),
49
50
  'txHash': !runtime.exists(json, 'txHash') ? undefined : json['txHash'],
50
- 'txHashes': !runtime.exists(json, 'txHashes') ? undefined : json['txHashes'],
51
51
  'broadcastedAt': !runtime.exists(json, 'broadcastedAt') ? undefined : (new Date(json['broadcastedAt'])),
52
52
  'sourceConfirmedAt': !runtime.exists(json, 'sourceConfirmedAt') ? undefined : (new Date(json['sourceConfirmedAt'])),
53
53
  'confirmations': !runtime.exists(json, 'confirmations') ? undefined : json['confirmations'],
@@ -89,9 +89,9 @@ function CheckoutTransactionToJSON(value) {
89
89
  'quoteVersion': value.quoteVersion,
90
90
  'quote': CheckoutQuoteSnapshot.CheckoutQuoteSnapshotToJSON(value.quote),
91
91
  'quoteExpiresAt': value.quoteExpiresAt === undefined ? undefined : (value.quoteExpiresAt.toISOString()),
92
+ 'lastQuotedAt': value.lastQuotedAt === undefined ? undefined : (value.lastQuotedAt.toISOString()),
92
93
  'signingPayload': CheckoutSigningPayload.CheckoutSigningPayloadToJSON(value.signingPayload),
93
94
  'txHash': value.txHash,
94
- 'txHashes': value.txHashes,
95
95
  'broadcastedAt': value.broadcastedAt === undefined ? undefined : (value.broadcastedAt.toISOString()),
96
96
  'sourceConfirmedAt': value.sourceConfirmedAt === undefined ? undefined : (value.sourceConfirmedAt.toISOString()),
97
97
  'confirmations': value.confirmations,
@@ -159,22 +159,22 @@ export interface CheckoutTransaction {
159
159
  quoteExpiresAt?: Date;
160
160
  /**
161
161
  *
162
- * @type {CheckoutSigningPayload}
162
+ * @type {Date}
163
163
  * @memberof CheckoutTransaction
164
164
  */
165
- signingPayload?: CheckoutSigningPayload;
165
+ lastQuotedAt?: Date;
166
166
  /**
167
167
  *
168
- * @type {string}
168
+ * @type {CheckoutSigningPayload}
169
169
  * @memberof CheckoutTransaction
170
170
  */
171
- txHash?: string;
171
+ signingPayload?: CheckoutSigningPayload;
172
172
  /**
173
173
  *
174
- * @type {Array<string>}
174
+ * @type {string}
175
175
  * @memberof CheckoutTransaction
176
176
  */
177
- txHashes?: Array<string>;
177
+ txHash?: string;
178
178
  /**
179
179
  *
180
180
  * @type {Date}
@@ -41,9 +41,9 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'quoteVersion': json['quoteVersion'],
42
42
  'quote': !exists(json, 'quote') ? undefined : CheckoutQuoteSnapshotFromJSON(json['quote']),
43
43
  'quoteExpiresAt': !exists(json, 'quoteExpiresAt') ? undefined : (new Date(json['quoteExpiresAt'])),
44
+ 'lastQuotedAt': !exists(json, 'lastQuotedAt') ? undefined : (new Date(json['lastQuotedAt'])),
44
45
  'signingPayload': !exists(json, 'signingPayload') ? undefined : CheckoutSigningPayloadFromJSON(json['signingPayload']),
45
46
  'txHash': !exists(json, 'txHash') ? undefined : json['txHash'],
46
- 'txHashes': !exists(json, 'txHashes') ? undefined : json['txHashes'],
47
47
  'broadcastedAt': !exists(json, 'broadcastedAt') ? undefined : (new Date(json['broadcastedAt'])),
48
48
  'sourceConfirmedAt': !exists(json, 'sourceConfirmedAt') ? undefined : (new Date(json['sourceConfirmedAt'])),
49
49
  'confirmations': !exists(json, 'confirmations') ? undefined : json['confirmations'],
@@ -85,9 +85,9 @@ function CheckoutTransactionToJSON(value) {
85
85
  'quoteVersion': value.quoteVersion,
86
86
  'quote': CheckoutQuoteSnapshotToJSON(value.quote),
87
87
  'quoteExpiresAt': value.quoteExpiresAt === undefined ? undefined : (value.quoteExpiresAt.toISOString()),
88
+ 'lastQuotedAt': value.lastQuotedAt === undefined ? undefined : (value.lastQuotedAt.toISOString()),
88
89
  'signingPayload': CheckoutSigningPayloadToJSON(value.signingPayload),
89
90
  'txHash': value.txHash,
90
- 'txHashes': value.txHashes,
91
91
  'broadcastedAt': value.broadcastedAt === undefined ? undefined : (value.broadcastedAt.toISOString()),
92
92
  'sourceConfirmedAt': value.sourceConfirmedAt === undefined ? undefined : (value.sourceConfirmedAt.toISOString()),
93
93
  'confirmations': value.confirmations,
@@ -2,9 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var runtime = require('../runtime.cjs');
6
-
7
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
+ */
8
18
  function RecordBroadcastRequestFromJSON(json) {
9
19
  return RecordBroadcastRequestFromJSONTyped(json);
10
20
  }
@@ -14,7 +24,6 @@ function RecordBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
14
24
  }
15
25
  return {
16
26
  'txHash': json['txHash'],
17
- 'txHashes': !runtime.exists(json, 'txHashes') ? undefined : json['txHashes'],
18
27
  };
19
28
  }
20
29
  function RecordBroadcastRequestToJSON(value) {
@@ -26,7 +35,6 @@ function RecordBroadcastRequestToJSON(value) {
26
35
  }
27
36
  return {
28
37
  'txHash': value.txHash,
29
- 'txHashes': value.txHashes,
30
38
  };
31
39
  }
32
40
 
@@ -21,12 +21,6 @@ export interface RecordBroadcastRequest {
21
21
  * @memberof RecordBroadcastRequest
22
22
  */
23
23
  txHash: string;
24
- /**
25
- *
26
- * @type {Array<string>}
27
- * @memberof RecordBroadcastRequest
28
- */
29
- txHashes?: Array<string>;
30
24
  }
31
25
  export declare function RecordBroadcastRequestFromJSON(json: any): RecordBroadcastRequest;
32
26
  export declare function RecordBroadcastRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordBroadcastRequest;
@@ -1,6 +1,16 @@
1
- import { exists } from '../runtime.js';
2
-
3
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
+ */
4
14
  function RecordBroadcastRequestFromJSON(json) {
5
15
  return RecordBroadcastRequestFromJSONTyped(json);
6
16
  }
@@ -10,7 +20,6 @@ function RecordBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
10
20
  }
11
21
  return {
12
22
  'txHash': json['txHash'],
13
- 'txHashes': !exists(json, 'txHashes') ? undefined : json['txHashes'],
14
23
  };
15
24
  }
16
25
  function RecordBroadcastRequestToJSON(value) {
@@ -22,7 +31,6 @@ function RecordBroadcastRequestToJSON(value) {
22
31
  }
23
32
  return {
24
33
  'txHash': value.txHash,
25
- 'txHashes': value.txHashes,
26
34
  };
27
35
  }
28
36