@dynamic-labs/sdk-api 0.134.0 → 0.135.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 +2 -2
- package/src/apis/AllowlistsApi.js +2 -2
- package/src/apis/AnalyticsApi.js +2 -2
- package/src/apis/AuthorizedClientsApi.js +2 -2
- package/src/apis/BusinessAccountsApi.js +2 -2
- package/src/apis/CaptchaApi.js +2 -2
- package/src/apis/ChainalysisApi.js +2 -2
- package/src/apis/ChainsApi.js +2 -2
- package/src/apis/CheckoutApi.js +2 -2
- package/src/apis/ClientGrantApi.js +2 -2
- package/src/apis/CustomFieldsApi.js +2 -2
- package/src/apis/CustomHostnamesApi.js +2 -2
- package/src/apis/CustomNetworksApi.js +2 -2
- package/src/apis/DeeplinkUrlsApi.js +2 -2
- package/src/apis/EnvironmentsApi.js +2 -2
- package/src/apis/EventsApi.js +2 -2
- package/src/apis/ExchangesApi.js +2 -2
- package/src/apis/ExportsApi.js +2 -2
- package/src/apis/ExternalJwtApi.js +2 -2
- package/src/apis/FlowAnalyticsApi.js +2 -2
- package/src/apis/GaslessApi.js +2 -2
- package/src/apis/GatesApi.js +2 -2
- package/src/apis/GlobalWalletAccessControlApi.js +2 -2
- package/src/apis/GlobalWalletConnectionsApi.js +2 -2
- package/src/apis/GlobalWalletsApi.js +2 -2
- package/src/apis/InvitesApi.js +2 -2
- package/src/apis/KybApi.js +2 -2
- package/src/apis/MembersApi.js +2 -2
- package/src/apis/MfaSettingsApi.js +2 -2
- package/src/apis/NameServicesApi.js +2 -2
- package/src/apis/OrganizationSettingsApi.js +2 -2
- package/src/apis/OrganizationsApi.js +2 -2
- package/src/apis/OriginsApi.js +2 -2
- package/src/apis/ProjectsApi.js +2 -2
- package/src/apis/ProvidersApi.js +2 -2
- package/src/apis/SDKApi.d.ts +30 -1
- package/src/apis/SDKApi.js +76 -1
- package/src/apis/SDKViewsApi.js +2 -2
- package/src/apis/ScreeningPoliciesApi.js +2 -2
- package/src/apis/ServerApi.js +2 -2
- package/src/apis/SessionsApi.js +2 -2
- package/src/apis/TestAccountApi.js +2 -2
- package/src/apis/TokensApi.js +2 -2
- package/src/apis/UserApiTokensApi.js +2 -2
- package/src/apis/UsersApi.js +2 -2
- package/src/apis/VisitsApi.js +2 -2
- package/src/apis/WaasApi.js +2 -2
- package/src/apis/WalletConnectApi.js +2 -2
- package/src/apis/WalletsApi.js +2 -2
- package/src/apis/WebhooksApi.js +2 -2
- package/src/apis/YieldApi.js +2 -2
- package/src/apis/ZendeskApi.js +2 -2
- package/src/index.js +7 -0
- package/src/models/ApprovalRequirementCounts.d.ts +51 -0
- package/src/models/ApprovalRequirementCounts.js +35 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +7 -7
- package/src/models/BusinessAccountApprovalRequirementStatus.js +2 -2
- package/src/models/BusinessAccountApprovalRequirementStatusAllOf.d.ts +39 -0
- package/src/models/BusinessAccountApprovalRequirementStatusAllOf.js +31 -0
- package/src/models/BusinessAccountSigningProposal.d.ts +41 -0
- package/src/models/BusinessAccountSigningProposal.js +32 -0
- package/src/models/BusinessAccountSigningProposalQuorum.d.ts +41 -0
- package/src/models/BusinessAccountSigningProposalQuorum.js +32 -0
- package/src/models/CreateBusinessAccountSigningProposalSdkRequest.d.ts +48 -0
- package/src/models/CreateBusinessAccountSigningProposalSdkRequest.js +36 -0
- package/src/models/SigningQuorumApprovalRequirement.d.ts +63 -0
- package/src/models/SigningQuorumApprovalRequirement.js +39 -0
- package/src/models/SigningQuorumApprovalRequirementAllOf.d.ts +33 -0
- package/src/models/SigningQuorumApprovalRequirementAllOf.js +29 -0
- package/src/models/index.d.ts +7 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountApprovalRequirementStatusAllOfFromJSON(json) {
|
|
5
|
+
return BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'action': json['action'],
|
|
13
|
+
'approved': !exists(json, 'approved') ? undefined : json['approved'],
|
|
14
|
+
'satisfied': json['satisfied'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function BusinessAccountApprovalRequirementStatusAllOfToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'action': value.action,
|
|
26
|
+
'approved': value.approved,
|
|
27
|
+
'satisfied': value.satisfied,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { BusinessAccountApprovalRequirementStatusAllOfFromJSON, BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped, BusinessAccountApprovalRequirementStatusAllOfToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { SignMessageApprovalQuorumIntent } from './SignMessageApprovalQuorumIntent';
|
|
13
|
+
import { SigningQuorumApprovalRequirement } from './SigningQuorumApprovalRequirement';
|
|
14
|
+
/**
|
|
15
|
+
* The `signMessage` proposal opened for the proposed intent — or the identical open one a retry found — with the requirement its approvals must satisfy. `intent` is the stored signed intent verbatim: approvers sign THESE bytes, never a re-derived copy.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BusinessAccountSigningProposal
|
|
18
|
+
*/
|
|
19
|
+
export interface BusinessAccountSigningProposal {
|
|
20
|
+
/**
|
|
21
|
+
* The proposal collecting approvals.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BusinessAccountSigningProposal
|
|
24
|
+
*/
|
|
25
|
+
proposalId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SignMessageApprovalQuorumIntent}
|
|
29
|
+
* @memberof BusinessAccountSigningProposal
|
|
30
|
+
*/
|
|
31
|
+
intent: SignMessageApprovalQuorumIntent;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {SigningQuorumApprovalRequirement}
|
|
35
|
+
* @memberof BusinessAccountSigningProposal
|
|
36
|
+
*/
|
|
37
|
+
approvalRequirement: SigningQuorumApprovalRequirement;
|
|
38
|
+
}
|
|
39
|
+
export declare function BusinessAccountSigningProposalFromJSON(json: any): BusinessAccountSigningProposal;
|
|
40
|
+
export declare function BusinessAccountSigningProposalFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSigningProposal;
|
|
41
|
+
export declare function BusinessAccountSigningProposalToJSON(value?: BusinessAccountSigningProposal | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SignMessageApprovalQuorumIntentFromJSON, SignMessageApprovalQuorumIntentToJSON } from './SignMessageApprovalQuorumIntent.js';
|
|
2
|
+
import { SigningQuorumApprovalRequirementFromJSON, SigningQuorumApprovalRequirementToJSON } from './SigningQuorumApprovalRequirement.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountSigningProposalFromJSON(json) {
|
|
6
|
+
return BusinessAccountSigningProposalFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountSigningProposalFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'proposalId': json['proposalId'],
|
|
14
|
+
'intent': SignMessageApprovalQuorumIntentFromJSON(json['intent']),
|
|
15
|
+
'approvalRequirement': SigningQuorumApprovalRequirementFromJSON(json['approvalRequirement']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function BusinessAccountSigningProposalToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'proposalId': value.proposalId,
|
|
27
|
+
'intent': SignMessageApprovalQuorumIntentToJSON(value.intent),
|
|
28
|
+
'approvalRequirement': SigningQuorumApprovalRequirementToJSON(value.approvalRequirement),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { BusinessAccountSigningProposalFromJSON, BusinessAccountSigningProposalFromJSONTyped, BusinessAccountSigningProposalToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { SignMessageApprovalQuorumIntent } from './SignMessageApprovalQuorumIntent';
|
|
13
|
+
/**
|
|
14
|
+
* The Initiator's own signed Intent over the operation being proposed — the same bundle a governed sign carries in `approvalQuorum`, except proposing always needs the signature: there is no stored proposal to redeem yet. `initiatorProof` is issued server-side while the caller's token is live and is never sent by the client.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountSigningProposalQuorum
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountSigningProposalQuorum {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SignMessageApprovalQuorumIntent}
|
|
22
|
+
* @memberof BusinessAccountSigningProposalQuorum
|
|
23
|
+
*/
|
|
24
|
+
intent: SignMessageApprovalQuorumIntent;
|
|
25
|
+
/**
|
|
26
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
27
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BusinessAccountSigningProposalQuorum
|
|
30
|
+
*/
|
|
31
|
+
intentSignature: string;
|
|
32
|
+
/**
|
|
33
|
+
* Present when the request redeeming this Intent is not the Initiator's own live session. Absent means the request's own bearer token stands for the Initiator instead.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof BusinessAccountSigningProposalQuorum
|
|
36
|
+
*/
|
|
37
|
+
initiatorProof?: string | null;
|
|
38
|
+
}
|
|
39
|
+
export declare function BusinessAccountSigningProposalQuorumFromJSON(json: any): BusinessAccountSigningProposalQuorum;
|
|
40
|
+
export declare function BusinessAccountSigningProposalQuorumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSigningProposalQuorum;
|
|
41
|
+
export declare function BusinessAccountSigningProposalQuorumToJSON(value?: BusinessAccountSigningProposalQuorum | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageApprovalQuorumIntentFromJSON, SignMessageApprovalQuorumIntentToJSON } from './SignMessageApprovalQuorumIntent.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountSigningProposalQuorumFromJSON(json) {
|
|
6
|
+
return BusinessAccountSigningProposalQuorumFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountSigningProposalQuorumFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'intent': SignMessageApprovalQuorumIntentFromJSON(json['intent']),
|
|
14
|
+
'intentSignature': json['intentSignature'],
|
|
15
|
+
'initiatorProof': !exists(json, 'initiatorProof') ? undefined : json['initiatorProof'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function BusinessAccountSigningProposalQuorumToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'intent': SignMessageApprovalQuorumIntentToJSON(value.intent),
|
|
27
|
+
'intentSignature': value.intentSignature,
|
|
28
|
+
'initiatorProof': value.initiatorProof,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { BusinessAccountSigningProposalQuorumFromJSON, BusinessAccountSigningProposalQuorumFromJSONTyped, BusinessAccountSigningProposalQuorumToJSON };
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { BusinessAccountSigningProposalQuorum } from './BusinessAccountSigningProposalQuorum';
|
|
13
|
+
import { SignMessageContext } from './SignMessageContext';
|
|
14
|
+
import { WaasChainEnum } from './WaasChainEnum';
|
|
15
|
+
/**
|
|
16
|
+
* SDK proposeSigning body. `message`, `context` and `chain` describe the operation being proposed — the same fields the eventual signMessage call carries — while `approvalQuorum` holds the caller-signed intent over it.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateBusinessAccountSigningProposalSdkRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateBusinessAccountSigningProposalSdkRequest {
|
|
21
|
+
/**
|
|
22
|
+
* A string with a max length of 204800 characters
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateBusinessAccountSigningProposalSdkRequest
|
|
25
|
+
*/
|
|
26
|
+
message: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {WaasChainEnum}
|
|
30
|
+
* @memberof CreateBusinessAccountSigningProposalSdkRequest
|
|
31
|
+
*/
|
|
32
|
+
chain: WaasChainEnum;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {SignMessageContext}
|
|
36
|
+
* @memberof CreateBusinessAccountSigningProposalSdkRequest
|
|
37
|
+
*/
|
|
38
|
+
context?: SignMessageContext;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {BusinessAccountSigningProposalQuorum}
|
|
42
|
+
* @memberof CreateBusinessAccountSigningProposalSdkRequest
|
|
43
|
+
*/
|
|
44
|
+
approvalQuorum: BusinessAccountSigningProposalQuorum;
|
|
45
|
+
}
|
|
46
|
+
export declare function CreateBusinessAccountSigningProposalSdkRequestFromJSON(json: any): CreateBusinessAccountSigningProposalSdkRequest;
|
|
47
|
+
export declare function CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBusinessAccountSigningProposalSdkRequest;
|
|
48
|
+
export declare function CreateBusinessAccountSigningProposalSdkRequestToJSON(value?: CreateBusinessAccountSigningProposalSdkRequest | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountSigningProposalQuorumFromJSON, BusinessAccountSigningProposalQuorumToJSON } from './BusinessAccountSigningProposalQuorum.js';
|
|
3
|
+
import { SignMessageContextFromJSON, SignMessageContextToJSON } from './SignMessageContext.js';
|
|
4
|
+
import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function CreateBusinessAccountSigningProposalSdkRequestFromJSON(json) {
|
|
8
|
+
return CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'message': json['message'],
|
|
16
|
+
'chain': WaasChainEnumFromJSON(json['chain']),
|
|
17
|
+
'context': !exists(json, 'context') ? undefined : SignMessageContextFromJSON(json['context']),
|
|
18
|
+
'approvalQuorum': BusinessAccountSigningProposalQuorumFromJSON(json['approvalQuorum']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function CreateBusinessAccountSigningProposalSdkRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'message': value.message,
|
|
30
|
+
'chain': WaasChainEnumToJSON(value.chain),
|
|
31
|
+
'context': SignMessageContextToJSON(value.context),
|
|
32
|
+
'approvalQuorum': BusinessAccountSigningProposalQuorumToJSON(value.approvalQuorum),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { CreateBusinessAccountSigningProposalSdkRequestFromJSON, CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped, CreateBusinessAccountSigningProposalSdkRequestToJSON };
|
|
@@ -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
|
+
* One signing-quorum requirement as wallet-service reports it, plus the approvals already counted toward it on the proposal. The role fields are absent when wallet-service did not report them — never re-derive them client-side.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SigningQuorumApprovalRequirement
|
|
16
|
+
*/
|
|
17
|
+
export interface SigningQuorumApprovalRequirement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
22
|
+
*/
|
|
23
|
+
requirementId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Total approvals the requirement needs.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
28
|
+
*/
|
|
29
|
+
required: number;
|
|
30
|
+
/**
|
|
31
|
+
* Approvals counted toward it so far.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
34
|
+
*/
|
|
35
|
+
approved: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
40
|
+
*/
|
|
41
|
+
satisfied?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Mandatory approver roles still lacking an approval, present only when they are what is holding the requirement back.
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
46
|
+
*/
|
|
47
|
+
unmetMandatoryRoles?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* A holder of any listed role may approve. Absent means wallet-service applies its owner/admin default; an empty list is an empty pool.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
52
|
+
*/
|
|
53
|
+
eligibleApproverRoles?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Each listed role must be represented among the approvers.
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof SigningQuorumApprovalRequirement
|
|
58
|
+
*/
|
|
59
|
+
mandatoryApproverRoles?: Array<string>;
|
|
60
|
+
}
|
|
61
|
+
export declare function SigningQuorumApprovalRequirementFromJSON(json: any): SigningQuorumApprovalRequirement;
|
|
62
|
+
export declare function SigningQuorumApprovalRequirementFromJSONTyped(json: any, ignoreDiscriminator: boolean): SigningQuorumApprovalRequirement;
|
|
63
|
+
export declare function SigningQuorumApprovalRequirementToJSON(value?: SigningQuorumApprovalRequirement | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SigningQuorumApprovalRequirementFromJSON(json) {
|
|
5
|
+
return SigningQuorumApprovalRequirementFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SigningQuorumApprovalRequirementFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'requirementId': json['requirementId'],
|
|
13
|
+
'required': json['required'],
|
|
14
|
+
'approved': json['approved'],
|
|
15
|
+
'satisfied': !exists(json, 'satisfied') ? undefined : json['satisfied'],
|
|
16
|
+
'unmetMandatoryRoles': !exists(json, 'unmetMandatoryRoles') ? undefined : json['unmetMandatoryRoles'],
|
|
17
|
+
'eligibleApproverRoles': !exists(json, 'eligibleApproverRoles') ? undefined : json['eligibleApproverRoles'],
|
|
18
|
+
'mandatoryApproverRoles': !exists(json, 'mandatoryApproverRoles') ? undefined : json['mandatoryApproverRoles'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SigningQuorumApprovalRequirementToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'requirementId': value.requirementId,
|
|
30
|
+
'required': value.required,
|
|
31
|
+
'approved': value.approved,
|
|
32
|
+
'satisfied': value.satisfied,
|
|
33
|
+
'unmetMandatoryRoles': value.unmetMandatoryRoles,
|
|
34
|
+
'eligibleApproverRoles': value.eligibleApproverRoles,
|
|
35
|
+
'mandatoryApproverRoles': value.mandatoryApproverRoles,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SigningQuorumApprovalRequirementFromJSON, SigningQuorumApprovalRequirementFromJSONTyped, SigningQuorumApprovalRequirementToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SigningQuorumApprovalRequirementAllOf
|
|
16
|
+
*/
|
|
17
|
+
export interface SigningQuorumApprovalRequirementAllOf {
|
|
18
|
+
/**
|
|
19
|
+
* A holder of any listed role may approve. Absent means wallet-service applies its owner/admin default; an empty list is an empty pool.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SigningQuorumApprovalRequirementAllOf
|
|
22
|
+
*/
|
|
23
|
+
eligibleApproverRoles?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Each listed role must be represented among the approvers.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SigningQuorumApprovalRequirementAllOf
|
|
28
|
+
*/
|
|
29
|
+
mandatoryApproverRoles?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function SigningQuorumApprovalRequirementAllOfFromJSON(json: any): SigningQuorumApprovalRequirementAllOf;
|
|
32
|
+
export declare function SigningQuorumApprovalRequirementAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SigningQuorumApprovalRequirementAllOf;
|
|
33
|
+
export declare function SigningQuorumApprovalRequirementAllOfToJSON(value?: SigningQuorumApprovalRequirementAllOf | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SigningQuorumApprovalRequirementAllOfFromJSON(json) {
|
|
5
|
+
return SigningQuorumApprovalRequirementAllOfFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SigningQuorumApprovalRequirementAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'eligibleApproverRoles': !exists(json, 'eligibleApproverRoles') ? undefined : json['eligibleApproverRoles'],
|
|
13
|
+
'mandatoryApproverRoles': !exists(json, 'mandatoryApproverRoles') ? undefined : json['mandatoryApproverRoles'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function SigningQuorumApprovalRequirementAllOfToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'eligibleApproverRoles': value.eligibleApproverRoles,
|
|
25
|
+
'mandatoryApproverRoles': value.mandatoryApproverRoles,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { SigningQuorumApprovalRequirementAllOfFromJSON, SigningQuorumApprovalRequirementAllOfFromJSONTyped, SigningQuorumApprovalRequirementAllOfToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from './AnalyticsToplineResponseWallets';
|
|
|
49
49
|
export * from './AnalyticsVisitResponse';
|
|
50
50
|
export * from './AnalyticsWalletsResponse';
|
|
51
51
|
export * from './AnalyticsWalletsResponseBreakdown';
|
|
52
|
+
export * from './ApprovalRequirementCounts';
|
|
52
53
|
export * from './ApproveBusinessAccountProposalSdkRequest';
|
|
53
54
|
export * from './Asset';
|
|
54
55
|
export * from './AssetDiff';
|
|
@@ -99,6 +100,7 @@ export * from './BusinessAccountAdminDetail';
|
|
|
99
100
|
export * from './BusinessAccountAdminDetailAllOf';
|
|
100
101
|
export * from './BusinessAccountApprovalRequirement';
|
|
101
102
|
export * from './BusinessAccountApprovalRequirementStatus';
|
|
103
|
+
export * from './BusinessAccountApprovalRequirementStatusAllOf';
|
|
102
104
|
export * from './BusinessAccountApprovalsPending';
|
|
103
105
|
export * from './BusinessAccountDetail';
|
|
104
106
|
export * from './BusinessAccountDetailAllOf';
|
|
@@ -125,6 +127,8 @@ export * from './BusinessAccountRolesAdminResponseAllOf';
|
|
|
125
127
|
export * from './BusinessAccountRolesResponse';
|
|
126
128
|
export * from './BusinessAccountSigner';
|
|
127
129
|
export * from './BusinessAccountSignerType';
|
|
130
|
+
export * from './BusinessAccountSigningProposal';
|
|
131
|
+
export * from './BusinessAccountSigningProposalQuorum';
|
|
128
132
|
export * from './BusinessAccountSigningRefused';
|
|
129
133
|
export * from './BusinessAccountSummary';
|
|
130
134
|
export * from './BusinessAccountSummaryAllOf';
|
|
@@ -179,6 +183,7 @@ export * from './ConnectRequest';
|
|
|
179
183
|
export * from './CreateBusinessAccountAdminRequest';
|
|
180
184
|
export * from './CreateBusinessAccountAdminRequestAllOf';
|
|
181
185
|
export * from './CreateBusinessAccountSdkRequest';
|
|
186
|
+
export * from './CreateBusinessAccountSigningProposalSdkRequest';
|
|
182
187
|
export * from './CreateEmbeddedWalletParams';
|
|
183
188
|
export * from './CreateEmbeddedWalletSpecificOpts';
|
|
184
189
|
export * from './CreateEmbeddedWalletsRequest';
|
|
@@ -768,6 +773,8 @@ export * from './SignMessageUserOperationData';
|
|
|
768
773
|
export * from './SignMessageWithWaasRequest';
|
|
769
774
|
export * from './SignTransactionWithWaasRequest';
|
|
770
775
|
export * from './SignedMembershipEnvironmentIds';
|
|
776
|
+
export * from './SigningQuorumApprovalRequirement';
|
|
777
|
+
export * from './SigningQuorumApprovalRequirementAllOf';
|
|
771
778
|
export * from './SimulateEVMTransactionRequest';
|
|
772
779
|
export * from './SimulateSVMTransactionRequest';
|
|
773
780
|
export * from './SimulateTransactionResponse';
|