@dynamic-labs/sdk-api 0.0.365 → 0.0.367
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/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +42 -35
- package/src/apis/SDKApi.d.ts +13 -12
- package/src/apis/SDKApi.js +42 -35
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -0
- package/src/models/AccessOutcomeEnum.cjs +1 -0
- package/src/models/AccessOutcomeEnum.d.ts +2 -1
- package/src/models/AccessOutcomeEnum.js +1 -0
- package/src/models/CoinbaseMpcWalletProperties.cjs +3 -0
- package/src/models/CoinbaseMpcWalletProperties.d.ts +7 -0
- package/src/models/CoinbaseMpcWalletProperties.js +3 -0
- package/src/models/EmbeddedWalletPasscodeUpdateRequest.cjs +37 -0
- package/src/models/EmbeddedWalletPasscodeUpdateRequest.d.ts +40 -0
- package/src/models/EmbeddedWalletPasscodeUpdateRequest.js +31 -0
- package/src/models/EmbeddedWalletSecret.cjs +5 -12
- package/src/models/EmbeddedWalletSecret.d.ts +7 -0
- package/src/models/EmbeddedWalletSecret.js +5 -12
- package/src/models/PasswordSourceTypeEnum.cjs +40 -0
- package/src/models/PasswordSourceTypeEnum.d.ts +23 -0
- package/src/models/PasswordSourceTypeEnum.js +34 -0
- package/src/models/VerifyRequest.cjs +3 -0
- package/src/models/VerifyRequest.d.ts +7 -0
- package/src/models/VerifyRequest.js +3 -0
- package/src/models/WalletProperties.cjs +3 -0
- package/src/models/WalletProperties.d.ts +7 -0
- package/src/models/WalletProperties.js +3 -0
- package/src/models/index.d.ts +2 -0
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -11,6 +11,7 @@ require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
|
11
11
|
require('../models/ProviderEnum.cjs');
|
|
12
12
|
require('../models/WalletAddressType.cjs');
|
|
13
13
|
require('../models/HardwareWalletEnum.cjs');
|
|
14
|
+
require('../models/PasswordSourceTypeEnum.cjs');
|
|
14
15
|
require('../models/WalletProviderEnum.cjs');
|
|
15
16
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
16
17
|
require('../models/ChainEnum.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -7,6 +7,7 @@ import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
|
7
7
|
import '../models/ProviderEnum.js';
|
|
8
8
|
import '../models/WalletAddressType.js';
|
|
9
9
|
import '../models/HardwareWalletEnum.js';
|
|
10
|
+
import '../models/PasswordSourceTypeEnum.js';
|
|
10
11
|
import '../models/WalletProviderEnum.js';
|
|
11
12
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
12
13
|
import '../models/ChainEnum.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -11,6 +11,7 @@ require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
|
11
11
|
require('../models/ProviderEnum.cjs');
|
|
12
12
|
require('../models/WalletAddressType.cjs');
|
|
13
13
|
require('../models/HardwareWalletEnum.cjs');
|
|
14
|
+
require('../models/PasswordSourceTypeEnum.cjs');
|
|
14
15
|
require('../models/WalletProviderEnum.cjs');
|
|
15
16
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
16
17
|
require('../models/ChainEnum.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -7,6 +7,7 @@ import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
|
7
7
|
import '../models/ProviderEnum.js';
|
|
8
8
|
import '../models/WalletAddressType.js';
|
|
9
9
|
import '../models/HardwareWalletEnum.js';
|
|
10
|
+
import '../models/PasswordSourceTypeEnum.js';
|
|
10
11
|
import '../models/WalletProviderEnum.js';
|
|
11
12
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
12
13
|
import '../models/ChainEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -68,6 +68,7 @@ var EmailVerificationRetryRequest = require('./models/EmailVerificationRetryRequ
|
|
|
68
68
|
var EmailVerificationVerifyRequest = require('./models/EmailVerificationVerifyRequest.cjs');
|
|
69
69
|
var EmbeddedWalletAuthToken = require('./models/EmbeddedWalletAuthToken.cjs');
|
|
70
70
|
var EmbeddedWalletAuthType = require('./models/EmbeddedWalletAuthType.cjs');
|
|
71
|
+
var EmbeddedWalletPasscodeUpdateRequest = require('./models/EmbeddedWalletPasscodeUpdateRequest.cjs');
|
|
71
72
|
var EmbeddedWalletProviderEnum = require('./models/EmbeddedWalletProviderEnum.cjs');
|
|
72
73
|
var EmbeddedWalletSecret = require('./models/EmbeddedWalletSecret.cjs');
|
|
73
74
|
var EmbeddedWalletSecurityMethod = require('./models/EmbeddedWalletSecurityMethod.cjs');
|
|
@@ -159,6 +160,7 @@ var OriginResponse = require('./models/OriginResponse.cjs');
|
|
|
159
160
|
var OriginsResponse = require('./models/OriginsResponse.cjs');
|
|
160
161
|
var PasskeyRegistrationCredential = require('./models/PasskeyRegistrationCredential.cjs');
|
|
161
162
|
var PasskeyStorage = require('./models/PasskeyStorage.cjs');
|
|
163
|
+
var PasswordSourceTypeEnum = require('./models/PasswordSourceTypeEnum.cjs');
|
|
162
164
|
var PostAllowlistEntriesRequest = require('./models/PostAllowlistEntriesRequest.cjs');
|
|
163
165
|
var PostAllowlistsRequest = require('./models/PostAllowlistsRequest.cjs');
|
|
164
166
|
var PostTokenFields = require('./models/PostTokenFields.cjs');
|
|
@@ -462,6 +464,9 @@ Object.defineProperty(exports, 'EmbeddedWalletAuthType', {
|
|
|
462
464
|
exports.EmbeddedWalletAuthTypeFromJSON = EmbeddedWalletAuthType.EmbeddedWalletAuthTypeFromJSON;
|
|
463
465
|
exports.EmbeddedWalletAuthTypeFromJSONTyped = EmbeddedWalletAuthType.EmbeddedWalletAuthTypeFromJSONTyped;
|
|
464
466
|
exports.EmbeddedWalletAuthTypeToJSON = EmbeddedWalletAuthType.EmbeddedWalletAuthTypeToJSON;
|
|
467
|
+
exports.EmbeddedWalletPasscodeUpdateRequestFromJSON = EmbeddedWalletPasscodeUpdateRequest.EmbeddedWalletPasscodeUpdateRequestFromJSON;
|
|
468
|
+
exports.EmbeddedWalletPasscodeUpdateRequestFromJSONTyped = EmbeddedWalletPasscodeUpdateRequest.EmbeddedWalletPasscodeUpdateRequestFromJSONTyped;
|
|
469
|
+
exports.EmbeddedWalletPasscodeUpdateRequestToJSON = EmbeddedWalletPasscodeUpdateRequest.EmbeddedWalletPasscodeUpdateRequestToJSON;
|
|
465
470
|
Object.defineProperty(exports, 'EmbeddedWalletProviderEnum', {
|
|
466
471
|
enumerable: true,
|
|
467
472
|
get: function () { return EmbeddedWalletProviderEnum.EmbeddedWalletProviderEnum; }
|
|
@@ -787,6 +792,13 @@ exports.PasskeyRegistrationCredentialToJSON = PasskeyRegistrationCredential.Pass
|
|
|
787
792
|
exports.PasskeyStorageFromJSON = PasskeyStorage.PasskeyStorageFromJSON;
|
|
788
793
|
exports.PasskeyStorageFromJSONTyped = PasskeyStorage.PasskeyStorageFromJSONTyped;
|
|
789
794
|
exports.PasskeyStorageToJSON = PasskeyStorage.PasskeyStorageToJSON;
|
|
795
|
+
Object.defineProperty(exports, 'PasswordSourceTypeEnum', {
|
|
796
|
+
enumerable: true,
|
|
797
|
+
get: function () { return PasswordSourceTypeEnum.PasswordSourceTypeEnum; }
|
|
798
|
+
});
|
|
799
|
+
exports.PasswordSourceTypeEnumFromJSON = PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON;
|
|
800
|
+
exports.PasswordSourceTypeEnumFromJSONTyped = PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSONTyped;
|
|
801
|
+
exports.PasswordSourceTypeEnumToJSON = PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON;
|
|
790
802
|
exports.PostAllowlistEntriesRequestFromJSON = PostAllowlistEntriesRequest.PostAllowlistEntriesRequestFromJSON;
|
|
791
803
|
exports.PostAllowlistEntriesRequestFromJSONTyped = PostAllowlistEntriesRequest.PostAllowlistEntriesRequestFromJSONTyped;
|
|
792
804
|
exports.PostAllowlistEntriesRequestToJSON = PostAllowlistEntriesRequest.PostAllowlistEntriesRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -64,6 +64,7 @@ export { EmailVerificationRetryRequestFromJSON, EmailVerificationRetryRequestFro
|
|
|
64
64
|
export { EmailVerificationVerifyRequestFromJSON, EmailVerificationVerifyRequestFromJSONTyped, EmailVerificationVerifyRequestToJSON } from './models/EmailVerificationVerifyRequest.js';
|
|
65
65
|
export { EmbeddedWalletAuthTokenFromJSON, EmbeddedWalletAuthTokenFromJSONTyped, EmbeddedWalletAuthTokenToJSON } from './models/EmbeddedWalletAuthToken.js';
|
|
66
66
|
export { EmbeddedWalletAuthType, EmbeddedWalletAuthTypeFromJSON, EmbeddedWalletAuthTypeFromJSONTyped, EmbeddedWalletAuthTypeToJSON } from './models/EmbeddedWalletAuthType.js';
|
|
67
|
+
export { EmbeddedWalletPasscodeUpdateRequestFromJSON, EmbeddedWalletPasscodeUpdateRequestFromJSONTyped, EmbeddedWalletPasscodeUpdateRequestToJSON } from './models/EmbeddedWalletPasscodeUpdateRequest.js';
|
|
67
68
|
export { EmbeddedWalletProviderEnum, EmbeddedWalletProviderEnumFromJSON, EmbeddedWalletProviderEnumFromJSONTyped, EmbeddedWalletProviderEnumToJSON } from './models/EmbeddedWalletProviderEnum.js';
|
|
68
69
|
export { EmbeddedWalletSecretFromJSON, EmbeddedWalletSecretFromJSONTyped, EmbeddedWalletSecretToJSON } from './models/EmbeddedWalletSecret.js';
|
|
69
70
|
export { EmbeddedWalletSecurityMethod, EmbeddedWalletSecurityMethodFromJSON, EmbeddedWalletSecurityMethodFromJSONTyped, EmbeddedWalletSecurityMethodToJSON } from './models/EmbeddedWalletSecurityMethod.js';
|
|
@@ -155,6 +156,7 @@ export { OriginResponseFromJSON, OriginResponseFromJSONTyped, OriginResponseToJS
|
|
|
155
156
|
export { OriginsResponseFromJSON, OriginsResponseFromJSONTyped, OriginsResponseToJSON } from './models/OriginsResponse.js';
|
|
156
157
|
export { PasskeyRegistrationCredentialFromJSON, PasskeyRegistrationCredentialFromJSONTyped, PasskeyRegistrationCredentialToJSON } from './models/PasskeyRegistrationCredential.js';
|
|
157
158
|
export { PasskeyStorageFromJSON, PasskeyStorageFromJSONTyped, PasskeyStorageToJSON } from './models/PasskeyStorage.js';
|
|
159
|
+
export { PasswordSourceTypeEnum, PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumFromJSONTyped, PasswordSourceTypeEnumToJSON } from './models/PasswordSourceTypeEnum.js';
|
|
158
160
|
export { PostAllowlistEntriesRequestFromJSON, PostAllowlistEntriesRequestFromJSONTyped, PostAllowlistEntriesRequestToJSON } from './models/PostAllowlistEntriesRequest.js';
|
|
159
161
|
export { PostAllowlistsRequestFromJSON, PostAllowlistsRequestFromJSONTyped, PostAllowlistsRequestToJSON } from './models/PostAllowlistsRequest.js';
|
|
160
162
|
export { PostTokenFieldsFromJSON, PostTokenFieldsFromJSONTyped, PostTokenFieldsToJSON } from './models/PostTokenFields.js';
|
|
@@ -24,6 +24,7 @@ exports.AccessOutcomeEnum = void 0;
|
|
|
24
24
|
(function (AccessOutcomeEnum) {
|
|
25
25
|
AccessOutcomeEnum["Scope"] = "scope";
|
|
26
26
|
AccessOutcomeEnum["SiteAccess"] = "siteAccess";
|
|
27
|
+
AccessOutcomeEnum["Block"] = "block";
|
|
27
28
|
})(exports.AccessOutcomeEnum || (exports.AccessOutcomeEnum = {}));
|
|
28
29
|
function AccessOutcomeEnumFromJSON(json) {
|
|
29
30
|
return AccessOutcomeEnumFromJSONTyped(json);
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare enum AccessOutcomeEnum {
|
|
18
18
|
Scope = "scope",
|
|
19
|
-
SiteAccess = "siteAccess"
|
|
19
|
+
SiteAccess = "siteAccess",
|
|
20
|
+
Block = "block"
|
|
20
21
|
}
|
|
21
22
|
export declare function AccessOutcomeEnumFromJSON(json: any): AccessOutcomeEnum;
|
|
22
23
|
export declare function AccessOutcomeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessOutcomeEnum;
|
|
@@ -20,6 +20,7 @@ var AccessOutcomeEnum;
|
|
|
20
20
|
(function (AccessOutcomeEnum) {
|
|
21
21
|
AccessOutcomeEnum["Scope"] = "scope";
|
|
22
22
|
AccessOutcomeEnum["SiteAccess"] = "siteAccess";
|
|
23
|
+
AccessOutcomeEnum["Block"] = "block";
|
|
23
24
|
})(AccessOutcomeEnum || (AccessOutcomeEnum = {}));
|
|
24
25
|
function AccessOutcomeEnumFromJSON(json) {
|
|
25
26
|
return AccessOutcomeEnumFromJSONTyped(json);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function CoinbaseMpcWalletPropertiesFromJSON(json) {
|
|
@@ -16,6 +17,7 @@ function CoinbaseMpcWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
'backup': !runtime.exists(json, 'backup') ? undefined : json['backup'],
|
|
17
18
|
'password': !runtime.exists(json, 'password') ? undefined : json['password'],
|
|
18
19
|
'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
|
|
20
|
+
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function CoinbaseMpcWalletPropertiesToJSON(value) {
|
|
@@ -29,6 +31,7 @@ function CoinbaseMpcWalletPropertiesToJSON(value) {
|
|
|
29
31
|
'backup': value.backup,
|
|
30
32
|
'password': value.password,
|
|
31
33
|
'claimed': value.claimed,
|
|
34
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface CoinbaseMpcWalletProperties {
|
|
|
33
34
|
* @memberof CoinbaseMpcWalletProperties
|
|
34
35
|
*/
|
|
35
36
|
claimed?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {PasswordSourceTypeEnum}
|
|
40
|
+
* @memberof CoinbaseMpcWalletProperties
|
|
41
|
+
*/
|
|
42
|
+
source?: PasswordSourceTypeEnum;
|
|
36
43
|
}
|
|
37
44
|
export declare function CoinbaseMpcWalletPropertiesFromJSON(json: any): CoinbaseMpcWalletProperties;
|
|
38
45
|
export declare function CoinbaseMpcWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseMpcWalletProperties;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function CoinbaseMpcWalletPropertiesFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function CoinbaseMpcWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
'backup': !exists(json, 'backup') ? undefined : json['backup'],
|
|
13
14
|
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
14
15
|
'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
|
|
16
|
+
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
function CoinbaseMpcWalletPropertiesToJSON(value) {
|
|
@@ -25,6 +27,7 @@ function CoinbaseMpcWalletPropertiesToJSON(value) {
|
|
|
25
27
|
'backup': value.backup,
|
|
26
28
|
'password': value.password,
|
|
27
29
|
'claimed': value.claimed,
|
|
30
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function EmbeddedWalletPasscodeUpdateRequestFromJSON(json) {
|
|
9
|
+
return EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'walletId': json['walletId'],
|
|
17
|
+
'passcode': json['passcode'],
|
|
18
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function EmbeddedWalletPasscodeUpdateRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'walletId': value.walletId,
|
|
30
|
+
'passcode': value.passcode,
|
|
31
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.EmbeddedWalletPasscodeUpdateRequestFromJSON = EmbeddedWalletPasscodeUpdateRequestFromJSON;
|
|
36
|
+
exports.EmbeddedWalletPasscodeUpdateRequestFromJSONTyped = EmbeddedWalletPasscodeUpdateRequestFromJSONTyped;
|
|
37
|
+
exports.EmbeddedWalletPasscodeUpdateRequestToJSON = EmbeddedWalletPasscodeUpdateRequestToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EmbeddedWalletPasscodeUpdateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface EmbeddedWalletPasscodeUpdateRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EmbeddedWalletPasscodeUpdateRequest
|
|
23
|
+
*/
|
|
24
|
+
walletId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EmbeddedWalletPasscodeUpdateRequest
|
|
29
|
+
*/
|
|
30
|
+
passcode: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PasswordSourceTypeEnum}
|
|
34
|
+
* @memberof EmbeddedWalletPasscodeUpdateRequest
|
|
35
|
+
*/
|
|
36
|
+
source: PasswordSourceTypeEnum;
|
|
37
|
+
}
|
|
38
|
+
export declare function EmbeddedWalletPasscodeUpdateRequestFromJSON(json: any): EmbeddedWalletPasscodeUpdateRequest;
|
|
39
|
+
export declare function EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletPasscodeUpdateRequest;
|
|
40
|
+
export declare function EmbeddedWalletPasscodeUpdateRequestToJSON(value?: EmbeddedWalletPasscodeUpdateRequest | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function EmbeddedWalletPasscodeUpdateRequestFromJSON(json) {
|
|
5
|
+
return EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'walletId': json['walletId'],
|
|
13
|
+
'passcode': json['passcode'],
|
|
14
|
+
'source': PasswordSourceTypeEnumFromJSON(json['source']),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function EmbeddedWalletPasscodeUpdateRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'walletId': value.walletId,
|
|
26
|
+
'passcode': value.passcode,
|
|
27
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { EmbeddedWalletPasscodeUpdateRequestFromJSON, EmbeddedWalletPasscodeUpdateRequestFromJSONTyped, EmbeddedWalletPasscodeUpdateRequestToJSON };
|
|
@@ -2,19 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
7
|
+
|
|
5
8
|
/* 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
9
|
function EmbeddedWalletSecretFromJSON(json) {
|
|
19
10
|
return EmbeddedWalletSecretFromJSONTyped(json);
|
|
20
11
|
}
|
|
@@ -25,6 +16,7 @@ function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
16
|
return {
|
|
26
17
|
'walletId': json['walletId'],
|
|
27
18
|
'secret': json['secret'],
|
|
19
|
+
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
28
20
|
};
|
|
29
21
|
}
|
|
30
22
|
function EmbeddedWalletSecretToJSON(value) {
|
|
@@ -37,6 +29,7 @@ function EmbeddedWalletSecretToJSON(value) {
|
|
|
37
29
|
return {
|
|
38
30
|
'walletId': value.walletId,
|
|
39
31
|
'secret': value.secret,
|
|
32
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
40
33
|
};
|
|
41
34
|
}
|
|
42
35
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,12 @@ export interface EmbeddedWalletSecret {
|
|
|
27
28
|
* @memberof EmbeddedWalletSecret
|
|
28
29
|
*/
|
|
29
30
|
secret: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PasswordSourceTypeEnum}
|
|
34
|
+
* @memberof EmbeddedWalletSecret
|
|
35
|
+
*/
|
|
36
|
+
source?: PasswordSourceTypeEnum;
|
|
30
37
|
}
|
|
31
38
|
export declare function EmbeddedWalletSecretFromJSON(json: any): EmbeddedWalletSecret;
|
|
32
39
|
export declare function EmbeddedWalletSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletSecret;
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
3
|
+
|
|
1
4
|
/* 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
5
|
function EmbeddedWalletSecretFromJSON(json) {
|
|
15
6
|
return EmbeddedWalletSecretFromJSONTyped(json);
|
|
16
7
|
}
|
|
@@ -21,6 +12,7 @@ function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
12
|
return {
|
|
22
13
|
'walletId': json['walletId'],
|
|
23
14
|
'secret': json['secret'],
|
|
15
|
+
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
24
16
|
};
|
|
25
17
|
}
|
|
26
18
|
function EmbeddedWalletSecretToJSON(value) {
|
|
@@ -33,6 +25,7 @@ function EmbeddedWalletSecretToJSON(value) {
|
|
|
33
25
|
return {
|
|
34
26
|
'walletId': value.walletId,
|
|
35
27
|
'secret': value.secret,
|
|
28
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
36
29
|
};
|
|
37
30
|
}
|
|
38
31
|
|
|
@@ -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.PasswordSourceTypeEnum = void 0;
|
|
24
|
+
(function (PasswordSourceTypeEnum) {
|
|
25
|
+
PasswordSourceTypeEnum["Dynamic"] = "dynamic";
|
|
26
|
+
PasswordSourceTypeEnum["User"] = "user";
|
|
27
|
+
})(exports.PasswordSourceTypeEnum || (exports.PasswordSourceTypeEnum = {}));
|
|
28
|
+
function PasswordSourceTypeEnumFromJSON(json) {
|
|
29
|
+
return PasswordSourceTypeEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function PasswordSourceTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function PasswordSourceTypeEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.PasswordSourceTypeEnumFromJSON = PasswordSourceTypeEnumFromJSON;
|
|
39
|
+
exports.PasswordSourceTypeEnumFromJSONTyped = PasswordSourceTypeEnumFromJSONTyped;
|
|
40
|
+
exports.PasswordSourceTypeEnumToJSON = PasswordSourceTypeEnumToJSON;
|
|
@@ -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 PasswordSourceTypeEnum {
|
|
18
|
+
Dynamic = "dynamic",
|
|
19
|
+
User = "user"
|
|
20
|
+
}
|
|
21
|
+
export declare function PasswordSourceTypeEnumFromJSON(json: any): PasswordSourceTypeEnum;
|
|
22
|
+
export declare function PasswordSourceTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordSourceTypeEnum;
|
|
23
|
+
export declare function PasswordSourceTypeEnumToJSON(value?: PasswordSourceTypeEnum | 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 PasswordSourceTypeEnum;
|
|
20
|
+
(function (PasswordSourceTypeEnum) {
|
|
21
|
+
PasswordSourceTypeEnum["Dynamic"] = "dynamic";
|
|
22
|
+
PasswordSourceTypeEnum["User"] = "user";
|
|
23
|
+
})(PasswordSourceTypeEnum || (PasswordSourceTypeEnum = {}));
|
|
24
|
+
function PasswordSourceTypeEnumFromJSON(json) {
|
|
25
|
+
return PasswordSourceTypeEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function PasswordSourceTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function PasswordSourceTypeEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { PasswordSourceTypeEnum, PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumFromJSONTyped, PasswordSourceTypeEnumToJSON };
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
7
|
var OauthProviderRequest = require('./OauthProviderRequest.cjs');
|
|
8
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
8
9
|
var WalletAdditionalAddress = require('./WalletAdditionalAddress.cjs');
|
|
9
10
|
var WalletProviderEnum = require('./WalletProviderEnum.cjs');
|
|
10
11
|
|
|
@@ -30,6 +31,7 @@ function VerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
'additionalWalletAddresses': !runtime.exists(json, 'additionalWalletAddresses') ? undefined : (json['additionalWalletAddresses'].map(WalletAdditionalAddress.WalletAdditionalAddressFromJSON)),
|
|
31
32
|
'backup': !runtime.exists(json, 'backup') ? undefined : json['backup'],
|
|
32
33
|
'password': !runtime.exists(json, 'password') ? undefined : json['password'],
|
|
34
|
+
'passwordSource': !runtime.exists(json, 'passwordSource') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['passwordSource']),
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
function VerifyRequestToJSON(value) {
|
|
@@ -53,6 +55,7 @@ function VerifyRequestToJSON(value) {
|
|
|
53
55
|
'additionalWalletAddresses': value.additionalWalletAddresses === undefined ? undefined : (value.additionalWalletAddresses.map(WalletAdditionalAddress.WalletAdditionalAddressToJSON)),
|
|
54
56
|
'backup': value.backup,
|
|
55
57
|
'password': value.password,
|
|
58
|
+
'passwordSource': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.passwordSource),
|
|
56
59
|
};
|
|
57
60
|
}
|
|
58
61
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChainEnum } from './ChainEnum';
|
|
13
13
|
import { OauthProviderRequest } from './OauthProviderRequest';
|
|
14
|
+
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
14
15
|
import { WalletAdditionalAddress } from './WalletAdditionalAddress';
|
|
15
16
|
import { WalletProviderEnum } from './WalletProviderEnum';
|
|
16
17
|
/**
|
|
@@ -97,6 +98,12 @@ export interface VerifyRequest {
|
|
|
97
98
|
* @memberof VerifyRequest
|
|
98
99
|
*/
|
|
99
100
|
password?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {PasswordSourceTypeEnum}
|
|
104
|
+
* @memberof VerifyRequest
|
|
105
|
+
*/
|
|
106
|
+
passwordSource?: PasswordSourceTypeEnum;
|
|
100
107
|
}
|
|
101
108
|
export declare function VerifyRequestFromJSON(json: any): VerifyRequest;
|
|
102
109
|
export declare function VerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyRequest;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
3
|
import { OauthProviderRequestFromJSON, OauthProviderRequestToJSON } from './OauthProviderRequest.js';
|
|
4
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
4
5
|
import { WalletAdditionalAddressFromJSON, WalletAdditionalAddressToJSON } from './WalletAdditionalAddress.js';
|
|
5
6
|
import { WalletProviderEnumFromJSON, WalletProviderEnumToJSON } from './WalletProviderEnum.js';
|
|
6
7
|
|
|
@@ -26,6 +27,7 @@ function VerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
27
|
'additionalWalletAddresses': !exists(json, 'additionalWalletAddresses') ? undefined : (json['additionalWalletAddresses'].map(WalletAdditionalAddressFromJSON)),
|
|
27
28
|
'backup': !exists(json, 'backup') ? undefined : json['backup'],
|
|
28
29
|
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
30
|
+
'passwordSource': !exists(json, 'passwordSource') ? undefined : PasswordSourceTypeEnumFromJSON(json['passwordSource']),
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
function VerifyRequestToJSON(value) {
|
|
@@ -49,6 +51,7 @@ function VerifyRequestToJSON(value) {
|
|
|
49
51
|
'additionalWalletAddresses': value.additionalWalletAddresses === undefined ? undefined : (value.additionalWalletAddresses.map(WalletAdditionalAddressToJSON)),
|
|
50
52
|
'backup': value.backup,
|
|
51
53
|
'password': value.password,
|
|
54
|
+
'passwordSource': PasswordSourceTypeEnumToJSON(value.passwordSource),
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
|
|
7
|
+
var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function WalletPropertiesFromJSON(json) {
|
|
@@ -22,6 +23,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
23
|
'backup': !runtime.exists(json, 'backup') ? undefined : json['backup'],
|
|
23
24
|
'password': !runtime.exists(json, 'password') ? undefined : json['password'],
|
|
24
25
|
'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
|
|
26
|
+
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
function WalletPropertiesToJSON(value) {
|
|
@@ -40,6 +42,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
40
42
|
'backup': value.backup,
|
|
41
43
|
'password': value.password,
|
|
42
44
|
'claimed': value.claimed,
|
|
45
|
+
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { HardwareWalletEnum } from './HardwareWalletEnum';
|
|
13
|
+
import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -64,6 +65,12 @@ export interface WalletProperties {
|
|
|
64
65
|
* @memberof WalletProperties
|
|
65
66
|
*/
|
|
66
67
|
claimed?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {PasswordSourceTypeEnum}
|
|
71
|
+
* @memberof WalletProperties
|
|
72
|
+
*/
|
|
73
|
+
source?: PasswordSourceTypeEnum;
|
|
67
74
|
}
|
|
68
75
|
export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
|
|
69
76
|
export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './HardwareWalletEnum.js';
|
|
3
|
+
import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function WalletPropertiesFromJSON(json) {
|
|
@@ -18,6 +19,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
19
|
'backup': !exists(json, 'backup') ? undefined : json['backup'],
|
|
19
20
|
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
20
21
|
'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
|
|
22
|
+
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
function WalletPropertiesToJSON(value) {
|
|
@@ -36,6 +38,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
36
38
|
'backup': value.backup,
|
|
37
39
|
'password': value.password,
|
|
38
40
|
'claimed': value.claimed,
|
|
41
|
+
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
39
42
|
};
|
|
40
43
|
}
|
|
41
44
|
|