@dynamic-labs/sdk-api 0.0.335 → 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/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 +57 -0
- package/src/apis/SDKApi.d.ts +23 -1
- package/src/apis/SDKApi.js +57 -0
- 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 +24 -0
- package/src/index.js +5 -0
- package/src/models/HealthcheckResponse.cjs +33 -0
- package/src/models/HealthcheckResponse.d.ts +28 -0
- package/src/models/HealthcheckResponse.js +27 -0
- package/src/models/HealthcheckStatus.cjs +40 -0
- package/src/models/HealthcheckStatus.d.ts +23 -0
- package/src/models/HealthcheckStatus.js +34 -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 +5 -0
|
@@ -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
|
@@ -64,6 +64,8 @@ export * from './GateUpdateRequest';
|
|
|
64
64
|
export * from './GatesResponse';
|
|
65
65
|
export * from './GetUserPasskeysResponse';
|
|
66
66
|
export * from './HCaptchaSettings';
|
|
67
|
+
export * from './HealthcheckResponse';
|
|
68
|
+
export * from './HealthcheckStatus';
|
|
67
69
|
export * from './InitEmailAuthRequest';
|
|
68
70
|
export * from './InitEmailAuthResponse';
|
|
69
71
|
export * from './InitPasskeyRecoveryRequest';
|
|
@@ -135,6 +137,7 @@ export * from './ProjectSettingsGeneral';
|
|
|
135
137
|
export * from './ProjectSettingsKyc';
|
|
136
138
|
export * from './ProjectSettingsPrivacy';
|
|
137
139
|
export * from './ProjectSettingsSdk';
|
|
140
|
+
export * from './ProjectSettingsSdkEmbeddedWallets';
|
|
138
141
|
export * from './ProjectSettingsSdkSocialSignIn';
|
|
139
142
|
export * from './ProjectSettingsSdkWalletConnect';
|
|
140
143
|
export * from './ProjectSettingsSecurity';
|
|
@@ -165,6 +168,8 @@ export * from './SocialSignInProviderEnum';
|
|
|
165
168
|
export * from './SubscriptionAdvancedScopeEnum';
|
|
166
169
|
export * from './SubscriptionFreeScopeEnum';
|
|
167
170
|
export * from './SupportedOnrampsResponse';
|
|
171
|
+
export * from './SupportedSecurityMethod';
|
|
172
|
+
export * from './SupportedSecurityMethods';
|
|
168
173
|
export * from './TimeUnitEnum';
|
|
169
174
|
export * from './Token';
|
|
170
175
|
export * from './TokenAddress';
|