@dynamic-labs/sdk-api-core 0.0.777 → 0.0.779

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.777",
3
+ "version": "0.0.779",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -15,6 +15,7 @@ require('../models/AuthenticatorTransportProtocol.cjs');
15
15
  var BackupKeySharesToLocationRequest = require('../models/BackupKeySharesToLocationRequest.cjs');
16
16
  var BackupKeySharesToLocationResponse = require('../models/BackupKeySharesToLocationResponse.cjs');
17
17
  var BackupKeySharesToLocationsRequest = require('../models/BackupKeySharesToLocationsRequest.cjs');
18
+ require('../models/ThresholdSignatureScheme.cjs');
18
19
  require('../models/WaasBackupOptionsEnum.cjs');
19
20
  var BackupKeySharesToLocationsResponse = require('../models/BackupKeySharesToLocationsResponse.cjs');
20
21
  var BackupMultipleClientKeySharesRequest = require('../models/BackupMultipleClientKeySharesRequest.cjs');
@@ -28,7 +29,6 @@ require('../models/HardwareWalletEnum.cjs');
28
29
  require('../models/PasswordSourceTypeEnum.cjs');
29
30
  require('../models/ProviderEntryPointVersionEnum.cjs');
30
31
  require('../models/ProviderKernelVersionEnum.cjs');
31
- require('../models/ThresholdSignatureScheme.cjs');
32
32
  require('../models/WalletProviderEnum.cjs');
33
33
  require('../models/MfaBackupCodeAcknowledgement.cjs');
34
34
  require('../models/CustomFieldType.cjs');
@@ -11,6 +11,7 @@ import '../models/AuthenticatorTransportProtocol.js';
11
11
  import { BackupKeySharesToLocationRequestToJSON } from '../models/BackupKeySharesToLocationRequest.js';
12
12
  import { BackupKeySharesToLocationResponseFromJSON } from '../models/BackupKeySharesToLocationResponse.js';
13
13
  import { BackupKeySharesToLocationsRequestToJSON } from '../models/BackupKeySharesToLocationsRequest.js';
14
+ import '../models/ThresholdSignatureScheme.js';
14
15
  import '../models/WaasBackupOptionsEnum.js';
15
16
  import { BackupKeySharesToLocationsResponseFromJSON } from '../models/BackupKeySharesToLocationsResponse.js';
16
17
  import { BackupMultipleClientKeySharesRequestToJSON } from '../models/BackupMultipleClientKeySharesRequest.js';
@@ -24,7 +25,6 @@ import '../models/HardwareWalletEnum.js';
24
25
  import '../models/PasswordSourceTypeEnum.js';
25
26
  import '../models/ProviderEntryPointVersionEnum.js';
26
27
  import '../models/ProviderKernelVersionEnum.js';
27
- import '../models/ThresholdSignatureScheme.js';
28
28
  import '../models/WalletProviderEnum.js';
29
29
  import '../models/MfaBackupCodeAcknowledgement.js';
30
30
  import '../models/CustomFieldType.js';
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
6
7
  var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -15,6 +16,8 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
15
16
  }
16
17
  return {
17
18
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
19
+ 'keygenId': !runtime.exists(json, 'keygenId') ? undefined : json['keygenId'],
20
+ 'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
18
21
  'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
19
22
  };
20
23
  }
@@ -27,6 +30,8 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
27
30
  }
28
31
  return {
29
32
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
33
+ 'keygenId': value.keygenId,
34
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
30
35
  'externalKeyShareId': value.externalKeyShareId,
31
36
  };
32
37
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
12
13
  import { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
13
14
  /**
14
15
  *
@@ -22,6 +23,18 @@ export interface BackupKeySharesToLocationsRequestLocations {
22
23
  * @memberof BackupKeySharesToLocationsRequestLocations
23
24
  */
24
25
  location: WaasBackupOptionsEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof BackupKeySharesToLocationsRequestLocations
30
+ */
31
+ keygenId?: string;
32
+ /**
33
+ *
34
+ * @type {ThresholdSignatureScheme}
35
+ * @memberof BackupKeySharesToLocationsRequestLocations
36
+ */
37
+ thresholdSignatureScheme?: ThresholdSignatureScheme;
25
38
  /**
26
39
  *
27
40
  * @type {string}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
2
3
  import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
3
4
 
4
5
  /* tslint:disable */
@@ -11,6 +12,8 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
11
12
  }
12
13
  return {
13
14
  'location': WaasBackupOptionsEnumFromJSON(json['location']),
15
+ 'keygenId': !exists(json, 'keygenId') ? undefined : json['keygenId'],
16
+ 'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
14
17
  'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
15
18
  };
16
19
  }
@@ -23,6 +26,8 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
23
26
  }
24
27
  return {
25
28
  'location': WaasBackupOptionsEnumToJSON(value.location),
29
+ 'keygenId': value.keygenId,
30
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
26
31
  'externalKeyShareId': value.externalKeyShareId,
27
32
  };
28
33
  }