@compass-labs/api-sdk 0.5.57 → 0.5.58

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.
Files changed (97) hide show
  1. package/bin/mcp-server.js +209 -105
  2. package/bin/mcp-server.js.map +14 -14
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/components/pendleaddliquidityparams.d.ts +47 -17
  8. package/dist/commonjs/models/components/pendleaddliquidityparams.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/pendleaddliquidityparams.js +48 -18
  10. package/dist/commonjs/models/components/pendleaddliquidityparams.js.map +1 -1
  11. package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts +47 -17
  12. package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/pendleaddliquidityrequest.js +48 -18
  14. package/dist/commonjs/models/components/pendleaddliquidityrequest.js.map +1 -1
  15. package/dist/commonjs/models/components/pendleremoveliquidityparams.d.ts +47 -17
  16. package/dist/commonjs/models/components/pendleremoveliquidityparams.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/pendleremoveliquidityparams.js +48 -18
  18. package/dist/commonjs/models/components/pendleremoveliquidityparams.js.map +1 -1
  19. package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts +47 -17
  20. package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/pendleremoveliquidityrequest.js +48 -18
  22. package/dist/commonjs/models/components/pendleremoveliquidityrequest.js.map +1 -1
  23. package/dist/commonjs/models/components/pendlesellptparams.d.ts +47 -17
  24. package/dist/commonjs/models/components/pendlesellptparams.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/pendlesellptparams.js +48 -18
  26. package/dist/commonjs/models/components/pendlesellptparams.js.map +1 -1
  27. package/dist/commonjs/models/components/pendlesellptrequest.d.ts +47 -17
  28. package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/pendlesellptrequest.js +48 -18
  30. package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
  31. package/dist/commonjs/models/components/pendlesellytparams.d.ts +47 -17
  32. package/dist/commonjs/models/components/pendlesellytparams.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/pendlesellytparams.js +48 -18
  34. package/dist/commonjs/models/components/pendlesellytparams.js.map +1 -1
  35. package/dist/commonjs/models/components/pendlesellytrequest.d.ts +47 -17
  36. package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/pendlesellytrequest.js +48 -18
  38. package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
  39. package/dist/commonjs/models/components/useroperation.d.ts +32 -32
  40. package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/useroperation.js +28 -28
  42. package/dist/commonjs/models/components/useroperation.js.map +1 -1
  43. package/dist/esm/lib/config.d.ts +2 -2
  44. package/dist/esm/lib/config.js +2 -2
  45. package/dist/esm/mcp-server/mcp-server.js +1 -1
  46. package/dist/esm/mcp-server/server.js +1 -1
  47. package/dist/esm/models/components/pendleaddliquidityparams.d.ts +47 -17
  48. package/dist/esm/models/components/pendleaddliquidityparams.d.ts.map +1 -1
  49. package/dist/esm/models/components/pendleaddliquidityparams.js +43 -15
  50. package/dist/esm/models/components/pendleaddliquidityparams.js.map +1 -1
  51. package/dist/esm/models/components/pendleaddliquidityrequest.d.ts +47 -17
  52. package/dist/esm/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
  53. package/dist/esm/models/components/pendleaddliquidityrequest.js +43 -15
  54. package/dist/esm/models/components/pendleaddliquidityrequest.js.map +1 -1
  55. package/dist/esm/models/components/pendleremoveliquidityparams.d.ts +47 -17
  56. package/dist/esm/models/components/pendleremoveliquidityparams.d.ts.map +1 -1
  57. package/dist/esm/models/components/pendleremoveliquidityparams.js +43 -15
  58. package/dist/esm/models/components/pendleremoveliquidityparams.js.map +1 -1
  59. package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts +47 -17
  60. package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
  61. package/dist/esm/models/components/pendleremoveliquidityrequest.js +43 -15
  62. package/dist/esm/models/components/pendleremoveliquidityrequest.js.map +1 -1
  63. package/dist/esm/models/components/pendlesellptparams.d.ts +47 -17
  64. package/dist/esm/models/components/pendlesellptparams.d.ts.map +1 -1
  65. package/dist/esm/models/components/pendlesellptparams.js +43 -15
  66. package/dist/esm/models/components/pendlesellptparams.js.map +1 -1
  67. package/dist/esm/models/components/pendlesellptrequest.d.ts +47 -17
  68. package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
  69. package/dist/esm/models/components/pendlesellptrequest.js +43 -15
  70. package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
  71. package/dist/esm/models/components/pendlesellytparams.d.ts +47 -17
  72. package/dist/esm/models/components/pendlesellytparams.d.ts.map +1 -1
  73. package/dist/esm/models/components/pendlesellytparams.js +43 -15
  74. package/dist/esm/models/components/pendlesellytparams.js.map +1 -1
  75. package/dist/esm/models/components/pendlesellytrequest.d.ts +47 -17
  76. package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
  77. package/dist/esm/models/components/pendlesellytrequest.js +43 -15
  78. package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
  79. package/dist/esm/models/components/useroperation.d.ts +32 -32
  80. package/dist/esm/models/components/useroperation.d.ts.map +1 -1
  81. package/dist/esm/models/components/useroperation.js +28 -28
  82. package/dist/esm/models/components/useroperation.js.map +1 -1
  83. package/docs/sdks/pendle/README.md +16 -8
  84. package/jsr.json +1 -1
  85. package/package.json +1 -1
  86. package/src/lib/config.ts +2 -2
  87. package/src/mcp-server/mcp-server.ts +1 -1
  88. package/src/mcp-server/server.ts +1 -1
  89. package/src/models/components/pendleaddliquidityparams.ts +99 -28
  90. package/src/models/components/pendleaddliquidityrequest.ts +100 -28
  91. package/src/models/components/pendleremoveliquidityparams.ts +104 -28
  92. package/src/models/components/pendleremoveliquidityrequest.ts +103 -28
  93. package/src/models/components/pendlesellptparams.ts +96 -27
  94. package/src/models/components/pendlesellptrequest.ts +100 -27
  95. package/src/models/components/pendlesellytparams.ts +96 -27
  96. package/src/models/components/pendlesellytrequest.ts +100 -27
  97. package/src/models/components/useroperation.ts +98 -98
