@dynamic-labs/sdk-api-core 0.0.623 → 0.0.625

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.623",
3
+ "version": "0.0.625",
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');
@@ -108,7 +109,6 @@ var PublishEvents = require('../models/PublishEvents.cjs');
108
109
  require('../models/PublishEventsEvents.cjs');
109
110
  var RecoverMultipleClientKeySharesRequest = require('../models/RecoverMultipleClientKeySharesRequest.cjs');
110
111
  var RecoverMultipleClientKeySharesResponse = require('../models/RecoverMultipleClientKeySharesResponse.cjs');
111
- var RefreshKeySharesRequest = require('../models/RefreshKeySharesRequest.cjs');
112
112
  var RegisterEmbeddedWalletSessionKeyResponse = require('../models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
113
113
  var RegisterSessionKeyRequest = require('../models/RegisterSessionKeyRequest.cjs');
114
114
  var ReshareRequest = require('../models/ReshareRequest.cjs');
@@ -129,7 +129,6 @@ var SolanaTransactionOptimizationRequest = require('../models/SolanaTransactionO
129
129
  var SolanaTransactionOptimizationResponse = require('../models/SolanaTransactionOptimizationResponse.cjs');
130
130
  var SupportedOnrampsResponse = require('../models/SupportedOnrampsResponse.cjs');
131
131
  var TelegramPostRequest = require('../models/TelegramPostRequest.cjs');
132
- require('../models/ThresholdSignatureScheme.cjs');
133
132
  var TokenBalance = require('../models/TokenBalance.cjs');
134
133
  var TurnkeyCreateWalletAccountsRequestBody = require('../models/TurnkeyCreateWalletAccountsRequestBody.cjs');
135
134
  var TurnkeyDeleteEmbeddedWalletsRequestBody = require('../models/TurnkeyDeleteEmbeddedWalletsRequestBody.cjs');
@@ -3987,12 +3986,8 @@ class SDKApi extends runtime.BaseAPI {
3987
3986
  if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
3988
3987
  throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling refreshKeyShares.');
3989
3988
  }
3990
- if (requestParameters.refreshKeySharesRequest === null || requestParameters.refreshKeySharesRequest === undefined) {
3991
- throw new runtime.RequiredError('refreshKeySharesRequest', 'Required parameter requestParameters.refreshKeySharesRequest was null or undefined when calling refreshKeyShares.');
3992
- }
3993
3989
  const queryParameters = {};
3994
3990
  const headerParameters = {};
3995
- headerParameters['Content-Type'] = 'application/json';
3996
3991
  if (this.configuration && this.configuration.accessToken) {
3997
3992
  const token = this.configuration.accessToken;
3998
3993
  const tokenString = yield token("bearerAuth", []);
@@ -4005,7 +4000,6 @@ class SDKApi extends runtime.BaseAPI {
4005
4000
  method: 'POST',
4006
4001
  headers: headerParameters,
4007
4002
  query: queryParameters,
4008
- body: RefreshKeySharesRequest.RefreshKeySharesRequestToJSON(requestParameters.refreshKeySharesRequest),
4009
4003
  }, initOverrides);
4010
4004
  return new runtime.JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIds.OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue));
