@dynamic-labs/sdk-api 0.118.0 → 0.120.0
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.js +4 -0
- package/src/apis/AllowlistsApi.js +4 -0
- package/src/apis/AnalyticsApi.js +4 -0
- package/src/apis/AuthorizedClientsApi.js +4 -0
- package/src/apis/BusinessAccountsApi.js +4 -0
- package/src/apis/CaptchaApi.js +4 -0
- package/src/apis/ChainalysisApi.js +4 -0
- package/src/apis/ChainsApi.js +4 -0
- package/src/apis/CheckoutApi.js +4 -0
- package/src/apis/ClientGrantApi.js +4 -0
- package/src/apis/CustomFieldsApi.js +4 -0
- package/src/apis/CustomHostnamesApi.js +4 -0
- package/src/apis/CustomNetworksApi.js +4 -0
- package/src/apis/DeeplinkUrlsApi.js +4 -0
- package/src/apis/EnvironmentsApi.js +4 -0
- package/src/apis/EventsApi.js +4 -0
- package/src/apis/ExchangesApi.js +4 -0
- package/src/apis/ExportsApi.js +4 -0
- package/src/apis/ExternalJwtApi.js +4 -0
- package/src/apis/FlowAnalyticsApi.js +4 -0
- package/src/apis/GaslessApi.js +4 -0
- package/src/apis/GatesApi.js +4 -0
- package/src/apis/GlobalWalletAccessControlApi.js +4 -0
- package/src/apis/GlobalWalletConnectionsApi.js +4 -0
- package/src/apis/GlobalWalletsApi.js +4 -0
- package/src/apis/InvitesApi.js +4 -0
- package/src/apis/KybApi.js +4 -0
- package/src/apis/MembersApi.js +4 -0
- package/src/apis/MfaSettingsApi.js +4 -0
- package/src/apis/NameServicesApi.js +4 -0
- package/src/apis/OrganizationSettingsApi.js +4 -0
- package/src/apis/OrganizationsApi.js +4 -0
- package/src/apis/OriginsApi.js +4 -0
- package/src/apis/ProjectsApi.js +4 -0
- package/src/apis/ProvidersApi.js +4 -0
- package/src/apis/SDKApi.js +4 -0
- package/src/apis/SDKViewsApi.js +4 -0
- package/src/apis/ScreeningPoliciesApi.js +4 -0
- package/src/apis/ServerApi.d.ts +324 -1
- package/src/apis/ServerApi.js +766 -5
- package/src/apis/SessionsApi.js +4 -0
- package/src/apis/TestAccountApi.js +4 -0
- package/src/apis/TokensApi.js +4 -0
- package/src/apis/UserApiTokensApi.js +4 -0
- package/src/apis/UsersApi.js +4 -0
- package/src/apis/VisitsApi.js +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/apis/WalletConnectApi.js +4 -0
- package/src/apis/WalletsApi.js +4 -0
- package/src/apis/WebhooksApi.js +4 -0
- package/src/apis/YieldApi.js +4 -0
- package/src/apis/ZendeskApi.js +4 -0
- package/src/index.js +9 -0
- package/src/models/BadRequest.d.ts +1 -1
- package/src/models/Flow.d.ts +1 -1
- package/src/models/FlowCreateRequest.d.ts +1 -1
- package/src/models/FlowExchange.d.ts +40 -0
- package/src/models/FlowExchange.js +31 -0
- package/src/models/FlowExchangesResponse.d.ts +3 -3
- package/src/models/FlowExchangesResponse.js +3 -3
- package/src/models/FlowQuoteAmountCurrencyEnum.d.ts +23 -0
- package/src/models/FlowQuoteAmountCurrencyEnum.js +34 -0
- package/src/models/FlowQuoteRequest.d.ts +13 -0
- package/src/models/FlowQuoteRequest.js +5 -0
- package/src/models/RemoveBusinessAccountMemberResponse.d.ts +28 -0
- package/src/models/RemoveBusinessAccountMemberResponse.js +27 -0
- package/src/models/RemoveBusinessAccountSignerResponse.d.ts +28 -0
- package/src/models/RemoveBusinessAccountSignerResponse.js +27 -0
- package/src/models/ServerSignerErrorCode.d.ts +34 -0
- package/src/models/ServerSignerErrorCode.js +45 -0
- package/src/models/ServerSignerProofHeader.d.ts +52 -0
- package/src/models/ServerSignerProofHeader.js +56 -0
- package/src/models/ServerSignerProofPayload.d.ts +76 -0
- package/src/models/ServerSignerProofPayload.js +59 -0
- package/src/models/WaasWalletByAddressResponse.d.ts +28 -0
- package/src/models/WaasWalletByAddressResponse.js +27 -0
- package/src/models/WaasWalletByAddressResponseWallet.d.ts +80 -0
- package/src/models/WaasWalletByAddressResponseWallet.js +47 -0
- package/src/models/index.d.ts +9 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function RemoveBusinessAccountSignerResponseFromJSON(json) {
|
|
5
|
+
return RemoveBusinessAccountSignerResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function RemoveBusinessAccountSignerResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'signer': BusinessAccountSignerFromJSON(json['signer']),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function RemoveBusinessAccountSignerResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'signer': BusinessAccountSignerToJSON(value.signer),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { RemoveBusinessAccountSignerResponseFromJSON, RemoveBusinessAccountSignerResponseFromJSONTyped, RemoveBusinessAccountSignerResponseToJSON };
|
|
@@ -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
|
+
/**
|
|
13
|
+
* Stable code for a failed server-signer proof check.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ServerSignerErrorCode {
|
|
18
|
+
ProofRequired = "SERVER_SIGNER_PROOF_REQUIRED",
|
|
19
|
+
ProofInvalid = "SERVER_SIGNER_PROOF_INVALID",
|
|
20
|
+
ProofExpired = "SERVER_SIGNER_PROOF_EXPIRED",
|
|
21
|
+
KeyUnknown = "SERVER_SIGNER_KEY_UNKNOWN",
|
|
22
|
+
KeyInactive = "SERVER_SIGNER_KEY_INACTIVE",
|
|
23
|
+
RegistrationInvalid = "SERVER_SIGNER_REGISTRATION_INVALID",
|
|
24
|
+
BindingMismatch = "SERVER_SIGNER_BINDING_MISMATCH",
|
|
25
|
+
NonceInvalid = "SERVER_SIGNER_NONCE_INVALID",
|
|
26
|
+
WalletApiKeyRequired = "SERVER_SIGNER_WALLET_API_KEY_REQUIRED",
|
|
27
|
+
WalletApiKeyInvalid = "SERVER_SIGNER_WALLET_API_KEY_INVALID",
|
|
28
|
+
IdentityNotAuthorized = "SERVER_SIGNER_IDENTITY_NOT_AUTHORIZED",
|
|
29
|
+
VerificationUnavailable = "SERVER_SIGNER_VERIFICATION_UNAVAILABLE",
|
|
30
|
+
InternalError = "SERVER_SIGNER_INTERNAL_ERROR"
|
|
31
|
+
}
|
|
32
|
+
export declare function ServerSignerErrorCodeFromJSON(json: any): ServerSignerErrorCode;
|
|
33
|
+
export declare function ServerSignerErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerSignerErrorCode;
|
|
34
|
+
export declare function ServerSignerErrorCodeToJSON(value?: ServerSignerErrorCode | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Stable code for a failed server-signer proof check.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var ServerSignerErrorCode;
|
|
20
|
+
(function (ServerSignerErrorCode) {
|
|
21
|
+
ServerSignerErrorCode["ProofRequired"] = "SERVER_SIGNER_PROOF_REQUIRED";
|
|
22
|
+
ServerSignerErrorCode["ProofInvalid"] = "SERVER_SIGNER_PROOF_INVALID";
|
|
23
|
+
ServerSignerErrorCode["ProofExpired"] = "SERVER_SIGNER_PROOF_EXPIRED";
|
|
24
|
+
ServerSignerErrorCode["KeyUnknown"] = "SERVER_SIGNER_KEY_UNKNOWN";
|
|
25
|
+
ServerSignerErrorCode["KeyInactive"] = "SERVER_SIGNER_KEY_INACTIVE";
|
|
26
|
+
ServerSignerErrorCode["RegistrationInvalid"] = "SERVER_SIGNER_REGISTRATION_INVALID";
|
|
27
|
+
ServerSignerErrorCode["BindingMismatch"] = "SERVER_SIGNER_BINDING_MISMATCH";
|
|
28
|
+
ServerSignerErrorCode["NonceInvalid"] = "SERVER_SIGNER_NONCE_INVALID";
|
|
29
|
+
ServerSignerErrorCode["WalletApiKeyRequired"] = "SERVER_SIGNER_WALLET_API_KEY_REQUIRED";
|
|
30
|
+
ServerSignerErrorCode["WalletApiKeyInvalid"] = "SERVER_SIGNER_WALLET_API_KEY_INVALID";
|
|
31
|
+
ServerSignerErrorCode["IdentityNotAuthorized"] = "SERVER_SIGNER_IDENTITY_NOT_AUTHORIZED";
|
|
32
|
+
ServerSignerErrorCode["VerificationUnavailable"] = "SERVER_SIGNER_VERIFICATION_UNAVAILABLE";
|
|
33
|
+
ServerSignerErrorCode["InternalError"] = "SERVER_SIGNER_INTERNAL_ERROR";
|
|
34
|
+
})(ServerSignerErrorCode || (ServerSignerErrorCode = {}));
|
|
35
|
+
function ServerSignerErrorCodeFromJSON(json) {
|
|
36
|
+
return ServerSignerErrorCodeFromJSONTyped(json);
|
|
37
|
+
}
|
|
38
|
+
function ServerSignerErrorCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
function ServerSignerErrorCodeToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { ServerSignerErrorCode, ServerSignerErrorCodeFromJSON, ServerSignerErrorCodeFromJSONTyped, ServerSignerErrorCodeToJSON };
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* Decoded JWS protected header of the request proof.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ServerSignerProofHeader
|
|
16
|
+
*/
|
|
17
|
+
export interface ServerSignerProofHeader {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ServerSignerProofHeader
|
|
22
|
+
*/
|
|
23
|
+
alg: ServerSignerProofHeaderAlgEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ServerSignerProofHeader
|
|
28
|
+
*/
|
|
29
|
+
typ: ServerSignerProofHeaderTypEnum;
|
|
30
|
+
/**
|
|
31
|
+
* RFC 7638 thumbprint of the registered signing key. It selects the server identity.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ServerSignerProofHeader
|
|
34
|
+
*/
|
|
35
|
+
kid: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum ServerSignerProofHeaderAlgEnum {
|
|
42
|
+
Es256 = "ES256"
|
|
43
|
+
} /**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum ServerSignerProofHeaderTypEnum {
|
|
48
|
+
DynServerSignerRequestjws = "dyn-server-signer-request+jws"
|
|
49
|
+
}
|
|
50
|
+
export declare function ServerSignerProofHeaderFromJSON(json: any): ServerSignerProofHeader;
|
|
51
|
+
export declare function ServerSignerProofHeaderFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerSignerProofHeader;
|
|
52
|
+
export declare function ServerSignerProofHeaderToJSON(value?: ServerSignerProofHeader | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var ServerSignerProofHeaderAlgEnum;
|
|
19
|
+
(function (ServerSignerProofHeaderAlgEnum) {
|
|
20
|
+
ServerSignerProofHeaderAlgEnum["Es256"] = "ES256";
|
|
21
|
+
})(ServerSignerProofHeaderAlgEnum || (ServerSignerProofHeaderAlgEnum = {})); /**
|
|
22
|
+
* @export
|
|
23
|
+
* @enum {string}
|
|
24
|
+
*/
|
|
25
|
+
var ServerSignerProofHeaderTypEnum;
|
|
26
|
+
(function (ServerSignerProofHeaderTypEnum) {
|
|
27
|
+
ServerSignerProofHeaderTypEnum["DynServerSignerRequestjws"] = "dyn-server-signer-request+jws";
|
|
28
|
+
})(ServerSignerProofHeaderTypEnum || (ServerSignerProofHeaderTypEnum = {}));
|
|
29
|
+
function ServerSignerProofHeaderFromJSON(json) {
|
|
30
|
+
return ServerSignerProofHeaderFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function ServerSignerProofHeaderFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'alg': json['alg'],
|
|
38
|
+
'typ': json['typ'],
|
|
39
|
+
'kid': json['kid'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ServerSignerProofHeaderToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'alg': value.alg,
|
|
51
|
+
'typ': value.typ,
|
|
52
|
+
'kid': value.kid,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { ServerSignerProofHeaderAlgEnum, ServerSignerProofHeaderFromJSON, ServerSignerProofHeaderFromJSONTyped, ServerSignerProofHeaderToJSON, ServerSignerProofHeaderTypEnum };
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
* Decoded JWS payload of the request proof. It binds the proof to one request, so a proof captured from one call cannot be replayed as another. The server identity is not in the payload: it comes from the key (`kid`).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ServerSignerProofPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface ServerSignerProofPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ServerSignerProofPayload
|
|
22
|
+
*/
|
|
23
|
+
v: ServerSignerProofPayloadVEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ServerSignerProofPayload
|
|
28
|
+
*/
|
|
29
|
+
environmentId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Upper-case HTTP method.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ServerSignerProofPayload
|
|
34
|
+
*/
|
|
35
|
+
method: string;
|
|
36
|
+
/**
|
|
37
|
+
* Request path as sent, starting with `/`.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ServerSignerProofPayload
|
|
40
|
+
*/
|
|
41
|
+
path: string;
|
|
42
|
+
/**
|
|
43
|
+
* base64url SHA-256 of the exact raw request body bytes.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ServerSignerProofPayload
|
|
46
|
+
*/
|
|
47
|
+
bodyDigest: string;
|
|
48
|
+
/**
|
|
49
|
+
* Issued by `GET /nonces`, single-use.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ServerSignerProofPayload
|
|
52
|
+
*/
|
|
53
|
+
nonce: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unix seconds when the proof was signed.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ServerSignerProofPayload
|
|
58
|
+
*/
|
|
59
|
+
iat: number;
|
|
60
|
+
/**
|
|
61
|
+
* Unix seconds when the proof stops being valid.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ServerSignerProofPayload
|
|
64
|
+
*/
|
|
65
|
+
exp: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
* @enum {string}
|
|
70
|
+
*/
|
|
71
|
+
export declare enum ServerSignerProofPayloadVEnum {
|
|
72
|
+
NUMBER_1 = 1
|
|
73
|
+
}
|
|
74
|
+
export declare function ServerSignerProofPayloadFromJSON(json: any): ServerSignerProofPayload;
|
|
75
|
+
export declare function ServerSignerProofPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerSignerProofPayload;
|
|
76
|
+
export declare function ServerSignerProofPayloadToJSON(value?: ServerSignerProofPayload | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var ServerSignerProofPayloadVEnum;
|
|
19
|
+
(function (ServerSignerProofPayloadVEnum) {
|
|
20
|
+
ServerSignerProofPayloadVEnum[ServerSignerProofPayloadVEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
21
|
+
})(ServerSignerProofPayloadVEnum || (ServerSignerProofPayloadVEnum = {}));
|
|
22
|
+
function ServerSignerProofPayloadFromJSON(json) {
|
|
23
|
+
return ServerSignerProofPayloadFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function ServerSignerProofPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'v': json['v'],
|
|
31
|
+
'environmentId': json['environmentId'],
|
|
32
|
+
'method': json['method'],
|
|
33
|
+
'path': json['path'],
|
|
34
|
+
'bodyDigest': json['bodyDigest'],
|
|
35
|
+
'nonce': json['nonce'],
|
|
36
|
+
'iat': json['iat'],
|
|
37
|
+
'exp': json['exp'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ServerSignerProofPayloadToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'v': value.v,
|
|
49
|
+
'environmentId': value.environmentId,
|
|
50
|
+
'method': value.method,
|
|
51
|
+
'path': value.path,
|
|
52
|
+
'bodyDigest': value.bodyDigest,
|
|
53
|
+
'nonce': value.nonce,
|
|
54
|
+
'iat': value.iat,
|
|
55
|
+
'exp': value.exp,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { ServerSignerProofPayloadFromJSON, ServerSignerProofPayloadFromJSONTyped, ServerSignerProofPayloadToJSON, ServerSignerProofPayloadVEnum };
|
|
@@ -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 { WaasWalletByAddressResponseWallet } from './WaasWalletByAddressResponseWallet';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasWalletByAddressResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasWalletByAddressResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {WaasWalletByAddressResponseWallet}
|
|
22
|
+
* @memberof WaasWalletByAddressResponse
|
|
23
|
+
*/
|
|
24
|
+
wallet: WaasWalletByAddressResponseWallet;
|
|
25
|
+
}
|
|
26
|
+
export declare function WaasWalletByAddressResponseFromJSON(json: any): WaasWalletByAddressResponse;
|
|
27
|
+
export declare function WaasWalletByAddressResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletByAddressResponse;
|
|
28
|
+
export declare function WaasWalletByAddressResponseToJSON(value?: WaasWalletByAddressResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { WaasWalletByAddressResponseWalletFromJSON, WaasWalletByAddressResponseWalletToJSON } from './WaasWalletByAddressResponseWallet.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasWalletByAddressResponseFromJSON(json) {
|
|
5
|
+
return WaasWalletByAddressResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasWalletByAddressResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'wallet': WaasWalletByAddressResponseWalletFromJSON(json['wallet']),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function WaasWalletByAddressResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'wallet': WaasWalletByAddressResponseWalletToJSON(value.wallet),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { WaasWalletByAddressResponseFromJSON, WaasWalletByAddressResponseFromJSONTyped, WaasWalletByAddressResponseToJSON };
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
14
|
+
import { WaasShareSet } from './WaasShareSet';
|
|
15
|
+
import { WaasWalletShareSetType } from './WaasWalletShareSetType';
|
|
16
|
+
import { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface WaasWalletByAddressResponseWallet
|
|
21
|
+
*/
|
|
22
|
+
export interface WaasWalletByAddressResponseWallet {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
27
|
+
*/
|
|
28
|
+
walletId: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
33
|
+
*/
|
|
34
|
+
accountAddress: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {ChainEnum}
|
|
38
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
39
|
+
*/
|
|
40
|
+
chainName: ChainEnum;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
45
|
+
*/
|
|
46
|
+
shareSetId: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {WaasWalletShareSetType}
|
|
50
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
51
|
+
*/
|
|
52
|
+
shareSetType: WaasWalletShareSetType;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
57
|
+
*/
|
|
58
|
+
derivationPath: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<WalletKeyShareInfo>}
|
|
62
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
63
|
+
*/
|
|
64
|
+
keyShares: Array<WalletKeyShareInfo>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<WaasShareSet>}
|
|
68
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
69
|
+
*/
|
|
70
|
+
otherShareSets: Array<WaasShareSet>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {ThresholdSignatureScheme}
|
|
74
|
+
* @memberof WaasWalletByAddressResponseWallet
|
|
75
|
+
*/
|
|
76
|
+
thresholdSignatureScheme: ThresholdSignatureScheme;
|
|
77
|
+
}
|
|
78
|
+
export declare function WaasWalletByAddressResponseWalletFromJSON(json: any): WaasWalletByAddressResponseWallet;
|
|
79
|
+
export declare function WaasWalletByAddressResponseWalletFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletByAddressResponseWallet;
|
|
80
|
+
export declare function WaasWalletByAddressResponseWalletToJSON(value?: WaasWalletByAddressResponseWallet | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
|
+
import { WaasShareSetFromJSON, WaasShareSetToJSON } from './WaasShareSet.js';
|
|
4
|
+
import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
|
|
5
|
+
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasWalletByAddressResponseWalletFromJSON(json) {
|
|
9
|
+
return WaasWalletByAddressResponseWalletFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasWalletByAddressResponseWalletFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'walletId': json['walletId'],
|
|
17
|
+
'accountAddress': json['accountAddress'],
|
|
18
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
19
|
+
'shareSetId': json['shareSetId'],
|
|
20
|
+
'shareSetType': WaasWalletShareSetTypeFromJSON(json['shareSetType']),
|
|
21
|
+
'derivationPath': json['derivationPath'],
|
|
22
|
+
'keyShares': (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
|
|
23
|
+
'otherShareSets': (json['otherShareSets'].map(WaasShareSetFromJSON)),
|
|
24
|
+
'thresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function WaasWalletByAddressResponseWalletToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'walletId': value.walletId,
|
|
36
|
+
'accountAddress': value.accountAddress,
|
|
37
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
38
|
+
'shareSetId': value.shareSetId,
|
|
39
|
+
'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
|
|
40
|
+
'derivationPath': value.derivationPath,
|
|
41
|
+
'keyShares': (value.keyShares.map(WalletKeyShareInfoToJSON)),
|
|
42
|
+
'otherShareSets': (value.otherShareSets.map(WaasShareSetToJSON)),
|
|
43
|
+
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { WaasWalletByAddressResponseWalletFromJSON, WaasWalletByAddressResponseWalletFromJSONTyped, WaasWalletByAddressResponseWalletToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -327,6 +327,7 @@ export * from './FlowAttachSourceRequest';
|
|
|
327
327
|
export * from './FlowCreateRequest';
|
|
328
328
|
export * from './FlowCreateResponse';
|
|
329
329
|
export * from './FlowCurrencyEnum';
|
|
330
|
+
export * from './FlowExchange';
|
|
330
331
|
export * from './FlowExchangeSource';
|
|
331
332
|
export * from './FlowExchangesResponse';
|
|
332
333
|
export * from './FlowExecutionStateEnum';
|
|
@@ -352,6 +353,7 @@ export * from './FlowPaymentLinkCreateResponse';
|
|
|
352
353
|
export * from './FlowPaymentLinkCreateResponseExtraFields';
|
|
353
354
|
export * from './FlowPrepareSigningRequest';
|
|
354
355
|
export * from './FlowQuote';
|
|
356
|
+
export * from './FlowQuoteAmountCurrencyEnum';
|
|
355
357
|
export * from './FlowQuoteRequest';
|
|
356
358
|
export * from './FlowRecordBroadcastRequest';
|
|
357
359
|
export * from './FlowRiskStateEnum';
|
|
@@ -655,7 +657,9 @@ export * from './RefreshKeySharesResponse';
|
|
|
655
657
|
export * from './RegisterEmbeddedWalletSessionKeyResponse';
|
|
656
658
|
export * from './RegisterServerSigningKeyRequest';
|
|
657
659
|
export * from './RegisterSessionKeyRequest';
|
|
660
|
+
export * from './RemoveBusinessAccountMemberResponse';
|
|
658
661
|
export * from './RemoveBusinessAccountMemberSdkRequest';
|
|
662
|
+
export * from './RemoveBusinessAccountSignerResponse';
|
|
659
663
|
export * from './RemoveBusinessAccountSignerSdkRequest';
|
|
660
664
|
export * from './RemoveBusinessAccountWalletSdkRequest';
|
|
661
665
|
export * from './ReshareKind';
|
|
@@ -711,6 +715,9 @@ export * from './SdkViewUpdateRequest';
|
|
|
711
715
|
export * from './SdkViewsResponse';
|
|
712
716
|
export * from './SecurityNotifications';
|
|
713
717
|
export * from './ServerIdentityResponse';
|
|
718
|
+
export * from './ServerSignerErrorCode';
|
|
719
|
+
export * from './ServerSignerProofHeader';
|
|
720
|
+
export * from './ServerSignerProofPayload';
|
|
714
721
|
export * from './ServerSigningKeyStatus';
|
|
715
722
|
export * from './ServerSigningKeySummary';
|
|
716
723
|
export * from './ServerSigningKeySummaryList';
|
|
@@ -965,6 +972,8 @@ export * from './WaasTransactionReviewTestScenario';
|
|
|
965
972
|
export * from './WaasVerifyApiKeyErrorResponse';
|
|
966
973
|
export * from './WaasVerifyApiKeyResponse';
|
|
967
974
|
export * from './WaasWallet';
|
|
975
|
+
export * from './WaasWalletByAddressResponse';
|
|
976
|
+
export * from './WaasWalletByAddressResponseWallet';
|
|
968
977
|
export * from './WaasWalletProperties';
|
|
969
978
|
export * from './WaasWalletResponse';
|
|
970
979
|
export * from './WaasWalletSettings';
|