package/bin/mcp-server.js CHANGED
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
34264
34264
  SDK_METADATA = {
34265
34265
  language: "typescript",
34266
34266
  openapiDocVersion: "0.0.1",
34267
- sdkVersion: "0.5.57",
34267
+ sdkVersion: "0.5.58",
34268
34268
  genVersion: "2.664.0",
34269
- userAgent: "speakeasy-sdk/typescript 0.5.57 2.664.0 0.0.1 @compass-labs/api-sdk"
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.58 2.664.0 0.0.1 @compass-labs/api-sdk"
34270
34270
  };
34271
34271
  });
34272
34272
 
@@ -38207,37 +38207,50 @@ var init_odosswapparams = __esm(() => {
38207
38207
  });
38208
38208
 
38209
38209
  // src/models/components/pendleaddliquidityparams.ts
38210
- var PendleAddLiquidityParamsAmount$inboundSchema, PendleAddLiquidityParamsAmount$outboundSchema, PendleAddLiquidityParamsAmount$, PendleAddLiquidityParams$inboundSchema, PendleAddLiquidityParams$outboundSchema, PendleAddLiquidityParams$;
38210
+ var PendleAddLiquidityParamsTokenIn$inboundSchema, PendleAddLiquidityParamsTokenIn$outboundSchema, PendleAddLiquidityParamsTokenIn$, PendleAddLiquidityParamsAmountIn$inboundSchema, PendleAddLiquidityParamsAmountIn$outboundSchema, PendleAddLiquidityParamsAmountIn$, PendleAddLiquidityParams$inboundSchema, PendleAddLiquidityParams$outboundSchema, PendleAddLiquidityParams$;
38211
38211
  var init_pendleaddliquidityparams = __esm(() => {
38212
38212
  init_zod();
38213
38213
  init_primitives();
38214
- PendleAddLiquidityParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38215
- PendleAddLiquidityParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38216
- ((PendleAddLiquidityParamsAmount$) => {
38217
- PendleAddLiquidityParamsAmount$.inboundSchema = PendleAddLiquidityParamsAmount$inboundSchema;
38218
- PendleAddLiquidityParamsAmount$.outboundSchema = PendleAddLiquidityParamsAmount$outboundSchema;
38219
- })(PendleAddLiquidityParamsAmount$ ||= {});
38214
+ init_tokenenum();
38215
+ PendleAddLiquidityParamsTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38216
+ PendleAddLiquidityParamsTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38217
+ ((PendleAddLiquidityParamsTokenIn$) => {
38218
+ PendleAddLiquidityParamsTokenIn$.inboundSchema = PendleAddLiquidityParamsTokenIn$inboundSchema;
38219
+ PendleAddLiquidityParamsTokenIn$.outboundSchema = PendleAddLiquidityParamsTokenIn$outboundSchema;
38220
+ })(PendleAddLiquidityParamsTokenIn$ ||= {});
38221
+ PendleAddLiquidityParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
38222
+ PendleAddLiquidityParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
38223
+ ((PendleAddLiquidityParamsAmountIn$) => {
38224
+ PendleAddLiquidityParamsAmountIn$.inboundSchema = PendleAddLiquidityParamsAmountIn$inboundSchema;
38225
+ PendleAddLiquidityParamsAmountIn$.outboundSchema = PendleAddLiquidityParamsAmountIn$outboundSchema;
38226
+ })(PendleAddLiquidityParamsAmountIn$ ||= {});
38220
38227
  PendleAddLiquidityParams$inboundSchema = objectType({
38221
38228
  action_type: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
38222
38229
  market_address: stringType(),
38223
- amount: unionType([numberType(), stringType()]),
38230
+ token_in: unionType([TokenEnum$inboundSchema, stringType()]),
38231
+ amount_in: unionType([numberType(), stringType()]),
38224
38232
  max_slippage_percent: numberType()
38225
38233
  }).transform((v2) => {
38226
38234
  return remap(v2, {
38227
38235
  action_type: "actionType",
38228
38236
  market_address: "marketAddress",
38237
+ token_in: "tokenIn",
38238
+ amount_in: "amountIn",
38229
38239
  max_slippage_percent: "maxSlippagePercent"
38230
38240
  });
38231
38241
  });
38232
38242
  PendleAddLiquidityParams$outboundSchema = objectType({
38233
38243
  actionType: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
38234
38244
  marketAddress: stringType(),
38235
- amount: unionType([numberType(), stringType()]),
38245
+ tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
38246
+ amountIn: unionType([numberType(), stringType()]),
38236
38247
  maxSlippagePercent: numberType()
38237
38248
  }).transform((v2) => {
38238
38249
  return remap(v2, {
38239
38250
  actionType: "action_type",
38240
38251
  marketAddress: "market_address",
38252
+ tokenIn: "token_in",
38253
+ amountIn: "amount_in",
38241
38254
  maxSlippagePercent: "max_slippage_percent"
38242
38255
  });
38243
38256
  });
@@ -38385,37 +38398,50 @@ var init_pendleredeemyieldparams = __esm(() => {
38385
38398
  });
38386
38399
 
38387
38400
  // src/models/components/pendleremoveliquidityparams.ts
38388
- var PendleRemoveLiquidityParamsAmount$inboundSchema, PendleRemoveLiquidityParamsAmount$outboundSchema, PendleRemoveLiquidityParamsAmount$, PendleRemoveLiquidityParams$inboundSchema, PendleRemoveLiquidityParams$outboundSchema, PendleRemoveLiquidityParams$;
38401
+ var PendleRemoveLiquidityParamsTokenOut$inboundSchema, PendleRemoveLiquidityParamsTokenOut$outboundSchema, PendleRemoveLiquidityParamsTokenOut$, PendleRemoveLiquidityParamsAmountIn$inboundSchema, PendleRemoveLiquidityParamsAmountIn$outboundSchema, PendleRemoveLiquidityParamsAmountIn$, PendleRemoveLiquidityParams$inboundSchema, PendleRemoveLiquidityParams$outboundSchema, PendleRemoveLiquidityParams$;
38389
38402
  var init_pendleremoveliquidityparams = __esm(() => {
38390
38403
  init_zod();
38391
38404
  init_primitives();
38392
- PendleRemoveLiquidityParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38393
- PendleRemoveLiquidityParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38394
- ((PendleRemoveLiquidityParamsAmount$) => {
38395
- PendleRemoveLiquidityParamsAmount$.inboundSchema = PendleRemoveLiquidityParamsAmount$inboundSchema;
38396
- PendleRemoveLiquidityParamsAmount$.outboundSchema = PendleRemoveLiquidityParamsAmount$outboundSchema;
38397
- })(PendleRemoveLiquidityParamsAmount$ ||= {});
38405
+ init_tokenenum();
38406
+ PendleRemoveLiquidityParamsTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38407
+ PendleRemoveLiquidityParamsTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38408
+ ((PendleRemoveLiquidityParamsTokenOut$) => {
38409
+ PendleRemoveLiquidityParamsTokenOut$.inboundSchema = PendleRemoveLiquidityParamsTokenOut$inboundSchema;
38410
+ PendleRemoveLiquidityParamsTokenOut$.outboundSchema = PendleRemoveLiquidityParamsTokenOut$outboundSchema;
38411
+ })(PendleRemoveLiquidityParamsTokenOut$ ||= {});
38412
+ PendleRemoveLiquidityParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
38413
+ PendleRemoveLiquidityParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
38414
+ ((PendleRemoveLiquidityParamsAmountIn$) => {
38415
+ PendleRemoveLiquidityParamsAmountIn$.inboundSchema = PendleRemoveLiquidityParamsAmountIn$inboundSchema;
38416
+ PendleRemoveLiquidityParamsAmountIn$.outboundSchema = PendleRemoveLiquidityParamsAmountIn$outboundSchema;
38417
+ })(PendleRemoveLiquidityParamsAmountIn$ ||= {});
38398
38418
  PendleRemoveLiquidityParams$inboundSchema = objectType({
38399
38419
  action_type: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
38400
38420
  market_address: stringType(),
38401
- amount: unionType([numberType(), stringType()]),
38421
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
38422
+ amount_in: unionType([numberType(), stringType()]),
38402
38423
  max_slippage_percent: numberType()
38403
38424
  }).transform((v2) => {
38404
38425
  return remap(v2, {
38405
38426
  action_type: "actionType",
38406
38427
  market_address: "marketAddress",
38428
+ token_out: "tokenOut",
38429
+ amount_in: "amountIn",
38407
38430
  max_slippage_percent: "maxSlippagePercent"
38408
38431
  });
38409
38432
  });
38410
38433
  PendleRemoveLiquidityParams$outboundSchema = objectType({
38411
38434
  actionType: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
38412
38435
  marketAddress: stringType(),
38413
- amount: unionType([numberType(), stringType()]),
38436
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
38437
+ amountIn: unionType([numberType(), stringType()]),
38414
38438
  maxSlippagePercent: numberType()
38415
38439
  }).transform((v2) => {
38416
38440
  return remap(v2, {
38417
38441
  actionType: "action_type",
38418
38442
  marketAddress: "market_address",
38443
+ tokenOut: "token_out",
38444
+ amountIn: "amount_in",
38419
38445
  maxSlippagePercent: "max_slippage_percent"
38420
38446
  });
38421
38447
  });
@@ -38426,37 +38452,50 @@ var init_pendleremoveliquidityparams = __esm(() => {
38426
38452
  });
38427
38453
 
38428
38454
  // src/models/components/pendlesellptparams.ts
38429
- var PendleSellPtParamsAmount$inboundSchema, PendleSellPtParamsAmount$outboundSchema, PendleSellPtParamsAmount$, PendleSellPtParams$inboundSchema, PendleSellPtParams$outboundSchema, PendleSellPtParams$;
38455
+ var PendleSellPtParamsTokenOut$inboundSchema, PendleSellPtParamsTokenOut$outboundSchema, PendleSellPtParamsTokenOut$, PendleSellPtParamsAmountIn$inboundSchema, PendleSellPtParamsAmountIn$outboundSchema, PendleSellPtParamsAmountIn$, PendleSellPtParams$inboundSchema, PendleSellPtParams$outboundSchema, PendleSellPtParams$;
38430
38456
  var init_pendlesellptparams = __esm(() => {
38431
38457
  init_zod();
38432
38458
  init_primitives();
38433
- PendleSellPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38434
- PendleSellPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38435
- ((PendleSellPtParamsAmount$) => {
38436
- PendleSellPtParamsAmount$.inboundSchema = PendleSellPtParamsAmount$inboundSchema;
38437
- PendleSellPtParamsAmount$.outboundSchema = PendleSellPtParamsAmount$outboundSchema;
38438
- })(PendleSellPtParamsAmount$ ||= {});
38459
+ init_tokenenum();
38460
+ PendleSellPtParamsTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38461
+ PendleSellPtParamsTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38462
+ ((PendleSellPtParamsTokenOut$) => {
38463
+ PendleSellPtParamsTokenOut$.inboundSchema = PendleSellPtParamsTokenOut$inboundSchema;
38464
+ PendleSellPtParamsTokenOut$.outboundSchema = PendleSellPtParamsTokenOut$outboundSchema;
38465
+ })(PendleSellPtParamsTokenOut$ ||= {});
38466
+ PendleSellPtParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
38467
+ PendleSellPtParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
38468
+ ((PendleSellPtParamsAmountIn$) => {
38469
+ PendleSellPtParamsAmountIn$.inboundSchema = PendleSellPtParamsAmountIn$inboundSchema;
38470
+ PendleSellPtParamsAmountIn$.outboundSchema = PendleSellPtParamsAmountIn$outboundSchema;
38471
+ })(PendleSellPtParamsAmountIn$ ||= {});
38439
38472
  PendleSellPtParams$inboundSchema = objectType({
38440
38473
  action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
38441
38474
  market_address: stringType(),
38442
- amount: unionType([numberType(), stringType()]),
38475
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
38476
+ amount_in: unionType([numberType(), stringType()]),
38443
38477
  max_slippage_percent: numberType()
38444
38478
  }).transform((v2) => {
38445
38479
  return remap(v2, {
38446
38480
  action_type: "actionType",
38447
38481
  market_address: "marketAddress",
38482
+ token_out: "tokenOut",
38483
+ amount_in: "amountIn",
38448
38484
  max_slippage_percent: "maxSlippagePercent"
38449
38485
  });
38450
38486
  });
38451
38487
  PendleSellPtParams$outboundSchema = objectType({
38452
38488
  actionType: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
38453
38489
  marketAddress: stringType(),
38454
- amount: unionType([numberType(), stringType()]),
38490
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
38491
+ amountIn: unionType([numberType(), stringType()]),
38455
38492
  maxSlippagePercent: numberType()
38456
38493
  }).transform((v2) => {
38457
38494
  return remap(v2, {
38458
38495
  actionType: "action_type",
38459
38496
  marketAddress: "market_address",
38497
+ tokenOut: "token_out",
38498
+ amountIn: "amount_in",
38460
38499
  maxSlippagePercent: "max_slippage_percent"
38461
38500
  });
38462
38501
  });
@@ -38467,37 +38506,50 @@ var init_pendlesellptparams = __esm(() => {
38467
38506
  });
38468
38507
 
38469
38508
  // src/models/components/pendlesellytparams.ts
38470
- var PendleSellYtParamsAmount$inboundSchema, PendleSellYtParamsAmount$outboundSchema, PendleSellYtParamsAmount$, PendleSellYtParams$inboundSchema, PendleSellYtParams$outboundSchema, PendleSellYtParams$;
38509
+ var PendleSellYtParamsTokenOut$inboundSchema, PendleSellYtParamsTokenOut$outboundSchema, PendleSellYtParamsTokenOut$, PendleSellYtParamsAmountIn$inboundSchema, PendleSellYtParamsAmountIn$outboundSchema, PendleSellYtParamsAmountIn$, PendleSellYtParams$inboundSchema, PendleSellYtParams$outboundSchema, PendleSellYtParams$;
38471
38510
  var init_pendlesellytparams = __esm(() => {
38472
38511
  init_zod();
38473
38512
  init_primitives();
38474
- PendleSellYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38475
- PendleSellYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38476
- ((PendleSellYtParamsAmount$) => {
38477
- PendleSellYtParamsAmount$.inboundSchema = PendleSellYtParamsAmount$inboundSchema;
38478
- PendleSellYtParamsAmount$.outboundSchema = PendleSellYtParamsAmount$outboundSchema;
38479
- })(PendleSellYtParamsAmount$ ||= {});
38513
+ init_tokenenum();
38514
+ PendleSellYtParamsTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38515
+ PendleSellYtParamsTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38516
+ ((PendleSellYtParamsTokenOut$) => {
38517
+ PendleSellYtParamsTokenOut$.inboundSchema = PendleSellYtParamsTokenOut$inboundSchema;
38518
+ PendleSellYtParamsTokenOut$.outboundSchema = PendleSellYtParamsTokenOut$outboundSchema;
38519
+ })(PendleSellYtParamsTokenOut$ ||= {});
38520
+ PendleSellYtParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
38521
+ PendleSellYtParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
38522
+ ((PendleSellYtParamsAmountIn$) => {
38523
+ PendleSellYtParamsAmountIn$.inboundSchema = PendleSellYtParamsAmountIn$inboundSchema;
38524
+ PendleSellYtParamsAmountIn$.outboundSchema = PendleSellYtParamsAmountIn$outboundSchema;
38525
+ })(PendleSellYtParamsAmountIn$ ||= {});
38480
38526
  PendleSellYtParams$inboundSchema = objectType({
38481
38527
  action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
38482
38528
  market_address: stringType(),
38483
- amount: unionType([numberType(), stringType()]),
38529
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
38530
+ amount_in: unionType([numberType(), stringType()]),
38484
38531
  max_slippage_percent: numberType()
38485
38532
  }).transform((v2) => {
38486
38533
  return remap(v2, {
38487
38534
  action_type: "actionType",
38488
38535
  market_address: "marketAddress",
38536
+ token_out: "tokenOut",
38537
+ amount_in: "amountIn",
38489
38538
  max_slippage_percent: "maxSlippagePercent"
38490
38539
  });
38491
38540
  });
38492
38541
  PendleSellYtParams$outboundSchema = objectType({
38493
38542
  actionType: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
38494
38543
  marketAddress: stringType(),
38495
- amount: unionType([numberType(), stringType()]),
38544
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
38545
+ amountIn: unionType([numberType(), stringType()]),
38496
38546
  maxSlippagePercent: numberType()
38497
38547
  }).transform((v2) => {
38498
38548
  return remap(v2, {
38499
38549
  actionType: "action_type",
38500
38550
  marketAddress: "market_address",
38551
+ tokenOut: "token_out",
38552
+ amountIn: "amount_in",
38501
38553
  maxSlippagePercent: "max_slippage_percent"
38502
38554
  });
38503
38555
  });
@@ -39351,27 +39403,27 @@ var init_useroperation = __esm(() => {
39351
39403
  OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
39352
39404
  actionType: v2.action_type
39353
39405
  }))),
39406
+ PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39354
39407
  PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
39355
39408
  actionType: v2.action_type
39356
39409
  }))),
39357
39410
  PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
39358
39411
  actionType: v2.action_type
39359
39412
  }))),
