@dynamic-labs/sdk-api 0.95.0 → 0.97.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 -2
- package/src/apis/AdminActionsApi.js +2 -2
- package/src/apis/AllowlistsApi.cjs +2 -2
- package/src/apis/AllowlistsApi.js +2 -2
- package/src/apis/AnalyticsApi.cjs +2 -2
- package/src/apis/AnalyticsApi.js +2 -2
- package/src/apis/AuthorizedClientsApi.cjs +2 -2
- package/src/apis/AuthorizedClientsApi.js +2 -2
- package/src/apis/BusinessAccountsApi.cjs +2 -2
- package/src/apis/BusinessAccountsApi.js +2 -2
- package/src/apis/CaptchaApi.cjs +2 -2
- package/src/apis/CaptchaApi.js +2 -2
- package/src/apis/ChainalysisApi.cjs +2 -2
- package/src/apis/ChainalysisApi.js +2 -2
- package/src/apis/ChainsApi.cjs +2 -2
- package/src/apis/ChainsApi.js +2 -2
- package/src/apis/CheckoutApi.cjs +2 -2
- package/src/apis/CheckoutApi.js +2 -2
- package/src/apis/ClientGrantApi.cjs +2 -2
- package/src/apis/ClientGrantApi.js +2 -2
- package/src/apis/CustomFieldsApi.cjs +2 -2
- package/src/apis/CustomFieldsApi.js +2 -2
- package/src/apis/CustomHostnamesApi.cjs +2 -2
- package/src/apis/CustomHostnamesApi.js +2 -2
- package/src/apis/CustomNetworksApi.cjs +2 -2
- package/src/apis/CustomNetworksApi.js +2 -2
- package/src/apis/DeeplinkUrlsApi.cjs +2 -2
- package/src/apis/DeeplinkUrlsApi.js +2 -2
- package/src/apis/EnvironmentsApi.cjs +2 -2
- package/src/apis/EnvironmentsApi.js +2 -2
- package/src/apis/EventsApi.cjs +2 -2
- package/src/apis/EventsApi.js +2 -2
- package/src/apis/ExchangesApi.cjs +2 -2
- package/src/apis/ExchangesApi.js +2 -2
- package/src/apis/ExportsApi.cjs +2 -2
- package/src/apis/ExportsApi.js +2 -2
- package/src/apis/ExternalJwtApi.cjs +2 -2
- package/src/apis/ExternalJwtApi.js +2 -2
- package/src/apis/FlowAnalyticsApi.cjs +2 -2
- package/src/apis/FlowAnalyticsApi.js +2 -2
- package/src/apis/GaslessApi.cjs +2 -2
- package/src/apis/GaslessApi.js +2 -2
- package/src/apis/GatesApi.cjs +2 -2
- package/src/apis/GatesApi.js +2 -2
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -2
- package/src/apis/GlobalWalletAccessControlApi.js +2 -2
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -2
- package/src/apis/GlobalWalletConnectionsApi.js +2 -2
- package/src/apis/GlobalWalletsApi.cjs +2 -2
- package/src/apis/GlobalWalletsApi.js +2 -2
- package/src/apis/InvitesApi.cjs +2 -2
- package/src/apis/InvitesApi.js +2 -2
- package/src/apis/KybApi.cjs +2 -2
- package/src/apis/KybApi.js +2 -2
- package/src/apis/MembersApi.cjs +2 -2
- package/src/apis/MembersApi.js +2 -2
- package/src/apis/MfaSettingsApi.cjs +2 -2
- package/src/apis/MfaSettingsApi.js +2 -2
- package/src/apis/NameServicesApi.cjs +2 -2
- package/src/apis/NameServicesApi.js +2 -2
- package/src/apis/OrganizationSettingsApi.cjs +2 -2
- package/src/apis/OrganizationSettingsApi.js +2 -2
- package/src/apis/OrganizationsApi.cjs +2 -2
- package/src/apis/OrganizationsApi.js +2 -2
- package/src/apis/OriginsApi.cjs +2 -2
- package/src/apis/OriginsApi.js +2 -2
- package/src/apis/ProjectsApi.cjs +2 -2
- package/src/apis/ProjectsApi.js +2 -2
- package/src/apis/ProvidersApi.cjs +2 -2
- package/src/apis/ProvidersApi.js +2 -2
- package/src/apis/SDKApi.cjs +2 -1
- package/src/apis/SDKApi.js +2 -1
- package/src/apis/SDKViewsApi.cjs +2 -2
- package/src/apis/SDKViewsApi.js +2 -2
- package/src/apis/ScreeningPoliciesApi.cjs +2 -2
- package/src/apis/ScreeningPoliciesApi.js +2 -2
- package/src/apis/ServerApi.cjs +2 -2
- package/src/apis/ServerApi.js +2 -2
- package/src/apis/SessionsApi.cjs +2 -2
- package/src/apis/SessionsApi.js +2 -2
- package/src/apis/TestAccountApi.cjs +2 -2
- package/src/apis/TestAccountApi.js +2 -2
- package/src/apis/TokensApi.cjs +2 -2
- package/src/apis/TokensApi.js +2 -2
- package/src/apis/UserApiTokensApi.cjs +2 -2
- package/src/apis/UserApiTokensApi.js +2 -2
- package/src/apis/UsersApi.cjs +2 -2
- package/src/apis/UsersApi.js +2 -2
- package/src/apis/VisitsApi.cjs +2 -2
- package/src/apis/VisitsApi.js +2 -2
- package/src/apis/WaasApi.cjs +2 -2
- package/src/apis/WaasApi.js +2 -2
- package/src/apis/WalletConnectApi.cjs +2 -2
- package/src/apis/WalletConnectApi.js +2 -2
- package/src/apis/WalletsApi.cjs +2 -2
- package/src/apis/WalletsApi.js +2 -2
- package/src/apis/WebhooksApi.cjs +2 -2
- package/src/apis/WebhooksApi.js +2 -2
- package/src/apis/YieldApi.cjs +2 -2
- package/src/apis/YieldApi.js +2 -2
- package/src/apis/ZendeskApi.cjs +2 -2
- package/src/apis/ZendeskApi.js +2 -2
- package/src/index.cjs +24 -8
- package/src/index.js +6 -2
- package/src/models/BusinessAccountGovernedAction.cjs +1 -0
- package/src/models/BusinessAccountGovernedAction.d.ts +2 -1
- package/src/models/BusinessAccountGovernedAction.js +1 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +5 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +13 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.js +5 -0
- package/src/models/WaasExportApprovalQuorum.cjs +35 -0
- package/src/models/WaasExportApprovalQuorum.d.ts +35 -0
- package/src/models/WaasExportApprovalQuorum.js +29 -0
- package/src/models/WaasExportIntent.cjs +67 -0
- package/src/models/WaasExportIntent.d.ts +79 -0
- package/src/models/WaasExportIntent.js +61 -0
- package/src/models/YieldProviderEnum.cjs +41 -0
- package/src/models/YieldProviderEnum.d.ts +24 -0
- package/src/models/YieldProviderEnum.js +35 -0
- package/src/models/YieldSigningPayload.cjs +3 -0
- package/src/models/YieldSigningPayload.d.ts +8 -1
- package/src/models/YieldSigningPayload.js +3 -0
- package/src/models/YieldTransactionStep.cjs +39 -0
- package/src/models/YieldTransactionStep.d.ts +45 -0
- package/src/models/YieldTransactionStep.js +33 -0
- package/src/models/YieldVaultDetails.cjs +6 -11
- package/src/models/YieldVaultDetails.d.ts +12 -12
- package/src/models/YieldVaultDetails.js +7 -12
- package/src/models/YieldVaultSummary.cjs +6 -11
- package/src/models/YieldVaultSummary.d.ts +12 -12
- package/src/models/YieldVaultSummary.js +7 -12
- package/src/models/index.d.ts +4 -0
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -112,6 +112,7 @@ import '../models/ZerodevBundlerProvider.js';
|
|
|
112
112
|
import '../models/ExportFormatEnum.js';
|
|
113
113
|
import '../models/ExportModelEnum.js';
|
|
114
114
|
import '../models/ExportStatusEnum.js';
|
|
115
|
+
import '../models/WaasExportIntent.js';
|
|
115
116
|
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
116
117
|
import '../models/FlowModeEnum.js';
|
|
117
118
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
@@ -199,8 +200,7 @@ import { WebhookMessageRedeliveryResponseFromJSON } from '../models/WebhookMessa
|
|
|
199
200
|
import { WebhookMessagesResponseFromJSON } from '../models/WebhookMessagesResponse.js';
|
|
200
201
|
import { WebhookUpdateRequestToJSON } from '../models/WebhookUpdateRequest.js';
|
|
201
202
|
import { WebhooksResponseFromJSON } from '../models/WebhooksResponse.js';
|
|
202
|
-
import '../models/
|
|
203
|
-
import '../models/YieldVaultSummary.js';
|
|
203
|
+
import '../models/YieldProviderEnum.js';
|
|
204
204
|
|
|
205
205
|
/* tslint:disable */
|
|
206
206
|
/**
|
package/src/apis/YieldApi.cjs
CHANGED
|
@@ -116,6 +116,7 @@ require('../models/ZerodevBundlerProvider.cjs');
|
|
|
116
116
|
require('../models/ExportFormatEnum.cjs');
|
|
117
117
|
require('../models/ExportModelEnum.cjs');
|
|
118
118
|
require('../models/ExportStatusEnum.cjs');
|
|
119
|
+
require('../models/WaasExportIntent.cjs');
|
|
119
120
|
require('../models/ExternalWalletFundingDefaultChain.cjs');
|
|
120
121
|
require('../models/FlowModeEnum.cjs');
|
|
121
122
|
require('../models/FlowAnalyticsSummaryResponse.cjs');
|
|
@@ -197,9 +198,8 @@ require('../models/WaasTransactionReviewTestResponseResponseSignature.cjs');
|
|
|
197
198
|
require('../models/WalletAddressScreeningAlertedEventPayload.cjs');
|
|
198
199
|
require('../models/WalletAddressScreeningBlockedEventPayload.cjs');
|
|
199
200
|
require('../models/WalletTransactionType.cjs');
|
|
200
|
-
require('../models/
|
|
201
|
+
require('../models/YieldProviderEnum.cjs');
|
|
201
202
|
var YieldVaultListResponse = require('../models/YieldVaultListResponse.cjs');
|
|
202
|
-
require('../models/YieldVaultSummary.cjs');
|
|
203
203
|
|
|
204
204
|
/* tslint:disable */
|
|
205
205
|
/**
|
package/src/apis/YieldApi.js
CHANGED
|
@@ -112,6 +112,7 @@ import '../models/ZerodevBundlerProvider.js';
|
|
|
112
112
|
import '../models/ExportFormatEnum.js';
|
|
113
113
|
import '../models/ExportModelEnum.js';
|
|
114
114
|
import '../models/ExportStatusEnum.js';
|
|
115
|
+
import '../models/WaasExportIntent.js';
|
|
115
116
|
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
116
117
|
import '../models/FlowModeEnum.js';
|
|
117
118
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
@@ -193,9 +194,8 @@ import '../models/WaasTransactionReviewTestResponseResponseSignature.js';
|
|
|
193
194
|
import '../models/WalletAddressScreeningAlertedEventPayload.js';
|
|
194
195
|
import '../models/WalletAddressScreeningBlockedEventPayload.js';
|
|
195
196
|
import '../models/WalletTransactionType.js';
|
|
196
|
-
import '../models/
|
|
197
|
+
import '../models/YieldProviderEnum.js';
|
|
197
198
|
import { YieldVaultListResponseFromJSON } from '../models/YieldVaultListResponse.js';
|
|
198
|
-
import '../models/YieldVaultSummary.js';
|
|
199
199
|
|
|
200
200
|
/* tslint:disable */
|
|
201
201
|
/**
|
package/src/apis/ZendeskApi.cjs
CHANGED
|
@@ -116,6 +116,7 @@ require('../models/ZerodevBundlerProvider.cjs');
|
|
|
116
116
|
require('../models/ExportFormatEnum.cjs');
|
|
117
117
|
require('../models/ExportModelEnum.cjs');
|
|
118
118
|
require('../models/ExportStatusEnum.cjs');
|
|
119
|
+
require('../models/WaasExportIntent.cjs');
|
|
119
120
|
require('../models/ExternalWalletFundingDefaultChain.cjs');
|
|
120
121
|
require('../models/FlowModeEnum.cjs');
|
|
121
122
|
require('../models/FlowAnalyticsSummaryResponse.cjs');
|
|
@@ -197,8 +198,7 @@ require('../models/WaasTransactionReviewTestResponseResponseSignature.cjs');
|
|
|
197
198
|
require('../models/WalletAddressScreeningAlertedEventPayload.cjs');
|
|
198
199
|
require('../models/WalletAddressScreeningBlockedEventPayload.cjs');
|
|
199
200
|
require('../models/WalletTransactionType.cjs');
|
|
200
|
-
require('../models/
|
|
201
|
-
require('../models/YieldVaultSummary.cjs');
|
|
201
|
+
require('../models/YieldProviderEnum.cjs');
|
|
202
202
|
var ZendeskLoginRequest = require('../models/ZendeskLoginRequest.cjs');
|
|
203
203
|
var ZendeskLoginResponse = require('../models/ZendeskLoginResponse.cjs');
|
|
204
204
|
|
package/src/apis/ZendeskApi.js
CHANGED
|
@@ -112,6 +112,7 @@ import '../models/ZerodevBundlerProvider.js';
|
|
|
112
112
|
import '../models/ExportFormatEnum.js';
|
|
113
113
|
import '../models/ExportModelEnum.js';
|
|
114
114
|
import '../models/ExportStatusEnum.js';
|
|
115
|
+
import '../models/WaasExportIntent.js';
|
|
115
116
|
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
116
117
|
import '../models/FlowModeEnum.js';
|
|
117
118
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
@@ -193,8 +194,7 @@ import '../models/WaasTransactionReviewTestResponseResponseSignature.js';
|
|
|
193
194
|
import '../models/WalletAddressScreeningAlertedEventPayload.js';
|
|
194
195
|
import '../models/WalletAddressScreeningBlockedEventPayload.js';
|
|
195
196
|
import '../models/WalletTransactionType.js';
|
|
196
|
-
import '../models/
|
|
197
|
-
import '../models/YieldVaultSummary.js';
|
|
197
|
+
import '../models/YieldProviderEnum.js';
|
|
198
198
|
import { ZendeskLoginRequestToJSON } from '../models/ZendeskLoginRequest.js';
|
|
199
199
|
import { ZendeskLoginResponseFromJSON } from '../models/ZendeskLoginResponse.js';
|
|
200
200
|
|
package/src/index.cjs
CHANGED
|
@@ -954,6 +954,8 @@ var WaasDelegatedAccessEncryptionPublicKeyType = require('./models/WaasDelegated
|
|
|
954
954
|
var WaasDelegationCredentialsRequest = require('./models/WaasDelegationCredentialsRequest.cjs');
|
|
955
955
|
var WaasDelegationCredentialsResponse = require('./models/WaasDelegationCredentialsResponse.cjs');
|
|
956
956
|
var WaasEnvPolicyLayerUpdateRequest = require('./models/WaasEnvPolicyLayerUpdateRequest.cjs');
|
|
957
|
+
var WaasExportApprovalQuorum = require('./models/WaasExportApprovalQuorum.cjs');
|
|
958
|
+
var WaasExportIntent = require('./models/WaasExportIntent.cjs');
|
|
957
959
|
var WaasPolicyAction = require('./models/WaasPolicyAction.cjs');
|
|
958
960
|
var WaasPolicyArgumentConstraint = require('./models/WaasPolicyArgumentConstraint.cjs');
|
|
959
961
|
var WaasPolicyConstraintCondition = require('./models/WaasPolicyConstraintCondition.cjs');
|
|
@@ -1050,7 +1052,9 @@ var WebhookUpdateRequest = require('./models/WebhookUpdateRequest.cjs');
|
|
|
1050
1052
|
var WebhooksResponse = require('./models/WebhooksResponse.cjs');
|
|
1051
1053
|
var WhenToImplementEnum = require('./models/WhenToImplementEnum.cjs');
|
|
1052
1054
|
var YieldEarnings = require('./models/YieldEarnings.cjs');
|
|
1055
|
+
var YieldProviderEnum = require('./models/YieldProviderEnum.cjs');
|
|
1053
1056
|
var YieldSigningPayload = require('./models/YieldSigningPayload.cjs');
|
|
1057
|
+
var YieldTransactionStep = require('./models/YieldTransactionStep.cjs');
|
|
1054
1058
|
var YieldVaultActionRequest = require('./models/YieldVaultActionRequest.cjs');
|
|
1055
1059
|
var YieldVaultActionResponse = require('./models/YieldVaultActionResponse.cjs');
|
|
1056
1060
|
var YieldVaultClaimRequest = require('./models/YieldVaultClaimRequest.cjs');
|
|
@@ -4578,6 +4582,16 @@ exports.WaasDelegationCredentialsResponseToJSON = WaasDelegationCredentialsRespo
|
|
|
4578
4582
|
exports.WaasEnvPolicyLayerUpdateRequestFromJSON = WaasEnvPolicyLayerUpdateRequest.WaasEnvPolicyLayerUpdateRequestFromJSON;
|
|
4579
4583
|
exports.WaasEnvPolicyLayerUpdateRequestFromJSONTyped = WaasEnvPolicyLayerUpdateRequest.WaasEnvPolicyLayerUpdateRequestFromJSONTyped;
|
|
4580
4584
|
exports.WaasEnvPolicyLayerUpdateRequestToJSON = WaasEnvPolicyLayerUpdateRequest.WaasEnvPolicyLayerUpdateRequestToJSON;
|
|
4585
|
+
exports.WaasExportApprovalQuorumFromJSON = WaasExportApprovalQuorum.WaasExportApprovalQuorumFromJSON;
|
|
4586
|
+
exports.WaasExportApprovalQuorumFromJSONTyped = WaasExportApprovalQuorum.WaasExportApprovalQuorumFromJSONTyped;
|
|
4587
|
+
exports.WaasExportApprovalQuorumToJSON = WaasExportApprovalQuorum.WaasExportApprovalQuorumToJSON;
|
|
4588
|
+
Object.defineProperty(exports, 'WaasExportIntentActionTypeEnum', {
|
|
4589
|
+
enumerable: true,
|
|
4590
|
+
get: function () { return WaasExportIntent.WaasExportIntentActionTypeEnum; }
|
|
4591
|
+
});
|
|
4592
|
+
exports.WaasExportIntentFromJSON = WaasExportIntent.WaasExportIntentFromJSON;
|
|
4593
|
+
exports.WaasExportIntentFromJSONTyped = WaasExportIntent.WaasExportIntentFromJSONTyped;
|
|
4594
|
+
exports.WaasExportIntentToJSON = WaasExportIntent.WaasExportIntentToJSON;
|
|
4581
4595
|
Object.defineProperty(exports, 'WaasPolicyAction', {
|
|
4582
4596
|
enumerable: true,
|
|
4583
4597
|
get: function () { return WaasPolicyAction.WaasPolicyAction; }
|
|
@@ -4986,9 +5000,19 @@ exports.WhenToImplementEnumToJSON = WhenToImplementEnum.WhenToImplementEnumToJSO
|
|
|
4986
5000
|
exports.YieldEarningsFromJSON = YieldEarnings.YieldEarningsFromJSON;
|
|
4987
5001
|
exports.YieldEarningsFromJSONTyped = YieldEarnings.YieldEarningsFromJSONTyped;
|
|
4988
5002
|
exports.YieldEarningsToJSON = YieldEarnings.YieldEarningsToJSON;
|
|
5003
|
+
Object.defineProperty(exports, 'YieldProviderEnum', {
|
|
5004
|
+
enumerable: true,
|
|
5005
|
+
get: function () { return YieldProviderEnum.YieldProviderEnum; }
|
|
5006
|
+
});
|
|
5007
|
+
exports.YieldProviderEnumFromJSON = YieldProviderEnum.YieldProviderEnumFromJSON;
|
|
5008
|
+
exports.YieldProviderEnumFromJSONTyped = YieldProviderEnum.YieldProviderEnumFromJSONTyped;
|
|
5009
|
+
exports.YieldProviderEnumToJSON = YieldProviderEnum.YieldProviderEnumToJSON;
|
|
4989
5010
|
exports.YieldSigningPayloadFromJSON = YieldSigningPayload.YieldSigningPayloadFromJSON;
|
|
4990
5011
|
exports.YieldSigningPayloadFromJSONTyped = YieldSigningPayload.YieldSigningPayloadFromJSONTyped;
|
|
4991
5012
|
exports.YieldSigningPayloadToJSON = YieldSigningPayload.YieldSigningPayloadToJSON;
|
|
5013
|
+
exports.YieldTransactionStepFromJSON = YieldTransactionStep.YieldTransactionStepFromJSON;
|
|
5014
|
+
exports.YieldTransactionStepFromJSONTyped = YieldTransactionStep.YieldTransactionStepFromJSONTyped;
|
|
5015
|
+
exports.YieldTransactionStepToJSON = YieldTransactionStep.YieldTransactionStepToJSON;
|
|
4992
5016
|
exports.YieldVaultActionRequestFromJSON = YieldVaultActionRequest.YieldVaultActionRequestFromJSON;
|
|
4993
5017
|
exports.YieldVaultActionRequestFromJSONTyped = YieldVaultActionRequest.YieldVaultActionRequestFromJSONTyped;
|
|
4994
5018
|
exports.YieldVaultActionRequestToJSON = YieldVaultActionRequest.YieldVaultActionRequestToJSON;
|
|
@@ -5000,10 +5024,6 @@ exports.YieldVaultClaimRequestFromJSONTyped = YieldVaultClaimRequest.YieldVaultC
|
|
|
5000
5024
|
exports.YieldVaultClaimRequestToJSON = YieldVaultClaimRequest.YieldVaultClaimRequestToJSON;
|
|
5001
5025
|
exports.YieldVaultDetailsFromJSON = YieldVaultDetails.YieldVaultDetailsFromJSON;
|
|
5002
5026
|
exports.YieldVaultDetailsFromJSONTyped = YieldVaultDetails.YieldVaultDetailsFromJSONTyped;
|
|
5003
|
-
Object.defineProperty(exports, 'YieldVaultDetailsProviderEnum', {
|
|
5004
|
-
enumerable: true,
|
|
5005
|
-
get: function () { return YieldVaultDetails.YieldVaultDetailsProviderEnum; }
|
|
5006
|
-
});
|
|
5007
5027
|
exports.YieldVaultDetailsToJSON = YieldVaultDetails.YieldVaultDetailsToJSON;
|
|
5008
5028
|
exports.YieldVaultEarningsFromJSON = YieldVaultEarnings.YieldVaultEarningsFromJSON;
|
|
5009
5029
|
exports.YieldVaultEarningsFromJSONTyped = YieldVaultEarnings.YieldVaultEarningsFromJSONTyped;
|
|
@@ -5025,10 +5045,6 @@ exports.YieldVaultRewardsResponseFromJSONTyped = YieldVaultRewardsResponse.Yield
|
|
|
5025
5045
|
exports.YieldVaultRewardsResponseToJSON = YieldVaultRewardsResponse.YieldVaultRewardsResponseToJSON;
|
|
5026
5046
|
exports.YieldVaultSummaryFromJSON = YieldVaultSummary.YieldVaultSummaryFromJSON;
|
|
5027
5047
|
exports.YieldVaultSummaryFromJSONTyped = YieldVaultSummary.YieldVaultSummaryFromJSONTyped;
|
|
5028
|
-
Object.defineProperty(exports, 'YieldVaultSummaryProviderEnum', {
|
|
5029
|
-
enumerable: true,
|
|
5030
|
-
get: function () { return YieldVaultSummary.YieldVaultSummaryProviderEnum; }
|
|
5031
|
-
});
|
|
5032
5048
|
exports.YieldVaultSummaryToJSON = YieldVaultSummary.YieldVaultSummaryToJSON;
|
|
5033
5049
|
exports.ZendeskLoginRequestFromJSON = ZendeskLoginRequest.ZendeskLoginRequestFromJSON;
|
|
5034
5050
|
exports.ZendeskLoginRequestFromJSONTyped = ZendeskLoginRequest.ZendeskLoginRequestFromJSONTyped;
|
package/src/index.js
CHANGED
|
@@ -950,6 +950,8 @@ export { WaasDelegatedAccessEncryptionPublicKeyType, WaasDelegatedAccessEncrypti
|
|
|
950
950
|
export { WaasDelegationCredentialsRequestFromJSON, WaasDelegationCredentialsRequestFromJSONTyped, WaasDelegationCredentialsRequestToJSON } from './models/WaasDelegationCredentialsRequest.js';
|
|
951
951
|
export { WaasDelegationCredentialsResponseAlgEnum, WaasDelegationCredentialsResponseFromJSON, WaasDelegationCredentialsResponseFromJSONTyped, WaasDelegationCredentialsResponseToJSON } from './models/WaasDelegationCredentialsResponse.js';
|
|
952
952
|
export { WaasEnvPolicyLayerUpdateRequestFromJSON, WaasEnvPolicyLayerUpdateRequestFromJSONTyped, WaasEnvPolicyLayerUpdateRequestToJSON } from './models/WaasEnvPolicyLayerUpdateRequest.js';
|
|
953
|
+
export { WaasExportApprovalQuorumFromJSON, WaasExportApprovalQuorumFromJSONTyped, WaasExportApprovalQuorumToJSON } from './models/WaasExportApprovalQuorum.js';
|
|
954
|
+
export { WaasExportIntentActionTypeEnum, WaasExportIntentFromJSON, WaasExportIntentFromJSONTyped, WaasExportIntentToJSON } from './models/WaasExportIntent.js';
|
|
953
955
|
export { WaasPolicyAction, WaasPolicyActionFromJSON, WaasPolicyActionFromJSONTyped, WaasPolicyActionToJSON } from './models/WaasPolicyAction.js';
|
|
954
956
|
export { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintFromJSONTyped, WaasPolicyArgumentConstraintToJSON } from './models/WaasPolicyArgumentConstraint.js';
|
|
955
957
|
export { WaasPolicyConstraintCondition, WaasPolicyConstraintConditionFromJSON, WaasPolicyConstraintConditionFromJSONTyped, WaasPolicyConstraintConditionToJSON } from './models/WaasPolicyConstraintCondition.js';
|
|
@@ -1046,18 +1048,20 @@ export { WebhookUpdateRequestFromJSON, WebhookUpdateRequestFromJSONTyped, Webhoo
|
|
|
1046
1048
|
export { WebhooksResponseFromJSON, WebhooksResponseFromJSONTyped, WebhooksResponseToJSON } from './models/WebhooksResponse.js';
|
|
1047
1049
|
export { WhenToImplementEnum, WhenToImplementEnumFromJSON, WhenToImplementEnumFromJSONTyped, WhenToImplementEnumToJSON } from './models/WhenToImplementEnum.js';
|
|
1048
1050
|
export { YieldEarningsFromJSON, YieldEarningsFromJSONTyped, YieldEarningsToJSON } from './models/YieldEarnings.js';
|
|
1051
|
+
export { YieldProviderEnum, YieldProviderEnumFromJSON, YieldProviderEnumFromJSONTyped, YieldProviderEnumToJSON } from './models/YieldProviderEnum.js';
|
|
1049
1052
|
export { YieldSigningPayloadFromJSON, YieldSigningPayloadFromJSONTyped, YieldSigningPayloadToJSON } from './models/YieldSigningPayload.js';
|
|
1053
|
+
export { YieldTransactionStepFromJSON, YieldTransactionStepFromJSONTyped, YieldTransactionStepToJSON } from './models/YieldTransactionStep.js';
|
|
1050
1054
|
export { YieldVaultActionRequestFromJSON, YieldVaultActionRequestFromJSONTyped, YieldVaultActionRequestToJSON } from './models/YieldVaultActionRequest.js';
|
|
1051
1055
|
export { YieldVaultActionResponseFromJSON, YieldVaultActionResponseFromJSONTyped, YieldVaultActionResponseToJSON } from './models/YieldVaultActionResponse.js';
|
|
1052
1056
|
export { YieldVaultClaimRequestFromJSON, YieldVaultClaimRequestFromJSONTyped, YieldVaultClaimRequestToJSON } from './models/YieldVaultClaimRequest.js';
|
|
1053
|
-
export { YieldVaultDetailsFromJSON, YieldVaultDetailsFromJSONTyped,
|
|
1057
|
+
export { YieldVaultDetailsFromJSON, YieldVaultDetailsFromJSONTyped, YieldVaultDetailsToJSON } from './models/YieldVaultDetails.js';
|
|
1054
1058
|
export { YieldVaultEarningsFromJSON, YieldVaultEarningsFromJSONTyped, YieldVaultEarningsToJSON } from './models/YieldVaultEarnings.js';
|
|
1055
1059
|
export { YieldVaultListResponseFromJSON, YieldVaultListResponseFromJSONTyped, YieldVaultListResponseToJSON } from './models/YieldVaultListResponse.js';
|
|
1056
1060
|
export { YieldVaultPositionFromJSON, YieldVaultPositionFromJSONTyped, YieldVaultPositionToJSON } from './models/YieldVaultPosition.js';
|
|
1057
1061
|
export { YieldVaultPositionPerformanceFromJSON, YieldVaultPositionPerformanceFromJSONTyped, YieldVaultPositionPerformanceToJSON } from './models/YieldVaultPositionPerformance.js';
|
|
1058
1062
|
export { YieldVaultRewardFromJSON, YieldVaultRewardFromJSONTyped, YieldVaultRewardToJSON } from './models/YieldVaultReward.js';
|
|
1059
1063
|
export { YieldVaultRewardsResponseFromJSON, YieldVaultRewardsResponseFromJSONTyped, YieldVaultRewardsResponseToJSON } from './models/YieldVaultRewardsResponse.js';
|
|
1060
|
-
export { YieldVaultSummaryFromJSON, YieldVaultSummaryFromJSONTyped,
|
|
1064
|
+
export { YieldVaultSummaryFromJSON, YieldVaultSummaryFromJSONTyped, YieldVaultSummaryToJSON } from './models/YieldVaultSummary.js';
|
|
1061
1065
|
export { ZendeskLoginRequestFromJSON, ZendeskLoginRequestFromJSONTyped, ZendeskLoginRequestToJSON } from './models/ZendeskLoginRequest.js';
|
|
1062
1066
|
export { ZendeskLoginResponseFromJSON, ZendeskLoginResponseFromJSONTyped, ZendeskLoginResponseToJSON } from './models/ZendeskLoginResponse.js';
|
|
1063
1067
|
export { ZerodevBundlerProvider, ZerodevBundlerProviderFromJSON, ZerodevBundlerProviderFromJSONTyped, ZerodevBundlerProviderToJSON } from './models/ZerodevBundlerProvider.js';
|
|
@@ -36,6 +36,7 @@ exports.BusinessAccountGovernedAction = void 0;
|
|
|
36
36
|
BusinessAccountGovernedAction["DefineRole"] = "defineRole";
|
|
37
37
|
BusinessAccountGovernedAction["DeleteRole"] = "deleteRole";
|
|
38
38
|
BusinessAccountGovernedAction["SignMessage"] = "signMessage";
|
|
39
|
+
BusinessAccountGovernedAction["ExportWallet"] = "exportWallet";
|
|
39
40
|
})(exports.BusinessAccountGovernedAction || (exports.BusinessAccountGovernedAction = {}));
|
|
40
41
|
function BusinessAccountGovernedActionFromJSON(json) {
|
|
41
42
|
return BusinessAccountGovernedActionFromJSONTyped(json);
|
|
@@ -28,7 +28,8 @@ export declare enum BusinessAccountGovernedAction {
|
|
|
28
28
|
SetGovernance = "setGovernance",
|
|
29
29
|
DefineRole = "defineRole",
|
|
30
30
|
DeleteRole = "deleteRole",
|
|
31
|
-
SignMessage = "signMessage"
|
|
31
|
+
SignMessage = "signMessage",
|
|
32
|
+
ExportWallet = "exportWallet"
|
|
32
33
|
}
|
|
33
34
|
export declare function BusinessAccountGovernedActionFromJSON(json: any): BusinessAccountGovernedAction;
|
|
34
35
|
export declare function BusinessAccountGovernedActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountGovernedAction;
|
|
@@ -32,6 +32,7 @@ var BusinessAccountGovernedAction;
|
|
|
32
32
|
BusinessAccountGovernedAction["DefineRole"] = "defineRole";
|
|
33
33
|
BusinessAccountGovernedAction["DeleteRole"] = "deleteRole";
|
|
34
34
|
BusinessAccountGovernedAction["SignMessage"] = "signMessage";
|
|
35
|
+
BusinessAccountGovernedAction["ExportWallet"] = "exportWallet";
|
|
35
36
|
})(BusinessAccountGovernedAction || (BusinessAccountGovernedAction = {}));
|
|
36
37
|
function BusinessAccountGovernedActionFromJSON(json) {
|
|
37
38
|
return BusinessAccountGovernedActionFromJSONTyped(json);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasExportApprovalQuorum = require('./WaasExportApprovalQuorum.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function ExportWaasWalletPrivateKeyRequestFromJSON(json) {
|
|
@@ -15,6 +16,8 @@ function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
15
16
|
return {
|
|
16
17
|
'exportId': json['exportId'],
|
|
17
18
|
'addressType': !runtime.exists(json, 'addressType') ? undefined : json['addressType'],
|
|
19
|
+
'proposalId': !runtime.exists(json, 'proposalId') ? undefined : json['proposalId'],
|
|
20
|
+
'approvalQuorum': !runtime.exists(json, 'approvalQuorum') ? undefined : WaasExportApprovalQuorum.WaasExportApprovalQuorumFromJSON(json['approvalQuorum']),
|
|
18
21
|
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
19
22
|
};
|
|
20
23
|
}
|
|
@@ -28,6 +31,8 @@ function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
|
28
31
|
return {
|
|
29
32
|
'exportId': value.exportId,
|
|
30
33
|
'addressType': value.addressType,
|
|
34
|
+
'proposalId': value.proposalId,
|
|
35
|
+
'approvalQuorum': WaasExportApprovalQuorum.WaasExportApprovalQuorumToJSON(value.approvalQuorum),
|
|
31
36
|
'shareSetId': value.shareSetId,
|
|
32
37
|
};
|
|
33
38
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { WaasExportApprovalQuorum } from './WaasExportApprovalQuorum';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,18 @@ export interface ExportWaasWalletPrivateKeyRequest {
|
|
|
27
28
|
* @memberof ExportWaasWalletPrivateKeyRequest
|
|
28
29
|
*/
|
|
29
30
|
addressType?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The approved export proposal being redeemed. Required when the wallet's policy requires approvals to export; the export call returns it once the proposal is open.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ExportWaasWalletPrivateKeyRequest
|
|
35
|
+
*/
|
|
36
|
+
proposalId?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {WaasExportApprovalQuorum}
|
|
40
|
+
* @memberof ExportWaasWalletPrivateKeyRequest
|
|
41
|
+
*/
|
|
42
|
+
approvalQuorum?: WaasExportApprovalQuorum;
|
|
30
43
|
/**
|
|
31
44
|
* Optional identifier of the share set this operation targets. When
|
|
32
45
|
* omitted, the active rootUser share set for `walletId` is resolved
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasExportApprovalQuorumFromJSON, WaasExportApprovalQuorumToJSON } from './WaasExportApprovalQuorum.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function ExportWaasWalletPrivateKeyRequestFromJSON(json) {
|
|
@@ -11,6 +12,8 @@ function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
11
12
|
return {
|
|
12
13
|
'exportId': json['exportId'],
|
|
13
14
|
'addressType': !exists(json, 'addressType') ? undefined : json['addressType'],
|
|
15
|
+
'proposalId': !exists(json, 'proposalId') ? undefined : json['proposalId'],
|
|
16
|
+
'approvalQuorum': !exists(json, 'approvalQuorum') ? undefined : WaasExportApprovalQuorumFromJSON(json['approvalQuorum']),
|
|
14
17
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
15
18
|
};
|
|
16
19
|
}
|
|
@@ -24,6 +27,8 @@ function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
|
24
27
|
return {
|
|
25
28
|
'exportId': value.exportId,
|
|
26
29
|
'addressType': value.addressType,
|
|
30
|
+
'proposalId': value.proposalId,
|
|
31
|
+
'approvalQuorum': WaasExportApprovalQuorumToJSON(value.approvalQuorum),
|
|
27
32
|
'shareSetId': value.shareSetId,
|
|
28
33
|
};
|
|
29
34
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var WaasExportIntent = require('./WaasExportIntent.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasExportApprovalQuorumFromJSON(json) {
|
|
9
|
+
return WaasExportApprovalQuorumFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasExportApprovalQuorumFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'intent': WaasExportIntent.WaasExportIntentFromJSON(json['intent']),
|
|
17
|
+
'intentSignature': json['intentSignature'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasExportApprovalQuorumToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'intent': WaasExportIntent.WaasExportIntentToJSON(value.intent),
|
|
29
|
+
'intentSignature': value.intentSignature,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.WaasExportApprovalQuorumFromJSON = WaasExportApprovalQuorumFromJSON;
|
|
34
|
+
exports.WaasExportApprovalQuorumFromJSONTyped = WaasExportApprovalQuorumFromJSONTyped;
|
|
35
|
+
exports.WaasExportApprovalQuorumToJSON = WaasExportApprovalQuorumToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { WaasExportIntent } from './WaasExportIntent';
|
|
13
|
+
/**
|
|
14
|
+
* The initiator's signed export Intent, sent with the export call. When the wallet's policy needs approvals, the call answers with a proposal to approve instead of starting the export.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasExportApprovalQuorum
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasExportApprovalQuorum {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {WaasExportIntent}
|
|
22
|
+
* @memberof WaasExportApprovalQuorum
|
|
23
|
+
*/
|
|
24
|
+
intent: WaasExportIntent;
|
|
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 WaasExportApprovalQuorum
|
|
30
|
+
*/
|
|
31
|
+
intentSignature: string;
|
|
32
|
+
}
|
|
33
|
+
export declare function WaasExportApprovalQuorumFromJSON(json: any): WaasExportApprovalQuorum;
|
|
34
|
+
export declare function WaasExportApprovalQuorumFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasExportApprovalQuorum;
|
|
35
|
+
export declare function WaasExportApprovalQuorumToJSON(value?: WaasExportApprovalQuorum | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { WaasExportIntentFromJSON, WaasExportIntentToJSON } from './WaasExportIntent.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasExportApprovalQuorumFromJSON(json) {
|
|
5
|
+
return WaasExportApprovalQuorumFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasExportApprovalQuorumFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'intent': WaasExportIntentFromJSON(json['intent']),
|
|
13
|
+
'intentSignature': json['intentSignature'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasExportApprovalQuorumToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'intent': WaasExportIntentToJSON(value.intent),
|
|
25
|
+
'intentSignature': value.intentSignature,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { WaasExportApprovalQuorumFromJSON, WaasExportApprovalQuorumFromJSONTyped, WaasExportApprovalQuorumToJSON };
|
|
@@ -0,0 +1,67 @@
|
|
|
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.WaasExportIntentActionTypeEnum = void 0;
|
|
23
|
+
(function (WaasExportIntentActionTypeEnum) {
|
|
24
|
+
WaasExportIntentActionTypeEnum["WaasExportQuorumApprove"] = "waasExportQuorumApprove";
|
|
25
|
+
})(exports.WaasExportIntentActionTypeEnum || (exports.WaasExportIntentActionTypeEnum = {}));
|
|
26
|
+
function WaasExportIntentFromJSON(json) {
|
|
27
|
+
return WaasExportIntentFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function WaasExportIntentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
...json,
|
|
35
|
+
'intentId': json['intentId'],
|
|
36
|
+
'businessAccountId': json['businessAccountId'],
|
|
37
|
+
'accountAddress': json['accountAddress'],
|
|
38
|
+
'actionType': json['actionType'],
|
|
39
|
+
'initiatorUserId': json['initiatorUserId'],
|
|
40
|
+
'createdAt': json['createdAt'],
|
|
41
|
+
'completeBy': json['completeBy'],
|
|
42
|
+
'operation': json['operation'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function WaasExportIntentToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
...value,
|
|
54
|
+
'intentId': value.intentId,
|
|
55
|
+
'businessAccountId': value.businessAccountId,
|
|
56
|
+
'accountAddress': value.accountAddress,
|
|
57
|
+
'actionType': value.actionType,
|
|
58
|
+
'initiatorUserId': value.initiatorUserId,
|
|
59
|
+
'createdAt': value.createdAt,
|
|
60
|
+
'completeBy': value.completeBy,
|
|
61
|
+
'operation': value.operation,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
exports.WaasExportIntentFromJSON = WaasExportIntentFromJSON;
|
|
66
|
+
exports.WaasExportIntentFromJSONTyped = WaasExportIntentFromJSONTyped;
|
|
67
|
+
exports.WaasExportIntentToJSON = WaasExportIntentToJSON;
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
* The client-created export Intent. The enclave checks it against the export request.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasExportIntent
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasExportIntent {
|
|
18
|
+
[key: string]: object | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasExportIntent
|
|
23
|
+
*/
|
|
24
|
+
intentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WaasExportIntent
|
|
29
|
+
*/
|
|
30
|
+
businessAccountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WaasExportIntent
|
|
35
|
+
*/
|
|
36
|
+
accountAddress: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof WaasExportIntent
|
|
41
|
+
*/
|
|
42
|
+
actionType: WaasExportIntentActionTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof WaasExportIntent
|
|
47
|
+
*/
|
|
48
|
+
initiatorUserId: string;
|
|
49
|
+
/**
|
|
50
|
+
* Signed timestamp preserved as an ISO string.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof WaasExportIntent
|
|
53
|
+
*/
|
|
54
|
+
createdAt: string;
|
|
55
|
+
/**
|
|
56
|
+
* Signed deadline preserved as an ISO string.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof WaasExportIntent
|
|
59
|
+
*/
|
|
60
|
+
completeBy: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {{ [key: string]: object; }}
|
|
64
|
+
* @memberof WaasExportIntent
|
|
65
|
+
*/
|
|
66
|
+
operation: {
|
|
67
|
+
[key: string]: object;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
* @enum {string}
|
|
73
|
+
*/
|
|
74
|
+
export declare enum WaasExportIntentActionTypeEnum {
|
|
75
|
+
WaasExportQuorumApprove = "waasExportQuorumApprove"
|
|
76
|
+
}
|
|
77
|
+
export declare function WaasExportIntentFromJSON(json: any): WaasExportIntent;
|
|
78
|
+
export declare function WaasExportIntentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasExportIntent;
|
|
79
|
+
export declare function WaasExportIntentToJSON(value?: WaasExportIntent | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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 WaasExportIntentActionTypeEnum;
|
|
19
|
+
(function (WaasExportIntentActionTypeEnum) {
|
|
20
|
+
WaasExportIntentActionTypeEnum["WaasExportQuorumApprove"] = "waasExportQuorumApprove";
|
|
21
|
+
})(WaasExportIntentActionTypeEnum || (WaasExportIntentActionTypeEnum = {}));
|
|
22
|
+
function WaasExportIntentFromJSON(json) {
|
|
23
|
+
return WaasExportIntentFromJSONTyped(json);
|
|
24
|
+
}
|
|
25
|
+
function WaasExportIntentFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
...json,
|
|
31
|
+
'intentId': json['intentId'],
|
|
32
|
+
'businessAccountId': json['businessAccountId'],
|
|
33
|
+
'accountAddress': json['accountAddress'],
|
|
34
|
+
'actionType': json['actionType'],
|
|
35
|
+
'initiatorUserId': json['initiatorUserId'],
|
|
36
|
+
'createdAt': json['createdAt'],
|
|
37
|
+
'completeBy': json['completeBy'],
|
|
38
|
+
'operation': json['operation'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function WaasExportIntentToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
...value,
|
|
50
|
+
'intentId': value.intentId,
|
|
51
|
+
'businessAccountId': value.businessAccountId,
|
|
52
|
+
'accountAddress': value.accountAddress,
|
|
53
|
+
'actionType': value.actionType,
|
|
54
|
+
'initiatorUserId': value.initiatorUserId,
|
|
55
|
+
'createdAt': value.createdAt,
|
|
56
|
+
'completeBy': value.completeBy,
|
|
57
|
+
'operation': value.operation,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { WaasExportIntentActionTypeEnum, WaasExportIntentFromJSON, WaasExportIntentFromJSONTyped, WaasExportIntentToJSON };
|