@dynamic-labs/sdk-api 0.0.336 → 0.0.337
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/index.cjs +12 -0
- package/src/index.js +3 -0
- package/src/models/ProjectSettingsSdk.cjs +3 -0
- package/src/models/ProjectSettingsSdk.d.ts +7 -0
- package/src/models/ProjectSettingsSdk.js +3 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.cjs +43 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.d.ts +53 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.js +37 -0
- package/src/models/SupportedSecurityMethod.cjs +49 -0
- package/src/models/SupportedSecurityMethod.d.ts +45 -0
- package/src/models/SupportedSecurityMethod.js +43 -0
- package/src/models/SupportedSecurityMethods.cjs +36 -0
- package/src/models/SupportedSecurityMethods.d.ts +34 -0
- package/src/models/SupportedSecurityMethods.js +30 -0
- package/src/models/TimeUnitEnum.cjs +1 -0
- package/src/models/TimeUnitEnum.d.ts +2 -1
- package/src/models/TimeUnitEnum.js +1 -0
- package/src/models/UserPasskey.cjs +2 -0
- package/src/models/UserPasskey.d.ts +6 -0
- package/src/models/UserPasskey.js +2 -0
- package/src/models/index.d.ts +3 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -164,6 +164,7 @@ var ProjectSettingsGeneral = require('./models/ProjectSettingsGeneral.cjs');
|
|
|
164
164
|
var ProjectSettingsKyc = require('./models/ProjectSettingsKyc.cjs');
|
|
165
165
|
var ProjectSettingsPrivacy = require('./models/ProjectSettingsPrivacy.cjs');
|
|
166
166
|
var ProjectSettingsSdk = require('./models/ProjectSettingsSdk.cjs');
|
|
167
|
+
var ProjectSettingsSdkEmbeddedWallets = require('./models/ProjectSettingsSdkEmbeddedWallets.cjs');
|
|
167
168
|
var ProjectSettingsSdkSocialSignIn = require('./models/ProjectSettingsSdkSocialSignIn.cjs');
|
|
168
169
|
var ProjectSettingsSdkWalletConnect = require('./models/ProjectSettingsSdkWalletConnect.cjs');
|
|
169
170
|
var ProjectSettingsSecurity = require('./models/ProjectSettingsSecurity.cjs');
|
|
@@ -194,6 +195,8 @@ var SocialSignInProviderEnum = require('./models/SocialSignInProviderEnum.cjs');
|
|
|
194
195
|
var SubscriptionAdvancedScopeEnum = require('./models/SubscriptionAdvancedScopeEnum.cjs');
|
|
195
196
|
var SubscriptionFreeScopeEnum = require('./models/SubscriptionFreeScopeEnum.cjs');
|
|
196
197
|
var SupportedOnrampsResponse = require('./models/SupportedOnrampsResponse.cjs');
|
|
198
|
+
var SupportedSecurityMethod = require('./models/SupportedSecurityMethod.cjs');
|
|
199
|
+
var SupportedSecurityMethods = require('./models/SupportedSecurityMethods.cjs');
|
|
197
200
|
var TimeUnitEnum = require('./models/TimeUnitEnum.cjs');
|
|
198
201
|
var Token = require('./models/Token.cjs');
|
|
199
202
|
var TokenAddress = require('./models/TokenAddress.cjs');
|
|
@@ -765,6 +768,9 @@ exports.ProjectSettingsPrivacyToJSON = ProjectSettingsPrivacy.ProjectSettingsPri
|
|
|
765
768
|
exports.ProjectSettingsSdkFromJSON = ProjectSettingsSdk.ProjectSettingsSdkFromJSON;
|
|
766
769
|
exports.ProjectSettingsSdkFromJSONTyped = ProjectSettingsSdk.ProjectSettingsSdkFromJSONTyped;
|
|
767
770
|
exports.ProjectSettingsSdkToJSON = ProjectSettingsSdk.ProjectSettingsSdkToJSON;
|
|
771
|
+
exports.ProjectSettingsSdkEmbeddedWalletsFromJSON = ProjectSettingsSdkEmbeddedWallets.ProjectSettingsSdkEmbeddedWalletsFromJSON;
|
|
772
|
+
exports.ProjectSettingsSdkEmbeddedWalletsFromJSONTyped = ProjectSettingsSdkEmbeddedWallets.ProjectSettingsSdkEmbeddedWalletsFromJSONTyped;
|
|
773
|
+
exports.ProjectSettingsSdkEmbeddedWalletsToJSON = ProjectSettingsSdkEmbeddedWallets.ProjectSettingsSdkEmbeddedWalletsToJSON;
|
|
768
774
|
exports.ProjectSettingsSdkSocialSignInFromJSON = ProjectSettingsSdkSocialSignIn.ProjectSettingsSdkSocialSignInFromJSON;
|
|
769
775
|
exports.ProjectSettingsSdkSocialSignInFromJSONTyped = ProjectSettingsSdkSocialSignIn.ProjectSettingsSdkSocialSignInFromJSONTyped;
|
|
770
776
|
exports.ProjectSettingsSdkSocialSignInToJSON = ProjectSettingsSdkSocialSignIn.ProjectSettingsSdkSocialSignInToJSON;
|
|
@@ -891,6 +897,12 @@ exports.SubscriptionFreeScopeEnumToJSON = SubscriptionFreeScopeEnum.Subscription
|
|
|
891
897
|
exports.SupportedOnrampsResponseFromJSON = SupportedOnrampsResponse.SupportedOnrampsResponseFromJSON;
|
|
892
898
|
exports.SupportedOnrampsResponseFromJSONTyped = SupportedOnrampsResponse.SupportedOnrampsResponseFromJSONTyped;
|
|
893
899
|
exports.SupportedOnrampsResponseToJSON = SupportedOnrampsResponse.SupportedOnrampsResponseToJSON;
|
|
900
|
+
exports.SupportedSecurityMethodFromJSON = SupportedSecurityMethod.SupportedSecurityMethodFromJSON;
|
|
901
|
+
exports.SupportedSecurityMethodFromJSONTyped = SupportedSecurityMethod.SupportedSecurityMethodFromJSONTyped;
|
|
902
|
+
exports.SupportedSecurityMethodToJSON = SupportedSecurityMethod.SupportedSecurityMethodToJSON;
|
|
903
|
+
exports.SupportedSecurityMethodsFromJSON = SupportedSecurityMethods.SupportedSecurityMethodsFromJSON;
|
|
904
|
+
exports.SupportedSecurityMethodsFromJSONTyped = SupportedSecurityMethods.SupportedSecurityMethodsFromJSONTyped;
|
|
905
|
+
exports.SupportedSecurityMethodsToJSON = SupportedSecurityMethods.SupportedSecurityMethodsToJSON;
|
|
894
906
|
Object.defineProperty(exports, 'TimeUnitEnum', {
|
|
895
907
|
enumerable: true,
|
|
896
908
|
get: function () { return TimeUnitEnum.TimeUnitEnum; }
|
package/src/index.js
CHANGED
|
@@ -160,6 +160,7 @@ export { ProjectSettingsGeneralFromJSON, ProjectSettingsGeneralFromJSONTyped, Pr
|
|
|
160
160
|
export { ProjectSettingsKycFromJSON, ProjectSettingsKycFromJSONTyped, ProjectSettingsKycToJSON } from './models/ProjectSettingsKyc.js';
|
|
161
161
|
export { ProjectSettingsPrivacyFromJSON, ProjectSettingsPrivacyFromJSONTyped, ProjectSettingsPrivacyToJSON } from './models/ProjectSettingsPrivacy.js';
|
|
162
162
|
export { ProjectSettingsSdkFromJSON, ProjectSettingsSdkFromJSONTyped, ProjectSettingsSdkToJSON } from './models/ProjectSettingsSdk.js';
|
|
163
|
+
export { ProjectSettingsSdkEmbeddedWalletsFromJSON, ProjectSettingsSdkEmbeddedWalletsFromJSONTyped, ProjectSettingsSdkEmbeddedWalletsToJSON } from './models/ProjectSettingsSdkEmbeddedWallets.js';
|
|
163
164
|
export { ProjectSettingsSdkSocialSignInFromJSON, ProjectSettingsSdkSocialSignInFromJSONTyped, ProjectSettingsSdkSocialSignInToJSON } from './models/ProjectSettingsSdkSocialSignIn.js';
|
|
164
165
|
export { ProjectSettingsSdkWalletConnectFromJSON, ProjectSettingsSdkWalletConnectFromJSONTyped, ProjectSettingsSdkWalletConnectToJSON } from './models/ProjectSettingsSdkWalletConnect.js';
|
|
165
166
|
export { ProjectSettingsSecurityFromJSON, ProjectSettingsSecurityFromJSONTyped, ProjectSettingsSecurityToJSON } from './models/ProjectSettingsSecurity.js';
|
|
@@ -190,6 +191,8 @@ export { SocialSignInProviderEnum, SocialSignInProviderEnumFromJSON, SocialSignI
|
|
|
190
191
|
export { SubscriptionAdvancedScopeEnum, SubscriptionAdvancedScopeEnumFromJSON, SubscriptionAdvancedScopeEnumFromJSONTyped, SubscriptionAdvancedScopeEnumToJSON } from './models/SubscriptionAdvancedScopeEnum.js';
|
|
191
192
|
export { SubscriptionFreeScopeEnum, SubscriptionFreeScopeEnumFromJSON, SubscriptionFreeScopeEnumFromJSONTyped, SubscriptionFreeScopeEnumToJSON } from './models/SubscriptionFreeScopeEnum.js';
|
|
192
193
|
export { SupportedOnrampsResponseFromJSON, SupportedOnrampsResponseFromJSONTyped, SupportedOnrampsResponseToJSON } from './models/SupportedOnrampsResponse.js';
|
|
194
|
+
export { SupportedSecurityMethodFromJSON, SupportedSecurityMethodFromJSONTyped, SupportedSecurityMethodToJSON } from './models/SupportedSecurityMethod.js';
|
|
195
|
+
export { SupportedSecurityMethodsFromJSON, SupportedSecurityMethodsFromJSONTyped, SupportedSecurityMethodsToJSON } from './models/SupportedSecurityMethods.js';
|
|
193
196
|
export { TimeUnitEnum, TimeUnitEnumFromJSON, TimeUnitEnumFromJSONTyped, TimeUnitEnumToJSON } from './models/TimeUnitEnum.js';
|
|
194
197
|
export { TokenFromJSON, TokenFromJSONTyped, TokenToJSON } from './models/Token.js';
|
|
195
198
|
export { TokenAddressFromJSON, TokenAddressFromJSONTyped, TokenAddressToJSON } from './models/TokenAddress.js';
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var EmbeddedWalletSecurityMethod = require('./EmbeddedWalletSecurityMethod.cjs');
|
|
7
|
+
var ProjectSettingsSdkEmbeddedWallets = require('./ProjectSettingsSdkEmbeddedWallets.cjs');
|
|
7
8
|
var ProjectSettingsSdkSocialSignIn = require('./ProjectSettingsSdkSocialSignIn.cjs');
|
|
8
9
|
var ProjectSettingsSdkWalletConnect = require('./ProjectSettingsSdkWalletConnect.cjs');
|
|
9
10
|
var SdkView = require('./SdkView.cjs');
|
|
@@ -26,6 +27,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
27
|
'automaticEmbeddedWalletCreation': !runtime.exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
27
28
|
'passkeyEmbeddedWalletRecoveryEnabled': !runtime.exists(json, 'passkeyEmbeddedWalletRecoveryEnabled') ? undefined : json['passkeyEmbeddedWalletRecoveryEnabled'],
|
|
28
29
|
'embeddedWalletSecurityMethods': !runtime.exists(json, 'embeddedWalletSecurityMethods') ? undefined : (json['embeddedWalletSecurityMethods'].map(EmbeddedWalletSecurityMethod.EmbeddedWalletSecurityMethodFromJSON)),
|
|
30
|
+
'embeddedWallets': !runtime.exists(json, 'embeddedWallets') ? undefined : ProjectSettingsSdkEmbeddedWallets.ProjectSettingsSdkEmbeddedWalletsFromJSON(json['embeddedWallets']),
|
|
29
31
|
'walletConnect': !runtime.exists(json, 'walletConnect') ? undefined : ProjectSettingsSdkWalletConnect.ProjectSettingsSdkWalletConnectFromJSON(json['walletConnect']),
|
|
30
32
|
'confirmEmailProviderForVerify': !runtime.exists(json, 'confirmEmailProviderForVerify') ? undefined : json['confirmEmailProviderForVerify'],
|
|
31
33
|
'displayDynamicMessaging': !runtime.exists(json, 'displayDynamicMessaging') ? undefined : json['displayDynamicMessaging'],
|
|
@@ -51,6 +53,7 @@ function ProjectSettingsSdkToJSON(value) {
|
|
|
51
53
|
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
52
54
|
'passkeyEmbeddedWalletRecoveryEnabled': value.passkeyEmbeddedWalletRecoveryEnabled,
|
|
53
55
|
'embeddedWalletSecurityMethods': value.embeddedWalletSecurityMethods === undefined ? undefined : (value.embeddedWalletSecurityMethods.map(EmbeddedWalletSecurityMethod.EmbeddedWalletSecurityMethodToJSON)),
|
|
56
|
+
'embeddedWallets': ProjectSettingsSdkEmbeddedWallets.ProjectSettingsSdkEmbeddedWalletsToJSON(value.embeddedWallets),
|
|
54
57
|
'walletConnect': ProjectSettingsSdkWalletConnect.ProjectSettingsSdkWalletConnectToJSON(value.walletConnect),
|
|
55
58
|
'confirmEmailProviderForVerify': value.confirmEmailProviderForVerify,
|
|
56
59
|
'displayDynamicMessaging': value.displayDynamicMessaging,
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EmbeddedWalletSecurityMethod } from './EmbeddedWalletSecurityMethod';
|
|
13
|
+
import { ProjectSettingsSdkEmbeddedWallets } from './ProjectSettingsSdkEmbeddedWallets';
|
|
13
14
|
import { ProjectSettingsSdkSocialSignIn } from './ProjectSettingsSdkSocialSignIn';
|
|
14
15
|
import { ProjectSettingsSdkWalletConnect } from './ProjectSettingsSdkWalletConnect';
|
|
15
16
|
import { SdkView } from './SdkView';
|
|
@@ -73,6 +74,12 @@ export interface ProjectSettingsSdk {
|
|
|
73
74
|
* @memberof ProjectSettingsSdk
|
|
74
75
|
*/
|
|
75
76
|
embeddedWalletSecurityMethods?: Array<EmbeddedWalletSecurityMethod>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {ProjectSettingsSdkEmbeddedWallets}
|
|
80
|
+
* @memberof ProjectSettingsSdk
|
|
81
|
+
*/
|
|
82
|
+
embeddedWallets?: ProjectSettingsSdkEmbeddedWallets;
|
|
76
83
|
/**
|
|
77
84
|
*
|
|
78
85
|
* @type {ProjectSettingsSdkWalletConnect}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { EmbeddedWalletSecurityMethodFromJSON, EmbeddedWalletSecurityMethodToJSON } from './EmbeddedWalletSecurityMethod.js';
|
|
3
|
+
import { ProjectSettingsSdkEmbeddedWalletsFromJSON, ProjectSettingsSdkEmbeddedWalletsToJSON } from './ProjectSettingsSdkEmbeddedWallets.js';
|
|
3
4
|
import { ProjectSettingsSdkSocialSignInFromJSON, ProjectSettingsSdkSocialSignInToJSON } from './ProjectSettingsSdkSocialSignIn.js';
|
|
4
5
|
import { ProjectSettingsSdkWalletConnectFromJSON, ProjectSettingsSdkWalletConnectToJSON } from './ProjectSettingsSdkWalletConnect.js';
|
|
5
6
|
import { SdkViewFromJSON, SdkViewToJSON } from './SdkView.js';
|
|
@@ -22,6 +23,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
23
|
'automaticEmbeddedWalletCreation': !exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
23
24
|
'passkeyEmbeddedWalletRecoveryEnabled': !exists(json, 'passkeyEmbeddedWalletRecoveryEnabled') ? undefined : json['passkeyEmbeddedWalletRecoveryEnabled'],
|
|
24
25
|
'embeddedWalletSecurityMethods': !exists(json, 'embeddedWalletSecurityMethods') ? undefined : (json['embeddedWalletSecurityMethods'].map(EmbeddedWalletSecurityMethodFromJSON)),
|
|
26
|
+
'embeddedWallets': !exists(json, 'embeddedWallets') ? undefined : ProjectSettingsSdkEmbeddedWalletsFromJSON(json['embeddedWallets']),
|
|
25
27
|
'walletConnect': !exists(json, 'walletConnect') ? undefined : ProjectSettingsSdkWalletConnectFromJSON(json['walletConnect']),
|
|
26
28
|
'confirmEmailProviderForVerify': !exists(json, 'confirmEmailProviderForVerify') ? undefined : json['confirmEmailProviderForVerify'],
|
|
27
29
|
'displayDynamicMessaging': !exists(json, 'displayDynamicMessaging') ? undefined : json['displayDynamicMessaging'],
|
|
@@ -47,6 +49,7 @@ function ProjectSettingsSdkToJSON(value) {
|
|
|
47
49
|
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
48
50
|
'passkeyEmbeddedWalletRecoveryEnabled': value.passkeyEmbeddedWalletRecoveryEnabled,
|
|
49
51
|
'embeddedWalletSecurityMethods': value.embeddedWalletSecurityMethods === undefined ? undefined : (value.embeddedWalletSecurityMethods.map(EmbeddedWalletSecurityMethodToJSON)),
|
|
52
|
+
'embeddedWallets': ProjectSettingsSdkEmbeddedWalletsToJSON(value.embeddedWallets),
|
|
50
53
|
'walletConnect': ProjectSettingsSdkWalletConnectToJSON(value.walletConnect),
|
|
51
54
|
'confirmEmailProviderForVerify': value.confirmEmailProviderForVerify,
|
|
52
55
|
'displayDynamicMessaging': value.displayDynamicMessaging,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var Duration = require('./Duration.cjs');
|
|
7
|
+
var SupportedSecurityMethods = require('./SupportedSecurityMethods.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function ProjectSettingsSdkEmbeddedWalletsFromJSON(json) {
|
|
11
|
+
return ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'automaticEmbeddedWalletCreation': !runtime.exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
19
|
+
'emailRecoveryEnabled': !runtime.exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
|
|
20
|
+
'forceAuthenticatorAtSignup': !runtime.exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
|
|
21
|
+
'sessionKeyDuration': !runtime.exists(json, 'sessionKeyDuration') ? undefined : Duration.DurationFromJSON(json['sessionKeyDuration']),
|
|
22
|
+
'supportedSecurityMethods': !runtime.exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethods.SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
34
|
+
'emailRecoveryEnabled': value.emailRecoveryEnabled,
|
|
35
|
+
'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
|
|
36
|
+
'sessionKeyDuration': Duration.DurationToJSON(value.sessionKeyDuration),
|
|
37
|
+
'supportedSecurityMethods': SupportedSecurityMethods.SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.ProjectSettingsSdkEmbeddedWalletsFromJSON = ProjectSettingsSdkEmbeddedWalletsFromJSON;
|
|
42
|
+
exports.ProjectSettingsSdkEmbeddedWalletsFromJSONTyped = ProjectSettingsSdkEmbeddedWalletsFromJSONTyped;
|
|
43
|
+
exports.ProjectSettingsSdkEmbeddedWalletsToJSON = ProjectSettingsSdkEmbeddedWalletsToJSON;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { Duration } from './Duration';
|
|
13
|
+
import { SupportedSecurityMethods } from './SupportedSecurityMethods';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ProjectSettingsSdkEmbeddedWallets
|
|
18
|
+
*/
|
|
19
|
+
export interface ProjectSettingsSdkEmbeddedWallets {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
24
|
+
*/
|
|
25
|
+
automaticEmbeddedWalletCreation?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
30
|
+
*/
|
|
31
|
+
emailRecoveryEnabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
36
|
+
*/
|
|
37
|
+
forceAuthenticatorAtSignup?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Duration}
|
|
41
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
42
|
+
*/
|
|
43
|
+
sessionKeyDuration?: Duration;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {SupportedSecurityMethods}
|
|
47
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
48
|
+
*/
|
|
49
|
+
supportedSecurityMethods?: SupportedSecurityMethods;
|
|
50
|
+
}
|
|
51
|
+
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
|
|
52
|
+
export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
|
|
53
|
+
export declare function ProjectSettingsSdkEmbeddedWalletsToJSON(value?: ProjectSettingsSdkEmbeddedWallets | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { DurationFromJSON, DurationToJSON } from './Duration.js';
|
|
3
|
+
import { SupportedSecurityMethodsFromJSON, SupportedSecurityMethodsToJSON } from './SupportedSecurityMethods.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function ProjectSettingsSdkEmbeddedWalletsFromJSON(json) {
|
|
7
|
+
return ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'automaticEmbeddedWalletCreation': !exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
|
|
15
|
+
'emailRecoveryEnabled': !exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
|
|
16
|
+
'forceAuthenticatorAtSignup': !exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
|
|
17
|
+
'sessionKeyDuration': !exists(json, 'sessionKeyDuration') ? undefined : DurationFromJSON(json['sessionKeyDuration']),
|
|
18
|
+
'supportedSecurityMethods': !exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
|
|
30
|
+
'emailRecoveryEnabled': value.emailRecoveryEnabled,
|
|
31
|
+
'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
|
|
32
|
+
'sessionKeyDuration': DurationToJSON(value.sessionKeyDuration),
|
|
33
|
+
'supportedSecurityMethods': SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { ProjectSettingsSdkEmbeddedWalletsFromJSON, ProjectSettingsSdkEmbeddedWalletsFromJSONTyped, ProjectSettingsSdkEmbeddedWalletsToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
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 SupportedSecurityMethodFromJSON(json) {
|
|
19
|
+
return SupportedSecurityMethodFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SupportedSecurityMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'isDefault': json['isDefault'],
|
|
27
|
+
'isEnabled': json['isEnabled'],
|
|
28
|
+
'isPermanentAuthenticator': json['isPermanentAuthenticator'],
|
|
29
|
+
'listPosition': json['listPosition'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function SupportedSecurityMethodToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'isDefault': value.isDefault,
|
|
41
|
+
'isEnabled': value.isEnabled,
|
|
42
|
+
'isPermanentAuthenticator': value.isPermanentAuthenticator,
|
|
43
|
+
'listPosition': value.listPosition,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.SupportedSecurityMethodFromJSON = SupportedSecurityMethodFromJSON;
|
|
48
|
+
exports.SupportedSecurityMethodFromJSONTyped = SupportedSecurityMethodFromJSONTyped;
|
|
49
|
+
exports.SupportedSecurityMethodToJSON = SupportedSecurityMethodToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SupportedSecurityMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface SupportedSecurityMethod {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SupportedSecurityMethod
|
|
22
|
+
*/
|
|
23
|
+
isDefault: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SupportedSecurityMethod
|
|
28
|
+
*/
|
|
29
|
+
isEnabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SupportedSecurityMethod
|
|
34
|
+
*/
|
|
35
|
+
isPermanentAuthenticator: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SupportedSecurityMethod
|
|
40
|
+
*/
|
|
41
|
+
listPosition: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function SupportedSecurityMethodFromJSON(json: any): SupportedSecurityMethod;
|
|
44
|
+
export declare function SupportedSecurityMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportedSecurityMethod;
|
|
45
|
+
export declare function SupportedSecurityMethodToJSON(value?: SupportedSecurityMethod | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 SupportedSecurityMethodFromJSON(json) {
|
|
15
|
+
return SupportedSecurityMethodFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SupportedSecurityMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'isDefault': json['isDefault'],
|
|
23
|
+
'isEnabled': json['isEnabled'],
|
|
24
|
+
'isPermanentAuthenticator': json['isPermanentAuthenticator'],
|
|
25
|
+
'listPosition': json['listPosition'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function SupportedSecurityMethodToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'isDefault': value.isDefault,
|
|
37
|
+
'isEnabled': value.isEnabled,
|
|
38
|
+
'isPermanentAuthenticator': value.isPermanentAuthenticator,
|
|
39
|
+
'listPosition': value.listPosition,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { SupportedSecurityMethodFromJSON, SupportedSecurityMethodFromJSONTyped, SupportedSecurityMethodToJSON };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SupportedSecurityMethod = require('./SupportedSecurityMethod.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function SupportedSecurityMethodsFromJSON(json) {
|
|
10
|
+
return SupportedSecurityMethodsFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function SupportedSecurityMethodsFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'passkey': !runtime.exists(json, 'passkey') ? undefined : SupportedSecurityMethod.SupportedSecurityMethodFromJSON(json['passkey']),
|
|
18
|
+
'email': !runtime.exists(json, 'email') ? undefined : SupportedSecurityMethod.SupportedSecurityMethodFromJSON(json['email']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SupportedSecurityMethodsToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'passkey': SupportedSecurityMethod.SupportedSecurityMethodToJSON(value.passkey),
|
|
30
|
+
'email': SupportedSecurityMethod.SupportedSecurityMethodToJSON(value.email),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.SupportedSecurityMethodsFromJSON = SupportedSecurityMethodsFromJSON;
|
|
35
|
+
exports.SupportedSecurityMethodsFromJSONTyped = SupportedSecurityMethodsFromJSONTyped;
|
|
36
|
+
exports.SupportedSecurityMethodsToJSON = SupportedSecurityMethodsToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { SupportedSecurityMethod } from './SupportedSecurityMethod';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SupportedSecurityMethods
|
|
17
|
+
*/
|
|
18
|
+
export interface SupportedSecurityMethods {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SupportedSecurityMethod}
|
|
22
|
+
* @memberof SupportedSecurityMethods
|
|
23
|
+
*/
|
|
24
|
+
passkey?: SupportedSecurityMethod;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SupportedSecurityMethod}
|
|
28
|
+
* @memberof SupportedSecurityMethods
|
|
29
|
+
*/
|
|
30
|
+
email?: SupportedSecurityMethod;
|
|
31
|
+
}
|
|
32
|
+
export declare function SupportedSecurityMethodsFromJSON(json: any): SupportedSecurityMethods;
|
|
33
|
+
export declare function SupportedSecurityMethodsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportedSecurityMethods;
|
|
34
|
+
export declare function SupportedSecurityMethodsToJSON(value?: SupportedSecurityMethods | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SupportedSecurityMethodFromJSON, SupportedSecurityMethodToJSON } from './SupportedSecurityMethod.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SupportedSecurityMethodsFromJSON(json) {
|
|
6
|
+
return SupportedSecurityMethodsFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SupportedSecurityMethodsFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'passkey': !exists(json, 'passkey') ? undefined : SupportedSecurityMethodFromJSON(json['passkey']),
|
|
14
|
+
'email': !exists(json, 'email') ? undefined : SupportedSecurityMethodFromJSON(json['email']),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function SupportedSecurityMethodsToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'passkey': SupportedSecurityMethodToJSON(value.passkey),
|
|
26
|
+
'email': SupportedSecurityMethodToJSON(value.email),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { SupportedSecurityMethodsFromJSON, SupportedSecurityMethodsFromJSONTyped, SupportedSecurityMethodsToJSON };
|
|
@@ -24,6 +24,7 @@ exports.TimeUnitEnum = void 0;
|
|
|
24
24
|
(function (TimeUnitEnum) {
|
|
25
25
|
TimeUnitEnum["Days"] = "days";
|
|
26
26
|
TimeUnitEnum["Hours"] = "hours";
|
|
27
|
+
TimeUnitEnum["Minutes"] = "minutes";
|
|
27
28
|
})(exports.TimeUnitEnum || (exports.TimeUnitEnum = {}));
|
|
28
29
|
function TimeUnitEnumFromJSON(json) {
|
|
29
30
|
return TimeUnitEnumFromJSONTyped(json);
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare enum TimeUnitEnum {
|
|
18
18
|
Days = "days",
|
|
19
|
-
Hours = "hours"
|
|
19
|
+
Hours = "hours",
|
|
20
|
+
Minutes = "minutes"
|
|
20
21
|
}
|
|
21
22
|
export declare function TimeUnitEnumFromJSON(json: any): TimeUnitEnum;
|
|
22
23
|
export declare function TimeUnitEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimeUnitEnum;
|
|
@@ -20,6 +20,7 @@ var TimeUnitEnum;
|
|
|
20
20
|
(function (TimeUnitEnum) {
|
|
21
21
|
TimeUnitEnum["Days"] = "days";
|
|
22
22
|
TimeUnitEnum["Hours"] = "hours";
|
|
23
|
+
TimeUnitEnum["Minutes"] = "minutes";
|
|
23
24
|
})(TimeUnitEnum || (TimeUnitEnum = {}));
|
|
24
25
|
function TimeUnitEnumFromJSON(json) {
|
|
25
26
|
return TimeUnitEnumFromJSONTyped(json);
|
|
@@ -20,6 +20,7 @@ function UserPasskeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'origin': !runtime.exists(json, 'origin') ? undefined : json['origin'],
|
|
21
21
|
'credentialId': json['credentialId'],
|
|
22
22
|
'createdAt': (new Date(json['createdAt'])),
|
|
23
|
+
'updatedAt': !runtime.exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
23
24
|
'storage': !runtime.exists(json, 'storage') ? undefined : PasskeyStorage.PasskeyStorageFromJSON(json['storage']),
|
|
24
25
|
};
|
|
25
26
|
}
|
|
@@ -37,6 +38,7 @@ function UserPasskeyToJSON(value) {
|
|
|
37
38
|
'origin': value.origin,
|
|
38
39
|
'credentialId': value.credentialId,
|
|
39
40
|
'createdAt': (value.createdAt.toISOString()),
|
|
41
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
40
42
|
'storage': PasskeyStorage.PasskeyStorageToJSON(value.storage),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -16,6 +16,7 @@ function UserPasskeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'origin': !exists(json, 'origin') ? undefined : json['origin'],
|
|
17
17
|
'credentialId': json['credentialId'],
|
|
18
18
|
'createdAt': (new Date(json['createdAt'])),
|
|
19
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
19
20
|
'storage': !exists(json, 'storage') ? undefined : PasskeyStorageFromJSON(json['storage']),
|
|
20
21
|
};
|
|
21
22
|
}
|
|
@@ -33,6 +34,7 @@ function UserPasskeyToJSON(value) {
|
|
|
33
34
|
'origin': value.origin,
|
|
34
35
|
'credentialId': value.credentialId,
|
|
35
36
|
'createdAt': (value.createdAt.toISOString()),
|
|
37
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
36
38
|
'storage': PasskeyStorageToJSON(value.storage),
|
|
37
39
|
};
|
|
38
40
|
}
|
package/src/models/index.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ export * from './ProjectSettingsGeneral';
|
|
|
137
137
|
export * from './ProjectSettingsKyc';
|
|
138
138
|
export * from './ProjectSettingsPrivacy';
|
|
139
139
|
export * from './ProjectSettingsSdk';
|
|
140
|
+
export * from './ProjectSettingsSdkEmbeddedWallets';
|
|
140
141
|
export * from './ProjectSettingsSdkSocialSignIn';
|
|
141
142
|
export * from './ProjectSettingsSdkWalletConnect';
|
|
142
143
|
export * from './ProjectSettingsSecurity';
|
|
@@ -167,6 +168,8 @@ export * from './SocialSignInProviderEnum';
|
|
|
167
168
|
export * from './SubscriptionAdvancedScopeEnum';
|
|
168
169
|
export * from './SubscriptionFreeScopeEnum';
|
|
169
170
|
export * from './SupportedOnrampsResponse';
|
|
171
|
+
export * from './SupportedSecurityMethod';
|
|
172
|
+
export * from './SupportedSecurityMethods';
|
|
170
173
|
export * from './TimeUnitEnum';
|
|
171
174
|
export * from './Token';
|
|
172
175
|
export * from './TokenAddress';
|