39360
- AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
39413
+ PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39414
+ PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39361
39415
  actionType: v2.action_type
39362
39416
  }))),
39363
- AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
39417
+ PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39364
39418
  actionType: v2.action_type
39365
39419
  }))),
39366
- AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39420
+ AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
39367
39421
  actionType: v2.action_type
39368
39422
  }))),
39369
- PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39370
- PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39371
- PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39423
+ AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
39372
39424
  actionType: v2.action_type
39373
39425
  }))),
39374
- PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39426
+ AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39375
39427
  actionType: v2.action_type
39376
39428
  }))),
39377
39429
  SetAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("SET_ALLOWANCE") }).transform((v2) => ({
@@ -39439,27 +39491,27 @@ var init_useroperation = __esm(() => {
39439
39491
  OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
39440
39492
  action_type: v2.actionType
39441
39493
  }))),
39494
+ PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39442
39495
  PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
39443
39496
  action_type: v2.actionType
39444
39497
  }))),
39445
39498
  PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
39446
39499
  action_type: v2.actionType
39447
39500
  }))),
39448
- AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
39501
+ PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39502
+ PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39449
39503
  action_type: v2.actionType
39450
39504
  }))),
39451
- AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
39505
+ PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39452
39506
  action_type: v2.actionType
39453
39507
  }))),
