@dynamic-labs/sdk-api-core 0.77.0 → 0.79.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.77.0",
3
+ "version": "0.79.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -12255,7 +12255,7 @@ class SDKApi extends runtime.BaseAPI {
12255
12255
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
12256
12256
  }
12257
12257
  /**
12258
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12258
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12259
12259
  * Create, update, or remove a Rule on a signer-Layer
12260
12260
  */
12261
12261
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12288,7 +12288,7 @@ class SDKApi extends runtime.BaseAPI {
12288
12288
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
12289
12289
  }
12290
12290
  /**
12291
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12291
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12292
12292
  * Create, update, or remove a Rule on a signer-Layer
12293
12293
  */
12294
12294
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -12296,7 +12296,7 @@ class SDKApi extends runtime.BaseAPI {
12296
12296
  return await response.value();
12297
12297
  }
12298
12298
  /**
12299
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12299
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12300
12300
  * Create, update, or remove a Rule on a wallet-Layer
12301
12301
  */
12302
12302
  async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12329,7 +12329,7 @@ class SDKApi extends runtime.BaseAPI {
12329
12329
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
12330
12330
  }
12331
12331
  /**
12332
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12332
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12333
12333
  * Create, update, or remove a Rule on a wallet-Layer
12334
12334
  */
12335
12335
  async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
@@ -5233,22 +5233,22 @@ export declare class SDKApi extends runtime.BaseAPI {
5233
5233
  */
5234
5234
  updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
5235
5235
  /**
5236
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5236
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5237
5237
  * Create, update, or remove a Rule on a signer-Layer
5238
5238
  */
5239
5239
  updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
5240
5240
  /**
5241
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5241
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5242
5242
  * Create, update, or remove a Rule on a signer-Layer
5243
5243
  */
5244
5244
  updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
5245
5245
  /**
5246
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5246
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5247
5247
  * Create, update, or remove a Rule on a wallet-Layer
5248
5248
  */
5249
5249
  updateWaasWalletSelfPolicyLayerRaw(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
5250
5250
  /**
5251
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5251
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5252
5252
  * Create, update, or remove a Rule on a wallet-Layer
5253
5253
  */
5254
5254
  updateWaasWalletSelfPolicyLayer(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
@@ -12251,7 +12251,7 @@ class SDKApi extends BaseAPI {
12251
12251
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
12252
12252
  }
12253
12253
  /**
12254
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12254
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12255
12255
  * Create, update, or remove a Rule on a signer-Layer
12256
12256
  */
12257
12257
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12284,7 +12284,7 @@ class SDKApi extends BaseAPI {
12284
12284
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
12285
12285
  }
12286
12286
  /**
12287
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12287
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12288
12288
  * Create, update, or remove a Rule on a signer-Layer
12289
12289
  */
12290
12290
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -12292,7 +12292,7 @@ class SDKApi extends BaseAPI {
12292
12292
  return await response.value();
12293
12293
  }
12294
12294
  /**
12295
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12295
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12296
12296
  * Create, update, or remove a Rule on a wallet-Layer
12297
12297
  */
12298
12298
  async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12325,7 +12325,7 @@ class SDKApi extends BaseAPI {
12325
12325
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
12326
12326
  }
12327
12327
  /**
12328
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12328
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12329
12329
  * Create, update, or remove a Rule on a wallet-Layer
12330
12330
  */
12331
12331
  async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var FlowTokenInfo = require('./FlowTokenInfo.cjs');
6
7
 
7
8
  /* tslint:disable */
8
9
  function FlowSettlementDataFromJSON(json) {
@@ -17,6 +18,9 @@ function FlowSettlementDataFromJSONTyped(json, ignoreDiscriminator) {
17
18
  'toToken': json['toToken'],
18
19
  'toAddress': json['toAddress'],
19
20
  'completedAt': !runtime.exists(json, 'completedAt') ? undefined : (new Date(json['completedAt'])),
21
+ 'amount': !runtime.exists(json, 'amount') ? undefined : json['amount'],
22
+ 'amountUsd': !runtime.exists(json, 'amountUsd') ? undefined : json['amountUsd'],
23
+ 'toTokenInfo': !runtime.exists(json, 'toTokenInfo') ? undefined : FlowTokenInfo.FlowTokenInfoFromJSON(json['toTokenInfo']),
20
24
  };
21
25
  }
22
26
  function FlowSettlementDataToJSON(value) {
@@ -31,6 +35,9 @@ function FlowSettlementDataToJSON(value) {
31
35
  'toToken': value.toToken,
32
36
  'toAddress': value.toAddress,
33
37
  'completedAt': value.completedAt === undefined ? undefined : (value.completedAt.toISOString()),
38
+ 'amount': value.amount,
39
+ 'amountUsd': value.amountUsd,
40
+ 'toTokenInfo': FlowTokenInfo.FlowTokenInfoToJSON(value.toTokenInfo),
34
41
  };
35
42
  }
36
43
 
@@ -1 +1 @@
1
- {"version":3,"file":"FlowSettlementData.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowSettlementData.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AA+CM,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;KAC5F,CAAC;AACN,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC;KACjG,CAAC;AACN;;;;;;"}
1
+ {"version":3,"file":"FlowSettlementData.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowSettlementData.ts"],"sourcesContent":null,"names":["exists","FlowTokenInfoFromJSON","FlowTokenInfoToJSON"],"mappings":";;;;;;;AAAA;AAwEM,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;AACzF,QAAA,QAAQ,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9D,QAAA,WAAW,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;QACvE,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAGC,mCAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KACvG,CAAC;AACN,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC;QAC9F,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,WAAW,EAAE,KAAK,CAAC,SAAS;AAC5B,QAAA,aAAa,EAAEC,iCAAmB,CAAC,KAAK,CAAC,WAAW,CAAC;KACxD,CAAC;AACN;;;;;;"}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { FlowTokenInfo } from './FlowTokenInfo';
12
13
  /**
13
14
  * Resolved settlement destination and completion time for a flow.
14
15
  * @export
@@ -39,6 +40,24 @@ export interface FlowSettlementData {
39
40
  * @memberof FlowSettlementData
40
41
  */
41
42
  completedAt?: Date;
43
+ /**
44
+ * Amount actually delivered to the destination, in the smallest unit of toToken. Can differ from the quoted amount when a deposit-address flow settles short. Absent when the provider did not report it.
45
+ * @type {string}
46
+ * @memberof FlowSettlementData
47
+ */
48
+ amount?: string;
49
+ /**
50
+ * USD equivalent of the delivered amount
51
+ * @type {string}
52
+ * @memberof FlowSettlementData
53
+ */
54
+ amountUsd?: string;
55
+ /**
56
+ *
57
+ * @type {FlowTokenInfo}
58
+ * @memberof FlowSettlementData
59
+ */
60
+ toTokenInfo?: FlowTokenInfo;
42
61
  }
43
62
  export declare function FlowSettlementDataFromJSON(json: any): FlowSettlementData;
44
63
  export declare function FlowSettlementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSettlementData;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { FlowTokenInfoFromJSON, FlowTokenInfoToJSON } from './FlowTokenInfo.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function FlowSettlementDataFromJSON(json) {
@@ -13,6 +14,9 @@ function FlowSettlementDataFromJSONTyped(json, ignoreDiscriminator) {
13
14
  'toToken': json['toToken'],
14
15
  'toAddress': json['toAddress'],
15
16
  'completedAt': !exists(json, 'completedAt') ? undefined : (new Date(json['completedAt'])),
17
+ 'amount': !exists(json, 'amount') ? undefined : json['amount'],
18
+ 'amountUsd': !exists(json, 'amountUsd') ? undefined : json['amountUsd'],
19
+ 'toTokenInfo': !exists(json, 'toTokenInfo') ? undefined : FlowTokenInfoFromJSON(json['toTokenInfo']),
16
20
  };
17
21
  }
