@klappay/types 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export { A as ALT_TOKEN_ADDRESSES, a as ALT_TOKEN_DECIMALS, b as AltToken, c as AltTokenSchema, C as CHAIN_IDS, E as EVM_NETWORKS, d as Environment, e as EnvironmentSchema, f as EvmNetwork, N as NETWORK_EXPLORERS, g as NETWORK_LABELS, h as Network, i as NetworkSchema, O as OPERATIONAL_NETWORKS, j as OperationalNetwork, S as SwapAlternative, k as SwapAlternativeSchema, T as TOKEN_ADDRESSES, l as TOKEN_DECIMALS, m as Token, n as TokenSchema, o as listSwapAlternatives } from './constants-DQGVNS9O.mjs';
2
+ export { A as ALT_TOKEN_ADDRESSES, a as ALT_TOKEN_DECIMALS, b as AltToken, c as AltTokenSchema, C as CHAIN_IDS, E as EVM_NETWORKS, d as Environment, e as EnvironmentSchema, f as EvmNetwork, N as NETWORK_EXPLORERS, g as NETWORK_LABELS, h as Network, i as NetworkSchema, O as OPERATIONAL_NETWORKS, j as OperationalNetwork, S as SwapAlternative, k as SwapAlternativeSchema, T as TOKEN_ADDRESSES, l as TOKEN_DECIMALS, m as TOKEN_DEPLOYMENTS, n as Token, o as TokenDeployment, p as TokenSchema, q as getTokenDeployment, r as isPaymentDeploymentEnabled, s as listSwapAlternatives } from './constants-Di4Qr6af.mjs';
3
3
 