39454
- AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39508
+ AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
39455
39509
  action_type: v2.actionType
39456
39510
  }))),
39457
- PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39458
- PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39459
- PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39511
+ AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
39460
39512
  action_type: v2.actionType
39461
39513
  }))),
39462
- PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39514
+ AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39463
39515
  action_type: v2.actionType
39464
39516
  }))),
39465
39517
  SetAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("SET_ALLOWANCE") }).transform((v2) => ({
@@ -39534,27 +39586,27 @@ var init_useroperation = __esm(() => {
39534
39586
  OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
39535
39587
  actionType: v2.action_type
39536
39588
  }))),
39589
+ PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39537
39590
  PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
39538
39591
  actionType: v2.action_type
39539
39592
  }))),
39540
39593
  PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
39541
39594
  actionType: v2.action_type
39542
39595
  }))),
39543
- AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
39596
+ PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39597
+ PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39544
39598
  actionType: v2.action_type
39545
39599
  }))),
39546
- AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
39600
+ PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39547
39601
  actionType: v2.action_type
39548
39602
  }))),
39549
- AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39603
+ AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
39550
39604
  actionType: v2.action_type
39551
39605
  }))),
39552
- PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39553
- PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
39554
- PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39606
+ AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
39555
39607
  actionType: v2.action_type
