@dynamic-labs/sdk-api-core 0.0.715 → 0.0.717

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.0.715",
3
+ "version": "0.0.717",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -16,6 +17,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
16
17
  'clientKeygenIds': json['clientKeygenIds'],
17
18
  'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
18
19
  'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
20
+ 'delegateToProjectEnvironment': !runtime.exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
19
21
  };
20
22
  }
21
23
  function ReshareRequestToJSON(value) {
@@ -29,6 +31,7 @@ function ReshareRequestToJSON(value) {
29
31
  'clientKeygenIds': value.clientKeygenIds,
30
32
  'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
31
33
  'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
34
+ 'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
32
35
  };
33
36
  }
34
37
 
@@ -34,6 +34,12 @@ export interface ReshareRequest {
34
34
  * @memberof ReshareRequest
35
35
  */
36
36
  newThresholdSignatureScheme: ThresholdSignatureScheme;
37
+ /**
38
+ *
39
+ * @type {boolean}
40
+ * @memberof ReshareRequest
41
+ */
42
+ delegateToProjectEnvironment?: boolean;
37
43
  }
38
44
  export declare function ReshareRequestFromJSON(json: any): ReshareRequest;
39
45
  export declare function ReshareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequest;
@@ -1,3 +1,4 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
2
3
 
3
4
  /* tslint:disable */
@@ -12,6 +13,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
12
13
  'clientKeygenIds': json['clientKeygenIds'],
13
14
  'oldThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
14
15
  'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
16
+ 'delegateToProjectEnvironment': !exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
15
17
  };
16
18
  }
17
19
  function ReshareRequestToJSON(value) {
@@ -25,6 +27,7 @@ function ReshareRequestToJSON(value) {
25
27
  'clientKeygenIds': value.clientKeygenIds,
26
28
  'oldThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
27
29
  'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
30
+ 'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
28
31
  };
29
32
  }
30
33
 
@@ -22,6 +22,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
22
22
  */
23
23
  exports.UnprocessableEntityErrorCode = void 0;
24
24
  (function (UnprocessableEntityErrorCode) {
25
+ UnprocessableEntityErrorCode["ExchangeCannotBeEnabled"] = "exchange_cannot_be_enabled";
25
26
  UnprocessableEntityErrorCode["TransferAmountTooSmall"] = "transfer_amount_too_small";
26
27
  UnprocessableEntityErrorCode["TransferAddressNotWhitelisted"] = "transfer_address_not_whitelisted";
27
28
  UnprocessableEntityErrorCode["InvalidScopes"] = "invalid_scopes";
@@ -15,6 +15,7 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum UnprocessableEntityErrorCode {
18
+ ExchangeCannotBeEnabled = "exchange_cannot_be_enabled",
18
19
  TransferAmountTooSmall = "transfer_amount_too_small",
19
20
  TransferAddressNotWhitelisted = "transfer_address_not_whitelisted",
20
21
  InvalidScopes = "invalid_scopes",
@@ -18,6 +18,7 @@
18
18
  */
19
19
  var UnprocessableEntityErrorCode;
20
20
  (function (UnprocessableEntityErrorCode) {
21
+ UnprocessableEntityErrorCode["ExchangeCannotBeEnabled"] = "exchange_cannot_be_enabled";
21
22
  UnprocessableEntityErrorCode["TransferAmountTooSmall"] = "transfer_amount_too_small";
22
23
  UnprocessableEntityErrorCode["TransferAddressNotWhitelisted"] = "transfer_address_not_whitelisted";
23
24
  UnprocessableEntityErrorCode["InvalidScopes"] = "invalid_scopes";