@dynamic-labs/sdk-api-core 0.0.561 → 0.0.563
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 +1 -1
- package/src/apis/SDKApi.cjs +3 -2
- package/src/apis/SDKApi.js +3 -2
- package/src/index.cjs +20 -8
- package/src/index.js +4 -1
- package/src/models/NativeCurrency.cjs +2 -0
- package/src/models/NativeCurrency.d.ts +6 -0
- package/src/models/NativeCurrency.js +2 -0
- package/src/models/Provider.cjs +6 -22
- package/src/models/Provider.d.ts +4 -18
- package/src/models/Provider.js +7 -23
- package/src/models/ProviderEntryPointVersionEnum.cjs +40 -0
- package/src/models/ProviderEntryPointVersionEnum.d.ts +23 -0
- package/src/models/ProviderEntryPointVersionEnum.js +34 -0
- package/src/models/ProviderKernelVersionEnum.cjs +41 -0
- package/src/models/ProviderKernelVersionEnum.d.ts +24 -0
- package/src/models/ProviderKernelVersionEnum.js +35 -0
- package/src/models/SmartWalletProperties.cjs +40 -0
- package/src/models/SmartWalletProperties.d.ts +42 -0
- package/src/models/SmartWalletProperties.js +34 -0
- package/src/models/WalletProperties.cjs +9 -0
- package/src/models/WalletProperties.d.ts +21 -0
- package/src/models/WalletProperties.js +9 -0
- package/src/models/index.d.ts +3 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -14,9 +14,12 @@ require('../models/AuthenticatorTransportProtocol.cjs');
|
|
|
14
14
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
15
15
|
require('../models/ProviderEnum.cjs');
|
|
16
16
|
require('../models/WalletAddressType.cjs');
|
|
17
|
+
require('../models/EcdsaValidatorOptions.cjs');
|
|
17
18
|
require('../models/EmbeddedWalletVersionEnum.cjs');
|
|
18
19
|
require('../models/HardwareWalletEnum.cjs');
|
|
19
20
|
require('../models/PasswordSourceTypeEnum.cjs');
|
|
21
|
+
require('../models/ProviderEntryPointVersionEnum.cjs');
|
|
22
|
+
require('../models/ProviderKernelVersionEnum.cjs');
|
|
20
23
|
require('../models/WalletProviderEnum.cjs');
|
|
21
24
|
require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
22
25
|
require('../models/CustomFieldType.cjs');
|
|
@@ -32,7 +35,6 @@ var CreateWalletAccountRequest = require('../models/CreateWalletAccountRequest.c
|
|
|
32
35
|
require('../models/CurrencyType.cjs');
|
|
33
36
|
var DeleteEmbeddedWalletsRequest = require('../models/DeleteEmbeddedWalletsRequest.cjs');
|
|
34
37
|
require('../models/TimeUnitEnum.cjs');
|
|
35
|
-
require('../models/EcdsaValidatorOptions.cjs');
|
|
36
38
|
var EmailProviderResponse = require('../models/EmailProviderResponse.cjs');
|
|
37
39
|
var EmailVerificationCreateRequest = require('../models/EmailVerificationCreateRequest.cjs');
|
|
38
40
|
var EmailVerificationCreateResponse = require('../models/EmailVerificationCreateResponse.cjs');
|
|
@@ -88,7 +90,6 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
88
90
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
89
91
|
require('../models/SdkViewSectionType.cjs');
|
|
90
92
|
require('../models/SdkViewType.cjs');
|
|
91
|
-
require('../models/Provider.cjs');
|
|
92
93
|
var PublishEvents = require('../models/PublishEvents.cjs');
|
|
93
94
|
require('../models/PublishEventsEvents.cjs');
|
|
94
95
|
var RegisterEmbeddedWalletSessionKeyResponse = require('../models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -10,9 +10,12 @@ import '../models/AuthenticatorTransportProtocol.js';
|
|
|
10
10
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
11
11
|
import '../models/ProviderEnum.js';
|
|
12
12
|
import '../models/WalletAddressType.js';
|
|
13
|
+
import '../models/EcdsaValidatorOptions.js';
|
|
13
14
|
import '../models/EmbeddedWalletVersionEnum.js';
|
|
14
15
|
import '../models/HardwareWalletEnum.js';
|
|
15
16
|
import '../models/PasswordSourceTypeEnum.js';
|
|
17
|
+
import '../models/ProviderEntryPointVersionEnum.js';
|
|
18
|
+
import '../models/ProviderKernelVersionEnum.js';
|
|
16
19
|
import '../models/WalletProviderEnum.js';
|
|
17
20
|
import '../models/MfaBackupCodeAcknowledgement.js';
|
|
18
21
|
import '../models/CustomFieldType.js';
|
|
@@ -28,7 +31,6 @@ import { CreateWalletAccountRequestToJSON } from '../models/CreateWalletAccountR
|
|
|
28
31
|
import '../models/CurrencyType.js';
|
|
29
32
|
import { DeleteEmbeddedWalletsRequestToJSON } from '../models/DeleteEmbeddedWalletsRequest.js';
|
|
30
33
|
import '../models/TimeUnitEnum.js';
|
|
31
|
-
import '../models/EcdsaValidatorOptions.js';
|
|
32
34
|
import { EmailProviderResponseFromJSON } from '../models/EmailProviderResponse.js';
|
|
33
35
|
import { EmailVerificationCreateRequestToJSON } from '../models/EmailVerificationCreateRequest.js';
|
|
34
36
|
import { EmailVerificationCreateResponseFromJSON } from '../models/EmailVerificationCreateResponse.js';
|
|
@@ -84,7 +86,6 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
84
86
|
import '../models/SdkViewSectionAlignment.js';
|
|
85
87
|
import '../models/SdkViewSectionType.js';
|
|
86
88
|
import '../models/SdkViewType.js';
|
|
87
|
-
import '../models/Provider.js';
|
|
88
89
|
import { PublishEventsToJSON } from '../models/PublishEvents.js';
|
|
89
90
|
import '../models/PublishEventsEvents.js';
|
|
90
91
|
import { RegisterEmbeddedWalletSessionKeyResponseFromJSON } from '../models/RegisterEmbeddedWalletSessionKeyResponse.js';
|
package/src/index.cjs
CHANGED
|
@@ -156,7 +156,9 @@ var ProjectSettingsSdkWalletConnect = require('./models/ProjectSettingsSdkWallet
|
|
|
156
156
|
var ProjectSettingsSecurity = require('./models/ProjectSettingsSecurity.cjs');
|
|
157
157
|
var Provider = require('./models/Provider.cjs');
|
|
158
158
|
var ProviderAgreement = require('./models/ProviderAgreement.cjs');
|
|
159
|
+
var ProviderEntryPointVersionEnum = require('./models/ProviderEntryPointVersionEnum.cjs');
|
|
159
160
|
var ProviderEnum = require('./models/ProviderEnum.cjs');
|
|
161
|
+
var ProviderKernelVersionEnum = require('./models/ProviderKernelVersionEnum.cjs');
|
|
160
162
|
var ProviderMultichainAccountAbstractionProviders = require('./models/ProviderMultichainAccountAbstractionProviders.cjs');
|
|
161
163
|
var PublicKeyCredentialDescriptor = require('./models/PublicKeyCredentialDescriptor.cjs');
|
|
162
164
|
var PublicKeyCredentialParameters = require('./models/PublicKeyCredentialParameters.cjs');
|
|
@@ -184,6 +186,7 @@ var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
|
184
186
|
var SimulateEVMTransactionRequest = require('./models/SimulateEVMTransactionRequest.cjs');
|
|
185
187
|
var SimulateSVMTransactionRequest = require('./models/SimulateSVMTransactionRequest.cjs');
|
|
186
188
|
var SimulateTransactionResponse = require('./models/SimulateTransactionResponse.cjs');
|
|
189
|
+
var SmartWalletProperties = require('./models/SmartWalletProperties.cjs');
|
|
187
190
|
var SmsCountryCode = require('./models/SmsCountryCode.cjs');
|
|
188
191
|
var SmsVerificationCreateRequest = require('./models/SmsVerificationCreateRequest.cjs');
|
|
189
192
|
var SmsVerificationCreateResponse = require('./models/SmsVerificationCreateResponse.cjs');
|
|
@@ -806,20 +809,19 @@ exports.ProjectSettingsSdkWalletConnectToJSON = ProjectSettingsSdkWalletConnect.
|
|
|
806
809
|
exports.ProjectSettingsSecurityFromJSON = ProjectSettingsSecurity.ProjectSettingsSecurityFromJSON;
|
|
807
810
|
exports.ProjectSettingsSecurityFromJSONTyped = ProjectSettingsSecurity.ProjectSettingsSecurityFromJSONTyped;
|
|
808
811
|
exports.ProjectSettingsSecurityToJSON = ProjectSettingsSecurity.ProjectSettingsSecurityToJSON;
|
|
809
|
-
Object.defineProperty(exports, 'ProviderEntryPointVersionEnum', {
|
|
810
|
-
enumerable: true,
|
|
811
|
-
get: function () { return Provider.ProviderEntryPointVersionEnum; }
|
|
812
|
-
});
|
|
813
812
|
exports.ProviderFromJSON = Provider.ProviderFromJSON;
|
|
814
813
|
exports.ProviderFromJSONTyped = Provider.ProviderFromJSONTyped;
|
|
815
|
-
Object.defineProperty(exports, 'ProviderKernelVersionEnum', {
|
|
816
|
-
enumerable: true,
|
|
817
|
-
get: function () { return Provider.ProviderKernelVersionEnum; }
|
|
818
|
-
});
|
|
819
814
|
exports.ProviderToJSON = Provider.ProviderToJSON;
|
|
820
815
|
exports.ProviderAgreementFromJSON = ProviderAgreement.ProviderAgreementFromJSON;
|
|
821
816
|
exports.ProviderAgreementFromJSONTyped = ProviderAgreement.ProviderAgreementFromJSONTyped;
|
|
822
817
|
exports.ProviderAgreementToJSON = ProviderAgreement.ProviderAgreementToJSON;
|
|
818
|
+
Object.defineProperty(exports, 'ProviderEntryPointVersionEnum', {
|
|
819
|
+
enumerable: true,
|
|
820
|
+
get: function () { return ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnum; }
|
|
821
|
+
});
|
|
822
|
+
exports.ProviderEntryPointVersionEnumFromJSON = ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON;
|
|
823
|
+
exports.ProviderEntryPointVersionEnumFromJSONTyped = ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSONTyped;
|
|
824
|
+
exports.ProviderEntryPointVersionEnumToJSON = ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON;
|
|
823
825
|
Object.defineProperty(exports, 'ProviderEnum', {
|
|
824
826
|
enumerable: true,
|
|
825
827
|
get: function () { return ProviderEnum.ProviderEnum; }
|
|
@@ -827,6 +829,13 @@ Object.defineProperty(exports, 'ProviderEnum', {
|
|
|
827
829
|
exports.ProviderEnumFromJSON = ProviderEnum.ProviderEnumFromJSON;
|
|
828
830
|
exports.ProviderEnumFromJSONTyped = ProviderEnum.ProviderEnumFromJSONTyped;
|
|
829
831
|
exports.ProviderEnumToJSON = ProviderEnum.ProviderEnumToJSON;
|
|
832
|
+
Object.defineProperty(exports, 'ProviderKernelVersionEnum', {
|
|
833
|
+
enumerable: true,
|
|
834
|
+
get: function () { return ProviderKernelVersionEnum.ProviderKernelVersionEnum; }
|
|
835
|
+
});
|
|
836
|
+
exports.ProviderKernelVersionEnumFromJSON = ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON;
|
|
837
|
+
exports.ProviderKernelVersionEnumFromJSONTyped = ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSONTyped;
|
|
838
|
+
exports.ProviderKernelVersionEnumToJSON = ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON;
|
|
830
839
|
exports.ProviderMultichainAccountAbstractionProvidersFromJSON = ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersFromJSON;
|
|
831
840
|
exports.ProviderMultichainAccountAbstractionProvidersFromJSONTyped = ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersFromJSONTyped;
|
|
832
841
|
exports.ProviderMultichainAccountAbstractionProvidersToJSON = ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersToJSON;
|
|
@@ -936,6 +945,9 @@ exports.SimulateSVMTransactionRequestToJSON = SimulateSVMTransactionRequest.Simu
|
|
|
936
945
|
exports.SimulateTransactionResponseFromJSON = SimulateTransactionResponse.SimulateTransactionResponseFromJSON;
|
|
937
946
|
exports.SimulateTransactionResponseFromJSONTyped = SimulateTransactionResponse.SimulateTransactionResponseFromJSONTyped;
|
|
938
947
|
exports.SimulateTransactionResponseToJSON = SimulateTransactionResponse.SimulateTransactionResponseToJSON;
|
|
948
|
+
exports.SmartWalletPropertiesFromJSON = SmartWalletProperties.SmartWalletPropertiesFromJSON;
|
|
949
|
+
exports.SmartWalletPropertiesFromJSONTyped = SmartWalletProperties.SmartWalletPropertiesFromJSONTyped;
|
|
950
|
+
exports.SmartWalletPropertiesToJSON = SmartWalletProperties.SmartWalletPropertiesToJSON;
|
|
939
951
|
exports.SmsCountryCodeFromJSON = SmsCountryCode.SmsCountryCodeFromJSON;
|
|
940
952
|
exports.SmsCountryCodeFromJSONTyped = SmsCountryCode.SmsCountryCodeFromJSONTyped;
|
|
941
953
|
exports.SmsCountryCodeToJSON = SmsCountryCode.SmsCountryCodeToJSON;
|
package/src/index.js
CHANGED
|
@@ -150,9 +150,11 @@ export { ProjectSettingsSdkEmbeddedWalletsFromJSON, ProjectSettingsSdkEmbeddedWa
|
|
|
150
150
|
export { ProjectSettingsSdkSocialSignInFromJSON, ProjectSettingsSdkSocialSignInFromJSONTyped, ProjectSettingsSdkSocialSignInToJSON } from './models/ProjectSettingsSdkSocialSignIn.js';
|
|
151
151
|
export { ProjectSettingsSdkWalletConnectFromJSON, ProjectSettingsSdkWalletConnectFromJSONTyped, ProjectSettingsSdkWalletConnectToJSON } from './models/ProjectSettingsSdkWalletConnect.js';
|
|
152
152
|
export { ProjectSettingsSecurityFromJSON, ProjectSettingsSecurityFromJSONTyped, ProjectSettingsSecurityToJSON } from './models/ProjectSettingsSecurity.js';
|
|
153
|
-
export {
|
|
153
|
+
export { ProviderFromJSON, ProviderFromJSONTyped, ProviderToJSON } from './models/Provider.js';
|
|
154
154
|
export { ProviderAgreementFromJSON, ProviderAgreementFromJSONTyped, ProviderAgreementToJSON } from './models/ProviderAgreement.js';
|
|
155
|
+
export { ProviderEntryPointVersionEnum, ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumFromJSONTyped, ProviderEntryPointVersionEnumToJSON } from './models/ProviderEntryPointVersionEnum.js';
|
|
155
156
|
export { ProviderEnum, ProviderEnumFromJSON, ProviderEnumFromJSONTyped, ProviderEnumToJSON } from './models/ProviderEnum.js';
|
|
157
|
+
export { ProviderKernelVersionEnum, ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumFromJSONTyped, ProviderKernelVersionEnumToJSON } from './models/ProviderKernelVersionEnum.js';
|
|
156
158
|
export { ProviderMultichainAccountAbstractionProvidersFromJSON, ProviderMultichainAccountAbstractionProvidersFromJSONTyped, ProviderMultichainAccountAbstractionProvidersToJSON } from './models/ProviderMultichainAccountAbstractionProviders.js';
|
|
157
159
|
export { PublicKeyCredentialDescriptorFromJSON, PublicKeyCredentialDescriptorFromJSONTyped, PublicKeyCredentialDescriptorToJSON } from './models/PublicKeyCredentialDescriptor.js';
|
|
158
160
|
export { PublicKeyCredentialParametersFromJSON, PublicKeyCredentialParametersFromJSONTyped, PublicKeyCredentialParametersToJSON } from './models/PublicKeyCredentialParameters.js';
|
|
@@ -180,6 +182,7 @@ export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJ
|
|
|
180
182
|
export { SimulateEVMTransactionRequestFromJSON, SimulateEVMTransactionRequestFromJSONTyped, SimulateEVMTransactionRequestToJSON } from './models/SimulateEVMTransactionRequest.js';
|
|
181
183
|
export { SimulateSVMTransactionRequestFromJSON, SimulateSVMTransactionRequestFromJSONTyped, SimulateSVMTransactionRequestToJSON } from './models/SimulateSVMTransactionRequest.js';
|
|
182
184
|
export { SimulateTransactionResponseFromJSON, SimulateTransactionResponseFromJSONTyped, SimulateTransactionResponseToJSON } from './models/SimulateTransactionResponse.js';
|
|
185
|
+
export { SmartWalletPropertiesFromJSON, SmartWalletPropertiesFromJSONTyped, SmartWalletPropertiesToJSON } from './models/SmartWalletProperties.js';
|
|
183
186
|
export { SmsCountryCodeFromJSON, SmsCountryCodeFromJSONTyped, SmsCountryCodeToJSON } from './models/SmsCountryCode.js';
|
|
184
187
|
export { SmsVerificationCreateRequestFromJSON, SmsVerificationCreateRequestFromJSONTyped, SmsVerificationCreateRequestToJSON } from './models/SmsVerificationCreateRequest.js';
|
|
185
188
|
export { SmsVerificationCreateResponseFromJSON, SmsVerificationCreateResponseFromJSONTyped, SmsVerificationCreateResponseToJSON } from './models/SmsVerificationCreateResponse.js';
|
|
@@ -18,6 +18,7 @@ function NativeCurrencyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'symbol': json['symbol'],
|
|
19
19
|
'denom': !runtime.exists(json, 'denom') ? undefined : json['denom'],
|
|
20
20
|
'iconUrl': !runtime.exists(json, 'iconUrl') ? undefined : json['iconUrl'],
|
|
21
|
+
'pricingProviderTokenId': !runtime.exists(json, 'pricingProviderTokenId') ? undefined : json['pricingProviderTokenId'],
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
function NativeCurrencyToJSON(value) {
|
|
@@ -33,6 +34,7 @@ function NativeCurrencyToJSON(value) {
|
|
|
33
34
|
'symbol': value.symbol,
|
|
34
35
|
'denom': value.denom,
|
|
35
36
|
'iconUrl': value.iconUrl,
|
|
37
|
+
'pricingProviderTokenId': value.pricingProviderTokenId,
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -45,6 +45,12 @@ export interface NativeCurrency {
|
|
|
45
45
|
* @memberof NativeCurrency
|
|
46
46
|
*/
|
|
47
47
|
iconUrl?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof NativeCurrency
|
|
52
|
+
*/
|
|
53
|
+
pricingProviderTokenId?: string;
|
|
48
54
|
}
|
|
49
55
|
export declare function NativeCurrencyFromJSON(json: any): NativeCurrency;
|
|
50
56
|
export declare function NativeCurrencyFromJSONTyped(json: any, ignoreDiscriminator: boolean): NativeCurrency;
|
|
@@ -14,6 +14,7 @@ function NativeCurrencyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
'symbol': json['symbol'],
|
|
15
15
|
'denom': !exists(json, 'denom') ? undefined : json['denom'],
|
|
16
16
|
'iconUrl': !exists(json, 'iconUrl') ? undefined : json['iconUrl'],
|
|
17
|
+
'pricingProviderTokenId': !exists(json, 'pricingProviderTokenId') ? undefined : json['pricingProviderTokenId'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
function NativeCurrencyToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function NativeCurrencyToJSON(value) {
|
|
|
29
30
|
'symbol': value.symbol,
|
|
30
31
|
'denom': value.denom,
|
|
31
32
|
'iconUrl': value.iconUrl,
|
|
33
|
+
'pricingProviderTokenId': value.pricingProviderTokenId,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|
package/src/models/Provider.cjs
CHANGED
|
@@ -5,29 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var EcdsaValidatorOptions = require('./EcdsaValidatorOptions.cjs');
|
|
7
7
|
var ProviderAgreement = require('./ProviderAgreement.cjs');
|
|
8
|
+
var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
|
|
8
9
|
var ProviderEnum = require('./ProviderEnum.cjs');
|
|
10
|
+
var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
|
|
9
11
|
var ProviderMultichainAccountAbstractionProviders = require('./ProviderMultichainAccountAbstractionProviders.cjs');
|
|
10
12
|
var SmsCountryCode = require('./SmsCountryCode.cjs');
|
|
11
13
|
|
|
12
14
|
/* tslint:disable */
|
|
13
|
-
/**
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
exports.ProviderEntryPointVersionEnum = void 0;
|
|
18
|
-
(function (ProviderEntryPointVersionEnum) {
|
|
19
|
-
ProviderEntryPointVersionEnum["V6"] = "v6";
|
|
20
|
-
ProviderEntryPointVersionEnum["V7"] = "v7";
|
|
21
|
-
})(exports.ProviderEntryPointVersionEnum || (exports.ProviderEntryPointVersionEnum = {})); /**
|
|
22
|
-
* @export
|
|
23
|
-
* @enum {string}
|
|
24
|
-
*/
|
|
25
|
-
exports.ProviderKernelVersionEnum = void 0;
|
|
26
|
-
(function (ProviderKernelVersionEnum) {
|
|
27
|
-
ProviderKernelVersionEnum["V24"] = "v2_4";
|
|
28
|
-
ProviderKernelVersionEnum["V30"] = "v3_0";
|
|
29
|
-
ProviderKernelVersionEnum["V31"] = "v3_1";
|
|
30
|
-
})(exports.ProviderKernelVersionEnum || (exports.ProviderKernelVersionEnum = {}));
|
|
31
15
|
function ProviderFromJSON(json) {
|
|
32
16
|
return ProviderFromJSONTyped(json);
|
|
33
17
|
}
|
|
@@ -55,8 +39,8 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
39
|
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
56
40
|
'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
57
41
|
'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
|
|
58
|
-
'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : json['entryPointVersion'],
|
|
59
|
-
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : json['kernelVersion'],
|
|
42
|
+
'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
43
|
+
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
60
44
|
'multichainAccountAbstractionProviders': !runtime.exists(json, 'multichainAccountAbstractionProviders') ? undefined : (json['multichainAccountAbstractionProviders'].map(ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersFromJSON)),
|
|
61
45
|
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
62
46
|
'createNewAccounts': !runtime.exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
|
|
@@ -89,8 +73,8 @@ function ProviderToJSON(value) {
|
|
|
89
73
|
'accountSid': value.accountSid,
|
|
90
74
|
'twilioNumber': value.twilioNumber,
|
|
91
75
|
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
|
|
92
|
-
'entryPointVersion': value.entryPointVersion,
|
|
93
|
-
'kernelVersion': value.kernelVersion,
|
|
76
|
+
'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
77
|
+
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
94
78
|
'multichainAccountAbstractionProviders': value.multichainAccountAbstractionProviders === undefined ? undefined : (value.multichainAccountAbstractionProviders.map(ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersToJSON)),
|
|
95
79
|
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
96
80
|
'createNewAccounts': value.createNewAccounts,
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { EcdsaValidatorOptions } from './EcdsaValidatorOptions';
|
|
13
13
|
import { ProviderAgreement } from './ProviderAgreement';
|
|
14
|
+
import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
|
|
14
15
|
import { ProviderEnum } from './ProviderEnum';
|
|
16
|
+
import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
|
|
15
17
|
import { ProviderMultichainAccountAbstractionProviders } from './ProviderMultichainAccountAbstractionProviders';
|
|
16
18
|
import { SmsCountryCode } from './SmsCountryCode';
|
|
17
19
|
/**
|
|
@@ -136,13 +138,13 @@ export interface Provider {
|
|
|
136
138
|
enabledCountries?: Array<SmsCountryCode>;
|
|
137
139
|
/**
|
|
138
140
|
*
|
|
139
|
-
* @type {
|
|
141
|
+
* @type {ProviderEntryPointVersionEnum}
|
|
140
142
|
* @memberof Provider
|
|
141
143
|
*/
|
|
142
144
|
entryPointVersion?: ProviderEntryPointVersionEnum;
|
|
143
145
|
/**
|
|
144
146
|
*
|
|
145
|
-
* @type {
|
|
147
|
+
* @type {ProviderKernelVersionEnum}
|
|
146
148
|
* @memberof Provider
|
|
147
149
|
*/
|
|
148
150
|
kernelVersion?: ProviderKernelVersionEnum;
|
|
@@ -165,22 +167,6 @@ export interface Provider {
|
|
|
165
167
|
*/
|
|
166
168
|
createNewAccounts?: boolean;
|
|
167
169
|
}
|
|
168
|
-
/**
|
|
169
|
-
* @export
|
|
170
|
-
* @enum {string}
|
|
171
|
-
*/
|
|
172
|
-
export declare enum ProviderEntryPointVersionEnum {
|
|
173
|
-
V6 = "v6",
|
|
174
|
-
V7 = "v7"
|
|
175
|
-
} /**
|
|
176
|
-
* @export
|
|
177
|
-
* @enum {string}
|
|
178
|
-
*/
|
|
179
|
-
export declare enum ProviderKernelVersionEnum {
|
|
180
|
-
V24 = "v2_4",
|
|
181
|
-
V30 = "v3_0",
|
|
182
|
-
V31 = "v3_1"
|
|
183
|
-
}
|
|
184
170
|
export declare function ProviderFromJSON(json: any): Provider;
|
|
185
171
|
export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
|
|
186
172
|
export declare function ProviderToJSON(value?: Provider | null): any;
|
package/src/models/Provider.js
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { EcdsaValidatorOptionsFromJSON, EcdsaValidatorOptionsToJSON } from './EcdsaValidatorOptions.js';
|
|
3
3
|
import { ProviderAgreementFromJSON, ProviderAgreementToJSON } from './ProviderAgreement.js';
|
|
4
|
+
import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
|
|
4
5
|
import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
6
|
+
import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
|
|
5
7
|
import { ProviderMultichainAccountAbstractionProvidersFromJSON, ProviderMultichainAccountAbstractionProvidersToJSON } from './ProviderMultichainAccountAbstractionProviders.js';
|
|
6
8
|
import { SmsCountryCodeFromJSON, SmsCountryCodeToJSON } from './SmsCountryCode.js';
|
|
7
9
|
|
|
8
10
|
/* tslint:disable */
|
|
9
|
-
/**
|
|
10
|
-
* @export
|
|
11
|
-
* @enum {string}
|
|
12
|
-
*/
|
|
13
|
-
var ProviderEntryPointVersionEnum;
|
|
14
|
-
(function (ProviderEntryPointVersionEnum) {
|
|
15
|
-
ProviderEntryPointVersionEnum["V6"] = "v6";
|
|
16
|
-
ProviderEntryPointVersionEnum["V7"] = "v7";
|
|
17
|
-
})(ProviderEntryPointVersionEnum || (ProviderEntryPointVersionEnum = {})); /**
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var ProviderKernelVersionEnum;
|
|
22
|
-
(function (ProviderKernelVersionEnum) {
|
|
23
|
-
ProviderKernelVersionEnum["V24"] = "v2_4";
|
|
24
|
-
ProviderKernelVersionEnum["V30"] = "v3_0";
|
|
25
|
-
ProviderKernelVersionEnum["V31"] = "v3_1";
|
|
26
|
-
})(ProviderKernelVersionEnum || (ProviderKernelVersionEnum = {}));
|
|
27
11
|
function ProviderFromJSON(json) {
|
|
28
12
|
return ProviderFromJSONTyped(json);
|
|
29
13
|
}
|
|
@@ -51,8 +35,8 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
35
|
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
52
36
|
'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
53
37
|
'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
|
|
54
|
-
'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : json['entryPointVersion'],
|
|
55
|
-
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : json['kernelVersion'],
|
|
38
|
+
'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
39
|
+
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
56
40
|
'multichainAccountAbstractionProviders': !exists(json, 'multichainAccountAbstractionProviders') ? undefined : (json['multichainAccountAbstractionProviders'].map(ProviderMultichainAccountAbstractionProvidersFromJSON)),
|
|
57
41
|
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
58
42
|
'createNewAccounts': !exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
|
|
@@ -85,12 +69,12 @@ function ProviderToJSON(value) {
|
|
|
85
69
|
'accountSid': value.accountSid,
|
|
86
70
|
'twilioNumber': value.twilioNumber,
|
|
87
71
|
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
|
|
88
|
-
'entryPointVersion': value.entryPointVersion,
|
|
89
|
-
'kernelVersion': value.kernelVersion,
|
|
72
|
+
'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
73
|
+
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
90
74
|
'multichainAccountAbstractionProviders': value.multichainAccountAbstractionProviders === undefined ? undefined : (value.multichainAccountAbstractionProviders.map(ProviderMultichainAccountAbstractionProvidersToJSON)),
|
|
91
75
|
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
92
76
|
'createNewAccounts': value.createNewAccounts,
|
|
93
77
|
};
|
|
94
78
|
}
|
|
95
79
|
|
|
96
|
-
export {
|
|
80
|
+
export { ProviderFromJSON, ProviderFromJSONTyped, ProviderToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.ProviderEntryPointVersionEnum = void 0;
|
|
24
|
+
(function (ProviderEntryPointVersionEnum) {
|
|
25
|
+
ProviderEntryPointVersionEnum["V6"] = "v6";
|
|
26
|
+
ProviderEntryPointVersionEnum["V7"] = "v7";
|
|
27
|
+
})(exports.ProviderEntryPointVersionEnum || (exports.ProviderEntryPointVersionEnum = {}));
|
|
28
|
+
function ProviderEntryPointVersionEnumFromJSON(json) {
|
|
29
|
+
return ProviderEntryPointVersionEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function ProviderEntryPointVersionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function ProviderEntryPointVersionEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.ProviderEntryPointVersionEnumFromJSON = ProviderEntryPointVersionEnumFromJSON;
|
|
39
|
+
exports.ProviderEntryPointVersionEnumFromJSONTyped = ProviderEntryPointVersionEnumFromJSONTyped;
|
|
40
|
+
exports.ProviderEntryPointVersionEnumToJSON = ProviderEntryPointVersionEnumToJSON;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ProviderEntryPointVersionEnum {
|
|
18
|
+
V6 = "v6",
|
|
19
|
+
V7 = "v7"
|
|
20
|
+
}
|
|
21
|
+
export declare function ProviderEntryPointVersionEnumFromJSON(json: any): ProviderEntryPointVersionEnum;
|
|
22
|
+
export declare function ProviderEntryPointVersionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderEntryPointVersionEnum;
|
|
23
|
+
export declare function ProviderEntryPointVersionEnumToJSON(value?: ProviderEntryPointVersionEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var ProviderEntryPointVersionEnum;
|
|
20
|
+
(function (ProviderEntryPointVersionEnum) {
|
|
21
|
+
ProviderEntryPointVersionEnum["V6"] = "v6";
|
|
22
|
+
ProviderEntryPointVersionEnum["V7"] = "v7";
|
|
23
|
+
})(ProviderEntryPointVersionEnum || (ProviderEntryPointVersionEnum = {}));
|
|
24
|
+
function ProviderEntryPointVersionEnumFromJSON(json) {
|
|
25
|
+
return ProviderEntryPointVersionEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function ProviderEntryPointVersionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function ProviderEntryPointVersionEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { ProviderEntryPointVersionEnum, ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumFromJSONTyped, ProviderEntryPointVersionEnumToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.ProviderKernelVersionEnum = void 0;
|
|
24
|
+
(function (ProviderKernelVersionEnum) {
|
|
25
|
+
ProviderKernelVersionEnum["V24"] = "v2_4";
|
|
26
|
+
ProviderKernelVersionEnum["V30"] = "v3_0";
|
|
27
|
+
ProviderKernelVersionEnum["V31"] = "v3_1";
|
|
28
|
+
})(exports.ProviderKernelVersionEnum || (exports.ProviderKernelVersionEnum = {}));
|
|
29
|
+
function ProviderKernelVersionEnumFromJSON(json) {
|
|
30
|
+
return ProviderKernelVersionEnumFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function ProviderKernelVersionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function ProviderKernelVersionEnumToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.ProviderKernelVersionEnumFromJSON = ProviderKernelVersionEnumFromJSON;
|
|
40
|
+
exports.ProviderKernelVersionEnumFromJSONTyped = ProviderKernelVersionEnumFromJSONTyped;
|
|
41
|
+
exports.ProviderKernelVersionEnumToJSON = ProviderKernelVersionEnumToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ProviderKernelVersionEnum {
|
|
18
|
+
V24 = "v2_4",
|
|
19
|
+
V30 = "v3_0",
|
|
20
|
+
V31 = "v3_1"
|
|
21
|
+
}
|
|
22
|
+
export declare function ProviderKernelVersionEnumFromJSON(json: any): ProviderKernelVersionEnum;
|
|
23
|
+
export declare function ProviderKernelVersionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderKernelVersionEnum;
|
|
24
|
+
export declare function ProviderKernelVersionEnumToJSON(value?: ProviderKernelVersionEnum | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var ProviderKernelVersionEnum;
|
|
20
|
+
(function (ProviderKernelVersionEnum) {
|
|
21
|
+
ProviderKernelVersionEnum["V24"] = "v2_4";
|
|
22
|
+
ProviderKernelVersionEnum["V30"] = "v3_0";
|
|
23
|
+
ProviderKernelVersionEnum["V31"] = "v3_1";
|
|
24
|
+
})(ProviderKernelVersionEnum || (ProviderKernelVersionEnum = {}));
|
|
25
|
+
function ProviderKernelVersionEnumFromJSON(json) {
|
|
26
|
+
return ProviderKernelVersionEnumFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function ProviderKernelVersionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function ProviderKernelVersionEnumToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { ProviderKernelVersionEnum, ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumFromJSONTyped, ProviderKernelVersionEnumToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EcdsaValidatorOptions = require('./EcdsaValidatorOptions.cjs');
|
|
7
|
+
var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
|
|
8
|
+
var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
|
|
9
|
+
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
function SmartWalletPropertiesFromJSON(json) {
|
|
12
|
+
return SmartWalletPropertiesFromJSONTyped(json);
|
|
13
|
+
}
|
|
14
|
+
function SmartWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if ((json === undefined) || (json === null)) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
20
|
+
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
21
|
+
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function SmartWalletPropertiesToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
33
|
+
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
34
|
+
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.SmartWalletPropertiesFromJSON = SmartWalletPropertiesFromJSON;
|
|
39
|
+
exports.SmartWalletPropertiesFromJSONTyped = SmartWalletPropertiesFromJSONTyped;
|
|
40
|
+
exports.SmartWalletPropertiesToJSON = SmartWalletPropertiesToJSON;
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
import { EcdsaValidatorOptions } from './EcdsaValidatorOptions';
|
|
13
|
+
import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
|
|
14
|
+
import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SmartWalletProperties
|
|
19
|
+
*/
|
|
20
|
+
export interface SmartWalletProperties {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ProviderEntryPointVersionEnum}
|
|
24
|
+
* @memberof SmartWalletProperties
|
|
25
|
+
*/
|
|
26
|
+
entryPointVersion?: ProviderEntryPointVersionEnum;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ProviderKernelVersionEnum}
|
|
30
|
+
* @memberof SmartWalletProperties
|
|
31
|
+
*/
|
|
32
|
+
kernelVersion?: ProviderKernelVersionEnum;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {EcdsaValidatorOptions}
|
|
36
|
+
* @memberof SmartWalletProperties
|
|
37
|
+
*/
|
|
38
|
+
ecdsaProviderType?: EcdsaValidatorOptions;
|
|
39
|
+
}
|
|
40
|
+
export declare function SmartWalletPropertiesFromJSON(json: any): SmartWalletProperties;
|
|
41
|
+
export declare function SmartWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartWalletProperties;
|
|
42
|
+
export declare function SmartWalletPropertiesToJSON(value?: SmartWalletProperties | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { EcdsaValidatorOptionsFromJSON, EcdsaValidatorOptionsToJSON } from './EcdsaValidatorOptions.js';
|
|
3
|
+
import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
|
|
4
|
+
import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function SmartWalletPropertiesFromJSON(json) {
|
|
8
|
+
return SmartWalletPropertiesFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function SmartWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
16
|
+
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
17
|
+
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SmartWalletPropertiesToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
29
|
+
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
30
|
+
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { SmartWalletPropertiesFromJSON, SmartWalletPropertiesFromJSONTyped, SmartWalletPropertiesToJSON };
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var EcdsaValidatorOptions = require('./EcdsaValidatorOptions.cjs');
|
|
6
7
|
var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
|
|
7
8
|
var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
|
|
8
9
|
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
10
|
+
var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
|
|
11
|
+
var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
|
|
9
12
|
|
|
10
13
|
/* tslint:disable */
|
|
11
14
|
function WalletPropertiesFromJSON(json) {
|
|
@@ -26,6 +29,9 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
29
|
'hardwareWallet': !runtime.exists(json, 'hardwareWallet') ? undefined : HardwareWalletEnum.HardwareWalletEnumFromJSON(json['hardwareWallet']),
|
|
27
30
|
'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
|
|
28
31
|
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
32
|
+
'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
33
|
+
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
34
|
+
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
29
35
|
};
|
|
30
36
|
}
|
|
31
37
|
function WalletPropertiesToJSON(value) {
|
|
@@ -46,6 +52,9 @@ function WalletPropertiesToJSON(value) {
|
|
|
46
52
|
'hardwareWallet': HardwareWalletEnum.HardwareWalletEnumToJSON(value.hardwareWallet),
|
|
47
53
|
'claimed': value.claimed,
|
|
48
54
|
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
55
|
+
'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
56
|
+
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
57
|
+
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
49
58
|
};
|
|
50
59
|
}
|
|
51
60
|
|
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EcdsaValidatorOptions } from './EcdsaValidatorOptions';
|
|
12
13
|
import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
|
|
13
14
|
import { HardwareWalletEnum } from './HardwareWalletEnum';
|
|
14
15
|
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
16
|
+
import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
|
|
17
|
+
import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
|
|
15
18
|
/**
|
|
16
19
|
*
|
|
17
20
|
* @export
|
|
@@ -78,6 +81,24 @@ export interface WalletProperties {
|
|
|
78
81
|
* @memberof WalletProperties
|
|
79
82
|
*/
|
|
80
83
|
source?: PasswordSourceTypeEnum;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {ProviderEntryPointVersionEnum}
|
|
87
|
+
* @memberof WalletProperties
|
|
88
|
+
*/
|
|
89
|
+
entryPointVersion?: ProviderEntryPointVersionEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {ProviderKernelVersionEnum}
|
|
93
|
+
* @memberof WalletProperties
|
|
94
|
+
*/
|
|
95
|
+
kernelVersion?: ProviderKernelVersionEnum;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {EcdsaValidatorOptions}
|
|
99
|
+
* @memberof WalletProperties
|
|
100
|
+
*/
|
|
101
|
+
ecdsaProviderType?: EcdsaValidatorOptions;
|
|
81
102
|
}
|
|
82
103
|
export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
|
|
83
104
|
export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { EcdsaValidatorOptionsFromJSON, EcdsaValidatorOptionsToJSON } from './EcdsaValidatorOptions.js';
|
|
2
3
|
import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
|
|
3
4
|
import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './HardwareWalletEnum.js';
|
|
4
5
|
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
6
|
+
import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
|
|
7
|
+
import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
|
|
5
8
|
|
|
6
9
|
/* tslint:disable */
|
|
7
10
|
function WalletPropertiesFromJSON(json) {
|
|
@@ -22,6 +25,9 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
25
|
'hardwareWallet': !exists(json, 'hardwareWallet') ? undefined : HardwareWalletEnumFromJSON(json['hardwareWallet']),
|
|
23
26
|
'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
|
|
24
27
|
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
28
|
+
'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
|
|
29
|
+
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
30
|
+
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
25
31
|
};
|
|
26
32
|
}
|
|
27
33
|
function WalletPropertiesToJSON(value) {
|
|
@@ -42,6 +48,9 @@ function WalletPropertiesToJSON(value) {
|
|
|
42
48
|
'hardwareWallet': HardwareWalletEnumToJSON(value.hardwareWallet),
|
|
43
49
|
'claimed': value.claimed,
|
|
44
50
|
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
51
|
+
'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
|
|
52
|
+
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
53
|
+
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
45
54
|
};
|
|
46
55
|
}
|
|
47
56
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -150,7 +150,9 @@ export * from './ProjectSettingsSdkWalletConnect';
|
|
|
150
150
|
export * from './ProjectSettingsSecurity';
|
|
151
151
|
export * from './Provider';
|
|
152
152
|
export * from './ProviderAgreement';
|
|
153
|
+
export * from './ProviderEntryPointVersionEnum';
|
|
153
154
|
export * from './ProviderEnum';
|
|
155
|
+
export * from './ProviderKernelVersionEnum';
|
|
154
156
|
export * from './ProviderMultichainAccountAbstractionProviders';
|
|
155
157
|
export * from './PublicKeyCredentialDescriptor';
|
|
156
158
|
export * from './PublicKeyCredentialParameters';
|
|
@@ -178,6 +180,7 @@ export * from './SignInProviderEnum';
|
|
|
178
180
|
export * from './SimulateEVMTransactionRequest';
|
|
179
181
|
export * from './SimulateSVMTransactionRequest';
|
|
180
182
|
export * from './SimulateTransactionResponse';
|
|
183
|
+
export * from './SmartWalletProperties';
|
|
181
184
|
export * from './SmsCountryCode';
|
|
182
185
|
export * from './SmsVerificationCreateRequest';
|
|
183
186
|
export * from './SmsVerificationCreateResponse';
|