39556
39608
  }))),
39557
- PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39609
+ AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39558
39610
  actionType: v2.action_type
39559
39611
  }))),
39560
39612
  SetAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("SET_ALLOWANCE") }).transform((v2) => ({
@@ -39624,27 +39676,27 @@ var init_useroperation = __esm(() => {
39624
39676
  OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
39625
39677
  action_type: v2.actionType
39626
39678
  }))),
39679
+ PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39627
39680
  PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
39628
39681
  action_type: v2.actionType
39629
39682
  }))),
39630
39683
  PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
39631
39684
  action_type: v2.actionType
39632
39685
  }))),
39633
- AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
39686
+ PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39687
+ PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39634
39688
  action_type: v2.actionType
39635
39689
  }))),
39636
- AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
39690
+ PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39637
39691
  action_type: v2.actionType
39638
39692
  }))),
39639
- AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39693
+ AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
39640
39694
  action_type: v2.actionType
39641
39695
  }))),
39642
- PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39643
- PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39644
- PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
39696
+ AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
39645
39697
  action_type: v2.actionType
39646
39698
  }))),
39647
- PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
39699
+ AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
39648
39700
  action_type: v2.actionType
39649
39701
  }))),
39650
39702
  SetAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("SET_ALLOWANCE") }).transform((v2) => ({
@@ -41301,21 +41353,28 @@ var init_openposition = __esm(() => {
41301
41353
  });
41302
41354
 
41303
41355
  // src/models/components/pendleaddliquidityrequest.ts
41304
- var PendleAddLiquidityRequestChain, PendleAddLiquidityRequestAmount$inboundSchema, PendleAddLiquidityRequestAmount$outboundSchema, PendleAddLiquidityRequestAmount$, PendleAddLiquidityRequestChain$inboundSchema, PendleAddLiquidityRequestChain$outboundSchema, PendleAddLiquidityRequestChain$, PendleAddLiquidityRequest$inboundSchema, PendleAddLiquidityRequest$outboundSchema, PendleAddLiquidityRequest$;
41356
+ var PendleAddLiquidityRequestChain, PendleAddLiquidityRequestTokenIn$inboundSchema, PendleAddLiquidityRequestTokenIn$outboundSchema, PendleAddLiquidityRequestTokenIn$, PendleAddLiquidityRequestAmountIn$inboundSchema, PendleAddLiquidityRequestAmountIn$outboundSchema, PendleAddLiquidityRequestAmountIn$, PendleAddLiquidityRequestChain$inboundSchema, PendleAddLiquidityRequestChain$outboundSchema, PendleAddLiquidityRequestChain$, PendleAddLiquidityRequest$inboundSchema, PendleAddLiquidityRequest$outboundSchema, PendleAddLiquidityRequest$;
41305
41357
  var init_pendleaddliquidityrequest = __esm(() => {
41306
41358
  init_zod();
41307
41359
  init_primitives();
41360
+ init_tokenenum();
41308
41361
  PendleAddLiquidityRequestChain = {
41309
41362
  ArbitrumMainnet: "arbitrum:mainnet",
41310
41363
  BaseMainnet: "base:mainnet",
41311
41364
  EthereumMainnet: "ethereum:mainnet"
41312
41365
  };
41313
- PendleAddLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41314
- PendleAddLiquidityRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
41315
- ((PendleAddLiquidityRequestAmount$) => {
41316
- PendleAddLiquidityRequestAmount$.inboundSchema = PendleAddLiquidityRequestAmount$inboundSchema;
41317
- PendleAddLiquidityRequestAmount$.outboundSchema = PendleAddLiquidityRequestAmount$outboundSchema;
41318
- })(PendleAddLiquidityRequestAmount$ ||= {});
41366
+ PendleAddLiquidityRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41367
+ PendleAddLiquidityRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
41368
+ ((PendleAddLiquidityRequestTokenIn$) => {
41369
+ PendleAddLiquidityRequestTokenIn$.inboundSchema = PendleAddLiquidityRequestTokenIn$inboundSchema;
41370
+ PendleAddLiquidityRequestTokenIn$.outboundSchema = PendleAddLiquidityRequestTokenIn$outboundSchema;
41371
+ })(PendleAddLiquidityRequestTokenIn$ ||= {});
41372
+ PendleAddLiquidityRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
41373
+ PendleAddLiquidityRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
41374
+ ((PendleAddLiquidityRequestAmountIn$) => {
41375
+ PendleAddLiquidityRequestAmountIn$.inboundSchema = PendleAddLiquidityRequestAmountIn$inboundSchema;
41376
+ PendleAddLiquidityRequestAmountIn$.outboundSchema = PendleAddLiquidityRequestAmountIn$outboundSchema;
41377
+ })(PendleAddLiquidityRequestAmountIn$ ||= {});
41319
41378
  PendleAddLiquidityRequestChain$inboundSchema = nativeEnumType(PendleAddLiquidityRequestChain);
41320
41379
  PendleAddLiquidityRequestChain$outboundSchema = PendleAddLiquidityRequestChain$inboundSchema;
41321
41380
  ((PendleAddLiquidityRequestChain$) => {
@@ -41325,7 +41384,8 @@ var init_pendleaddliquidityrequest = __esm(() => {
41325
41384
  PendleAddLiquidityRequest$inboundSchema = objectType({
41326
41385
  action_type: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
41327
41386
  market_address: stringType(),
41328
- amount: unionType([numberType(), stringType()]),
41387
+ token_in: unionType([TokenEnum$inboundSchema, stringType()]),
41388
+ amount_in: unionType([numberType(), stringType()]),
41329
41389
  max_slippage_percent: numberType(),
41330
41390
  chain: PendleAddLiquidityRequestChain$inboundSchema,
41331
41391
  sender: stringType()
@@ -41333,13 +41393,16 @@ var init_pendleaddliquidityrequest = __esm(() => {
41333
41393
  return remap(v2, {
41334
41394
  action_type: "actionType",
41335
41395
  market_address: "marketAddress",
41396
+ token_in: "tokenIn",
41397
+ amount_in: "amountIn",
41336
41398
  max_slippage_percent: "maxSlippagePercent"
41337
41399
  });
41338
41400
  });
41339
41401
  PendleAddLiquidityRequest$outboundSchema = objectType({
41340
41402
  actionType: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
41341
41403
  marketAddress: stringType(),
41342
- amount: unionType([numberType(), stringType()]),
41404
+ tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
41405
+ amountIn: unionType([numberType(), stringType()]),
41343
41406
  maxSlippagePercent: numberType(),
41344
41407
  chain: PendleAddLiquidityRequestChain$outboundSchema,
41345
41408
  sender: stringType()
@@ -41347,6 +41410,8 @@ var init_pendleaddliquidityrequest = __esm(() => {
41347
41410
  return remap(v2, {
41348
41411
  actionType: "action_type",
41349
41412
  marketAddress: "market_address",
41413
+ tokenIn: "token_in",
41414
+ amountIn: "amount_in",
41350
41415
  maxSlippagePercent: "max_slippage_percent"
41351
41416
  });
41352
41417
  });
@@ -41717,21 +41782,28 @@ var init_pendleredeemyieldrequest = __esm(() => {
41717
41782
  });
41718
41783
 
41719
41784
  // src/models/components/pendleremoveliquidityrequest.ts
41720
- var PendleRemoveLiquidityRequestChain, PendleRemoveLiquidityRequestAmount$inboundSchema, PendleRemoveLiquidityRequestAmount$outboundSchema, PendleRemoveLiquidityRequestAmount$, PendleRemoveLiquidityRequestChain$inboundSchema, PendleRemoveLiquidityRequestChain$outboundSchema, PendleRemoveLiquidityRequestChain$, PendleRemoveLiquidityRequest$inboundSchema, PendleRemoveLiquidityRequest$outboundSchema, PendleRemoveLiquidityRequest$;
41785
+ var PendleRemoveLiquidityRequestChain, PendleRemoveLiquidityRequestTokenOut$inboundSchema, PendleRemoveLiquidityRequestTokenOut$outboundSchema, PendleRemoveLiquidityRequestTokenOut$, PendleRemoveLiquidityRequestAmountIn$inboundSchema, PendleRemoveLiquidityRequestAmountIn$outboundSchema, PendleRemoveLiquidityRequestAmountIn$, PendleRemoveLiquidityRequestChain$inboundSchema, PendleRemoveLiquidityRequestChain$outboundSchema, PendleRemoveLiquidityRequestChain$, PendleRemoveLiquidityRequest$inboundSchema, PendleRemoveLiquidityRequest$outboundSchema, PendleRemoveLiquidityRequest$;
41721
41786
  var init_pendleremoveliquidityrequest = __esm(() => {
41722
41787
  init_zod();
41723
41788
  init_primitives();
41789
+ init_tokenenum();
41724
41790
  PendleRemoveLiquidityRequestChain = {
41725
41791
  ArbitrumMainnet: "arbitrum:mainnet",
41726
41792
  BaseMainnet: "base:mainnet",
41727
41793
  EthereumMainnet: "ethereum:mainnet"
41728
41794
  };
41729
- PendleRemoveLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41730
- PendleRemoveLiquidityRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
41731
- ((PendleRemoveLiquidityRequestAmount$) => {
41732
- PendleRemoveLiquidityRequestAmount$.inboundSchema = PendleRemoveLiquidityRequestAmount$inboundSchema;
41733
- PendleRemoveLiquidityRequestAmount$.outboundSchema = PendleRemoveLiquidityRequestAmount$outboundSchema;
41734
- })(PendleRemoveLiquidityRequestAmount$ ||= {});
41795
+ PendleRemoveLiquidityRequestTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41796
+ PendleRemoveLiquidityRequestTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
41797
+ ((PendleRemoveLiquidityRequestTokenOut$) => {
41798
+ PendleRemoveLiquidityRequestTokenOut$.inboundSchema = PendleRemoveLiquidityRequestTokenOut$inboundSchema;
41799
+ PendleRemoveLiquidityRequestTokenOut$.outboundSchema = PendleRemoveLiquidityRequestTokenOut$outboundSchema;
41800
+ })(PendleRemoveLiquidityRequestTokenOut$ ||= {});
41801
+ PendleRemoveLiquidityRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
41802
+ PendleRemoveLiquidityRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
41803
+ ((PendleRemoveLiquidityRequestAmountIn$) => {
41804
+ PendleRemoveLiquidityRequestAmountIn$.inboundSchema = PendleRemoveLiquidityRequestAmountIn$inboundSchema;
41805
+ PendleRemoveLiquidityRequestAmountIn$.outboundSchema = PendleRemoveLiquidityRequestAmountIn$outboundSchema;
41806
+ })(PendleRemoveLiquidityRequestAmountIn$ ||= {});
41735
41807
  PendleRemoveLiquidityRequestChain$inboundSchema = nativeEnumType(PendleRemoveLiquidityRequestChain);
41736
41808
  PendleRemoveLiquidityRequestChain$outboundSchema = PendleRemoveLiquidityRequestChain$inboundSchema;
41737
41809
  ((PendleRemoveLiquidityRequestChain$) => {
@@ -41741,7 +41813,8 @@ var init_pendleremoveliquidityrequest = __esm(() => {
41741
41813
  PendleRemoveLiquidityRequest$inboundSchema = objectType({
41742
41814
  action_type: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
41743
41815
  market_address: stringType(),
41744
- amount: unionType([numberType(), stringType()]),
41816
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
41817
+ amount_in: unionType([numberType(), stringType()]),
41745
41818
  max_slippage_percent: numberType(),
41746
41819
  chain: PendleRemoveLiquidityRequestChain$inboundSchema,
41747
41820
  sender: stringType()
@@ -41749,13 +41822,16 @@ var init_pendleremoveliquidityrequest = __esm(() => {
41749
41822
  return remap(v2, {
41750
41823
  action_type: "actionType",
41751
41824
  market_address: "marketAddress",
41825
+ token_out: "tokenOut",
41826
+ amount_in: "amountIn",
41752
41827
  max_slippage_percent: "maxSlippagePercent"
41753
41828
  });
41754
41829
  });
41755
41830
  PendleRemoveLiquidityRequest$outboundSchema = objectType({
41756
41831
  actionType: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
41757
41832
  marketAddress: stringType(),
41758
- amount: unionType([numberType(), stringType()]),
41833
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
41834
+ amountIn: unionType([numberType(), stringType()]),
41759
41835
  maxSlippagePercent: numberType(),
41760
41836
  chain: PendleRemoveLiquidityRequestChain$outboundSchema,
41761
41837
  sender: stringType()
@@ -41763,6 +41839,8 @@ var init_pendleremoveliquidityrequest = __esm(() => {
41763
41839
  return remap(v2, {
41764
41840
  actionType: "action_type",
41765
41841
  marketAddress: "market_address",
41842
+ tokenOut: "token_out",
41843
+ amountIn: "amount_in",
41766
41844
  maxSlippagePercent: "max_slippage_percent"
41767
41845
  });
41768
41846
  });
@@ -41773,21 +41851,28 @@ var init_pendleremoveliquidityrequest = __esm(() => {
41773
41851
  });
41774
41852
 
41775
41853
  // src/models/components/pendlesellptrequest.ts
41776
- var PendleSellPtRequestChain, PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundSchema, PendleSellPtRequestAmount$, PendleSellPtRequestChain$inboundSchema, PendleSellPtRequestChain$outboundSchema, PendleSellPtRequestChain$, PendleSellPtRequest$inboundSchema, PendleSellPtRequest$outboundSchema, PendleSellPtRequest$;
41854
+ var PendleSellPtRequestChain, PendleSellPtRequestTokenOut$inboundSchema, PendleSellPtRequestTokenOut$outboundSchema, PendleSellPtRequestTokenOut$, PendleSellPtRequestAmountIn$inboundSchema, PendleSellPtRequestAmountIn$outboundSchema, PendleSellPtRequestAmountIn$, PendleSellPtRequestChain$inboundSchema, PendleSellPtRequestChain$outboundSchema, PendleSellPtRequestChain$, PendleSellPtRequest$inboundSchema, PendleSellPtRequest$outboundSchema, PendleSellPtRequest$;
41777
41855
  var init_pendlesellptrequest = __esm(() => {
41778
41856
  init_zod();
41779
41857
  init_primitives();
41858
+ init_tokenenum();
41780
41859
  PendleSellPtRequestChain = {
41781
41860
  ArbitrumMainnet: "arbitrum:mainnet",
41782
41861
  BaseMainnet: "base:mainnet",
41783
41862
  EthereumMainnet: "ethereum:mainnet"
41784
41863
  };
41785
- PendleSellPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41786
- PendleSellPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
41787
- ((PendleSellPtRequestAmount$) => {
41788
- PendleSellPtRequestAmount$.inboundSchema = PendleSellPtRequestAmount$inboundSchema;
41789
- PendleSellPtRequestAmount$.outboundSchema = PendleSellPtRequestAmount$outboundSchema;
41790
- })(PendleSellPtRequestAmount$ ||= {});
41864
+ PendleSellPtRequestTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41865
+ PendleSellPtRequestTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
41866
+ ((PendleSellPtRequestTokenOut$) => {
41867
+ PendleSellPtRequestTokenOut$.inboundSchema = PendleSellPtRequestTokenOut$inboundSchema;
41868
+ PendleSellPtRequestTokenOut$.outboundSchema = PendleSellPtRequestTokenOut$outboundSchema;
41869
+ })(PendleSellPtRequestTokenOut$ ||= {});
41870
+ PendleSellPtRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
41871
+ PendleSellPtRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
41872
+ ((PendleSellPtRequestAmountIn$) => {
41873
+ PendleSellPtRequestAmountIn$.inboundSchema = PendleSellPtRequestAmountIn$inboundSchema;
41874
+ PendleSellPtRequestAmountIn$.outboundSchema = PendleSellPtRequestAmountIn$outboundSchema;
41875
+ })(PendleSellPtRequestAmountIn$ ||= {});
41791
41876
  PendleSellPtRequestChain$inboundSchema = nativeEnumType(PendleSellPtRequestChain);
41792
41877
  PendleSellPtRequestChain$outboundSchema = PendleSellPtRequestChain$inboundSchema;
41793
41878
  ((PendleSellPtRequestChain$) => {
@@ -41797,7 +41882,8 @@ var init_pendlesellptrequest = __esm(() => {
41797
41882
  PendleSellPtRequest$inboundSchema = objectType({
41798
41883
  action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
41799
41884
  market_address: stringType(),
41800
- amount: unionType([numberType(), stringType()]),
41885
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
41886
+ amount_in: unionType([numberType(), stringType()]),
41801
41887
  max_slippage_percent: numberType(),
41802
41888
  chain: PendleSellPtRequestChain$inboundSchema,
41803
41889
  sender: stringType()
@@ -41805,13 +41891,16 @@ var init_pendlesellptrequest = __esm(() => {
41805
41891
  return remap(v2, {
41806
41892
  action_type: "actionType",
41807
41893
  market_address: "marketAddress",
41894
+ token_out: "tokenOut",
41895
+ amount_in: "amountIn",
41808
41896
  max_slippage_percent: "maxSlippagePercent"
41809
41897
  });
41810
41898
  });
41811
41899
  PendleSellPtRequest$outboundSchema = objectType({
41812
41900
  actionType: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
41813
41901
  marketAddress: stringType(),
41814
- amount: unionType([numberType(), stringType()]),
41902
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
41903
+ amountIn: unionType([numberType(), stringType()]),
41815
41904
  maxSlippagePercent: numberType(),
41816
41905
  chain: PendleSellPtRequestChain$outboundSchema,
41817
41906
  sender: stringType()
@@ -41819,6 +41908,8 @@ var init_pendlesellptrequest = __esm(() => {
41819
41908
  return remap(v2, {
41820
41909
  actionType: "action_type",
41821
41910
  marketAddress: "market_address",
41911
+ tokenOut: "token_out",
41912
+ amountIn: "amount_in",
41822
41913
  maxSlippagePercent: "max_slippage_percent"
41823
41914
  });
41824
41915
  });
@@ -41829,21 +41920,28 @@ var init_pendlesellptrequest = __esm(() => {
41829
41920
  });
41830
41921
 
41831
41922
  // src/models/components/pendlesellytrequest.ts
41832
- var PendleSellYtRequestChain, PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundSchema, PendleSellYtRequestAmount$, PendleSellYtRequestChain$inboundSchema, PendleSellYtRequestChain$outboundSchema, PendleSellYtRequestChain$, PendleSellYtRequest$inboundSchema, PendleSellYtRequest$outboundSchema, PendleSellYtRequest$;
41923
+ var PendleSellYtRequestChain, PendleSellYtRequestTokenOut$inboundSchema, PendleSellYtRequestTokenOut$outboundSchema, PendleSellYtRequestTokenOut$, PendleSellYtRequestAmountIn$inboundSchema, PendleSellYtRequestAmountIn$outboundSchema, PendleSellYtRequestAmountIn$, PendleSellYtRequestChain$inboundSchema, PendleSellYtRequestChain$outboundSchema, PendleSellYtRequestChain$, PendleSellYtRequest$inboundSchema, PendleSellYtRequest$outboundSchema, PendleSellYtRequest$;
41833
41924
  var init_pendlesellytrequest = __esm(() => {
41834
41925
  init_zod();
41835
41926
  init_primitives();
41927
+ init_tokenenum();
41836
41928
  PendleSellYtRequestChain = {
41837
41929
  ArbitrumMainnet: "arbitrum:mainnet",
41838
41930
  BaseMainnet: "base:mainnet",
41839
41931
  EthereumMainnet: "ethereum:mainnet"
41840
41932
  };
41841
- PendleSellYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41842
- PendleSellYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
41843
- ((PendleSellYtRequestAmount$) => {
41844
- PendleSellYtRequestAmount$.inboundSchema = PendleSellYtRequestAmount$inboundSchema;
41845
- PendleSellYtRequestAmount$.outboundSchema = PendleSellYtRequestAmount$outboundSchema;
41846
- })(PendleSellYtRequestAmount$ ||= {});
41933
+ PendleSellYtRequestTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41934
+ PendleSellYtRequestTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
41935
+ ((PendleSellYtRequestTokenOut$) => {
41936
+ PendleSellYtRequestTokenOut$.inboundSchema = PendleSellYtRequestTokenOut$inboundSchema;
41937
+ PendleSellYtRequestTokenOut$.outboundSchema = PendleSellYtRequestTokenOut$outboundSchema;
41938
+ })(PendleSellYtRequestTokenOut$ ||= {});
41939
+ PendleSellYtRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
41940
+ PendleSellYtRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
41941
+ ((PendleSellYtRequestAmountIn$) => {
41942
+ PendleSellYtRequestAmountIn$.inboundSchema = PendleSellYtRequestAmountIn$inboundSchema;
41943
+ PendleSellYtRequestAmountIn$.outboundSchema = PendleSellYtRequestAmountIn$outboundSchema;
41944
+ })(PendleSellYtRequestAmountIn$ ||= {});
41847
41945
  PendleSellYtRequestChain$inboundSchema = nativeEnumType(PendleSellYtRequestChain);
41848
41946
  PendleSellYtRequestChain$outboundSchema = PendleSellYtRequestChain$inboundSchema;
41849
41947
  ((PendleSellYtRequestChain$) => {
@@ -41853,7 +41951,8 @@ var init_pendlesellytrequest = __esm(() => {
41853
41951
  PendleSellYtRequest$inboundSchema = objectType({
41854
41952
  action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
41855
41953
  market_address: stringType(),
41856
- amount: unionType([numberType(), stringType()]),
41954
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
41955
+ amount_in: unionType([numberType(), stringType()]),
41857
41956
  max_slippage_percent: numberType(),
41858
41957
  chain: PendleSellYtRequestChain$inboundSchema,
41859
41958
  sender: stringType()
@@ -41861,13 +41960,16 @@ var init_pendlesellytrequest = __esm(() => {
41861
41960
  return remap(v2, {
41862
41961
  action_type: "actionType",
41863
41962
  market_address: "marketAddress",
41963
+ token_out: "tokenOut",
41964
+ amount_in: "amountIn",
41864
41965
  max_slippage_percent: "maxSlippagePercent"
41865
41966
  });
41866
41967
  });
41867
41968
  PendleSellYtRequest$outboundSchema = objectType({
41868
41969
  actionType: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
41869
41970
  marketAddress: stringType(),
41870
- amount: unionType([numberType(), stringType()]),
41971
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
41972
+ amountIn: unionType([numberType(), stringType()]),
41871
41973
  maxSlippagePercent: numberType(),
41872
41974
  chain: PendleSellYtRequestChain$outboundSchema,
41873
41975
  sender: stringType()
@@ -41875,6 +41977,8 @@ var init_pendlesellytrequest = __esm(() => {
41875
41977
  return remap(v2, {
41876
41978
  actionType: "action_type",
41877
41979
  marketAddress: "market_address",
41980
+ tokenOut: "token_out",
41981
+ amountIn: "amount_in",
41878
41982
  maxSlippagePercent: "max_slippage_percent"
41879
41983
  });
41880
41984
  });
@@ -55551,7 +55655,7 @@ it to be traded on DeFi protocols.`,
55551
55655
  function createMCPServer(deps) {
55552
55656
  const server = new McpServer({
55553
55657
  name: "CompassApiSDK",
55554
- version: "0.5.57"
55658
+ version: "0.5.58"
55555
55659
  });
55556
55660
  const client = new CompassApiSDKCore({
55557
55661
  apiKeyAuth: deps.apiKeyAuth,
@@ -56929,7 +57033,7 @@ var routes = ln({
56929
57033
  var app = _e(routes, {
56930
57034
  name: "mcp",
56931
57035
  versionInfo: {
56932
- currentVersion: "0.5.57"
57036
+ currentVersion: "0.5.58"
56933
57037
  }
56934
57038
  });
56935
57039
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -56937,5 +57041,5 @@ export {
56937
57041
  app
56938
57042
  };
56939
57043
 
56940
- //# debugId=55AFE16571F6449364756E2164756E21
57044
+ //# debugId=4BBD3E358F53347164756E2164756E21
56941
57045
  //# sourceMappingURL=mcp-server.js.map