4
4
  declare const ErrorPayloadSchema: z.ZodObject<{
5
5
  error: z.ZodObject<{
@@ -359,11 +359,14 @@ type CreateChargeRequest = z.input<typeof CreateChargeSchema>;
359
359
  declare const ChargeSchema: z.ZodObject<{
360
360
  id: z.ZodString;
361
361
  amount: z.ZodNumber;
362
+ amountExact: z.ZodOptional<z.ZodString>;
362
363
  feePayer: z.ZodEnum<["merchant", "payer"]>;
363
364
  feePercent: z.ZodNumber;
364
365
  feeAmount: z.ZodNumber;
365
366
  merchantAmount: z.ZodNumber;
366
367
  amountReceived: z.ZodNullable<z.ZodNumber>;
368
+ amountReceivedExact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
+ paymentUnavailable: z.ZodOptional<z.ZodBoolean>;
367
370
  isOverpaid: z.ZodBoolean;
368
371
  currency: z.ZodString;
369
372
  acceptedPayments: z.ZodArray<z.ZodObject<{
@@ -387,13 +390,13 @@ declare const ChargeSchema: z.ZodObject<{
387
390
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
388
391
  }>, "many">;
389
392
  swapAlternatives: z.ZodArray<z.ZodObject<{
390
- token: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
393
+ token: z.ZodEnum<["ETH", "BNB", "POL", "AVAX", "BTC", "LINK", "ARB", "OP", "CBETH"]>;
391
394
  network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
392
395
  }, "strip", z.ZodTypeAny, {
393
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
396
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
394
397
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
395
398
  }, {
396
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
399
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
397
400
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
398
401
  }>, "many">;
399
402
  address: z.ZodString;
@@ -585,7 +588,7 @@ declare const ChargeSchema: z.ZodObject<{
585
588
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
586
589
  }[];
587
590
  swapAlternatives: {
588
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
591
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
589
592
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
590
593
  }[];
591
594
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -598,6 +601,9 @@ declare const ChargeSchema: z.ZodObject<{
598
601
  confirmedAt: string | null;
599
602
  settledAt: string | null;
600
603
  lastActivityAt: string;
604
+ amountExact?: string | undefined;
605
+ amountReceivedExact?: string | null | undefined;
606
+ paymentUnavailable?: boolean | undefined;
601
607
  }, {
602
608
  status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
603
609
  address: string;
@@ -661,7 +667,7 @@ declare const ChargeSchema: z.ZodObject<{
661
667
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
662
668
  }[];
663
669
  swapAlternatives: {
664
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
670
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
665
671
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
666
672
  }[];
667
673
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -674,6 +680,9 @@ declare const ChargeSchema: z.ZodObject<{
674
680
  confirmedAt: string | null;
675
681
  settledAt: string | null;
676
682
  lastActivityAt: string;
683
+ amountExact?: string | undefined;
684
+ amountReceivedExact?: string | null | undefined;
685
+ paymentUnavailable?: boolean | undefined;
677
686
  }>;
678
687
  type Charge = z.infer<typeof ChargeSchema>;
679
688
  declare const ListChargesSchema: z.ZodObject<{
@@ -711,11 +720,14 @@ declare const PaginatedChargesSchema: z.ZodObject<{
711
720
  data: z.ZodArray<z.ZodObject<{
712
721
  id: z.ZodString;
713
722
  amount: z.ZodNumber;
723
+ amountExact: z.ZodOptional<z.ZodString>;
714
724
  feePayer: z.ZodEnum<["merchant", "payer"]>;
715
725
  feePercent: z.ZodNumber;
716
726
  feeAmount: z.ZodNumber;
717
727
  merchantAmount: z.ZodNumber;
718
728
  amountReceived: z.ZodNullable<z.ZodNumber>;
729
+ amountReceivedExact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
+ paymentUnavailable: z.ZodOptional<z.ZodBoolean>;
719
731
  isOverpaid: z.ZodBoolean;
720
732
  currency: z.ZodString;
721
733
  acceptedPayments: z.ZodArray<z.ZodObject<{
@@ -739,13 +751,13 @@ declare const PaginatedChargesSchema: z.ZodObject<{
739
751
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
740
752
  }>, "many">;
741
753
  swapAlternatives: z.ZodArray<z.ZodObject<{
742
- token: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
754
+ token: z.ZodEnum<["ETH", "BNB", "POL", "AVAX", "BTC", "LINK", "ARB", "OP", "CBETH"]>;
743
755
  network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
744
756
  }, "strip", z.ZodTypeAny, {
745
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
757
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
746
758
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
747
759
  }, {
748
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
760
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
749
761
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
750
762
  }>, "many">;
751
763
  address: z.ZodString;
@@ -937,7 +949,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
937
949
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
938
950
  }[];
939
951
  swapAlternatives: {
940
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
952
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
941
953
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
942
954
  }[];
943
955
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -950,6 +962,9 @@ declare const PaginatedChargesSchema: z.ZodObject<{
950
962
  confirmedAt: string | null;
951
963
  settledAt: string | null;
952
964
  lastActivityAt: string;
965
+ amountExact?: string | undefined;
966
+ amountReceivedExact?: string | null | undefined;
967
+ paymentUnavailable?: boolean | undefined;
953
968
  }, {
954
969
  status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
955
970
  address: string;
@@ -1013,7 +1028,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
1013
1028
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1014
1029
  }[];
1015
1030
  swapAlternatives: {
1016
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1031
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1017
1032
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1018
1033
  }[];
1019
1034
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -1026,6 +1041,9 @@ declare const PaginatedChargesSchema: z.ZodObject<{
1026
1041
  confirmedAt: string | null;
1027
1042
  settledAt: string | null;
1028
1043
  lastActivityAt: string;
1044
+ amountExact?: string | undefined;
1045
+ amountReceivedExact?: string | null | undefined;
1046
+ paymentUnavailable?: boolean | undefined;
1029
1047
  }>, "many">;
1030
1048
  nextCursor: z.ZodNullable<z.ZodString>;
1031
1049
  hasMore: z.ZodBoolean;
@@ -1093,7 +1111,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
1093
1111
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1094
1112
  }[];
1095
1113
  swapAlternatives: {
1096
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1114
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1097
1115
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1098
1116
  }[];
1099
1117
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -1106,6 +1124,9 @@ declare const PaginatedChargesSchema: z.ZodObject<{
1106
1124
  confirmedAt: string | null;
1107
1125
  settledAt: string | null;
1108
1126
  lastActivityAt: string;
1127
+ amountExact?: string | undefined;
1128
+ amountReceivedExact?: string | null | undefined;
1129
+ paymentUnavailable?: boolean | undefined;
1109
1130
  }[];
1110
1131
  nextCursor: string | null;
1111
1132
  hasMore: boolean;
@@ -1173,7 +1194,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
1173
1194
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1174
1195
  }[];
1175
1196
  swapAlternatives: {
1176
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1197
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1177
1198
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1178
1199
  }[];
1179
1200
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -1186,6 +1207,9 @@ declare const PaginatedChargesSchema: z.ZodObject<{
1186
1207
  confirmedAt: string | null;
1187
1208
  settledAt: string | null;
1188
1209
  lastActivityAt: string;
1210
+ amountExact?: string | undefined;
1211
+ amountReceivedExact?: string | null | undefined;
1212
+ paymentUnavailable?: boolean | undefined;
1189
1213
  }[];
1190
1214
  nextCursor: string | null;
1191
1215
  hasMore: boolean;
@@ -1224,11 +1248,14 @@ type CheckChargeRequest = z.infer<typeof CheckChargeRequestSchema>;
1224
1248
  declare const CheckChargeResponseSchema: z.ZodObject<{
1225
1249
  id: z.ZodString;
1226
1250
  amount: z.ZodNumber;
1251
+ amountExact: z.ZodOptional<z.ZodString>;
1227
1252
  feePayer: z.ZodEnum<["merchant", "payer"]>;
1228
1253
  feePercent: z.ZodNumber;
1229
1254
  feeAmount: z.ZodNumber;
1230
1255
  merchantAmount: z.ZodNumber;
1231
1256
  amountReceived: z.ZodNullable<z.ZodNumber>;
1257
+ amountReceivedExact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1258
+ paymentUnavailable: z.ZodOptional<z.ZodBoolean>;
1232
1259
  isOverpaid: z.ZodBoolean;
1233
1260
  currency: z.ZodString;
1234
1261
  acceptedPayments: z.ZodArray<z.ZodObject<{
@@ -1252,13 +1279,13 @@ declare const CheckChargeResponseSchema: z.ZodObject<{
1252
1279
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1253
1280
  }>, "many">;
1254
1281
  swapAlternatives: z.ZodArray<z.ZodObject<{
1255
- token: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
1282
+ token: z.ZodEnum<["ETH", "BNB", "POL", "AVAX", "BTC", "LINK", "ARB", "OP", "CBETH"]>;
1256
1283
  network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1257
1284
  }, "strip", z.ZodTypeAny, {
1258
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1285
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1259
1286
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1260
1287
  }, {
1261
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1288
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1262
1289
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1263
1290
  }>, "many">;
1264
1291
  address: z.ZodString;
@@ -1468,7 +1495,7 @@ declare const CheckChargeResponseSchema: z.ZodObject<{
1468
1495
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1469
1496
  }[];
1470
1497
  swapAlternatives: {
1471
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1498
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1472
1499
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1473
1500
  }[];
1474
1501
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -1488,6 +1515,9 @@ declare const CheckChargeResponseSchema: z.ZodObject<{
1488
1515
  blocksSeen: number;
1489
1516
  blocksRequired: number;
1490
1517
  } | null;
1518
+ amountExact?: string | undefined;
1519
+ amountReceivedExact?: string | null | undefined;
1520
+ paymentUnavailable?: boolean | undefined;
1491
1521
  }, {
1492
1522
  status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
1493
1523
  address: string;
@@ -1551,7 +1581,7 @@ declare const CheckChargeResponseSchema: z.ZodObject<{
1551
1581
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1552
1582
  }[];
1553
1583
  swapAlternatives: {
1554
- token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1584
+ token: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
1555
1585
  network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1556
1586
  }[];
1557
1587
  settlementStatus: "pending" | "completed" | "failed" | null;
@@ -1571,6 +1601,9 @@ declare const CheckChargeResponseSchema: z.ZodObject<{
1571
1601
  blocksSeen: number;
1572
1602
  blocksRequired: number;
1573
1603
  } | null;
1604
+ amountExact?: string | undefined;
1605
+ amountReceivedExact?: string | null | undefined;
1606
+ paymentUnavailable?: boolean | undefined;
1574
1607
  }>;
1575
1608
  type CheckChargeResponse = z.infer<typeof CheckChargeResponseSchema>;
1576
1609
 
@@ -3062,35 +3095,43 @@ declare const CapabilitiesSchema: z.ZodObject<{
3062
3095
  type Capabilities = z.infer<typeof CapabilitiesSchema>;
3063
3096
 
3064
3097
  declare const CreateSwapQuoteSchema: z.ZodObject<{
3065
- inputToken: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
3098
+ inputToken: z.ZodEnum<["ETH", "BNB", "POL", "AVAX", "BTC", "LINK", "ARB", "OP", "CBETH"]>;
3066
3099
  inputNetwork: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
3067
3100
  takerAddress: z.ZodString;
3068
3101
  }, "strip", z.ZodTypeAny, {
3069
- inputToken: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
3102
+ inputToken: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
3070
3103
  inputNetwork: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
3071
3104
  takerAddress: string;
3072
3105
  }, {
3073
- inputToken: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
3106
+ inputToken: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
3074
3107
  inputNetwork: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
3075
3108
  takerAddress: string;
3076
3109
  }>;
3077
3110
  type CreateSwapQuoteInput = z.infer<typeof CreateSwapQuoteSchema>;
3078
3111
  declare const SwapQuoteSchema: z.ZodObject<{
3079
- inputToken: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
3112
+ inputToken: z.ZodEnum<["ETH", "BNB", "POL", "AVAX", "BTC", "LINK", "ARB", "OP", "CBETH"]>;
3080
3113
  inputNetwork: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
3081
3114
  inputAmount: z.ZodNumber;
3115
+ inputAmountExact: z.ZodOptional<z.ZodString>;
3082
3116
  outputToken: z.ZodEnum<["USDC", "USDT"]>;
3083
3117
  outputNetwork: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
3084
3118
  outputAmount: z.ZodNumber;
3119
+ outputAmountExact: z.ZodOptional<z.ZodString>;
3085
3120
  fees: z.ZodObject<{
3086
3121
  klappayFee: z.ZodNumber;
3122
+ klappayFeeExact: z.ZodOptional<z.ZodString>;
3087
3123
  zeroExFee: z.ZodNullable<z.ZodNumber>;
3124
+ zeroExFeeExact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3088
3125
  }, "strip", z.ZodTypeAny, {
3089
3126
  klappayFee: number;
3090
3127
  zeroExFee: number | null;
3128
+ klappayFeeExact?: string | undefined;
3129
+ zeroExFeeExact?: string | null | undefined;
3091
3130
  }, {
3092
3131
  klappayFee: number;
3093
3132
  zeroExFee: number | null;
3133
+ klappayFeeExact?: string | undefined;
3134
+ zeroExFeeExact?: string | null | undefined;
3094
3135
  }>;
3095
3136
  expiresAt: z.ZodString;
3096
3137
  transaction: z.ZodObject<{
@@ -3115,7 +3156,7 @@ declare const SwapQuoteSchema: z.ZodObject<{
3115
3156
  }>>>;
3116
3157
  }, "strip", z.ZodTypeAny, {
3117
3158
  expiresAt: string;
3118
- inputToken: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
3159
+ inputToken: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
3119
3160
  inputNetwork: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
3120
3161
  inputAmount: number;
3121
3162
  outputToken: "USDC" | "USDT";
@@ -3124,18 +3165,22 @@ declare const SwapQuoteSchema: z.ZodObject<{
3124
3165
  fees: {
3125
3166
  klappayFee: number;
3126
3167
  zeroExFee: number | null;
3168
+ klappayFeeExact?: string | undefined;
3169
+ zeroExFeeExact?: string | null | undefined;
3127
3170
  };
3128
3171
  transaction: {
3129
3172
  value: string;
3130
3173
  data: string;
3131
3174
  to: string;
3132
3175
  };
3176
+ inputAmountExact?: string | undefined;
3177
+ outputAmountExact?: string | undefined;
3133
3178
  permit2?: {
3134
3179
  eip712: Record<string, unknown>;
3135
3180
  } | null | undefined;
3136
3181
  }, {
3137
3182
  expiresAt: string;
3138
- inputToken: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
3183
+ inputToken: "ETH" | "BNB" | "POL" | "AVAX" | "BTC" | "LINK" | "ARB" | "OP" | "CBETH";
3139
3184
  inputNetwork: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
3140
3185
  inputAmount: number;
3141
3186
  outputToken: "USDC" | "USDT";
@@ -3144,12 +3189,16 @@ declare const SwapQuoteSchema: z.ZodObject<{
3144
3189
  fees: {
3145
3190
  klappayFee: number;
3146
3191
  zeroExFee: number | null;
3192
+ klappayFeeExact?: string | undefined;
3193
+ zeroExFeeExact?: string | null | undefined;
3147
3194
  };
3148
3195
  transaction: {
3149
3196
  value: string;
3150
3197
  data: string;
3151
3198
  to: string;
3152
3199
  };
3200
+ inputAmountExact?: string | undefined;
3201
+ outputAmountExact?: string | undefined;
3153
3202
  permit2?: {
3154
3203
  eip712: Record<string, unknown>;
3155
3204
  } | null | undefined;