@dynamic-labs/sdk-api 0.182.0 → 0.184.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.cjs +2 -0
- package/src/apis/AdminActionsApi.js +2 -0
- package/src/apis/AllowlistsApi.cjs +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.cjs +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/AuthorizedClientsApi.cjs +2 -0
- package/src/apis/AuthorizedClientsApi.js +2 -0
- package/src/apis/BusinessAccountsApi.cjs +2 -0
- package/src/apis/BusinessAccountsApi.js +2 -0
- package/src/apis/CaptchaApi.cjs +2 -0
- package/src/apis/CaptchaApi.js +2 -0
- package/src/apis/ChainalysisApi.cjs +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.cjs +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CheckoutApi.cjs +2 -0
- package/src/apis/CheckoutApi.js +2 -0
- package/src/apis/ClientGrantApi.cjs +2 -0
- package/src/apis/ClientGrantApi.js +2 -0
- package/src/apis/CustomFieldsApi.cjs +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.cjs +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.cjs +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.cjs +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.cjs +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.cjs +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExchangesApi.cjs +2 -0
- package/src/apis/ExchangesApi.js +2 -0
- package/src/apis/ExportsApi.cjs +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.cjs +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/FlowAnalyticsApi.cjs +11 -0
- package/src/apis/FlowAnalyticsApi.d.ts +3 -0
- package/src/apis/FlowAnalyticsApi.js +11 -0
- package/src/apis/GaslessApi.cjs +2 -0
- package/src/apis/GaslessApi.js +2 -0
- package/src/apis/GatesApi.cjs +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
- package/src/apis/GlobalWalletConnectionsApi.js +2 -0
- package/src/apis/GlobalWalletsApi.cjs +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.cjs +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/KybApi.cjs +2 -0
- package/src/apis/KybApi.js +2 -0
- package/src/apis/MembersApi.cjs +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.cjs +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.cjs +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationSettingsApi.cjs +2 -0
- package/src/apis/OrganizationSettingsApi.js +2 -0
- package/src/apis/OrganizationsApi.cjs +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.cjs +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.cjs +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/ProvidersApi.cjs +2 -0
- package/src/apis/ProvidersApi.js +2 -0
- package/src/apis/SDKApi.cjs +2 -0
- package/src/apis/SDKApi.js +2 -0
- package/src/apis/SDKViewsApi.cjs +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/ScreeningPoliciesApi.cjs +2 -0
- package/src/apis/ScreeningPoliciesApi.js +2 -0
- package/src/apis/ServerApi.cjs +2 -0
- package/src/apis/ServerApi.js +2 -0
- package/src/apis/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/TestAccountApi.cjs +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.cjs +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.cjs +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.cjs +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +2 -0
- package/src/apis/WaasApi.js +2 -0
- package/src/apis/WalletConnectApi.cjs +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.cjs +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.cjs +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/apis/YieldApi.cjs +2 -0
- package/src/apis/YieldApi.js +2 -0
- package/src/apis/ZendeskApi.cjs +2 -0
- package/src/apis/ZendeskApi.js +2 -0
- package/src/index.cjs +20 -0
- package/src/index.js +2 -0
- package/src/models/SignMessageConsentRequired.cjs +59 -0
- package/src/models/SignMessageConsentRequired.d.ts +67 -0
- package/src/models/SignMessageConsentRequired.js +53 -0
- package/src/models/WaasCeremonyPending.cjs +53 -0
- package/src/models/WaasCeremonyPending.d.ts +40 -0
- package/src/models/WaasCeremonyPending.js +47 -0
- package/src/models/index.d.ts +2 -0
package/src/index.cjs
CHANGED
|
@@ -842,6 +842,7 @@ var SignMessageApprovalQuorumTronTransactionOperation = require('./models/SignMe
|
|
|
842
842
|
var SignMessageApprovalQuorumTypedDataOperation = require('./models/SignMessageApprovalQuorumTypedDataOperation.cjs');
|
|
843
843
|
var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
|
|
844
844
|
var SignMessageBtcTransaction = require('./models/SignMessageBtcTransaction.cjs');
|
|
845
|
+
var SignMessageConsentRequired = require('./models/SignMessageConsentRequired.cjs');
|
|
845
846
|
var SignMessageContext = require('./models/SignMessageContext.cjs');
|
|
846
847
|
var SignMessageEip7702Auth = require('./models/SignMessageEip7702Auth.cjs');
|
|
847
848
|
var SignMessageEvmMessage = require('./models/SignMessageEvmMessage.cjs');
|
|
@@ -999,6 +1000,7 @@ var WaasBroadcastEvmFee = require('./models/WaasBroadcastEvmFee.cjs');
|
|
|
999
1000
|
var WaasBroadcastOptions = require('./models/WaasBroadcastOptions.cjs');
|
|
1000
1001
|
var WaasBroadcastStatus = require('./models/WaasBroadcastStatus.cjs');
|
|
1001
1002
|
var WaasBroadcastSvmCosignerSignature = require('./models/WaasBroadcastSvmCosignerSignature.cjs');
|
|
1003
|
+
var WaasCeremonyPending = require('./models/WaasCeremonyPending.cjs');
|
|
1002
1004
|
var WaasChainEnum = require('./models/WaasChainEnum.cjs');
|
|
1003
1005
|
var WaasConfidentialAccountState = require('./models/WaasConfidentialAccountState.cjs');
|
|
1004
1006
|
var WaasConfidentialSeedCreateRequest = require('./models/WaasConfidentialSeedCreateRequest.cjs');
|
|
@@ -4293,6 +4295,17 @@ exports.SignMessageAuthorizationSignatureToJSON = SignMessageAuthorizationSignat
|
|
|
4293
4295
|
exports.SignMessageBtcTransactionFromJSON = SignMessageBtcTransaction.SignMessageBtcTransactionFromJSON;
|
|
4294
4296
|
exports.SignMessageBtcTransactionFromJSONTyped = SignMessageBtcTransaction.SignMessageBtcTransactionFromJSONTyped;
|
|
4295
4297
|
exports.SignMessageBtcTransactionToJSON = SignMessageBtcTransaction.SignMessageBtcTransactionToJSON;
|
|
4298
|
+
Object.defineProperty(exports, 'SignMessageConsentRequiredCodeEnum', {
|
|
4299
|
+
enumerable: true,
|
|
4300
|
+
get: function () { return SignMessageConsentRequired.SignMessageConsentRequiredCodeEnum; }
|
|
4301
|
+
});
|
|
4302
|
+
exports.SignMessageConsentRequiredFromJSON = SignMessageConsentRequired.SignMessageConsentRequiredFromJSON;
|
|
4303
|
+
exports.SignMessageConsentRequiredFromJSONTyped = SignMessageConsentRequired.SignMessageConsentRequiredFromJSONTyped;
|
|
4304
|
+
Object.defineProperty(exports, 'SignMessageConsentRequiredReasonEnum', {
|
|
4305
|
+
enumerable: true,
|
|
4306
|
+
get: function () { return SignMessageConsentRequired.SignMessageConsentRequiredReasonEnum; }
|
|
4307
|
+
});
|
|
4308
|
+
exports.SignMessageConsentRequiredToJSON = SignMessageConsentRequired.SignMessageConsentRequiredToJSON;
|
|
4296
4309
|
exports.SignMessageContextFromJSON = SignMessageContext.SignMessageContextFromJSON;
|
|
4297
4310
|
exports.SignMessageContextFromJSONTyped = SignMessageContext.SignMessageContextFromJSONTyped;
|
|
4298
4311
|
exports.SignMessageContextToJSON = SignMessageContext.SignMessageContextToJSON;
|
|
@@ -4864,6 +4877,13 @@ exports.WaasBroadcastStatusToJSON = WaasBroadcastStatus.WaasBroadcastStatusToJSO
|
|
|
4864
4877
|
exports.WaasBroadcastSvmCosignerSignatureFromJSON = WaasBroadcastSvmCosignerSignature.WaasBroadcastSvmCosignerSignatureFromJSON;
|
|
4865
4878
|
exports.WaasBroadcastSvmCosignerSignatureFromJSONTyped = WaasBroadcastSvmCosignerSignature.WaasBroadcastSvmCosignerSignatureFromJSONTyped;
|
|
4866
4879
|
exports.WaasBroadcastSvmCosignerSignatureToJSON = WaasBroadcastSvmCosignerSignature.WaasBroadcastSvmCosignerSignatureToJSON;
|
|
4880
|
+
exports.WaasCeremonyPendingFromJSON = WaasCeremonyPending.WaasCeremonyPendingFromJSON;
|
|
4881
|
+
exports.WaasCeremonyPendingFromJSONTyped = WaasCeremonyPending.WaasCeremonyPendingFromJSONTyped;
|
|
4882
|
+
Object.defineProperty(exports, 'WaasCeremonyPendingStatusEnum', {
|
|
4883
|
+
enumerable: true,
|
|
4884
|
+
get: function () { return WaasCeremonyPending.WaasCeremonyPendingStatusEnum; }
|
|
4885
|
+
});
|
|
4886
|
+
exports.WaasCeremonyPendingToJSON = WaasCeremonyPending.WaasCeremonyPendingToJSON;
|
|
4867
4887
|
Object.defineProperty(exports, 'WaasChainEnum', {
|
|
4868
4888
|
enumerable: true,
|
|
4869
4889
|
get: function () { return WaasChainEnum.WaasChainEnum; }
|
package/src/index.js
CHANGED
|
@@ -838,6 +838,7 @@ export { SignMessageApprovalQuorumTronTransactionOperationContractTypeEnum, Sign
|
|
|
838
838
|
export { SignMessageApprovalQuorumTypedDataOperationFromJSON, SignMessageApprovalQuorumTypedDataOperationFromJSONTyped, SignMessageApprovalQuorumTypedDataOperationToJSON } from './models/SignMessageApprovalQuorumTypedDataOperation.js';
|
|
839
839
|
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
|
|
840
840
|
export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON } from './models/SignMessageBtcTransaction.js';
|
|
841
|
+
export { SignMessageConsentRequiredCodeEnum, SignMessageConsentRequiredFromJSON, SignMessageConsentRequiredFromJSONTyped, SignMessageConsentRequiredReasonEnum, SignMessageConsentRequiredToJSON } from './models/SignMessageConsentRequired.js';
|
|
841
842
|
export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
|
|
842
843
|
export { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthFromJSONTyped, SignMessageEip7702AuthToJSON } from './models/SignMessageEip7702Auth.js';
|
|
843
844
|
export { SignMessageEvmMessageFromJSON, SignMessageEvmMessageFromJSONTyped, SignMessageEvmMessageToJSON } from './models/SignMessageEvmMessage.js';
|
|
@@ -995,6 +996,7 @@ export { WaasBroadcastEvmFeeFromJSON, WaasBroadcastEvmFeeFromJSONTyped, WaasBroa
|
|
|
995
996
|
export { WaasBroadcastOptionsFromJSON, WaasBroadcastOptionsFromJSONTyped, WaasBroadcastOptionsToJSON } from './models/WaasBroadcastOptions.js';
|
|
996
997
|
export { WaasBroadcastStatus, WaasBroadcastStatusFromJSON, WaasBroadcastStatusFromJSONTyped, WaasBroadcastStatusToJSON } from './models/WaasBroadcastStatus.js';
|
|
997
998
|
export { WaasBroadcastSvmCosignerSignatureFromJSON, WaasBroadcastSvmCosignerSignatureFromJSONTyped, WaasBroadcastSvmCosignerSignatureToJSON } from './models/WaasBroadcastSvmCosignerSignature.js';
|
|
999
|
+
export { WaasCeremonyPendingFromJSON, WaasCeremonyPendingFromJSONTyped, WaasCeremonyPendingStatusEnum, WaasCeremonyPendingToJSON } from './models/WaasCeremonyPending.js';
|
|
998
1000
|
export { WaasChainEnum, WaasChainEnumFromJSON, WaasChainEnumFromJSONTyped, WaasChainEnumToJSON } from './models/WaasChainEnum.js';
|
|
999
1001
|
export { WaasConfidentialAccountStateFromJSON, WaasConfidentialAccountStateFromJSONTyped, WaasConfidentialAccountStateToJSON } from './models/WaasConfidentialAccountState.js';
|
|
1000
1002
|
export { WaasConfidentialSeedCreateRequestFromJSON, WaasConfidentialSeedCreateRequestFromJSONTyped, WaasConfidentialSeedCreateRequestToJSON } from './models/WaasConfidentialSeedCreateRequest.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageApprovalQuorumIntent = require('./SignMessageApprovalQuorumIntent.cjs');
|
|
7
|
+
var SigningQuorumApprovalRequirement = require('./SigningQuorumApprovalRequirement.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
* @enum {string}
|
|
13
|
+
*/
|
|
14
|
+
exports.SignMessageConsentRequiredCodeEnum = void 0;
|
|
15
|
+
(function (SignMessageConsentRequiredCodeEnum) {
|
|
16
|
+
SignMessageConsentRequiredCodeEnum["ConsentRequired"] = "consent_required";
|
|
17
|
+
})(exports.SignMessageConsentRequiredCodeEnum || (exports.SignMessageConsentRequiredCodeEnum = {})); /**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
exports.SignMessageConsentRequiredReasonEnum = void 0;
|
|
22
|
+
(function (SignMessageConsentRequiredReasonEnum) {
|
|
23
|
+
SignMessageConsentRequiredReasonEnum["IntentRequired"] = "INTENT_REQUIRED";
|
|
24
|
+
SignMessageConsentRequiredReasonEnum["ApprovalsRequired"] = "APPROVALS_REQUIRED";
|
|
25
|
+
})(exports.SignMessageConsentRequiredReasonEnum || (exports.SignMessageConsentRequiredReasonEnum = {}));
|
|
26
|
+
function SignMessageConsentRequiredFromJSON(json) {
|
|
27
|
+
return SignMessageConsentRequiredFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function SignMessageConsentRequiredFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'code': json['code'],
|
|
35
|
+
'reason': json['reason'],
|
|
36
|
+
'intent': !runtime.exists(json, 'intent') ? undefined : SignMessageApprovalQuorumIntent.SignMessageApprovalQuorumIntentFromJSON(json['intent']),
|
|
37
|
+
'proposalId': !runtime.exists(json, 'proposalId') ? undefined : json['proposalId'],
|
|
38
|
+
'approvalRequirements': !runtime.exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(SigningQuorumApprovalRequirement.SigningQuorumApprovalRequirementFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SignMessageConsentRequiredToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': value.code,
|
|
50
|
+
'reason': value.reason,
|
|
51
|
+
'intent': SignMessageApprovalQuorumIntent.SignMessageApprovalQuorumIntentToJSON(value.intent),
|
|
52
|
+
'proposalId': value.proposalId,
|
|
53
|
+
'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(SigningQuorumApprovalRequirement.SigningQuorumApprovalRequirementToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.SignMessageConsentRequiredFromJSON = SignMessageConsentRequiredFromJSON;
|
|
58
|
+
exports.SignMessageConsentRequiredFromJSONTyped = SignMessageConsentRequiredFromJSONTyped;
|
|
59
|
+
exports.SignMessageConsentRequiredToJSON = SignMessageConsentRequiredToJSON;
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
* Returned instead of a room when a business-account-governed sign is not yet authorized (HTTP transport; the SSE transport sends the same fields as a `consent_required` event). Not a failure: sign the `intent` (when `reason` is `INTENT_REQUIRED` the client builds it) or collect approvals for `proposalId`, then retry the sign with the consent attached.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SignMessageConsentRequired
|
|
18
|
+
*/
|
|
19
|
+
export interface SignMessageConsentRequired {
|
|
20
|
+
/**
|
|
21
|
+
* Discriminator that tells this body apart from `OpenRoomResponse`.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SignMessageConsentRequired
|
|
24
|
+
*/
|
|
25
|
+
code: SignMessageConsentRequiredCodeEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SignMessageConsentRequired
|
|
30
|
+
*/
|
|
31
|
+
reason: SignMessageConsentRequiredReasonEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {SignMessageApprovalQuorumIntent}
|
|
35
|
+
* @memberof SignMessageConsentRequired
|
|
36
|
+
*/
|
|
37
|
+
intent?: SignMessageApprovalQuorumIntent;
|
|
38
|
+
/**
|
|
39
|
+
* The proposal collecting approvals. Present for `APPROVALS_REQUIRED`.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SignMessageConsentRequired
|
|
42
|
+
*/
|
|
43
|
+
proposalId?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* What each matching rule still needs. Present for `APPROVALS_REQUIRED`.
|
|
46
|
+
* @type {Array<SigningQuorumApprovalRequirement>}
|
|
47
|
+
* @memberof SignMessageConsentRequired
|
|
48
|
+
*/
|
|
49
|
+
approvalRequirements?: Array<SigningQuorumApprovalRequirement>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
export declare enum SignMessageConsentRequiredCodeEnum {
|
|
56
|
+
ConsentRequired = "consent_required"
|
|
57
|
+
} /**
|
|
58
|
+
* @export
|
|
59
|
+
* @enum {string}
|
|
60
|
+
*/
|
|
61
|
+
export declare enum SignMessageConsentRequiredReasonEnum {
|
|
62
|
+
IntentRequired = "INTENT_REQUIRED",
|
|
63
|
+
ApprovalsRequired = "APPROVALS_REQUIRED"
|
|
64
|
+
}
|
|
65
|
+
export declare function SignMessageConsentRequiredFromJSON(json: any): SignMessageConsentRequired;
|
|
66
|
+
export declare function SignMessageConsentRequiredFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageConsentRequired;
|
|
67
|
+
export declare function SignMessageConsentRequiredToJSON(value?: SignMessageConsentRequired | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageApprovalQuorumIntentFromJSON, SignMessageApprovalQuorumIntentToJSON } from './SignMessageApprovalQuorumIntent.js';
|
|
3
|
+
import { SigningQuorumApprovalRequirementFromJSON, SigningQuorumApprovalRequirementToJSON } from './SigningQuorumApprovalRequirement.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
var SignMessageConsentRequiredCodeEnum;
|
|
11
|
+
(function (SignMessageConsentRequiredCodeEnum) {
|
|
12
|
+
SignMessageConsentRequiredCodeEnum["ConsentRequired"] = "consent_required";
|
|
13
|
+
})(SignMessageConsentRequiredCodeEnum || (SignMessageConsentRequiredCodeEnum = {})); /**
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
var SignMessageConsentRequiredReasonEnum;
|
|
18
|
+
(function (SignMessageConsentRequiredReasonEnum) {
|
|
19
|
+
SignMessageConsentRequiredReasonEnum["IntentRequired"] = "INTENT_REQUIRED";
|
|
20
|
+
SignMessageConsentRequiredReasonEnum["ApprovalsRequired"] = "APPROVALS_REQUIRED";
|
|
21
|
+
})(SignMessageConsentRequiredReasonEnum || (SignMessageConsentRequiredReasonEnum = {}));
|
|
22
|
+
function SignMessageConsentRequiredFromJSON(json) {
|
|
23
|
+
return SignMessageConsentRequiredFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function SignMessageConsentRequiredFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'code': json['code'],
|
|
31
|
+
'reason': json['reason'],
|
|
32
|
+
'intent': !exists(json, 'intent') ? undefined : SignMessageApprovalQuorumIntentFromJSON(json['intent']),
|
|
33
|
+
'proposalId': !exists(json, 'proposalId') ? undefined : json['proposalId'],
|
|
34
|
+
'approvalRequirements': !exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(SigningQuorumApprovalRequirementFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function SignMessageConsentRequiredToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'code': value.code,
|
|
46
|
+
'reason': value.reason,
|
|
47
|
+
'intent': SignMessageApprovalQuorumIntentToJSON(value.intent),
|
|
48
|
+
'proposalId': value.proposalId,
|
|
49
|
+
'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(SigningQuorumApprovalRequirementToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { SignMessageConsentRequiredCodeEnum, SignMessageConsentRequiredFromJSON, SignMessageConsentRequiredFromJSONTyped, SignMessageConsentRequiredReasonEnum, SignMessageConsentRequiredToJSON };
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.WaasCeremonyPendingStatusEnum = void 0;
|
|
23
|
+
(function (WaasCeremonyPendingStatusEnum) {
|
|
24
|
+
WaasCeremonyPendingStatusEnum["Pending"] = "pending";
|
|
25
|
+
})(exports.WaasCeremonyPendingStatusEnum || (exports.WaasCeremonyPendingStatusEnum = {}));
|
|
26
|
+
function WaasCeremonyPendingFromJSON(json) {
|
|
27
|
+
return WaasCeremonyPendingFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function WaasCeremonyPendingFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'idempotencyKey': json['idempotencyKey'],
|
|
35
|
+
'status': json['status'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function WaasCeremonyPendingToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'idempotencyKey': value.idempotencyKey,
|
|
47
|
+
'status': value.status,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
exports.WaasCeremonyPendingFromJSON = WaasCeremonyPendingFromJSON;
|
|
52
|
+
exports.WaasCeremonyPendingFromJSONTyped = WaasCeremonyPendingFromJSONTyped;
|
|
53
|
+
exports.WaasCeremonyPendingToJSON = WaasCeremonyPendingToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* HTTP transport poll answer while the ceremony is still running and has no room yet. Poll again with the same idempotency key.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasCeremonyPending
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasCeremonyPending {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WaasCeremonyPending
|
|
22
|
+
*/
|
|
23
|
+
idempotencyKey: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WaasCeremonyPending
|
|
28
|
+
*/
|
|
29
|
+
status: WaasCeremonyPendingStatusEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
export declare enum WaasCeremonyPendingStatusEnum {
|
|
36
|
+
Pending = "pending"
|
|
37
|
+
}
|
|
38
|
+
export declare function WaasCeremonyPendingFromJSON(json: any): WaasCeremonyPending;
|
|
39
|
+
export declare function WaasCeremonyPendingFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasCeremonyPending;
|
|
40
|
+
export declare function WaasCeremonyPendingToJSON(value?: WaasCeremonyPending | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 WaasCeremonyPendingStatusEnum;
|
|
19
|
+
(function (WaasCeremonyPendingStatusEnum) {
|
|
20
|
+
WaasCeremonyPendingStatusEnum["Pending"] = "pending";
|
|
21
|
+
})(WaasCeremonyPendingStatusEnum || (WaasCeremonyPendingStatusEnum = {}));
|
|
22
|
+
function WaasCeremonyPendingFromJSON(json) {
|
|
23
|
+
return WaasCeremonyPendingFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function WaasCeremonyPendingFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'idempotencyKey': json['idempotencyKey'],
|
|
31
|
+
'status': json['status'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function WaasCeremonyPendingToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'idempotencyKey': value.idempotencyKey,
|
|
43
|
+
'status': value.status,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { WaasCeremonyPendingFromJSON, WaasCeremonyPendingFromJSONTyped, WaasCeremonyPendingStatusEnum, WaasCeremonyPendingToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -785,6 +785,7 @@ export * from './SignMessageApprovalQuorumTronTransactionOperation';
|
|
|
785
785
|
export * from './SignMessageApprovalQuorumTypedDataOperation';
|
|
786
786
|
export * from './SignMessageAuthorizationSignature';
|
|
787
787
|
export * from './SignMessageBtcTransaction';
|
|
788
|
+
export * from './SignMessageConsentRequired';
|
|
788
789
|
export * from './SignMessageContext';
|
|
789
790
|
export * from './SignMessageEip7702Auth';
|
|
790
791
|
export * from './SignMessageEvmMessage';
|
|
@@ -942,6 +943,7 @@ export * from './WaasBroadcastEvmFee';
|
|
|
942
943
|
export * from './WaasBroadcastOptions';
|
|
943
944
|
export * from './WaasBroadcastStatus';
|
|
944
945
|
export * from './WaasBroadcastSvmCosignerSignature';
|
|
946
|
+
export * from './WaasCeremonyPending';
|
|
945
947
|
export * from './WaasChainEnum';
|
|
946
948
|
export * from './WaasConfidentialAccountState';
|
|
947
949
|
export * from './WaasConfidentialSeedCreateRequest';
|