@dynamic-labs/sdk-api-core 0.0.624 → 0.0.626

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.624",
3
+ "version": "0.0.626",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -22,6 +22,7 @@ require('../models/HardwareWalletEnum.cjs');
22
22
  require('../models/PasswordSourceTypeEnum.cjs');
23
23
  require('../models/ProviderEntryPointVersionEnum.cjs');
24
24
  require('../models/ProviderKernelVersionEnum.cjs');
25
+ require('../models/ThresholdSignatureScheme.cjs');
25
26
  require('../models/WalletProviderEnum.cjs');
26
27
  require('../models/MfaBackupCodeAcknowledgement.cjs');
27
28
  require('../models/CustomFieldType.cjs');
@@ -128,7 +129,6 @@ var SolanaTransactionOptimizationRequest = require('../models/SolanaTransactionO
128
129
  var SolanaTransactionOptimizationResponse = require('../models/SolanaTransactionOptimizationResponse.cjs');
129
130
  var SupportedOnrampsResponse = require('../models/SupportedOnrampsResponse.cjs');
130
131
  var TelegramPostRequest = require('../models/TelegramPostRequest.cjs');
131
- require('../models/ThresholdSignatureScheme.cjs');
132
132
  var TokenBalance = require('../models/TokenBalance.cjs');
133
133
  var TurnkeyCreateWalletAccountsRequestBody = require('../models/TurnkeyCreateWalletAccountsRequestBody.cjs');
134
134
  var TurnkeyDeleteEmbeddedWalletsRequestBody = require('../models/TurnkeyDeleteEmbeddedWalletsRequestBody.cjs');
@@ -18,6 +18,7 @@ import '../models/HardwareWalletEnum.js';
18
18
  import '../models/PasswordSourceTypeEnum.js';
19
19
  import '../models/ProviderEntryPointVersionEnum.js';
20
20
  import '../models/ProviderKernelVersionEnum.js';
21
+ import '../models/ThresholdSignatureScheme.js';
21
22
  import '../models/WalletProviderEnum.js';
22
23
  import '../models/MfaBackupCodeAcknowledgement.js';
23
24
  import '../models/CustomFieldType.js';
@@ -124,7 +125,6 @@ import { SolanaTransactionOptimizationRequestToJSON } from '../models/SolanaTran
124
125
  import { SolanaTransactionOptimizationResponseFromJSON } from '../models/SolanaTransactionOptimizationResponse.js';
125
126
  import { SupportedOnrampsResponseFromJSON } from '../models/SupportedOnrampsResponse.js';
126
127
  import { TelegramPostRequestToJSON } from '../models/TelegramPostRequest.js';
127
- import '../models/ThresholdSignatureScheme.js';
128
128
  import { TokenBalanceFromJSON } from '../models/TokenBalance.js';
129
129
  import { TurnkeyCreateWalletAccountsRequestBodyFromJSON } from '../models/TurnkeyCreateWalletAccountsRequestBody.js';
130
130
  import { TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSON } from '../models/TurnkeyDeleteEmbeddedWalletsRequestBody.js';
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+
5
7
  /* 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
- */
18
8
  function NameServiceSdkSettingsEvmFromJSON(json) {
19
9
  return NameServiceSdkSettingsEvmFromJSONTyped(json);
20
10
  }
@@ -23,7 +13,7 @@ function NameServiceSdkSettingsEvmFromJSONTyped(json, ignoreDiscriminator) {
23
13
  return json;
24
14
  }
25
15
  return {
26
- 'domain': json['domain'],
16
+ 'domain': !runtime.exists(json, 'domain') ? undefined : json['domain'],
27
17
  };
28
18
  }
29
19
  function NameServiceSdkSettingsEvmToJSON(value) {
@@ -20,7 +20,7 @@ export interface NameServiceSdkSettingsEvm {
20
20
  * @type {string}
21
21
  * @memberof NameServiceSdkSettingsEvm
22
22
  */
23
- domain: string;
23
+ domain?: string;
24
24
  }
25
25
  export declare function NameServiceSdkSettingsEvmFromJSON(json: any): NameServiceSdkSettingsEvm;
26
26
  export declare function NameServiceSdkSettingsEvmFromJSONTyped(json: any, ignoreDiscriminator: boolean): NameServiceSdkSettingsEvm;
@@ -1,16 +1,6 @@
1
+ import { exists } from '../runtime.js';
2
+
1
3
  /* 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
- */
14
4
  function NameServiceSdkSettingsEvmFromJSON(json) {
15
5
  return NameServiceSdkSettingsEvmFromJSONTyped(json);
16
6
  }
@@ -19,7 +9,7 @@ function NameServiceSdkSettingsEvmFromJSONTyped(json, ignoreDiscriminator) {
19
9
  return json;
20
10
  }
21
11
  return {
22
- 'domain': json['domain'],
12
+ 'domain': !exists(json, 'domain') ? undefined : json['domain'],
23
13
  };
24
14
  }
