@compass-labs/api-sdk 2.2.112-rc.0 → 2.2.112-rc.1
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/dist/commonjs/models/components/createaccountrequest.d.ts +1 -0
- package/dist/commonjs/models/components/createaccountrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createaccountrequest.js +1 -0
- package/dist/commonjs/models/components/createaccountrequest.js.map +1 -1
- package/dist/commonjs/models/components/earnmanagerequest.d.ts +19 -3
- package/dist/commonjs/models/components/earnmanagerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/earnmanagerequest.js +15 -3
- package/dist/commonjs/models/components/earnmanagerequest.js.map +1 -1
- package/dist/commonjs/models/components/earnpositionsallresponse.d.ts +1 -1
- package/dist/commonjs/models/components/earnswaprequest.d.ts +20 -3
- package/dist/commonjs/models/components/earnswaprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/earnswaprequest.js +15 -3
- package/dist/commonjs/models/components/earnswaprequest.js.map +1 -1
- package/dist/commonjs/models/components/earntransferrequest.d.ts +19 -3
- package/dist/commonjs/models/components/earntransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/earntransferrequest.js +15 -3
- package/dist/commonjs/models/components/earntransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/v2bundlerequest.d.ts +20 -3
- package/dist/commonjs/models/components/v2bundlerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/v2bundlerequest.js +15 -3
- package/dist/commonjs/models/components/v2bundlerequest.js.map +1 -1
- package/dist/commonjs/models/operations/v2earnbalances.d.ts +1 -0
- package/dist/commonjs/models/operations/v2earnbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2earnbalances.js +1 -0
- package/dist/commonjs/models/operations/v2earnbalances.js.map +1 -1
- package/dist/commonjs/models/operations/v2earnpositions.d.ts +1 -0
- package/dist/commonjs/models/operations/v2earnpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2earnpositions.js +1 -0
- package/dist/commonjs/models/operations/v2earnpositions.js.map +1 -1
- package/dist/commonjs/models/operations/v2earnswapquote.d.ts +4 -6
- package/dist/commonjs/models/operations/v2earnswapquote.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2earnswapquote.js +3 -5
- package/dist/commonjs/models/operations/v2earnswapquote.js.map +1 -1
- package/dist/esm/models/components/createaccountrequest.d.ts +1 -0
- package/dist/esm/models/components/createaccountrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createaccountrequest.js +1 -0
- package/dist/esm/models/components/createaccountrequest.js.map +1 -1
- package/dist/esm/models/components/earnmanagerequest.d.ts +19 -3
- package/dist/esm/models/components/earnmanagerequest.d.ts.map +1 -1
- package/dist/esm/models/components/earnmanagerequest.js +14 -2
- package/dist/esm/models/components/earnmanagerequest.js.map +1 -1
- package/dist/esm/models/components/earnpositionsallresponse.d.ts +1 -1
- package/dist/esm/models/components/earnswaprequest.d.ts +20 -3
- package/dist/esm/models/components/earnswaprequest.d.ts.map +1 -1
- package/dist/esm/models/components/earnswaprequest.js +14 -2
- package/dist/esm/models/components/earnswaprequest.js.map +1 -1
- package/dist/esm/models/components/earntransferrequest.d.ts +19 -3
- package/dist/esm/models/components/earntransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/earntransferrequest.js +14 -2
- package/dist/esm/models/components/earntransferrequest.js.map +1 -1
- package/dist/esm/models/components/v2bundlerequest.d.ts +20 -3
- package/dist/esm/models/components/v2bundlerequest.d.ts.map +1 -1
- package/dist/esm/models/components/v2bundlerequest.js +14 -2
- package/dist/esm/models/components/v2bundlerequest.js.map +1 -1
- package/dist/esm/models/operations/v2earnbalances.d.ts +1 -0
- package/dist/esm/models/operations/v2earnbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/v2earnbalances.js +1 -0
- package/dist/esm/models/operations/v2earnbalances.js.map +1 -1
- package/dist/esm/models/operations/v2earnpositions.d.ts +1 -0
- package/dist/esm/models/operations/v2earnpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/v2earnpositions.js +1 -0
- package/dist/esm/models/operations/v2earnpositions.js.map +1 -1
- package/dist/esm/models/operations/v2earnswapquote.d.ts +4 -6
- package/dist/esm/models/operations/v2earnswapquote.d.ts.map +1 -1
- package/dist/esm/models/operations/v2earnswapquote.js +3 -5
- package/dist/esm/models/operations/v2earnswapquote.js.map +1 -1
- package/docs/models/components/createaccountrequestchain.md +1 -1
- package/docs/models/components/earnmanagerequest.md +1 -1
- package/docs/models/components/earnmanagerequestchain.md +17 -0
- package/docs/models/components/earnpositionsallresponse.md +4 -4
- package/docs/models/components/earnswaprequest.md +1 -1
- package/docs/models/components/earnswaprequestchain.md +17 -0
- package/docs/models/components/earntransferrequest.md +1 -1
- package/docs/models/components/earntransferrequestchain.md +17 -0
- package/docs/models/components/v2bundlerequest.md +1 -1
- package/docs/models/components/v2bundlerequestchain.md +17 -0
- package/docs/models/operations/v2earnbalanceschain.md +1 -1
- package/docs/models/operations/v2earnpositionschain.md +1 -1
- package/docs/models/operations/v2earnswapquotechain.md +2 -2
- package/openapi_prepped_for_speakeasy.json +47 -11
- package/package.json +1 -1
- package/src/models/components/createaccountrequest.ts +1 -0
- package/src/models/components/earnmanagerequest.ts +24 -4
- package/src/models/components/earnpositionsallresponse.ts +1 -1
- package/src/models/components/earnswaprequest.ts +25 -4
- package/src/models/components/earntransferrequest.ts +26 -4
- package/src/models/components/v2bundlerequest.ts +25 -4
- package/src/models/operations/v2earnbalances.ts +1 -0
- package/src/models/operations/v2earnpositions.ts +1 -0
- package/src/models/operations/v2earnswapquote.ts +4 -6
|
@@ -5,6 +5,7 @@ export declare const CreateAccountRequestChain: {
|
|
|
5
5
|
readonly Base: "base";
|
|
6
6
|
readonly Bsc: "bsc";
|
|
7
7
|
readonly Ethereum: "ethereum";
|
|
8
|
+
readonly Hyperevm: "hyperevm";
|
|
8
9
|
readonly Tempo: "tempo";
|
|
9
10
|
};
|
|
10
11
|
export type CreateAccountRequestChain = ClosedEnum<typeof CreateAccountRequestChain>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createaccountrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/createaccountrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"createaccountrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/createaccountrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,yBAAyB;;;;;;;CAO5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,yBAAyB,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,aAAa,CACpE,OAAO,yBAAyB,CACS,CAAC;AAE5C,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAUpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createaccountrequest.js","sourceRoot":"","sources":["../../../../src/models/components/createaccountrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createaccountrequest.js","sourceRoot":"","sources":["../../../../src/models/components/createaccountrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,gEAMC;AAtED,0CAA4B;AAC5B,2DAA0D;AAG7C,QAAA,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAwBX,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,iCAAyB,CAAC,CAAC;AAU5C,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,gDAAwC;IAC/C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { AaveVenue, AaveVenue$Outbound } from "./aavevenue.js";
|
|
4
|
-
import { Chain } from "./chain.js";
|
|
5
4
|
import { Fee, Fee$Outbound } from "./fee.js";
|
|
6
5
|
import { PendlePTVenue, PendlePTVenue$Outbound } from "./pendleptvenue.js";
|
|
7
6
|
import { VaultVenue, VaultVenue$Outbound } from "./vaultvenue.js";
|
|
@@ -24,6 +23,21 @@ export type EarnManageRequestAction = ClosedEnum<typeof EarnManageRequestAction>
|
|
|
24
23
|
* Amount of the underlying asset to act on (deposit or withdraw). For VAULT, this is the vault's underlying token; for AAVE, this is the Aave reserve asset; for PENDLE_PT, this is the amount of `token` to spend (DEPOSIT) or PT to sell (WITHDRAW). Provide as a decimal in token units (not wei); must be > 0.
|
|
25
24
|
*/
|
|
26
25
|
export type EarnManageRequestAmount = number | string;
|
|
26
|
+
/**
|
|
27
|
+
* Blockchain network
|
|
28
|
+
*/
|
|
29
|
+
export declare const EarnManageRequestChain: {
|
|
30
|
+
readonly Arbitrum: "arbitrum";
|
|
31
|
+
readonly Base: "base";
|
|
32
|
+
readonly Bsc: "bsc";
|
|
33
|
+
readonly Ethereum: "ethereum";
|
|
34
|
+
readonly Hyperevm: "hyperevm";
|
|
35
|
+
readonly Tempo: "tempo";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Blockchain network
|
|
39
|
+
*/
|
|
40
|
+
export type EarnManageRequestChain = ClosedEnum<typeof EarnManageRequestChain>;
|
|
27
41
|
/**
|
|
28
42
|
* Request model for the unified manage endpoint.
|
|
29
43
|
*
|
|
@@ -57,9 +71,9 @@ export type EarnManageRequest = {
|
|
|
57
71
|
*/
|
|
58
72
|
owner: string;
|
|
59
73
|
/**
|
|
60
|
-
*
|
|
74
|
+
* Blockchain network
|
|
61
75
|
*/
|
|
62
|
-
chain:
|
|
76
|
+
chain: EarnManageRequestChain;
|
|
63
77
|
/**
|
|
64
78
|
* Optionally request gas sponsorship. If set to `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`).
|
|
65
79
|
*/
|
|
@@ -78,6 +92,8 @@ export type EarnManageRequestAmount$Outbound = number | string;
|
|
|
78
92
|
export declare const EarnManageRequestAmount$outboundSchema: z.ZodType<EarnManageRequestAmount$Outbound, z.ZodTypeDef, EarnManageRequestAmount>;
|
|
79
93
|
export declare function earnManageRequestAmountToJSON(earnManageRequestAmount: EarnManageRequestAmount): string;
|
|
80
94
|
/** @internal */
|
|
95
|
+
export declare const EarnManageRequestChain$outboundSchema: z.ZodNativeEnum<typeof EarnManageRequestChain>;
|
|
96
|
+
/** @internal */
|
|
81
97
|
export type EarnManageRequest$Outbound = {
|
|
82
98
|
action_type?: "V2_MANAGE" | undefined;
|
|
83
99
|
venue: AaveVenue$Outbound | PendlePTVenue$Outbound | VaultVenue$Outbound;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earnmanagerequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/earnmanagerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,SAAS,EACT,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"earnmanagerequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/earnmanagerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,SAAS,EACT,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,YAAY,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AIR"}
|
|
@@ -36,14 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.EarnManageRequest$outboundSchema = exports.EarnManageRequestAmount$outboundSchema = exports.EarnManageRequestAction$outboundSchema = exports.EarnManageRequestVenue$outboundSchema = exports.EarnManageRequestAction = void 0;
|
|
39
|
+
exports.EarnManageRequest$outboundSchema = exports.EarnManageRequestChain$outboundSchema = exports.EarnManageRequestAmount$outboundSchema = exports.EarnManageRequestAction$outboundSchema = exports.EarnManageRequestVenue$outboundSchema = exports.EarnManageRequestChain = exports.EarnManageRequestAction = void 0;
|
|
40
40
|
exports.earnManageRequestVenueToJSON = earnManageRequestVenueToJSON;
|
|
41
41
|
exports.earnManageRequestAmountToJSON = earnManageRequestAmountToJSON;
|
|
42
42
|
exports.earnManageRequestToJSON = earnManageRequestToJSON;
|
|
43
43
|
const z = __importStar(require("zod/v3"));
|
|
44
44
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
45
45
|
const aavevenue_js_1 = require("./aavevenue.js");
|
|
46
|
-
const chain_js_1 = require("./chain.js");
|
|
47
46
|
const fee_js_1 = require("./fee.js");
|
|
48
47
|
const pendleptvenue_js_1 = require("./pendleptvenue.js");
|
|
49
48
|
const vaultvenue_js_1 = require("./vaultvenue.js");
|
|
@@ -54,6 +53,17 @@ exports.EarnManageRequestAction = {
|
|
|
54
53
|
Deposit: "DEPOSIT",
|
|
55
54
|
Withdraw: "WITHDRAW",
|
|
56
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Blockchain network
|
|
58
|
+
*/
|
|
59
|
+
exports.EarnManageRequestChain = {
|
|
60
|
+
Arbitrum: "arbitrum",
|
|
61
|
+
Base: "base",
|
|
62
|
+
Bsc: "bsc",
|
|
63
|
+
Ethereum: "ethereum",
|
|
64
|
+
Hyperevm: "hyperevm",
|
|
65
|
+
Tempo: "tempo",
|
|
66
|
+
};
|
|
57
67
|
/** @internal */
|
|
58
68
|
exports.EarnManageRequestVenue$outboundSchema = z.union([
|
|
59
69
|
aavevenue_js_1.AaveVenue$outboundSchema,
|
|
@@ -71,6 +81,8 @@ function earnManageRequestAmountToJSON(earnManageRequestAmount) {
|
|
|
71
81
|
return JSON.stringify(exports.EarnManageRequestAmount$outboundSchema.parse(earnManageRequestAmount));
|
|
72
82
|
}
|
|
73
83
|
/** @internal */
|
|
84
|
+
exports.EarnManageRequestChain$outboundSchema = z.nativeEnum(exports.EarnManageRequestChain);
|
|
85
|
+
/** @internal */
|
|
74
86
|
exports.EarnManageRequest$outboundSchema = z.object({
|
|
75
87
|
actionType: z.literal("V2_MANAGE").optional(),
|
|
76
88
|
venue: z.union([
|
|
@@ -82,7 +94,7 @@ exports.EarnManageRequest$outboundSchema = z.object({
|
|
|
82
94
|
amount: z.union([z.number(), z.string()]),
|
|
83
95
|
fee: z.nullable(fee_js_1.Fee$outboundSchema).optional(),
|
|
84
96
|
owner: z.string(),
|
|
85
|
-
chain:
|
|
97
|
+
chain: exports.EarnManageRequestChain$outboundSchema,
|
|
86
98
|
gasSponsorship: z.boolean().optional(),
|
|
87
99
|
}).transform((v) => {
|
|
88
100
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earnmanagerequest.js","sourceRoot":"","sources":["../../../../src/models/components/earnmanagerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"earnmanagerequest.js","sourceRoot":"","sources":["../../../../src/models/components/earnmanagerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyHH,oEAMC;AAiBD,sEAMC;AA4CD,0DAMC;AAtMD,0CAA4B;AAC5B,2DAA0D;AAE1D,iDAIwB;AACxB,qCAAiE;AACjE,yDAI4B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xB,+CAA4B;QAC5B,yCAAyB;KAC1B,CAAC;IACF,MAAM,EAAE,8CAAsC;IAC9C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,2BAAkB,CAAC,CAAC,QAAQ,EAAE;IAC9C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,6CAAqC;IAC5C,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -12,7 +12,7 @@ import { EarnPositionsResponse } from "./earnpositionsresponse.js";
|
|
|
12
12
|
*/
|
|
13
13
|
export type EarnPositionsAllResponse = {
|
|
14
14
|
/**
|
|
15
|
-
* Positions grouped by chain. Keys: 'ethereum', 'base', 'arbitrum'.
|
|
15
|
+
* Positions grouped by chain. Keys: 'ethereum', 'base', 'arbitrum', 'hyperevm'. Every key is present; chains without a deployed earn account carry empty lists.
|
|
16
16
|
*/
|
|
17
17
|
chains: {
|
|
18
18
|
[k: string]: EarnPositionsResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
/**
|
|
4
4
|
* Human-readable amount of `token_in` to swap (token units, not wei).
|
|
5
5
|
*/
|
|
@@ -8,6 +8,21 @@ export type EarnSwapRequestAmountIn = number | string;
|
|
|
8
8
|
* Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%).
|
|
9
9
|
*/
|
|
10
10
|
export type EarnSwapRequestSlippage = number | string;
|
|
11
|
+
/**
|
|
12
|
+
* Target blockchain network where the swap will execute.
|
|
13
|
+
*/
|
|
14
|
+
export declare const EarnSwapRequestChain: {
|
|
15
|
+
readonly Arbitrum: "arbitrum";
|
|
16
|
+
readonly Base: "base";
|
|
17
|
+
readonly Bsc: "bsc";
|
|
18
|
+
readonly Ethereum: "ethereum";
|
|
19
|
+
readonly Hyperevm: "hyperevm";
|
|
20
|
+
readonly Tempo: "tempo";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Target blockchain network where the swap will execute.
|
|
24
|
+
*/
|
|
25
|
+
export type EarnSwapRequestChain = ClosedEnum<typeof EarnSwapRequestChain>;
|
|
11
26
|
/**
|
|
12
27
|
* Swap one token held in the Earn Account for another, in a single atomic
|
|
13
28
|
*
|
|
@@ -40,9 +55,9 @@ export type EarnSwapRequest = {
|
|
|
40
55
|
*/
|
|
41
56
|
owner: string;
|
|
42
57
|
/**
|
|
43
|
-
*
|
|
58
|
+
* Target blockchain network where the swap will execute.
|
|
44
59
|
*/
|
|
45
|
-
chain:
|
|
60
|
+
chain: EarnSwapRequestChain;
|
|
46
61
|
/**
|
|
47
62
|
* Optionally request gas sponsorship. If `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`).
|
|
48
63
|
*/
|
|
@@ -59,6 +74,8 @@ export type EarnSwapRequestSlippage$Outbound = number | string;
|
|
|
59
74
|
export declare const EarnSwapRequestSlippage$outboundSchema: z.ZodType<EarnSwapRequestSlippage$Outbound, z.ZodTypeDef, EarnSwapRequestSlippage>;
|
|
60
75
|
export declare function earnSwapRequestSlippageToJSON(earnSwapRequestSlippage: EarnSwapRequestSlippage): string;
|
|
61
76
|
/** @internal */
|
|
77
|
+
export declare const EarnSwapRequestChain$outboundSchema: z.ZodNativeEnum<typeof EarnSwapRequestChain>;
|
|
78
|
+
/** @internal */
|
|
62
79
|
export type EarnSwapRequest$Outbound = {
|
|
63
80
|
action_type?: "V2_SWAP" | undefined;
|
|
64
81
|
token_in: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earnswaprequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/earnswaprequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"earnswaprequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/earnswaprequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,KAAK,EAAE,MAA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ACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAkBf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
|
|
@@ -36,13 +36,23 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.EarnSwapRequest$outboundSchema = exports.EarnSwapRequestSlippage$outboundSchema = exports.EarnSwapRequestAmountIn$outboundSchema = void 0;
|
|
39
|
+
exports.EarnSwapRequest$outboundSchema = exports.EarnSwapRequestChain$outboundSchema = exports.EarnSwapRequestSlippage$outboundSchema = exports.EarnSwapRequestAmountIn$outboundSchema = exports.EarnSwapRequestChain = void 0;
|
|
40
40
|
exports.earnSwapRequestAmountInToJSON = earnSwapRequestAmountInToJSON;
|
|
41
41
|
exports.earnSwapRequestSlippageToJSON = earnSwapRequestSlippageToJSON;
|
|
42
42
|
exports.earnSwapRequestToJSON = earnSwapRequestToJSON;
|
|
43
43
|
const z = __importStar(require("zod/v3"));
|
|
44
44
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
45
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Target blockchain network where the swap will execute.
|
|
47
|
+
*/
|
|
48
|
+
exports.EarnSwapRequestChain = {
|
|
49
|
+
Arbitrum: "arbitrum",
|
|
50
|
+
Base: "base",
|
|
51
|
+
Bsc: "bsc",
|
|
52
|
+
Ethereum: "ethereum",
|
|
53
|
+
Hyperevm: "hyperevm",
|
|
54
|
+
Tempo: "tempo",
|
|
55
|
+
};
|
|
46
56
|
/** @internal */
|
|
47
57
|
exports.EarnSwapRequestAmountIn$outboundSchema = z.union([z.number(), z.string()]);
|
|
48
58
|
function earnSwapRequestAmountInToJSON(earnSwapRequestAmountIn) {
|
|
@@ -54,6 +64,8 @@ function earnSwapRequestSlippageToJSON(earnSwapRequestSlippage) {
|
|
|
54
64
|
return JSON.stringify(exports.EarnSwapRequestSlippage$outboundSchema.parse(earnSwapRequestSlippage));
|
|
55
65
|
}
|
|
56
66
|
/** @internal */
|
|
67
|
+
exports.EarnSwapRequestChain$outboundSchema = z.nativeEnum(exports.EarnSwapRequestChain);
|
|
68
|
+
/** @internal */
|
|
57
69
|
exports.EarnSwapRequest$outboundSchema = z.object({
|
|
58
70
|
actionType: z.literal("V2_SWAP").optional(),
|
|
59
71
|
tokenIn: z.string(),
|
|
@@ -61,7 +73,7 @@ exports.EarnSwapRequest$outboundSchema = z.object({
|
|
|
61
73
|
amountIn: z.union([z.number(), z.string()]),
|
|
62
74
|
slippage: z.union([z.number(), z.string()]).optional(),
|
|
63
75
|
owner: z.string(),
|
|
64
|
-
chain:
|
|
76
|
+
chain: exports.EarnSwapRequestChain$outboundSchema,
|
|
65
77
|
gasSponsorship: z.boolean().optional(),
|
|
66
78
|
}).transform((v) => {
|
|
67
79
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earnswaprequest.js","sourceRoot":"","sources":["../../../../src/models/components/earnswaprequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"earnswaprequest.js","sourceRoot":"","sources":["../../../../src/models/components/earnswaprequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,sEAMC;AAYD,sEAMC;AA2CD,sDAIC;AAxJD,0CAA4B;AAC5B,2DAA0D;AAa1D;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAkDX,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,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AAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,sCAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Blockchain network
|
|
5
|
+
*/
|
|
6
|
+
export declare const EarnTransferRequestChain: {
|
|
7
|
+
readonly Arbitrum: "arbitrum";
|
|
8
|
+
readonly Base: "base";
|
|
9
|
+
readonly Bsc: "bsc";
|
|
10
|
+
readonly Ethereum: "ethereum";
|
|
11
|
+
readonly Hyperevm: "hyperevm";
|
|
12
|
+
readonly Tempo: "tempo";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Blockchain network
|
|
16
|
+
*/
|
|
17
|
+
export type EarnTransferRequestChain = ClosedEnum<typeof EarnTransferRequestChain>;
|
|
4
18
|
/**
|
|
5
19
|
* The amount of 'token' to transfer.
|
|
6
20
|
*/
|
|
@@ -22,9 +36,9 @@ export type EarnTransferRequest = {
|
|
|
22
36
|
*/
|
|
23
37
|
owner: string;
|
|
24
38
|
/**
|
|
25
|
-
*
|
|
39
|
+
* Blockchain network
|
|
26
40
|
*/
|
|
27
|
-
chain:
|
|
41
|
+
chain: EarnTransferRequestChain;
|
|
28
42
|
/**
|
|
29
43
|
* The token you would like to transfer.
|
|
30
44
|
*/
|
|
@@ -51,6 +65,8 @@ export type EarnTransferRequest = {
|
|
|
51
65
|
recipient?: string | null | undefined;
|
|
52
66
|
};
|
|
53
67
|
/** @internal */
|
|
68
|
+
export declare const EarnTransferRequestChain$outboundSchema: z.ZodNativeEnum<typeof EarnTransferRequestChain>;
|
|
69
|
+
/** @internal */
|
|
54
70
|
export type EarnTransferRequestAmount$Outbound = number | string;
|
|
55
71
|
/** @internal */
|
|
56
72
|
export declare const EarnTransferRequestAmount$outboundSchema: z.ZodType<EarnTransferRequestAmount$Outbound, z.ZodTypeDef, EarnTransferRequestAmount>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earntransferrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/earntransferrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"earntransferrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/earntransferrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;CAO3B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,MAAM,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,wBAAwB,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;I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ACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAcnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -36,12 +36,22 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.EarnTransferRequest$outboundSchema = exports.EarnTransferRequestAction$outboundSchema = exports.EarnTransferRequestAmount$outboundSchema = exports.EarnTransferRequestAction = void 0;
|
|
39
|
+
exports.EarnTransferRequest$outboundSchema = exports.EarnTransferRequestAction$outboundSchema = exports.EarnTransferRequestAmount$outboundSchema = exports.EarnTransferRequestChain$outboundSchema = exports.EarnTransferRequestAction = exports.EarnTransferRequestChain = void 0;
|
|
40
40
|
exports.earnTransferRequestAmountToJSON = earnTransferRequestAmountToJSON;
|
|
41
41
|
exports.earnTransferRequestToJSON = earnTransferRequestToJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
-
|
|
44
|
+
/**
|
|
45
|
+
* Blockchain network
|
|
46
|
+
*/
|
|
47
|
+
exports.EarnTransferRequestChain = {
|
|
48
|
+
Arbitrum: "arbitrum",
|
|
49
|
+
Base: "base",
|
|
50
|
+
Bsc: "bsc",
|
|
51
|
+
Ethereum: "ethereum",
|
|
52
|
+
Hyperevm: "hyperevm",
|
|
53
|
+
Tempo: "tempo",
|
|
54
|
+
};
|
|
45
55
|
/**
|
|
46
56
|
* Whether you are depositing to or withdrawing from your earn account.
|
|
47
57
|
*/
|
|
@@ -50,6 +60,8 @@ exports.EarnTransferRequestAction = {
|
|
|
50
60
|
Withdraw: "WITHDRAW",
|
|
51
61
|
};
|
|
52
62
|
/** @internal */
|
|
63
|
+
exports.EarnTransferRequestChain$outboundSchema = z.nativeEnum(exports.EarnTransferRequestChain);
|
|
64
|
+
/** @internal */
|
|
53
65
|
exports.EarnTransferRequestAmount$outboundSchema = z.union([z.number(), z.string()]);
|
|
54
66
|
function earnTransferRequestAmountToJSON(earnTransferRequestAmount) {
|
|
55
67
|
return JSON.stringify(exports.EarnTransferRequestAmount$outboundSchema.parse(earnTransferRequestAmount));
|
|
@@ -59,7 +71,7 @@ exports.EarnTransferRequestAction$outboundSchema = z.nativeEnum(exports.EarnTran
|
|
|
59
71
|
/** @internal */
|
|
60
72
|
exports.EarnTransferRequest$outboundSchema = z.object({
|
|
61
73
|
owner: z.string(),
|
|
62
|
-
chain:
|
|
74
|
+
chain: exports.EarnTransferRequestChain$outboundSchema,
|
|
63
75
|
token: z.string(),
|
|
64
76
|
amount: z.union([z.number(), z.string()]),
|
|
65
77
|
action: exports.EarnTransferRequestAction$outboundSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earntransferrequest.js","sourceRoot":"","sources":["../../../../src/models/components/earntransferrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"earntransferrequest.js","sourceRoot":"","sources":["../../../../src/models/components/earntransferrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FH,0EAMC;AAuCD,8DAMC;AA9ID,0CAA4B;AAC5B,2DAA0D;AAG1D;;GAEG;AACU,QAAA,wBAAwB,GAAG;IACtC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAaX;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACvC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AA2CX,gBAAgB;AACH,QAAA,uCAAuC,G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CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { V2UserOperation, V2UserOperation$Outbound } from "./v2useroperation.js";
|
|
4
|
+
/**
|
|
5
|
+
* Target blockchain network where the bundled actions will execute.
|
|
6
|
+
*/
|
|
7
|
+
export declare const V2BundleRequestChain: {
|
|
8
|
+
readonly Arbitrum: "arbitrum";
|
|
9
|
+
readonly Base: "base";
|
|
10
|
+
readonly Bsc: "bsc";
|
|
11
|
+
readonly Ethereum: "ethereum";
|
|
12
|
+
readonly Hyperevm: "hyperevm";
|
|
13
|
+
readonly Tempo: "tempo";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Target blockchain network where the bundled actions will execute.
|
|
17
|
+
*/
|
|
18
|
+
export type V2BundleRequestChain = ClosedEnum<typeof V2BundleRequestChain>;
|
|
4
19
|
/**
|
|
5
20
|
* Request to execute multiple earn actions in a single atomic transaction.
|
|
6
21
|
*
|
|
@@ -50,9 +65,9 @@ export type V2BundleRequest = {
|
|
|
50
65
|
*/
|
|
51
66
|
owner: string;
|
|
52
67
|
/**
|
|
53
|
-
*
|
|
68
|
+
* Target blockchain network where the bundled actions will execute.
|
|
54
69
|
*/
|
|
55
|
-
chain:
|
|
70
|
+
chain: V2BundleRequestChain;
|
|
56
71
|
/**
|
|
57
72
|
* List of actions to bundle. Actions are executed in order.
|
|
58
73
|
*/
|
|
@@ -63,6 +78,8 @@ export type V2BundleRequest = {
|
|
|
63
78
|
gasSponsorship?: boolean | undefined;
|
|
64
79
|
};
|
|
65
80
|
/** @internal */
|
|
81
|
+
export declare const V2BundleRequestChain$outboundSchema: z.ZodNativeEnum<typeof V2BundleRequestChain>;
|
|
82
|
+
/** @internal */
|
|
66
83
|
export type V2BundleRequest$Outbound = {
|
|
67
84
|
owner: string;
|
|
68
85
|
chain: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2bundlerequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/v2bundlerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"v2bundlerequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/v2bundlerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,eAAe,EACf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,oBAAoB,CACS,CAAC;AAEvC,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAUf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
|
|
@@ -36,16 +36,28 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.V2BundleRequest$outboundSchema = void 0;
|
|
39
|
+
exports.V2BundleRequest$outboundSchema = exports.V2BundleRequestChain$outboundSchema = exports.V2BundleRequestChain = void 0;
|
|
40
40
|
exports.v2BundleRequestToJSON = v2BundleRequestToJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
-
const chain_js_1 = require("./chain.js");
|
|
44
43
|
const v2useroperation_js_1 = require("./v2useroperation.js");
|
|
44
|
+
/**
|
|
45
|
+
* Target blockchain network where the bundled actions will execute.
|
|
46
|
+
*/
|
|
47
|
+
exports.V2BundleRequestChain = {
|
|
48
|
+
Arbitrum: "arbitrum",
|
|
49
|
+
Base: "base",
|
|
50
|
+
Bsc: "bsc",
|
|
51
|
+
Ethereum: "ethereum",
|
|
52
|
+
Hyperevm: "hyperevm",
|
|
53
|
+
Tempo: "tempo",
|
|
54
|
+
};
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.V2BundleRequestChain$outboundSchema = z.nativeEnum(exports.V2BundleRequestChain);
|
|
45
57
|
/** @internal */
|
|
46
58
|
exports.V2BundleRequest$outboundSchema = z.object({
|
|
47
59
|
owner: z.string(),
|
|
48
|
-
chain:
|
|
60
|
+
chain: exports.V2BundleRequestChain$outboundSchema,
|
|
49
61
|
actions: z.array(v2useroperation_js_1.V2UserOperation$outboundSchema),
|
|
50
62
|
gasSponsorship: z.boolean().optional(),
|
|
51
63
|
}).transform((v) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2bundlerequest.js","sourceRoot":"","sources":["../../../../src/models/components/v2bundlerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v2bundlerequest.js","sourceRoot":"","sources":["../../../../src/models/components/v2bundlerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHH,sDAIC;AAxHD,0CAA4B;AAC5B,2DAA0D;AAE1D,6DAI8B;AAE9B;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAoEX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,4BAAoB,CAAC,CAAC;AAUvC,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,2CAAmC;IAC1C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,mDAA8B,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,sCAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2earnbalances.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2earnbalances.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"v2earnbalances.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2earnbalances.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,mBAAmB;;;;;;;CAOtB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,mBAAmB,CAAC;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC;AAEtC,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAIrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2earnbalances.js","sourceRoot":"","sources":["../../../../src/models/operations/v2earnbalances.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v2earnbalances.js","sourceRoot":"","sources":["../../../../src/models/operations/v2earnbalances.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CH,kEAMC;AAhDD,0CAA4B;AAGf,QAAA,mBAAmB,GAAG;IACjC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAWX,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC;AAQtC,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,0CAAkC;IACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -5,6 +5,7 @@ export declare const V2EarnPositionsChain: {
|
|
|
5
5
|
readonly Base: "base";
|
|
6
6
|
readonly Bsc: "bsc";
|
|
7
7
|
readonly Ethereum: "ethereum";
|
|
8
|
+
readonly Hyperevm: "hyperevm";
|
|
8
9
|
readonly Tempo: "tempo";
|
|
9
10
|
};
|
|
10
11
|
export type V2EarnPositionsChain = ClosedEnum<typeof V2EarnPositionsChain>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2earnpositions.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2earnpositions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"v2earnpositions.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2earnpositions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,oBAAoB,CACS,CAAC;AAEvC,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAItB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2earnpositions.js","sourceRoot":"","sources":["../../../../src/models/operations/v2earnpositions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v2earnpositions.js","sourceRoot":"","sources":["../../../../src/models/operations/v2earnpositions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CH,oEAMC;AAhDD,0CAA4B;AAGf,QAAA,oBAAoB,GAAG;IAClC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAWX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,4BAAoB,CAAC,CAAC;AAQvC,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,2CAAmC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Target blockchain network.
|
|
5
5
|
*/
|
|
6
6
|
export declare const V2EarnSwapQuoteChain: {
|
|
7
|
+
readonly Arbitrum: "arbitrum";
|
|
7
8
|
readonly Base: "base";
|
|
9
|
+
readonly Bsc: "bsc";
|
|
8
10
|
readonly Ethereum: "ethereum";
|
|
9
|
-
readonly Arbitrum: "arbitrum";
|
|
10
11
|
readonly Hyperevm: "hyperevm";
|
|
11
12
|
readonly Tempo: "tempo";
|
|
12
|
-
readonly Bsc: "bsc";
|
|
13
|
-
readonly Robinhood: "robinhood";
|
|
14
|
-
readonly EthereumSepolia: "ethereum_sepolia";
|
|
15
13
|
};
|
|
16
14
|
/**
|
|
17
|
-
*
|
|
15
|
+
* Target blockchain network.
|
|
18
16
|
*/
|
|
19
17
|
export type V2EarnSwapQuoteChain = ClosedEnum<typeof V2EarnSwapQuoteChain>;
|
|
20
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2earnswapquote.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2earnswapquote.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"v2earnswapquote.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2earnswapquote.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,a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3"));
|
|
44
44
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Target blockchain network.
|
|
47
47
|
*/
|
|
48
48
|
exports.V2EarnSwapQuoteChain = {
|
|
49
|
+
Arbitrum: "arbitrum",
|
|
49
50
|
Base: "base",
|
|
51
|
+
Bsc: "bsc",
|
|
50
52
|
Ethereum: "ethereum",
|
|
51
|
-
Arbitrum: "arbitrum",
|
|
52
53
|
Hyperevm: "hyperevm",
|
|
53
54
|
Tempo: "tempo",
|
|
54
|
-
Bsc: "bsc",
|
|
55
|
-
Robinhood: "robinhood",
|
|
56
|
-
EthereumSepolia: "ethereum_sepolia",
|
|
57
55
|
};
|
|
58
56
|
/** @internal */
|
|
59
57
|
exports.V2EarnSwapQuoteChain$outboundSchema = z.nativeEnum(exports.V2EarnSwapQuoteChain);
|