@dynamic-labs/sdk-api 0.0.1104 → 0.0.1106
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/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- 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/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.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/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.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/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.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/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.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/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +51 -0
- package/src/apis/SDKApi.d.ts +25 -1
- package/src/apis/SDKApi.js +51 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.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/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.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/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.cjs +16 -0
- package/src/index.js +3 -0
- package/src/models/CreateWaasAccountRequest.cjs +3 -0
- package/src/models/CreateWaasAccountRequest.d.ts +7 -0
- package/src/models/CreateWaasAccountRequest.js +3 -0
- package/src/models/Ed25519Variant.cjs +40 -0
- package/src/models/Ed25519Variant.d.ts +23 -0
- package/src/models/Ed25519Variant.js +34 -0
- package/src/models/ImportWaasPrivateKeyRequest.cjs +3 -0
- package/src/models/ImportWaasPrivateKeyRequest.d.ts +7 -0
- package/src/models/ImportWaasPrivateKeyRequest.js +3 -0
- package/src/models/WaasWalletSettings.cjs +3 -0
- package/src/models/WaasWalletSettings.d.ts +7 -0
- package/src/models/WaasWalletSettings.js +3 -0
- package/src/models/YieldVaultListResponse.cjs +33 -0
- package/src/models/YieldVaultListResponse.d.ts +28 -0
- package/src/models/YieldVaultListResponse.js +27 -0
- package/src/models/YieldVaultSummary.cjs +45 -0
- package/src/models/YieldVaultSummary.d.ts +63 -0
- package/src/models/YieldVaultSummary.js +39 -0
- package/src/models/index.d.ts +3 -0
|
@@ -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
|
+
* Protocol variant for the wallet. `ed25519Standard` = non-exportable Ed25519, used for raw-scalar import where the 32-byte input is the signing scalar itself (not an RFC-8032 seed). Omitted/`ed25519Exportable` = the default seed-based Ed25519. Only meaningful for ed25519 chains (e.g. Solana).
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.Ed25519Variant = void 0;
|
|
24
|
+
(function (Ed25519Variant) {
|
|
25
|
+
Ed25519Variant["Ed25519Exportable"] = "ed25519Exportable";
|
|
26
|
+
Ed25519Variant["Ed25519Standard"] = "ed25519Standard";
|
|
27
|
+
})(exports.Ed25519Variant || (exports.Ed25519Variant = {}));
|
|
28
|
+
function Ed25519VariantFromJSON(json) {
|
|
29
|
+
return Ed25519VariantFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function Ed25519VariantFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function Ed25519VariantToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.Ed25519VariantFromJSON = Ed25519VariantFromJSON;
|
|
39
|
+
exports.Ed25519VariantFromJSONTyped = Ed25519VariantFromJSONTyped;
|
|
40
|
+
exports.Ed25519VariantToJSON = Ed25519VariantToJSON;
|
|
@@ -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
|
+
* Protocol variant for the wallet. `ed25519Standard` = non-exportable Ed25519, used for raw-scalar import where the 32-byte input is the signing scalar itself (not an RFC-8032 seed). Omitted/`ed25519Exportable` = the default seed-based Ed25519. Only meaningful for ed25519 chains (e.g. Solana).
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum Ed25519Variant {
|
|
18
|
+
Ed25519Exportable = "ed25519Exportable",
|
|
19
|
+
Ed25519Standard = "ed25519Standard"
|
|
20
|
+
}
|
|
21
|
+
export declare function Ed25519VariantFromJSON(json: any): Ed25519Variant;
|
|
22
|
+
export declare function Ed25519VariantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ed25519Variant;
|
|
23
|
+
export declare function Ed25519VariantToJSON(value?: Ed25519Variant | 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
|
+
* Protocol variant for the wallet. `ed25519Standard` = non-exportable Ed25519, used for raw-scalar import where the 32-byte input is the signing scalar itself (not an RFC-8032 seed). Omitted/`ed25519Exportable` = the default seed-based Ed25519. Only meaningful for ed25519 chains (e.g. Solana).
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var Ed25519Variant;
|
|
20
|
+
(function (Ed25519Variant) {
|
|
21
|
+
Ed25519Variant["Ed25519Exportable"] = "ed25519Exportable";
|
|
22
|
+
Ed25519Variant["Ed25519Standard"] = "ed25519Standard";
|
|
23
|
+
})(Ed25519Variant || (Ed25519Variant = {}));
|
|
24
|
+
function Ed25519VariantFromJSON(json) {
|
|
25
|
+
return Ed25519VariantFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function Ed25519VariantFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function Ed25519VariantToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { Ed25519Variant, Ed25519VariantFromJSON, Ed25519VariantFromJSONTyped, Ed25519VariantToJSON };
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var Ed25519Variant = require('./Ed25519Variant.cjs');
|
|
6
7
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
8
|
var WaasChainEnum = require('./WaasChainEnum.cjs');
|
|
8
9
|
|
|
@@ -19,6 +20,7 @@ function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
20
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
20
21
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
21
22
|
'legacyWalletId': !runtime.exists(json, 'legacyWalletId') ? undefined : json['legacyWalletId'],
|
|
23
|
+
'variant': !runtime.exists(json, 'variant') ? undefined : Ed25519Variant.Ed25519VariantFromJSON(json['variant']),
|
|
22
24
|
};
|
|
23
25
|
}
|
|
24
26
|
function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
@@ -33,6 +35,7 @@ function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
|
33
35
|
'clientKeygenIds': value.clientKeygenIds,
|
|
34
36
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
35
37
|
'legacyWalletId': value.legacyWalletId,
|
|
38
|
+
'variant': Ed25519Variant.Ed25519VariantToJSON(value.variant),
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Ed25519Variant } from './Ed25519Variant';
|
|
12
13
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
14
|
import { WaasChainEnum } from './WaasChainEnum';
|
|
14
15
|
/**
|
|
@@ -41,6 +42,12 @@ export interface ImportWaasPrivateKeyRequest {
|
|
|
41
42
|
* @memberof ImportWaasPrivateKeyRequest
|
|
42
43
|
*/
|
|
43
44
|
legacyWalletId?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Ed25519Variant}
|
|
48
|
+
* @memberof ImportWaasPrivateKeyRequest
|
|
49
|
+
*/
|
|
50
|
+
variant?: Ed25519Variant;
|
|
44
51
|
}
|
|
45
52
|
export declare function ImportWaasPrivateKeyRequestFromJSON(json: any): ImportWaasPrivateKeyRequest;
|
|
46
53
|
export declare function ImportWaasPrivateKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportWaasPrivateKeyRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { Ed25519VariantFromJSON, Ed25519VariantToJSON } from './Ed25519Variant.js';
|
|
2
3
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
4
|
import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
|
|
4
5
|
|
|
@@ -15,6 +16,7 @@ function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
16
17
|
'thresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
17
18
|
'legacyWalletId': !exists(json, 'legacyWalletId') ? undefined : json['legacyWalletId'],
|
|
19
|
+
'variant': !exists(json, 'variant') ? undefined : Ed25519VariantFromJSON(json['variant']),
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
@@ -29,6 +31,7 @@ function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
|
29
31
|
'clientKeygenIds': value.clientKeygenIds,
|
|
30
32
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
31
33
|
'legacyWalletId': value.legacyWalletId,
|
|
34
|
+
'variant': Ed25519VariantToJSON(value.variant),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var Ed25519Variant = require('./Ed25519Variant.cjs');
|
|
6
7
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -18,6 +19,7 @@ function WaasWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
19
|
'shouldRefreshOnNextSignOn': !runtime.exists(json, 'shouldRefreshOnNextSignOn') ? undefined : json['shouldRefreshOnNextSignOn'],
|
|
19
20
|
'reshareOnNextSignOn': !runtime.exists(json, 'reshareOnNextSignOn') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['reshareOnNextSignOn']),
|
|
20
21
|
'revokeOnNextSignOn': !runtime.exists(json, 'revokeOnNextSignOn') ? undefined : json['revokeOnNextSignOn'],
|
|
22
|
+
'variant': !runtime.exists(json, 'variant') ? undefined : Ed25519Variant.Ed25519VariantFromJSON(json['variant']),
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
function WaasWalletSettingsToJSON(value) {
|
|
@@ -32,6 +34,7 @@ function WaasWalletSettingsToJSON(value) {
|
|
|
32
34
|
'shouldRefreshOnNextSignOn': value.shouldRefreshOnNextSignOn,
|
|
33
35
|
'reshareOnNextSignOn': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.reshareOnNextSignOn),
|
|
34
36
|
'revokeOnNextSignOn': value.revokeOnNextSignOn,
|
|
37
|
+
'variant': Ed25519Variant.Ed25519VariantToJSON(value.variant),
|
|
35
38
|
};
|
|
36
39
|
}
|
|
37
40
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Ed25519Variant } from './Ed25519Variant';
|
|
12
13
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -40,6 +41,12 @@ export interface WaasWalletSettings {
|
|
|
40
41
|
* @memberof WaasWalletSettings
|
|
41
42
|
*/
|
|
42
43
|
revokeOnNextSignOn?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Ed25519Variant}
|
|
47
|
+
* @memberof WaasWalletSettings
|
|
48
|
+
*/
|
|
49
|
+
variant?: Ed25519Variant;
|
|
43
50
|
}
|
|
44
51
|
export declare function WaasWalletSettingsFromJSON(json: any): WaasWalletSettings;
|
|
45
52
|
export declare function WaasWalletSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletSettings;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { Ed25519VariantFromJSON, Ed25519VariantToJSON } from './Ed25519Variant.js';
|
|
2
3
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -14,6 +15,7 @@ function WaasWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
15
|
'shouldRefreshOnNextSignOn': !exists(json, 'shouldRefreshOnNextSignOn') ? undefined : json['shouldRefreshOnNextSignOn'],
|
|
15
16
|
'reshareOnNextSignOn': !exists(json, 'reshareOnNextSignOn') ? undefined : ThresholdSignatureSchemeFromJSON(json['reshareOnNextSignOn']),
|
|
16
17
|
'revokeOnNextSignOn': !exists(json, 'revokeOnNextSignOn') ? undefined : json['revokeOnNextSignOn'],
|
|
18
|
+
'variant': !exists(json, 'variant') ? undefined : Ed25519VariantFromJSON(json['variant']),
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
21
|
function WaasWalletSettingsToJSON(value) {
|
|
@@ -28,6 +30,7 @@ function WaasWalletSettingsToJSON(value) {
|
|
|
28
30
|
'shouldRefreshOnNextSignOn': value.shouldRefreshOnNextSignOn,
|
|
29
31
|
'reshareOnNextSignOn': ThresholdSignatureSchemeToJSON(value.reshareOnNextSignOn),
|
|
30
32
|
'revokeOnNextSignOn': value.revokeOnNextSignOn,
|
|
33
|
+
'variant': Ed25519VariantToJSON(value.variant),
|
|
31
34
|
};
|
|
32
35
|
}
|
|
33
36
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var YieldVaultSummary = require('./YieldVaultSummary.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function YieldVaultListResponseFromJSON(json) {
|
|
9
|
+
return YieldVaultListResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function YieldVaultListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'vaults': (json['vaults'].map(YieldVaultSummary.YieldVaultSummaryFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function YieldVaultListResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'vaults': (value.vaults.map(YieldVaultSummary.YieldVaultSummaryToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.YieldVaultListResponseFromJSON = YieldVaultListResponseFromJSON;
|
|
32
|
+
exports.YieldVaultListResponseFromJSONTyped = YieldVaultListResponseFromJSONTyped;
|
|
33
|
+
exports.YieldVaultListResponseToJSON = YieldVaultListResponseToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { YieldVaultSummary } from './YieldVaultSummary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface YieldVaultListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface YieldVaultListResponse {
|
|
19
|
+
/**
|
|
20
|
+
* List of yield vaults accessible to this environment.
|
|
21
|
+
* @type {Array<YieldVaultSummary>}
|
|
22
|
+
* @memberof YieldVaultListResponse
|
|
23
|
+
*/
|
|
24
|
+
vaults: Array<YieldVaultSummary>;
|
|
25
|
+
}
|
|
26
|
+
export declare function YieldVaultListResponseFromJSON(json: any): YieldVaultListResponse;
|
|
27
|
+
export declare function YieldVaultListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): YieldVaultListResponse;
|
|
28
|
+
export declare function YieldVaultListResponseToJSON(value?: YieldVaultListResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { YieldVaultSummaryFromJSON, YieldVaultSummaryToJSON } from './YieldVaultSummary.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function YieldVaultListResponseFromJSON(json) {
|
|
5
|
+
return YieldVaultListResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function YieldVaultListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'vaults': (json['vaults'].map(YieldVaultSummaryFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function YieldVaultListResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'vaults': (value.vaults.map(YieldVaultSummaryToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { YieldVaultListResponseFromJSON, YieldVaultListResponseFromJSONTyped, YieldVaultListResponseToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function YieldVaultSummaryFromJSON(json) {
|
|
9
|
+
return YieldVaultSummaryFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function YieldVaultSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'vaultId': json['vaultId'],
|
|
17
|
+
'curator': json['curator'],
|
|
18
|
+
'assetSymbol': json['assetSymbol'],
|
|
19
|
+
'assetAddress': json['assetAddress'],
|
|
20
|
+
'chainId': json['chainId'],
|
|
21
|
+
'netApy': !runtime.exists(json, 'netApy') ? undefined : json['netApy'],
|
|
22
|
+
'tvlUsd': !runtime.exists(json, 'tvlUsd') ? undefined : json['tvlUsd'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function YieldVaultSummaryToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'vaultId': value.vaultId,
|
|
34
|
+
'curator': value.curator,
|
|
35
|
+
'assetSymbol': value.assetSymbol,
|
|
36
|
+
'assetAddress': value.assetAddress,
|
|
37
|
+
'chainId': value.chainId,
|
|
38
|
+
'netApy': value.netApy,
|
|
39
|
+
'tvlUsd': value.tvlUsd,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.YieldVaultSummaryFromJSON = YieldVaultSummaryFromJSON;
|
|
44
|
+
exports.YieldVaultSummaryFromJSONTyped = YieldVaultSummaryFromJSONTyped;
|
|
45
|
+
exports.YieldVaultSummaryToJSON = YieldVaultSummaryToJSON;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 YieldVaultSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface YieldVaultSummary {
|
|
18
|
+
/**
|
|
19
|
+
* Opaque identifier for the vault, issued by the Dynamic dashboard.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof YieldVaultSummary
|
|
22
|
+
*/
|
|
23
|
+
vaultId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the organization or team that curates this vault.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof YieldVaultSummary
|
|
28
|
+
*/
|
|
29
|
+
curator: string;
|
|
30
|
+
/**
|
|
31
|
+
* Ticker symbol of the underlying asset (e.g. USDC).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof YieldVaultSummary
|
|
34
|
+
*/
|
|
35
|
+
assetSymbol: string;
|
|
36
|
+
/**
|
|
37
|
+
* Contract address of the underlying asset token.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof YieldVaultSummary
|
|
40
|
+
*/
|
|
41
|
+
assetAddress: string;
|
|
42
|
+
/**
|
|
43
|
+
* EVM chain ID where the vault is deployed.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof YieldVaultSummary
|
|
46
|
+
*/
|
|
47
|
+
chainId: number;
|
|
48
|
+
/**
|
|
49
|
+
* Net APY including reward incentives, as a decimal (e.g. 0.05 = 5%). Omitted when live data is unavailable.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof YieldVaultSummary
|
|
52
|
+
*/
|
|
53
|
+
netApy?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Total value locked in USD. Omitted when live data is unavailable.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof YieldVaultSummary
|
|
58
|
+
*/
|
|
59
|
+
tvlUsd?: number;
|
|
60
|
+
}
|
|
61
|
+
export declare function YieldVaultSummaryFromJSON(json: any): YieldVaultSummary;
|
|
62
|
+
export declare function YieldVaultSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): YieldVaultSummary;
|
|
63
|
+
export declare function YieldVaultSummaryToJSON(value?: YieldVaultSummary | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function YieldVaultSummaryFromJSON(json) {
|
|
5
|
+
return YieldVaultSummaryFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function YieldVaultSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'vaultId': json['vaultId'],
|
|
13
|
+
'curator': json['curator'],
|
|
14
|
+
'assetSymbol': json['assetSymbol'],
|
|
15
|
+
'assetAddress': json['assetAddress'],
|
|
16
|
+
'chainId': json['chainId'],
|
|
17
|
+
'netApy': !exists(json, 'netApy') ? undefined : json['netApy'],
|
|
18
|
+
'tvlUsd': !exists(json, 'tvlUsd') ? undefined : json['tvlUsd'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function YieldVaultSummaryToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'vaultId': value.vaultId,
|
|
30
|
+
'curator': value.curator,
|
|
31
|
+
'assetSymbol': value.assetSymbol,
|
|
32
|
+
'assetAddress': value.assetAddress,
|
|
33
|
+
'chainId': value.chainId,
|
|
34
|
+
'netApy': value.netApy,
|
|
35
|
+
'tvlUsd': value.tvlUsd,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { YieldVaultSummaryFromJSON, YieldVaultSummaryFromJSONTyped, YieldVaultSummaryToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ export * from './Duration';
|
|
|
196
196
|
export * from './DynamicJwt';
|
|
197
197
|
export * from './EIP7702Authorization';
|
|
198
198
|
export * from './EcdsaValidatorOptions';
|
|
199
|
+
export * from './Ed25519Variant';
|
|
199
200
|
export * from './Eip712Domain';
|
|
200
201
|
export * from './Eip712TypeMember';
|
|
201
202
|
export * from './EmailProviderResponse';
|
|
@@ -809,6 +810,8 @@ export * from './WebhookMessagesResponse';
|
|
|
809
810
|
export * from './WebhookUpdateRequest';
|
|
810
811
|
export * from './WebhooksResponse';
|
|
811
812
|
export * from './WhenToImplementEnum';
|
|
813
|
+
export * from './YieldVaultListResponse';
|
|
814
|
+
export * from './YieldVaultSummary';
|
|
812
815
|
export * from './ZendeskLoginRequest';
|
|
813
816
|
export * from './ZendeskLoginResponse';
|
|
814
817
|
export * from './ZerodevBundlerProvider';
|