25
15
  function NameServiceSdkSettingsEvmToJSON(value) {
@@ -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 WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -15,6 +16,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
15
16
  }
16
17
  return {
17
18
  'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
19
+ 'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
18
20
  };
19
21
  }
20
22
  function WaasWalletPropertiesToJSON(value) {
@@ -26,6 +28,7 @@ function WaasWalletPropertiesToJSON(value) {
26
28
  }
27
29
  return {
28
30
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
31
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
29
32
  };
30
33
  }
31
34
 
@@ -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 { WalletKeyShareInfo } from './WalletKeyShareInfo';
13
14
  /**
14
15
  *
@@ -22,6 +23,12 @@ export interface WaasWalletProperties {
22
23
  * @memberof WaasWalletProperties
23
24
  */
24
25
  keyShares?: Array<WalletKeyShareInfo>;
26
+ /**
27
+ *
28
+ * @type {ThresholdSignatureScheme}
29
+ * @memberof WaasWalletProperties
30
+ */
31
+ thresholdSignatureScheme?: ThresholdSignatureScheme;
25
32
  }
26
33
  export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
27
34
  export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
2
3
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
3
4
 
4
5
  /* tslint:disable */
@@ -11,6 +12,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
11
12
  }
12
13
  return {
13
14
  'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
15
+ 'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
14
16
  };
15
17
  }
16
18
  function WaasWalletPropertiesToJSON(value) {
@@ -22,6 +24,7 @@ function WaasWalletPropertiesToJSON(value) {
22
24
  }
23
25
  return {
24
26
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
27
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
25
28
  };
26
29
  }
27
30
 
@@ -9,6 +9,7 @@ var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
9
9
  var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
10
10
  var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
11
11
  var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
12
+ var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
12
13
  var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
13
14
 
14
15
  /* tslint:disable */
@@ -34,6 +35,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
34
35
  'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
35
36
  'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
36
37
  'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
38
+ 'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
37
39
  };
38
40
  }
39
41
  function WalletPropertiesToJSON(value) {
@@ -58,6 +60,7 @@ function WalletPropertiesToJSON(value) {
58
60
  'claimed': value.claimed,
59
61
  'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
60
62
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
63
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
61
64
  };
62
65
  }
63
66
 
@@ -15,6 +15,7 @@ import { HardwareWalletEnum } from './HardwareWalletEnum';
15
15
  import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
16
16
  import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
17
17
  import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
18
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
18
19
  import { WalletKeyShareInfo } from './WalletKeyShareInfo';
19
20
  /**
20
21
  *
@@ -106,6 +107,12 @@ export interface WalletProperties {
106
107
  * @memberof WalletProperties
107
108
  */
108
109
  keyShares?: Array<WalletKeyShareInfo>;
110
+ /**
111
+ *
112
+ * @type {ThresholdSignatureScheme}
113
+ * @memberof WalletProperties
114
+ */
115
+ thresholdSignatureScheme?: ThresholdSignatureScheme;
109
116
  }
110
117
  export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
111
118
  export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
@@ -5,6 +5,7 @@ import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './Hardware
5
5
  import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
6
6
  import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
7
7
  import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
8
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
8
9
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
9
10
 
10
11
  /* tslint:disable */
@@ -30,6 +31,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
30
31
  'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
31
32
  'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
32
33
  'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
34
+ 'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
33
35
  };
34
36
  }
35
37
  function WalletPropertiesToJSON(value) {
@@ -54,6 +56,7 @@ function WalletPropertiesToJSON(value) {
54
56
  'claimed': value.claimed,
55
57
  'source': PasswordSourceTypeEnumToJSON(value.source),
56
58
  'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
59
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
57
60
  };
58
61
  }
59
62