4011
4005
  });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { BackupMultipleClientKeySharesRequest, BackupMultipleClientKeySharesResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateWaasAccountRequest, CreateWalletAccountRequest, Currency, DeleteEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthSigninRequest, FarcasterSignInRequest, GetUserPasskeysResponse, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthPasskeyDeviceGetResponse, MFAAuthPasskeyDevicePostRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
13
+ import { BackupMultipleClientKeySharesRequest, BackupMultipleClientKeySharesResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateWaasAccountRequest, CreateWalletAccountRequest, Currency, DeleteEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthSigninRequest, FarcasterSignInRequest, GetUserPasskeysResponse, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthPasskeyDeviceGetResponse, MFAAuthPasskeyDevicePostRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
14
14
  export interface AuthMfaPasskeyDeviceRequest {
15
15
  environmentId: string;
16
16
  mFAAuthPasskeyDevicePostRequest: MFAAuthPasskeyDevicePostRequest;
@@ -448,10 +448,9 @@ export interface RecoveryEmailOptionsRequest {
448
448
  export interface RefreshAuthRequest {
449
449
  environmentId: string;
450
450
  }
451
- export interface RefreshKeySharesOperationRequest {
451
+ export interface RefreshKeySharesRequest {
452
452
  environmentId: string;
453
453
  walletId: string;
454
- refreshKeySharesRequest: RefreshKeySharesRequest;
455
454
  }
456
455
  export interface RefreshKeySharesOptionsRequest {
457
456
  environmentId: string;
@@ -1675,11 +1674,11 @@ export declare class SDKApi extends runtime.BaseAPI {
1675
1674
  /**
1676
1675
  * Refresh keyshares
1677
1676
  */
1678
- refreshKeySharesRaw(requestParameters: RefreshKeySharesOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OpenRoomResponseWithServerKeygenIds>>;
1677
+ refreshKeySharesRaw(requestParameters: RefreshKeySharesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OpenRoomResponseWithServerKeygenIds>>;
1679
1678
  /**
1680
1679
  * Refresh keyshares
1681
1680
  */
1682
- refreshKeyShares(requestParameters: RefreshKeySharesOperationRequest, initOverrides?: RequestInit): Promise<OpenRoomResponseWithServerKeygenIds>;
1681
+ refreshKeyShares(requestParameters: RefreshKeySharesRequest, initOverrides?: RequestInit): Promise<OpenRoomResponseWithServerKeygenIds>;
1683
1682
  /**
1684
1683
  * Options call for this endpoint
1685
1684
  */
@@ -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';
@@ -104,7 +105,6 @@ import { PublishEventsToJSON } from '../models/PublishEvents.js';
104
105
  import '../models/PublishEventsEvents.js';
105
106
  import { RecoverMultipleClientKeySharesRequestToJSON } from '../models/RecoverMultipleClientKeySharesRequest.js';
106
107
  import { RecoverMultipleClientKeySharesResponseFromJSON } from '../models/RecoverMultipleClientKeySharesResponse.js';
107
- import { RefreshKeySharesRequestToJSON } from '../models/RefreshKeySharesRequest.js';
108
108
  import { RegisterEmbeddedWalletSessionKeyResponseFromJSON } from '../models/RegisterEmbeddedWalletSessionKeyResponse.js';
109
109
  import { RegisterSessionKeyRequestToJSON } from '../models/RegisterSessionKeyRequest.js';
110
110
  import { ReshareRequestToJSON } from '../models/ReshareRequest.js';
@@ -125,7 +125,6 @@ import { SolanaTransactionOptimizationRequestToJSON } from '../models/SolanaTran
125
125
  import { SolanaTransactionOptimizationResponseFromJSON } from '../models/SolanaTransactionOptimizationResponse.js';
126
126
  import { SupportedOnrampsResponseFromJSON } from '../models/SupportedOnrampsResponse.js';
127
127
  import { TelegramPostRequestToJSON } from '../models/TelegramPostRequest.js';
128
- import '../models/ThresholdSignatureScheme.js';
129
128
  import { TokenBalanceFromJSON } from '../models/TokenBalance.js';
130
129
  import { TurnkeyCreateWalletAccountsRequestBodyFromJSON } from '../models/TurnkeyCreateWalletAccountsRequestBody.js';
131
130
  import { TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSON } from '../models/TurnkeyDeleteEmbeddedWalletsRequestBody.js';
@@ -3983,12 +3982,8 @@ class SDKApi extends BaseAPI {
3983
3982
  if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
3984
3983
  throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling refreshKeyShares.');
3985
3984
  }
3986
- if (requestParameters.refreshKeySharesRequest === null || requestParameters.refreshKeySharesRequest === undefined) {
3987
- throw new RequiredError('refreshKeySharesRequest', 'Required parameter requestParameters.refreshKeySharesRequest was null or undefined when calling refreshKeyShares.');
3988
- }
3989
3985
  const queryParameters = {};
3990
3986
  const headerParameters = {};
3991
- headerParameters['Content-Type'] = 'application/json';
3992
3987
  if (this.configuration && this.configuration.accessToken) {
3993
3988
  const token = this.configuration.accessToken;
3994
3989
  const tokenString = yield token("bearerAuth", []);
@@ -4001,7 +3996,6 @@ class SDKApi extends BaseAPI {
4001
3996
  method: 'POST',
4002
3997
  headers: headerParameters,
4003
3998
  query: queryParameters,
4004
- body: RefreshKeySharesRequestToJSON(requestParameters.refreshKeySharesRequest),
4005
3999
  }, initOverrides);
4006
4000
  return new JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue));
4007
4001
  });
package/src/index.cjs CHANGED
@@ -196,7 +196,6 @@ var PublishEventsEvents = require('./models/PublishEventsEvents.cjs');
196
196
  var ReactSettings = require('./models/ReactSettings.cjs');
197
197
  var RecoverMultipleClientKeySharesRequest = require('./models/RecoverMultipleClientKeySharesRequest.cjs');
198
198
  var RecoverMultipleClientKeySharesResponse = require('./models/RecoverMultipleClientKeySharesResponse.cjs');
199
- var RefreshKeySharesRequest = require('./models/RefreshKeySharesRequest.cjs');
200
199
  var RegisterEmbeddedWalletSessionKeyResponse = require('./models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
201
200
  var RegisterSessionKeyRequest = require('./models/RegisterSessionKeyRequest.cjs');
202
201
  var ReshareRequest = require('./models/ReshareRequest.cjs');
@@ -1015,9 +1014,6 @@ exports.RecoverMultipleClientKeySharesRequestToJSON = RecoverMultipleClientKeySh
1015
1014
  exports.RecoverMultipleClientKeySharesResponseFromJSON = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseFromJSON;
1016
1015
  exports.RecoverMultipleClientKeySharesResponseFromJSONTyped = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseFromJSONTyped;
1017
1016
  exports.RecoverMultipleClientKeySharesResponseToJSON = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseToJSON;
1018
- exports.RefreshKeySharesRequestFromJSON = RefreshKeySharesRequest.RefreshKeySharesRequestFromJSON;
1019
- exports.RefreshKeySharesRequestFromJSONTyped = RefreshKeySharesRequest.RefreshKeySharesRequestFromJSONTyped;
1020
- exports.RefreshKeySharesRequestToJSON = RefreshKeySharesRequest.RefreshKeySharesRequestToJSON;
1021
1017
  exports.RegisterEmbeddedWalletSessionKeyResponseFromJSON = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseFromJSON;
1022
1018
  exports.RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped;
1023
1019
  exports.RegisterEmbeddedWalletSessionKeyResponseToJSON = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseToJSON;
package/src/index.js CHANGED
@@ -192,7 +192,6 @@ export { PublishEventsEventsFromJSON, PublishEventsEventsFromJSONTyped, PublishE
192
192
  export { ReactSettingsFromJSON, ReactSettingsFromJSONTyped, ReactSettingsToJSON } from './models/ReactSettings.js';
193
193
  export { RecoverMultipleClientKeySharesRequestFromJSON, RecoverMultipleClientKeySharesRequestFromJSONTyped, RecoverMultipleClientKeySharesRequestToJSON } from './models/RecoverMultipleClientKeySharesRequest.js';
194
194
  export { RecoverMultipleClientKeySharesResponseFromJSON, RecoverMultipleClientKeySharesResponseFromJSONTyped, RecoverMultipleClientKeySharesResponseToJSON } from './models/RecoverMultipleClientKeySharesResponse.js';
195
- export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON } from './models/RefreshKeySharesRequest.js';
196
195
  export { RegisterEmbeddedWalletSessionKeyResponseFromJSON, RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped, RegisterEmbeddedWalletSessionKeyResponseToJSON } from './models/RegisterEmbeddedWalletSessionKeyResponse.js';
197
196
  export { RegisterSessionKeyRequestFromJSON, RegisterSessionKeyRequestFromJSONTyped, RegisterSessionKeyRequestToJSON } from './models/RegisterSessionKeyRequest.js';
198
197
  export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.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 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
 
@@ -190,7 +190,6 @@ export * from './PublishEventsEvents';
190
190
  export * from './ReactSettings';
191
191
  export * from './RecoverMultipleClientKeySharesRequest';
192
192
  export * from './RecoverMultipleClientKeySharesResponse';
193
- export * from './RefreshKeySharesRequest';
194
193
  export * from './RegisterEmbeddedWalletSessionKeyResponse';
195
194
  export * from './RegisterSessionKeyRequest';
196
195
  export * from './ReshareRequest';
@@ -1,43 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
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
- */
18
- function RefreshKeySharesRequestFromJSON(json) {
19
- return RefreshKeySharesRequestFromJSONTyped(json);
20
- }
21
- function RefreshKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'clientKeygenIds': json['clientKeygenIds'],
27
- };
28
- }
29
- function RefreshKeySharesRequestToJSON(value) {
30
- if (value === undefined) {
31
- return undefined;
32
- }
33
- if (value === null) {
34
- return null;
35
- }
36
- return {
37
- 'clientKeygenIds': value.clientKeygenIds,
38
- };
39
- }
40
-
41
- exports.RefreshKeySharesRequestFromJSON = RefreshKeySharesRequestFromJSON;
42
- exports.RefreshKeySharesRequestFromJSONTyped = RefreshKeySharesRequestFromJSONTyped;
43
- exports.RefreshKeySharesRequestToJSON = RefreshKeySharesRequestToJSON;
@@ -1,27 +0,0 @@
1
- /**
2
- * Dashboard API
3
- * Dashboard API documentation
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface RefreshKeySharesRequest
16
- */
17
- export interface RefreshKeySharesRequest {
18
- /**
19
- *
20
- * @type {Array<string>}
21
- * @memberof RefreshKeySharesRequest
22
- */
23
- clientKeygenIds: Array<string>;
24
- }
25
- export declare function RefreshKeySharesRequestFromJSON(json: any): RefreshKeySharesRequest;
26
- export declare function RefreshKeySharesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesRequest;
27
- export declare function RefreshKeySharesRequestToJSON(value?: RefreshKeySharesRequest | null): any;
@@ -1,37 +0,0 @@
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
- */
14
- function RefreshKeySharesRequestFromJSON(json) {
15
- return RefreshKeySharesRequestFromJSONTyped(json);
16
- }
17
- function RefreshKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
18
- if ((json === undefined) || (json === null)) {
19
- return json;
20
- }
21
- return {
22
- 'clientKeygenIds': json['clientKeygenIds'],
23
- };
24
- }
25
- function RefreshKeySharesRequestToJSON(value) {
26
- if (value === undefined) {
27
- return undefined;
28
- }
29
- if (value === null) {
30
- return null;
31
- }
32
- return {
33
- 'clientKeygenIds': value.clientKeygenIds,
34
- };
35
- }
36
-
37
- export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON };