@dynamic-labs/sdk-api 0.0.730 → 0.0.732
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/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/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/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/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/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/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/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/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/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/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/SettingsApi.cjs +2 -0
- package/src/apis/SettingsApi.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 +37 -0
- package/src/apis/WaasApi.d.ts +13 -1
- package/src/apis/WaasApi.js +37 -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/index.cjs +48 -0
- package/src/index.js +10 -0
- package/src/models/SignMessageWithWaasRequest.cjs +3 -0
- package/src/models/SignMessageWithWaasRequest.d.ts +7 -0
- package/src/models/SignMessageWithWaasRequest.js +3 -0
- package/src/models/SignMessageWithWaasRequestContext.cjs +37 -0
- package/src/models/SignMessageWithWaasRequestContext.d.ts +35 -0
- package/src/models/SignMessageWithWaasRequestContext.js +31 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.cjs +49 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.d.ts +75 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.js +43 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.cjs +63 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.d.ts +117 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.js +57 -0
- package/src/models/WaasPolicyArgumentConstraint.cjs +37 -0
- package/src/models/WaasPolicyArgumentConstraint.d.ts +40 -0
- package/src/models/WaasPolicyArgumentConstraint.js +31 -0
- package/src/models/WaasPolicyConstraintCondition.cjs +44 -0
- package/src/models/WaasPolicyConstraintCondition.d.ts +27 -0
- package/src/models/WaasPolicyConstraintCondition.js +38 -0
- package/src/models/WaasPolicyCreateRequest.cjs +38 -0
- package/src/models/WaasPolicyCreateRequest.d.ts +41 -0
- package/src/models/WaasPolicyCreateRequest.js +32 -0
- package/src/models/WaasPolicyResponse.cjs +33 -0
- package/src/models/WaasPolicyResponse.d.ts +27 -0
- package/src/models/WaasPolicyResponse.js +27 -0
- package/src/models/WaasPolicyRule.cjs +46 -0
- package/src/models/WaasPolicyRule.d.ts +60 -0
- package/src/models/WaasPolicyRule.js +40 -0
- package/src/models/WaasPolicyRuleType.cjs +40 -0
- package/src/models/WaasPolicyRuleType.d.ts +23 -0
- package/src/models/WaasPolicyRuleType.js +34 -0
- package/src/models/WaasPolicyRuleValueLimit.cjs +37 -0
- package/src/models/WaasPolicyRuleValueLimit.d.ts +39 -0
- package/src/models/WaasPolicyRuleValueLimit.js +31 -0
- package/src/models/index.d.ts +10 -0
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -79,6 +79,8 @@ require('../models/UserFieldsCheckEnum.cjs');
|
|
|
79
79
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
80
80
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
81
81
|
var VisitorsResponse = require('../models/VisitorsResponse.cjs');
|
|
82
|
+
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
83
|
+
require('../models/WaasPolicyRuleType.cjs');
|
|
82
84
|
|
|
83
85
|
/* tslint:disable */
|
|
84
86
|
/**
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -75,6 +75,8 @@ import '../models/UserFieldsCheckEnum.js';
|
|
|
75
75
|
import '../models/UserFilterableFieldsEnum.js';
|
|
76
76
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
77
77
|
import { VisitorsResponseFromJSON } from '../models/VisitorsResponse.js';
|
|
78
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
79
|
+
import '../models/WaasPolicyRuleType.js';
|
|
78
80
|
|
|
79
81
|
/* tslint:disable */
|
|
80
82
|
/**
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -81,6 +81,10 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
81
81
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
82
82
|
var WaasAuthenticateResponse = require('../models/WaasAuthenticateResponse.cjs');
|
|
83
83
|
var WaasDelegateSignMessageRequest = require('../models/WaasDelegateSignMessageRequest.cjs');
|
|
84
|
+
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
85
|
+
var WaasPolicyCreateRequest = require('../models/WaasPolicyCreateRequest.cjs');
|
|
86
|
+
var WaasPolicyResponse = require('../models/WaasPolicyResponse.cjs');
|
|
87
|
+
require('../models/WaasPolicyRuleType.cjs');
|
|
84
88
|
|
|
85
89
|
/* tslint:disable */
|
|
86
90
|
/**
|
|
@@ -122,6 +126,39 @@ class WaasApi extends runtime.BaseAPI {
|
|
|
122
126
|
return yield response.value();
|
|
123
127
|
});
|
|
124
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Create a new WAAS policy for an environment
|
|
131
|
+
*/
|
|
132
|
+
createWaasPolicyRaw(requestParameters, initOverrides) {
|
|
133
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
135
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createWaasPolicy.');
|
|
136
|
+
}
|
|
137
|
+
if (requestParameters.waasPolicyCreateRequest === null || requestParameters.waasPolicyCreateRequest === undefined) {
|
|
138
|
+
throw new runtime.RequiredError('waasPolicyCreateRequest', 'Required parameter requestParameters.waasPolicyCreateRequest was null or undefined when calling createWaasPolicy.');
|
|
139
|
+
}
|
|
140
|
+
const queryParameters = {};
|
|
141
|
+
const headerParameters = {};
|
|
142
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
143
|
+
const response = yield this.request({
|
|
144
|
+
path: `/environments/{environmentId}/waas/policies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
145
|
+
method: 'POST',
|
|
146
|
+
headers: headerParameters,
|
|
147
|
+
query: queryParameters,
|
|
148
|
+
body: WaasPolicyCreateRequest.WaasPolicyCreateRequestToJSON(requestParameters.waasPolicyCreateRequest),
|
|
149
|
+
}, initOverrides);
|
|
150
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyResponse.WaasPolicyResponseFromJSON(jsonValue));
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Create a new WAAS policy for an environment
|
|
155
|
+
*/
|
|
156
|
+
createWaasPolicy(requestParameters, initOverrides) {
|
|
157
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
const response = yield this.createWaasPolicyRaw(requestParameters, initOverrides);
|
|
159
|
+
return yield response.value();
|
|
160
|
+
});
|
|
161
|
+
}
|
|
125
162
|
/**
|
|
126
163
|
* Sign a message with a delegated waas account
|
|
127
164
|
*/
|
package/src/apis/WaasApi.d.ts
CHANGED
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { OpenRoomResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest } from '../models';
|
|
13
|
+
import { OpenRoomResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasPolicyCreateRequest, WaasPolicyResponse } from '../models';
|
|
14
14
|
export interface AuthenticateWaasRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
}
|
|
17
|
+
export interface CreateWaasPolicyRequest {
|
|
18
|
+
environmentId: string;
|
|
19
|
+
waasPolicyCreateRequest: WaasPolicyCreateRequest;
|
|
20
|
+
}
|
|
17
21
|
export interface DelegatedSignMessageRequest {
|
|
18
22
|
environmentId: string;
|
|
19
23
|
walletId: string;
|
|
@@ -31,6 +35,14 @@ export declare class WaasApi extends runtime.BaseAPI {
|
|
|
31
35
|
* Authenticate for WAAS using api key
|
|
32
36
|
*/
|
|
33
37
|
authenticateWaas(requestParameters: AuthenticateWaasRequest, initOverrides?: RequestInit): Promise<WaasAuthenticateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a new WAAS policy for an environment
|
|
40
|
+
*/
|
|
41
|
+
createWaasPolicyRaw(requestParameters: CreateWaasPolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyResponse>>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a new WAAS policy for an environment
|
|
44
|
+
*/
|
|
45
|
+
createWaasPolicy(requestParameters: CreateWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
|
|
34
46
|
/**
|
|
35
47
|
* Sign a message with a delegated waas account
|
|
36
48
|
*/
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -77,6 +77,10 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
77
77
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
78
78
|
import { WaasAuthenticateResponseFromJSON } from '../models/WaasAuthenticateResponse.js';
|
|
79
79
|
import { WaasDelegateSignMessageRequestToJSON } from '../models/WaasDelegateSignMessageRequest.js';
|
|
80
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
81
|
+
import { WaasPolicyCreateRequestToJSON } from '../models/WaasPolicyCreateRequest.js';
|
|
82
|
+
import { WaasPolicyResponseFromJSON } from '../models/WaasPolicyResponse.js';
|
|
83
|
+
import '../models/WaasPolicyRuleType.js';
|
|
80
84
|
|
|
81
85
|
/* tslint:disable */
|
|
82
86
|
/**
|
|
@@ -118,6 +122,39 @@ class WaasApi extends BaseAPI {
|
|
|
118
122
|
return yield response.value();
|
|
119
123
|
});
|
|
120
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Create a new WAAS policy for an environment
|
|
127
|
+
*/
|
|
128
|
+
createWaasPolicyRaw(requestParameters, initOverrides) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
131
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createWaasPolicy.');
|
|
132
|
+
}
|
|
133
|
+
if (requestParameters.waasPolicyCreateRequest === null || requestParameters.waasPolicyCreateRequest === undefined) {
|
|
134
|
+
throw new RequiredError('waasPolicyCreateRequest', 'Required parameter requestParameters.waasPolicyCreateRequest was null or undefined when calling createWaasPolicy.');
|
|
135
|
+
}
|
|
136
|
+
const queryParameters = {};
|
|
137
|
+
const headerParameters = {};
|
|
138
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
139
|
+
const response = yield this.request({
|
|
140
|
+
path: `/environments/{environmentId}/waas/policies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
141
|
+
method: 'POST',
|
|
142
|
+
headers: headerParameters,
|
|
143
|
+
query: queryParameters,
|
|
144
|
+
body: WaasPolicyCreateRequestToJSON(requestParameters.waasPolicyCreateRequest),
|
|
145
|
+
}, initOverrides);
|
|
146
|
+
return new JSONApiResponse(response, (jsonValue) => WaasPolicyResponseFromJSON(jsonValue));
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Create a new WAAS policy for an environment
|
|
151
|
+
*/
|
|
152
|
+
createWaasPolicy(requestParameters, initOverrides) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const response = yield this.createWaasPolicyRaw(requestParameters, initOverrides);
|
|
155
|
+
return yield response.value();
|
|
156
|
+
});
|
|
157
|
+
}
|
|
121
158
|
/**
|
|
122
159
|
* Sign a message with a delegated waas account
|
|
123
160
|
*/
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -84,6 +84,8 @@ require('../models/UserIdentifierTypeEnum.cjs');
|
|
|
84
84
|
var UserResponse = require('../models/UserResponse.cjs');
|
|
85
85
|
var UserWalletsResponse = require('../models/UserWalletsResponse.cjs');
|
|
86
86
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
87
|
+
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
88
|
+
require('../models/WaasPolicyRuleType.cjs');
|
|
87
89
|
|
|
88
90
|
/* tslint:disable */
|
|
89
91
|
/**
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -80,6 +80,8 @@ import '../models/UserIdentifierTypeEnum.js';
|
|
|
80
80
|
import { UserResponseFromJSON } from '../models/UserResponse.js';
|
|
81
81
|
import { UserWalletsResponseFromJSON } from '../models/UserWalletsResponse.js';
|
|
82
82
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
83
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
84
|
+
import '../models/WaasPolicyRuleType.js';
|
|
83
85
|
|
|
84
86
|
/* tslint:disable */
|
|
85
87
|
/**
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -78,6 +78,8 @@ require('../models/SubscriptionFreeScopeEnum.cjs');
|
|
|
78
78
|
require('../models/UserFieldsCheckEnum.cjs');
|
|
79
79
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
80
80
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
81
|
+
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
82
|
+
require('../models/WaasPolicyRuleType.cjs');
|
|
81
83
|
var Webhook = require('../models/Webhook.cjs');
|
|
82
84
|
var WebhookCreateRequest = require('../models/WebhookCreateRequest.cjs');
|
|
83
85
|
var WebhookMessageRedeliveryResponse = require('../models/WebhookMessageRedeliveryResponse.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -74,6 +74,8 @@ import '../models/SubscriptionFreeScopeEnum.js';
|
|
|
74
74
|
import '../models/UserFieldsCheckEnum.js';
|
|
75
75
|
import '../models/UserFilterableFieldsEnum.js';
|
|
76
76
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
77
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
78
|
+
import '../models/WaasPolicyRuleType.js';
|
|
77
79
|
import { WebhookFromJSON } from '../models/Webhook.js';
|
|
78
80
|
import { WebhookCreateRequestToJSON } from '../models/WebhookCreateRequest.js';
|
|
79
81
|
import { WebhookMessageRedeliveryResponseFromJSON } from '../models/WebhookMessageRedeliveryResponse.js';
|
package/src/index.cjs
CHANGED
|
@@ -422,6 +422,9 @@ var SessionsHeatmapResult = require('./models/SessionsHeatmapResult.cjs');
|
|
|
422
422
|
var SessionsTrendResult = require('./models/SessionsTrendResult.cjs');
|
|
423
423
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
424
424
|
var SignMessageWithWaasRequest = require('./models/SignMessageWithWaasRequest.cjs');
|
|
425
|
+
var SignMessageWithWaasRequestContext = require('./models/SignMessageWithWaasRequestContext.cjs');
|
|
426
|
+
var SignMessageWithWaasRequestContextTransaction = require('./models/SignMessageWithWaasRequestContextTransaction.cjs');
|
|
427
|
+
var SignMessageWithWaasRequestContextUserOperation = require('./models/SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
425
428
|
var SignTransactionWithWaasRequest = require('./models/SignTransactionWithWaasRequest.cjs');
|
|
426
429
|
var SimulateEVMTransactionRequest = require('./models/SimulateEVMTransactionRequest.cjs');
|
|
427
430
|
var SimulateSVMTransactionRequest = require('./models/SimulateSVMTransactionRequest.cjs');
|
|
@@ -507,6 +510,13 @@ var WaasAuthenticateResponseEncodedJwts = require('./models/WaasAuthenticateResp
|
|
|
507
510
|
var WaasBackupOptionsEnum = require('./models/WaasBackupOptionsEnum.cjs');
|
|
508
511
|
var WaasChainEnum = require('./models/WaasChainEnum.cjs');
|
|
509
512
|
var WaasDelegateSignMessageRequest = require('./models/WaasDelegateSignMessageRequest.cjs');
|
|
513
|
+
var WaasPolicyArgumentConstraint = require('./models/WaasPolicyArgumentConstraint.cjs');
|
|
514
|
+
var WaasPolicyConstraintCondition = require('./models/WaasPolicyConstraintCondition.cjs');
|
|
515
|
+
var WaasPolicyCreateRequest = require('./models/WaasPolicyCreateRequest.cjs');
|
|
516
|
+
var WaasPolicyResponse = require('./models/WaasPolicyResponse.cjs');
|
|
517
|
+
var WaasPolicyRule = require('./models/WaasPolicyRule.cjs');
|
|
518
|
+
var WaasPolicyRuleType = require('./models/WaasPolicyRuleType.cjs');
|
|
519
|
+
var WaasPolicyRuleValueLimit = require('./models/WaasPolicyRuleValueLimit.cjs');
|
|
510
520
|
var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
|
|
511
521
|
var Wallet = require('./models/Wallet.cjs');
|
|
512
522
|
var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
|
|
@@ -1961,6 +1971,15 @@ exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
|
1961
1971
|
exports.SignMessageWithWaasRequestFromJSON = SignMessageWithWaasRequest.SignMessageWithWaasRequestFromJSON;
|
|
1962
1972
|
exports.SignMessageWithWaasRequestFromJSONTyped = SignMessageWithWaasRequest.SignMessageWithWaasRequestFromJSONTyped;
|
|
1963
1973
|
exports.SignMessageWithWaasRequestToJSON = SignMessageWithWaasRequest.SignMessageWithWaasRequestToJSON;
|
|
1974
|
+
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSON;
|
|
1975
|
+
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSONTyped;
|
|
1976
|
+
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextToJSON;
|
|
1977
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSON = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON;
|
|
1978
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSONTyped = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSONTyped;
|
|
1979
|
+
exports.SignMessageWithWaasRequestContextTransactionToJSON = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON;
|
|
1980
|
+
exports.SignMessageWithWaasRequestContextUserOperationFromJSON = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON;
|
|
1981
|
+
exports.SignMessageWithWaasRequestContextUserOperationFromJSONTyped = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSONTyped;
|
|
1982
|
+
exports.SignMessageWithWaasRequestContextUserOperationToJSON = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON;
|
|
1964
1983
|
exports.SignTransactionWithWaasRequestFromJSON = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestFromJSON;
|
|
1965
1984
|
exports.SignTransactionWithWaasRequestFromJSONTyped = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestFromJSONTyped;
|
|
1966
1985
|
exports.SignTransactionWithWaasRequestToJSON = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestToJSON;
|
|
@@ -2268,6 +2287,35 @@ exports.WaasChainEnumToJSON = WaasChainEnum.WaasChainEnumToJSON;
|
|
|
2268
2287
|
exports.WaasDelegateSignMessageRequestFromJSON = WaasDelegateSignMessageRequest.WaasDelegateSignMessageRequestFromJSON;
|
|
2269
2288
|
exports.WaasDelegateSignMessageRequestFromJSONTyped = WaasDelegateSignMessageRequest.WaasDelegateSignMessageRequestFromJSONTyped;
|
|
2270
2289
|
exports.WaasDelegateSignMessageRequestToJSON = WaasDelegateSignMessageRequest.WaasDelegateSignMessageRequestToJSON;
|
|
2290
|
+
exports.WaasPolicyArgumentConstraintFromJSON = WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON;
|
|
2291
|
+
exports.WaasPolicyArgumentConstraintFromJSONTyped = WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSONTyped;
|
|
2292
|
+
exports.WaasPolicyArgumentConstraintToJSON = WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON;
|
|
2293
|
+
Object.defineProperty(exports, 'WaasPolicyConstraintCondition', {
|
|
2294
|
+
enumerable: true,
|
|
2295
|
+
get: function () { return WaasPolicyConstraintCondition.WaasPolicyConstraintCondition; }
|
|
2296
|
+
});
|
|
2297
|
+
exports.WaasPolicyConstraintConditionFromJSON = WaasPolicyConstraintCondition.WaasPolicyConstraintConditionFromJSON;
|
|
2298
|
+
exports.WaasPolicyConstraintConditionFromJSONTyped = WaasPolicyConstraintCondition.WaasPolicyConstraintConditionFromJSONTyped;
|
|
2299
|
+
exports.WaasPolicyConstraintConditionToJSON = WaasPolicyConstraintCondition.WaasPolicyConstraintConditionToJSON;
|
|
2300
|
+
exports.WaasPolicyCreateRequestFromJSON = WaasPolicyCreateRequest.WaasPolicyCreateRequestFromJSON;
|
|
2301
|
+
exports.WaasPolicyCreateRequestFromJSONTyped = WaasPolicyCreateRequest.WaasPolicyCreateRequestFromJSONTyped;
|
|
2302
|
+
exports.WaasPolicyCreateRequestToJSON = WaasPolicyCreateRequest.WaasPolicyCreateRequestToJSON;
|
|
2303
|
+
exports.WaasPolicyResponseFromJSON = WaasPolicyResponse.WaasPolicyResponseFromJSON;
|
|
2304
|
+
exports.WaasPolicyResponseFromJSONTyped = WaasPolicyResponse.WaasPolicyResponseFromJSONTyped;
|
|
2305
|
+
exports.WaasPolicyResponseToJSON = WaasPolicyResponse.WaasPolicyResponseToJSON;
|
|
2306
|
+
exports.WaasPolicyRuleFromJSON = WaasPolicyRule.WaasPolicyRuleFromJSON;
|
|
2307
|
+
exports.WaasPolicyRuleFromJSONTyped = WaasPolicyRule.WaasPolicyRuleFromJSONTyped;
|
|
2308
|
+
exports.WaasPolicyRuleToJSON = WaasPolicyRule.WaasPolicyRuleToJSON;
|
|
2309
|
+
Object.defineProperty(exports, 'WaasPolicyRuleType', {
|
|
2310
|
+
enumerable: true,
|
|
2311
|
+
get: function () { return WaasPolicyRuleType.WaasPolicyRuleType; }
|
|
2312
|
+
});
|
|
2313
|
+
exports.WaasPolicyRuleTypeFromJSON = WaasPolicyRuleType.WaasPolicyRuleTypeFromJSON;
|
|
2314
|
+
exports.WaasPolicyRuleTypeFromJSONTyped = WaasPolicyRuleType.WaasPolicyRuleTypeFromJSONTyped;
|
|
2315
|
+
exports.WaasPolicyRuleTypeToJSON = WaasPolicyRuleType.WaasPolicyRuleTypeToJSON;
|
|
2316
|
+
exports.WaasPolicyRuleValueLimitFromJSON = WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON;
|
|
2317
|
+
exports.WaasPolicyRuleValueLimitFromJSONTyped = WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSONTyped;
|
|
2318
|
+
exports.WaasPolicyRuleValueLimitToJSON = WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON;
|
|
2271
2319
|
exports.WaasWalletPropertiesFromJSON = WaasWalletProperties.WaasWalletPropertiesFromJSON;
|
|
2272
2320
|
exports.WaasWalletPropertiesFromJSONTyped = WaasWalletProperties.WaasWalletPropertiesFromJSONTyped;
|
|
2273
2321
|
exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesToJSON;
|
package/src/index.js
CHANGED
|
@@ -418,6 +418,9 @@ export { SessionsHeatmapResultFromJSON, SessionsHeatmapResultFromJSONTyped, Sess
|
|
|
418
418
|
export { SessionsTrendResultFromJSON, SessionsTrendResultFromJSONTyped, SessionsTrendResultToJSON } from './models/SessionsTrendResult.js';
|
|
419
419
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
420
420
|
export { SignMessageWithWaasRequestFromJSON, SignMessageWithWaasRequestFromJSONTyped, SignMessageWithWaasRequestToJSON } from './models/SignMessageWithWaasRequest.js';
|
|
421
|
+
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON } from './models/SignMessageWithWaasRequestContext.js';
|
|
422
|
+
export { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionFromJSONTyped, SignMessageWithWaasRequestContextTransactionToJSON } from './models/SignMessageWithWaasRequestContextTransaction.js';
|
|
423
|
+
export { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationFromJSONTyped, SignMessageWithWaasRequestContextUserOperationToJSON } from './models/SignMessageWithWaasRequestContextUserOperation.js';
|
|
421
424
|
export { SignTransactionWithWaasRequestFromJSON, SignTransactionWithWaasRequestFromJSONTyped, SignTransactionWithWaasRequestToJSON } from './models/SignTransactionWithWaasRequest.js';
|
|
422
425
|
export { SimulateEVMTransactionRequestFromJSON, SimulateEVMTransactionRequestFromJSONTyped, SimulateEVMTransactionRequestToJSON } from './models/SimulateEVMTransactionRequest.js';
|
|
423
426
|
export { SimulateSVMTransactionRequestFromJSON, SimulateSVMTransactionRequestFromJSONTyped, SimulateSVMTransactionRequestToJSON } from './models/SimulateSVMTransactionRequest.js';
|
|
@@ -503,6 +506,13 @@ export { WaasAuthenticateResponseEncodedJwtsFromJSON, WaasAuthenticateResponseEn
|
|
|
503
506
|
export { WaasBackupOptionsEnum, WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumFromJSONTyped, WaasBackupOptionsEnumToJSON } from './models/WaasBackupOptionsEnum.js';
|
|
504
507
|
export { WaasChainEnum, WaasChainEnumFromJSON, WaasChainEnumFromJSONTyped, WaasChainEnumToJSON } from './models/WaasChainEnum.js';
|
|
505
508
|
export { WaasDelegateSignMessageRequestFromJSON, WaasDelegateSignMessageRequestFromJSONTyped, WaasDelegateSignMessageRequestToJSON } from './models/WaasDelegateSignMessageRequest.js';
|
|
509
|
+
export { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintFromJSONTyped, WaasPolicyArgumentConstraintToJSON } from './models/WaasPolicyArgumentConstraint.js';
|
|
510
|
+
export { WaasPolicyConstraintCondition, WaasPolicyConstraintConditionFromJSON, WaasPolicyConstraintConditionFromJSONTyped, WaasPolicyConstraintConditionToJSON } from './models/WaasPolicyConstraintCondition.js';
|
|
511
|
+
export { WaasPolicyCreateRequestFromJSON, WaasPolicyCreateRequestFromJSONTyped, WaasPolicyCreateRequestToJSON } from './models/WaasPolicyCreateRequest.js';
|
|
512
|
+
export { WaasPolicyResponseFromJSON, WaasPolicyResponseFromJSONTyped, WaasPolicyResponseToJSON } from './models/WaasPolicyResponse.js';
|
|
513
|
+
export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJSON } from './models/WaasPolicyRule.js';
|
|
514
|
+
export { WaasPolicyRuleType, WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeFromJSONTyped, WaasPolicyRuleTypeToJSON } from './models/WaasPolicyRuleType.js';
|
|
515
|
+
export { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitFromJSONTyped, WaasPolicyRuleValueLimitToJSON } from './models/WaasPolicyRuleValueLimit.js';
|
|
506
516
|
export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
|
|
507
517
|
export { WalletFromJSON, WalletFromJSONTyped, WalletToJSON } from './models/Wallet.js';
|
|
508
518
|
export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageWithWaasRequestContext = require('./SignMessageWithWaasRequestContext.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -16,6 +17,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
'message': json['message'],
|
|
17
18
|
'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
18
19
|
'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
|
|
20
|
+
'context': !runtime.exists(json, 'context') ? undefined : SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSON(json['context']),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -29,6 +31,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
29
31
|
'message': value.message,
|
|
30
32
|
'isFormatted': value.isFormatted,
|
|
31
33
|
'roomId': value.roomId,
|
|
34
|
+
'context': SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextToJSON(value.context),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SignMessageWithWaasRequestContext } from './SignMessageWithWaasRequestContext';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface SignMessageWithWaasRequest {
|
|
|
33
34
|
* @memberof SignMessageWithWaasRequest
|
|
34
35
|
*/
|
|
35
36
|
roomId?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SignMessageWithWaasRequestContext}
|
|
40
|
+
* @memberof SignMessageWithWaasRequest
|
|
41
|
+
*/
|
|
42
|
+
context?: SignMessageWithWaasRequestContext;
|
|
36
43
|
}
|
|
37
44
|
export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
|
|
38
45
|
export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextToJSON } from './SignMessageWithWaasRequestContext.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
'message': json['message'],
|
|
13
14
|
'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
14
15
|
'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
|
|
16
|
+
'context': !exists(json, 'context') ? undefined : SignMessageWithWaasRequestContextFromJSON(json['context']),
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -25,6 +27,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
25
27
|
'message': value.message,
|
|
26
28
|
'isFormatted': value.isFormatted,
|
|
27
29
|
'roomId': value.roomId,
|
|
30
|
+
'context': SignMessageWithWaasRequestContextToJSON(value.context),
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageWithWaasRequestContextTransaction = require('./SignMessageWithWaasRequestContextTransaction.cjs');
|
|
7
|
+
var SignMessageWithWaasRequestContextUserOperation = require('./SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
11
|
+
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'transaction': !runtime.exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
19
|
+
'userOperation': !runtime.exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'transaction': SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
31
|
+
'userOperation': SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContextFromJSON;
|
|
36
|
+
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContextFromJSONTyped;
|
|
37
|
+
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContextToJSON;
|
|
@@ -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 { SignMessageWithWaasRequestContextTransaction } from './SignMessageWithWaasRequestContextTransaction';
|
|
13
|
+
import { SignMessageWithWaasRequestContextUserOperation } from './SignMessageWithWaasRequestContextUserOperation';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SignMessageWithWaasRequestContext
|
|
18
|
+
*/
|
|
19
|
+
export interface SignMessageWithWaasRequestContext {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SignMessageWithWaasRequestContextTransaction}
|
|
23
|
+
* @memberof SignMessageWithWaasRequestContext
|
|
24
|
+
*/
|
|
25
|
+
transaction?: SignMessageWithWaasRequestContextTransaction;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SignMessageWithWaasRequestContextUserOperation}
|
|
29
|
+
* @memberof SignMessageWithWaasRequestContext
|
|
30
|
+
*/
|
|
31
|
+
userOperation?: SignMessageWithWaasRequestContextUserOperation;
|
|
32
|
+
}
|
|
33
|
+
export declare function SignMessageWithWaasRequestContextFromJSON(json: any): SignMessageWithWaasRequestContext;
|
|
34
|
+
export declare function SignMessageWithWaasRequestContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContext;
|
|
35
|
+
export declare function SignMessageWithWaasRequestContextToJSON(value?: SignMessageWithWaasRequestContext | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionToJSON } from './SignMessageWithWaasRequestContextTransaction.js';
|
|
3
|
+
import { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationToJSON } from './SignMessageWithWaasRequestContextUserOperation.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
7
|
+
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'transaction': !exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
15
|
+
'userOperation': !exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'transaction': SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
27
|
+
'userOperation': SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SignMessageWithWaasRequestContextTransactionFromJSON(json) {
|
|
9
|
+
return SignMessageWithWaasRequestContextTransactionFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'to': !runtime.exists(json, 'to') ? undefined : json['to'],
|
|
17
|
+
'chain': !runtime.exists(json, 'chain') ? undefined : json['chain'],
|
|
18
|
+
'data': !runtime.exists(json, 'data') ? undefined : json['data'],
|
|
19
|
+
'gas': !runtime.exists(json, 'gas') ? undefined : json['gas'],
|
|
20
|
+
'gasPrice': !runtime.exists(json, 'gasPrice') ? undefined : json['gasPrice'],
|
|
21
|
+
'maxFeePerGas': !runtime.exists(json, 'maxFeePerGas') ? undefined : json['maxFeePerGas'],
|
|
22
|
+
'maxPriorityFeePerGas': !runtime.exists(json, 'maxPriorityFeePerGas') ? undefined : json['maxPriorityFeePerGas'],
|
|
23
|
+
'nonce': !runtime.exists(json, 'nonce') ? undefined : json['nonce'],
|
|
24
|
+
'value': !runtime.exists(json, 'value') ? undefined : json['value'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'to': value.to,
|
|
36
|
+
'chain': value.chain,
|
|
37
|
+
'data': value.data,
|
|
38
|
+
'gas': value.gas,
|
|
39
|
+
'gasPrice': value.gasPrice,
|
|
40
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
41
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
42
|
+
'nonce': value.nonce,
|
|
43
|
+
'value': value.value,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSON = SignMessageWithWaasRequestContextTransactionFromJSON;
|
|
48
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSONTyped = SignMessageWithWaasRequestContextTransactionFromJSONTyped;
|
|
49
|
+
exports.SignMessageWithWaasRequestContextTransactionToJSON = SignMessageWithWaasRequestContextTransactionToJSON;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 SignMessageWithWaasRequestContextTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageWithWaasRequestContextTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Recipient address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
22
|
+
*/
|
|
23
|
+
to?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Chain identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
28
|
+
*/
|
|
29
|
+
chain?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Transaction data as hex string
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
34
|
+
*/
|
|
35
|
+
data?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gas limit as hex string
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
40
|
+
*/
|
|
41
|
+
gas?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Gas price as hex string
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
46
|
+
*/
|
|
47
|
+
gasPrice?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum fee per gas as hex string
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
52
|
+
*/
|
|
53
|
+
maxFeePerGas?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Maximum priority fee per gas as hex string
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
58
|
+
*/
|
|
59
|
+
maxPriorityFeePerGas?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Transaction nonce
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
64
|
+
*/
|
|
65
|
+
nonce?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Transaction value as hex string
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
70
|
+
*/
|
|
71
|
+
value?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare function SignMessageWithWaasRequestContextTransactionFromJSON(json: any): SignMessageWithWaasRequestContextTransaction;
|
|
74
|
+
export declare function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContextTransaction;
|
|
75
|
+
export declare function SignMessageWithWaasRequestContextTransactionToJSON(value?: SignMessageWithWaasRequestContextTransaction | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SignMessageWithWaasRequestContextTransactionFromJSON(json) {
|
|
5
|
+
return SignMessageWithWaasRequestContextTransactionFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'to': !exists(json, 'to') ? undefined : json['to'],
|
|
13
|
+
'chain': !exists(json, 'chain') ? undefined : json['chain'],
|
|
14
|
+
'data': !exists(json, 'data') ? undefined : json['data'],
|
|
15
|
+
'gas': !exists(json, 'gas') ? undefined : json['gas'],
|
|
16
|
+
'gasPrice': !exists(json, 'gasPrice') ? undefined : json['gasPrice'],
|
|
17
|
+
'maxFeePerGas': !exists(json, 'maxFeePerGas') ? undefined : json['maxFeePerGas'],
|
|
18
|
+
'maxPriorityFeePerGas': !exists(json, 'maxPriorityFeePerGas') ? undefined : json['maxPriorityFeePerGas'],
|
|
19
|
+
'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
|
|
20
|
+
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'to': value.to,
|
|
32
|
+
'chain': value.chain,
|
|
33
|
+
'data': value.data,
|
|
34
|
+
'gas': value.gas,
|
|
35
|
+
'gasPrice': value.gasPrice,
|
|
36
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
37
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
38
|
+
'nonce': value.nonce,
|
|
39
|
+
'value': value.value,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionFromJSONTyped, SignMessageWithWaasRequestContextTransactionToJSON };
|