@dynamic-labs/sdk-api-core 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/SDKApi.d.ts +30 -1
- package/src/apis/SDKApi.js +76 -1
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.js +2 -2
- package/src/index.js +7 -0
- package/src/index.js.map +1 -1
- package/src/models/ApprovalRequirementCounts.d.ts +51 -0
- package/src/models/ApprovalRequirementCounts.js +35 -0
- package/src/models/ApprovalRequirementCounts.js.map +1 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +7 -7
- package/src/models/BusinessAccountApprovalRequirementStatus.js +2 -2
- package/src/models/BusinessAccountApprovalRequirementStatus.js.map +1 -1
- package/src/models/BusinessAccountApprovalRequirementStatusAllOf.d.ts +39 -0
- package/src/models/BusinessAccountApprovalRequirementStatusAllOf.js +31 -0
- package/src/models/BusinessAccountApprovalRequirementStatusAllOf.js.map +1 -0
- package/src/models/BusinessAccountSigningProposal.d.ts +41 -0
- package/src/models/BusinessAccountSigningProposal.js +32 -0
- package/src/models/BusinessAccountSigningProposal.js.map +1 -0
- package/src/models/BusinessAccountSigningProposalQuorum.d.ts +41 -0
- package/src/models/BusinessAccountSigningProposalQuorum.js +32 -0
- package/src/models/BusinessAccountSigningProposalQuorum.js.map +1 -0
- package/src/models/CreateBusinessAccountSigningProposalSdkRequest.d.ts +48 -0
- package/src/models/CreateBusinessAccountSigningProposalSdkRequest.js +36 -0
- package/src/models/CreateBusinessAccountSigningProposalSdkRequest.js.map +1 -0
- package/src/models/SigningQuorumApprovalRequirement.d.ts +63 -0
- package/src/models/SigningQuorumApprovalRequirement.js +39 -0
- package/src/models/SigningQuorumApprovalRequirement.js.map +1 -0
- package/src/models/SigningQuorumApprovalRequirementAllOf.d.ts +33 -0
- package/src/models/SigningQuorumApprovalRequirementAllOf.js +29 -0
- package/src/models/SigningQuorumApprovalRequirementAllOf.js.map +1 -0
- package/src/models/index.d.ts +7 -0
- package/src/version.js +1 -1
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"SigningQuorumApprovalRequirement.js","sources":["../../../../../libs/sdk-api-core/src/models/SigningQuorumApprovalRequirement.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AA8EM,SAAU,wCAAwC,CAAC,IAAS,EAAA;AAC9D,IAAA,OAAO,6CAA6C,CAAC,IAAW,CAAC,CAAC;AACtE,CAAC;AAEe,SAAA,6CAA6C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACjG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;AACtC,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;AACvE,QAAA,qBAAqB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,qBAAqB,CAAC;AACrG,QAAA,uBAAuB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAC3G,QAAA,wBAAwB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;KACjH,CAAC;AACN,CAAC;AAEK,SAAU,sCAAsC,CAAC,KAA+C,EAAA;AAClG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;QAChD,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;KACzD,CAAC;AACN;;;;"}
|
|
@@ -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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SigningQuorumApprovalRequirementAllOf.js","sources":["../../../../../libs/sdk-api-core/src/models/SigningQuorumApprovalRequirementAllOf.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAmCM,SAAU,6CAA6C,CAAC,IAAS,EAAA;AACnE,IAAA,OAAO,kDAAkD,CAAC,IAAW,CAAC,CAAC;AAC3E,CAAC;AAEe,SAAA,kDAAkD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACtG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,uBAAuB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAC3G,QAAA,wBAAwB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;KACjH,CAAC;AACN,CAAC;AAEK,SAAU,2CAA2C,CAAC,KAAoD,EAAA;AAC5G,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;KACzD,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './AleoCuratedPricesResponseResult';
|
|
|
12
12
|
export * from './AleoCuratedTokenPrice';
|
|
13
13
|
export * from './AleoProverEncryptedRequest';
|
|
14
14
|
export * from './AleoProverPubkeyResponse';
|
|
15
|
+
export * from './ApprovalRequirementCounts';
|
|
15
16
|
export * from './ApproveBusinessAccountProposalSdkRequest';
|
|
16
17
|
export * from './Asset';
|
|
17
18
|
export * from './AssetDiff';
|
|
@@ -48,6 +49,7 @@ export * from './BusinessAccountActivityExportRequest';
|
|
|
48
49
|
export * from './BusinessAccountActivityResponse';
|
|
49
50
|
export * from './BusinessAccountApprovalRequirement';
|
|
50
51
|
export * from './BusinessAccountApprovalRequirementStatus';
|
|
52
|
+
export * from './BusinessAccountApprovalRequirementStatusAllOf';
|
|
51
53
|
export * from './BusinessAccountApprovalsPending';
|
|
52
54
|
export * from './BusinessAccountDetail';
|
|
53
55
|
export * from './BusinessAccountDetailAllOf';
|
|
@@ -71,6 +73,8 @@ export * from './BusinessAccountRoleDefinition';
|
|
|
71
73
|
export * from './BusinessAccountRolesResponse';
|
|
72
74
|
export * from './BusinessAccountSigner';
|
|
73
75
|
export * from './BusinessAccountSignerType';
|
|
76
|
+
export * from './BusinessAccountSigningProposal';
|
|
77
|
+
export * from './BusinessAccountSigningProposalQuorum';
|
|
74
78
|
export * from './BusinessAccountSigningRefused';
|
|
75
79
|
export * from './BusinessAccountWallet';
|
|
76
80
|
export * from './CaptchaProviderEnum';
|
|
@@ -104,6 +108,7 @@ export * from './CompletePasskeyRecoveryRequest';
|
|
|
104
108
|
export * from './Conflict';
|
|
105
109
|
export * from './ConnectRequest';
|
|
106
110
|
export * from './CreateBusinessAccountSdkRequest';
|
|
111
|
+
export * from './CreateBusinessAccountSigningProposalSdkRequest';
|
|
107
112
|
export * from './CreateEmbeddedWalletParams';
|
|
108
113
|
export * from './CreateEmbeddedWalletSpecificOpts';
|
|
109
114
|
export * from './CreateEmbeddedWalletsRequest';
|
|
@@ -474,6 +479,8 @@ export * from './SignMessageSvmTransaction';
|
|
|
474
479
|
export * from './SignMessageUserOperationData';
|
|
475
480
|
export * from './SignMessageWithWaasRequest';
|
|
476
481
|
export * from './SignTransactionWithWaasRequest';
|
|
482
|
+
export * from './SigningQuorumApprovalRequirement';
|
|
483
|
+
export * from './SigningQuorumApprovalRequirementAllOf';
|
|
477
484
|
export * from './SimulateEVMTransactionRequest';
|
|
478
485
|
export * from './SimulateSVMTransactionRequest';
|
|
479
486
|
export * from './SimulateTransactionResponse';
|
package/src/version.js
CHANGED