@dynamic-labs/sdk-api-core 0.0.572 → 0.0.574
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +130 -0
- package/src/apis/SDKApi.d.ts +49 -1
- package/src/apis/SDKApi.js +130 -0
- package/src/index.cjs +28 -0
- package/src/index.js +6 -0
- package/src/models/SimulateUserOpRequest.cjs +41 -0
- package/src/models/SimulateUserOpRequest.d.ts +51 -0
- package/src/models/SimulateUserOpRequest.js +35 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/UserFieldsCheckEnum.cjs +41 -0
- package/src/models/UserFieldsCheckEnum.d.ts +24 -0
- package/src/models/UserFieldsCheckEnum.js +35 -0
- package/src/models/UserFieldsCheckParams.cjs +35 -0
- package/src/models/UserFieldsCheckParams.d.ts +34 -0
- package/src/models/UserFieldsCheckParams.js +29 -0
- package/src/models/UserFieldsCheckResponse.cjs +47 -0
- package/src/models/UserFieldsCheckResponse.d.ts +39 -0
- package/src/models/UserFieldsCheckResponse.js +41 -0
- package/src/models/V6UserOp.cjs +61 -0
- package/src/models/V6UserOp.d.ts +81 -0
- package/src/models/V6UserOp.js +55 -0
- package/src/models/V7UserOp.cjs +59 -0
- package/src/models/V7UserOp.d.ts +75 -0
- package/src/models/V7UserOp.js +53 -0
- package/src/models/index.d.ts +6 -0
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
function V7UserOpFromJSON(json) {
|
|
15
|
+
return V7UserOpFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function V7UserOpFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'sender': json['sender'],
|
|
23
|
+
'nonce': json['nonce'],
|
|
24
|
+
'initCode': json['initCode'],
|
|
25
|
+
'callData': json['callData'],
|
|
26
|
+
'accountGasLimits': json['accountGasLimits'],
|
|
27
|
+
'preVerificationGas': json['preVerificationGas'],
|
|
28
|
+
'gasFees': json['gasFees'],
|
|
29
|
+
'paymasterAndData': json['paymasterAndData'],
|
|
30
|
+
'signature': json['signature'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function V7UserOpToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'sender': value.sender,
|
|
42
|
+
'nonce': value.nonce,
|
|
43
|
+
'initCode': value.initCode,
|
|
44
|
+
'callData': value.callData,
|
|
45
|
+
'accountGasLimits': value.accountGasLimits,
|
|
46
|
+
'preVerificationGas': value.preVerificationGas,
|
|
47
|
+
'gasFees': value.gasFees,
|
|
48
|
+
'paymasterAndData': value.paymasterAndData,
|
|
49
|
+
'signature': value.signature,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { V7UserOpFromJSON, V7UserOpFromJSONTyped, V7UserOpToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -182,6 +182,7 @@ export * from './SignInProviderEnum';
|
|
|
182
182
|
export * from './SimulateEVMTransactionRequest';
|
|
183
183
|
export * from './SimulateSVMTransactionRequest';
|
|
184
184
|
export * from './SimulateTransactionResponse';
|
|
185
|
+
export * from './SimulateUserOpRequest';
|
|
185
186
|
export * from './SmartWalletProperties';
|
|
186
187
|
export * from './SmsCountryCode';
|
|
187
188
|
export * from './SmsVerificationCreateRequest';
|
|
@@ -218,11 +219,16 @@ export * from './UpdateSelfResponse';
|
|
|
218
219
|
export * from './UpdateSelfResponseAllOf';
|
|
219
220
|
export * from './UpdateUserPasskeyRequest';
|
|
220
221
|
export * from './UserFields';
|
|
222
|
+
export * from './UserFieldsCheckEnum';
|
|
223
|
+
export * from './UserFieldsCheckParams';
|
|
224
|
+
export * from './UserFieldsCheckResponse';
|
|
221
225
|
export * from './UserIdentifierTypeEnum';
|
|
222
226
|
export * from './UserOauthAccessTokenResponse';
|
|
223
227
|
export * from './UserPasskey';
|
|
224
228
|
export * from './UserVerificationRequirement';
|
|
225
229
|
export * from './UserWalletSelectionRequest';
|
|
230
|
+
export * from './V6UserOp';
|
|
231
|
+
export * from './V7UserOp';
|
|
226
232
|
export * from './VerifyRequest';
|
|
227
233
|
export * from './VerifyResponse';
|
|
228
234
|
export * from './VerifyUnlinkRequest';
|