18
22
  function FlowSettlementDataToJSON(value) {
@@ -27,6 +31,9 @@ function FlowSettlementDataToJSON(value) {
27
31
  'toToken': value.toToken,
28
32
  'toAddress': value.toAddress,
29
33
  'completedAt': value.completedAt === undefined ? undefined : (value.completedAt.toISOString()),
34
+ 'amount': value.amount,
35
+ 'amountUsd': value.amountUsd,
36
+ 'toTokenInfo': FlowTokenInfoToJSON(value.toTokenInfo),
30
37
  };
31
38
  }
32
39
 
@@ -1 +1 @@
1
- {"version":3,"file":"FlowSettlementData.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowSettlementData.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AA+CM,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;KAC5F,CAAC;AACN,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC;KACjG,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"FlowSettlementData.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowSettlementData.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAwEM,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;AACzF,QAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9D,QAAA,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;QACvE,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KACvG,CAAC;AACN,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,aAAa,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC;QAC9F,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,WAAW,EAAE,KAAK,CAAC,SAAS;AAC5B,QAAA,aAAa,EAAE,mBAAmB,CAAC,KAAK,CAAC,WAAW,CAAC;KACxD,CAAC;AACN;;;;"}
package/src/version.cjs CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const SDK_API_CORE_VERSION = '0.77.0';
5
+ const SDK_API_CORE_VERSION = '0.79.0';
6
6
 
7
7
  exports.SDK_API_CORE_VERSION = SDK_API_CORE_VERSION;
package/src/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const SDK_API_CORE_VERSION = '0.77.0';
1
+ const SDK_API_CORE_VERSION = '0.79.0';
2
2
 
3
3
  export { SDK_API_CORE_VERSION };