@zkp2p/cash 0.1.8 → 0.2.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.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, j as CashFillStats, P as PrepareResult, k as CashPreparedStep, R as RelayExecutionResult, l as RelayQuote, m as RelayStatus, n as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-BIzOLHjF.cjs';
2
- export { o as CASH_ATTRIBUTION_CODE, p as CashAsset, q as CashChain, r as CashClient, s as CashClientOptions, t as CashFillEta, u as CashLeg, v as CashNextAction, w as CashOrderState, x as CashPairFillStats, y as CashPayout, z as CashPayoutPricing, A as CashPlatformCapability, B as CashPreparedStepKind, D as CashoutInput, E as CashoutOptions, F as CuratorPayeeDataInput, G as EstimateInput, M as MIN_CASHOUT_AMOUNT, O as OrdersOptions, H as RECOMMENDED_MIN_CASHOUT_AMOUNT, J as RelayOptions, K as RelayQuoteInput, L as RelaySourceInput, N as RelayTransaction, S as SignerOptions, Q as WatchOptions, U as WithdrawOptions, V as buildCapabilities, X as createCashClient } from './createCashClient-BIzOLHjF.cjs';
1
+ import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, j as CashFillStats, P as PrepareResult, k as CashPreparedStep, R as RelayExecutionResult, l as RelayQuote, m as RelayStatus, n as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-CTEXn9FF.cjs';
2
+ export { o as CASH_ATTRIBUTION_CODE, p as CashAsset, q as CashChain, r as CashClient, s as CashClientOptions, t as CashFillEta, u as CashLeg, v as CashNextAction, w as CashOrderState, x as CashPairFillStats, y as CashPayout, z as CashPayoutPricing, A as CashPlatformCapability, B as CashPreparedStepKind, D as CashoutInput, E as CashoutOptions, F as CuratorPayeeDataInput, G as EstimateInput, H as EstimateOptions, M as MIN_CASHOUT_AMOUNT, O as OrdersOptions, J as RECOMMENDED_MIN_CASHOUT_AMOUNT, K as RelayOptions, L as RelayQuoteInput, N as RelaySourceInput, Q as RelayTransaction, S as SignerOptions, U as WatchOptions, V as WithdrawOptions, X as buildCapabilities, Y as createCashClient } from './createCashClient-CTEXn9FF.cjs';
3
3
  import { PaymentMethodCatalog, CurrencyType, OracleAdapterOverrides, OnchainCurrency, Zkp2pClient, PreparedTransaction } from '@zkp2p/sdk';
4
4
  export { CurrencyType, PreparedTransaction, RuntimeEnv } from '@zkp2p/sdk';
5
5
  import { Log, Abi } from 'viem';
@@ -219,7 +219,9 @@ interface MethodCurrencyLike {
219
219
  /**
220
220
  * Decode a deposit's payment methods + currency tuples into payout legs.
221
221
  * Pure - the environment arrives via the catalog. One leg per
222
- * (method, currency) pair; cash orders create exactly one in v1.
222
+ * (method, currency) pair; cash orders create exactly one in v1. If any
223
+ * method is absent from the active catalog, reject the whole set instead of
224
+ * partially reclassifying a mixed historical deposit.
223
225
  */
224
226
  declare function derivePayouts(paymentMethods: ReadonlyArray<PaymentMethodLike>, currencies: ReadonlyArray<MethodCurrencyLike>, catalog: PaymentMethodCatalog): CashPayoutInfo[];
225
227
 
@@ -725,7 +727,7 @@ declare const cashPayoutPricingJsonSchema: z.ZodObject<{
725
727
  oracleRate?: number | undefined;
726
728
  }>;
727
729
  declare const cashPayoutInfoJsonSchema: z.ZodObject<{
728
- platform: z.ZodOptional<z.ZodString>;
730
+ platform: z.ZodString;
729
731
  platformHash: z.ZodString;
730
732
  currency: z.ZodOptional<z.ZodString>;
731
733
  currencyHash: z.ZodOptional<z.ZodString>;
@@ -754,6 +756,7 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
754
756
  oracleRate?: number | undefined;
755
757
  }>;
756
758
  }, "strip", z.ZodTypeAny, {
759
+ platform: string;
757
760
  pricing: {
758
761
  marketRate: boolean;
759
762
  spreadBps?: number | undefined;
@@ -767,8 +770,8 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
767
770
  active: boolean;
768
771
  currency?: string | undefined;
769
772
  currencyHash?: string | undefined;
770
- platform?: string | undefined;
771
773
  }, {
774
+ platform: string;
772
775
  pricing: {
773
776
  marketRate: boolean;
774
777
  spreadBps?: number | undefined;
@@ -782,7 +785,6 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
782
785
  active: boolean;
783
786
  currency?: string | undefined;
784
787
  currencyHash?: string | undefined;
785
- platform?: string | undefined;
786
788
  }>;
787
789
  declare const cashBuyerProfileJsonSchema: z.ZodObject<{
788
790
  address: z.ZodString;
@@ -890,7 +892,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
890
892
  updatedAt: z.ZodOptional<z.ZodNumber>;
891
893
  intentCount: z.ZodOptional<z.ZodNumber>;
892
894
  payouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
893
- platform: z.ZodOptional<z.ZodString>;
895
+ platform: z.ZodString;
894
896
  platformHash: z.ZodString;
895
897
  currency: z.ZodOptional<z.ZodString>;
896
898
  currencyHash: z.ZodOptional<z.ZodString>;
@@ -919,6 +921,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
919
921
  oracleRate?: number | undefined;
920
922
  }>;
921
923
  }, "strip", z.ZodTypeAny, {
924
+ platform: string;
922
925
  pricing: {
923
926
  marketRate: boolean;
924
927
  spreadBps?: number | undefined;
@@ -932,8 +935,8 @@ declare const cashOrderJsonSchema: z.ZodObject<{
932
935
  active: boolean;
933
936
  currency?: string | undefined;
934
937
  currencyHash?: string | undefined;
935
- platform?: string | undefined;
936
938
  }, {
939
+ platform: string;
937
940
  pricing: {
938
941
  marketRate: boolean;
939
942
  spreadBps?: number | undefined;
@@ -947,7 +950,6 @@ declare const cashOrderJsonSchema: z.ZodObject<{
947
950
  active: boolean;
948
951
  currency?: string | undefined;
949
952
  currencyHash?: string | undefined;
950
- platform?: string | undefined;
951
953
  }>, "many">>;
952
954
  successRateBps: z.ZodOptional<z.ZodNumber>;
953
955
  isInFlight: z.ZodBoolean;
@@ -986,6 +988,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
986
988
  updatedAt?: number | undefined;
987
989
  successRateBps?: number | undefined;
988
990
  payouts?: {
991
+ platform: string;
989
992
  pricing: {
990
993
  marketRate: boolean;
991
994
  spreadBps?: number | undefined;
@@ -999,7 +1002,6 @@ declare const cashOrderJsonSchema: z.ZodObject<{
999
1002
  active: boolean;
1000
1003
  currency?: string | undefined;
1001
1004
  currencyHash?: string | undefined;
1002
- platform?: string | undefined;
1003
1005
  }[] | undefined;
1004
1006
  primaryIntentHash?: string | undefined;
1005
1007
  matchedAt?: number | undefined;
@@ -1040,6 +1042,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
1040
1042
  updatedAt?: number | undefined;
1041
1043
  successRateBps?: number | undefined;
1042
1044
  payouts?: {
1045
+ platform: string;
1043
1046
  pricing: {
1044
1047
  marketRate: boolean;
1045
1048
  spreadBps?: number | undefined;
@@ -1053,7 +1056,6 @@ declare const cashOrderJsonSchema: z.ZodObject<{
1053
1056
  active: boolean;
1054
1057
  currency?: string | undefined;
1055
1058
  currencyHash?: string | undefined;
1056
- platform?: string | undefined;
1057
1059
  }[] | undefined;
1058
1060
  primaryIntentHash?: string | undefined;
1059
1061
  matchedAt?: number | undefined;
@@ -1811,7 +1813,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1811
1813
  updatedAt: z.ZodOptional<z.ZodNumber>;
1812
1814
  intentCount: z.ZodOptional<z.ZodNumber>;
1813
1815
  payouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1814
- platform: z.ZodOptional<z.ZodString>;
1816
+ platform: z.ZodString;
1815
1817
  platformHash: z.ZodString;
1816
1818
  currency: z.ZodOptional<z.ZodString>;
1817
1819
  currencyHash: z.ZodOptional<z.ZodString>;
@@ -1840,6 +1842,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1840
1842
  oracleRate?: number | undefined;
1841
1843
  }>;
1842
1844
  }, "strip", z.ZodTypeAny, {
1845
+ platform: string;
1843
1846
  pricing: {
1844
1847
  marketRate: boolean;
1845
1848
  spreadBps?: number | undefined;
@@ -1853,8 +1856,8 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1853
1856
  active: boolean;
1854
1857
  currency?: string | undefined;
1855
1858
  currencyHash?: string | undefined;
1856
- platform?: string | undefined;
1857
1859
  }, {
1860
+ platform: string;
1858
1861
  pricing: {
1859
1862
  marketRate: boolean;
1860
1863
  spreadBps?: number | undefined;
@@ -1868,7 +1871,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1868
1871
  active: boolean;
1869
1872
  currency?: string | undefined;
1870
1873
  currencyHash?: string | undefined;
1871
- platform?: string | undefined;
1872
1874
  }>, "many">>;
1873
1875
  successRateBps: z.ZodOptional<z.ZodNumber>;
1874
1876
  isInFlight: z.ZodBoolean;
@@ -1907,6 +1909,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1907
1909
  updatedAt?: number | undefined;
1908
1910
  successRateBps?: number | undefined;
1909
1911
  payouts?: {
1912
+ platform: string;
1910
1913
  pricing: {
1911
1914
  marketRate: boolean;
1912
1915
  spreadBps?: number | undefined;
@@ -1920,7 +1923,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1920
1923
  active: boolean;
1921
1924
  currency?: string | undefined;
1922
1925
  currencyHash?: string | undefined;
1923
- platform?: string | undefined;
1924
1926
  }[] | undefined;
1925
1927
  primaryIntentHash?: string | undefined;
1926
1928
  matchedAt?: number | undefined;
@@ -1961,6 +1963,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1961
1963
  updatedAt?: number | undefined;
1962
1964
  successRateBps?: number | undefined;
1963
1965
  payouts?: {
1966
+ platform: string;
1964
1967
  pricing: {
1965
1968
  marketRate: boolean;
1966
1969
  spreadBps?: number | undefined;
@@ -1974,7 +1977,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1974
1977
  active: boolean;
1975
1978
  currency?: string | undefined;
1976
1979
  currencyHash?: string | undefined;
1977
- platform?: string | undefined;
1978
1980
  }[] | undefined;
1979
1981
  primaryIntentHash?: string | undefined;
1980
1982
  matchedAt?: number | undefined;
@@ -2108,6 +2110,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2108
2110
  updatedAt?: number | undefined;
2109
2111
  successRateBps?: number | undefined;
2110
2112
  payouts?: {
2113
+ platform: string;
2111
2114
  pricing: {
2112
2115
  marketRate: boolean;
2113
2116
  spreadBps?: number | undefined;
@@ -2121,7 +2124,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2121
2124
  active: boolean;
2122
2125
  currency?: string | undefined;
2123
2126
  currencyHash?: string | undefined;
2124
- platform?: string | undefined;
2125
2127
  }[] | undefined;
2126
2128
  primaryIntentHash?: string | undefined;
2127
2129
  matchedAt?: number | undefined;
@@ -2185,6 +2187,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2185
2187
  updatedAt?: number | undefined;
2186
2188
  successRateBps?: number | undefined;
2187
2189
  payouts?: {
2190
+ platform: string;
2188
2191
  pricing: {
2189
2192
  marketRate: boolean;
2190
2193
  spreadBps?: number | undefined;
@@ -2198,7 +2201,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2198
2201
  active: boolean;
2199
2202
  currency?: string | undefined;
2200
2203
  currencyHash?: string | undefined;
2201
- platform?: string | undefined;
2202
2204
  }[] | undefined;
2203
2205
  primaryIntentHash?: string | undefined;
2204
2206
  matchedAt?: number | undefined;
@@ -2708,8 +2710,8 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2708
2710
  decimals: number;
2709
2711
  };
2710
2712
  };
2711
- currencies: string[];
2712
2713
  environment: "production" | "preproduction" | "staging";
2714
+ currencies: string[];
2713
2715
  platforms: {
2714
2716
  platform: string;
2715
2717
  currencies: string[];
@@ -2779,8 +2781,8 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2779
2781
  decimals: number;
2780
2782
  };
2781
2783
  };
2782
- currencies: string[];
2783
2784
  environment: "production" | "preproduction" | "staging";
2785
+ currencies: string[];
2784
2786
  platforms: {
2785
2787
  platform: string;
2786
2788
  currencies: string[];
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, j as CashFillStats, P as PrepareResult, k as CashPreparedStep, R as RelayExecutionResult, l as RelayQuote, m as RelayStatus, n as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-BIzOLHjF.js';
2
- export { o as CASH_ATTRIBUTION_CODE, p as CashAsset, q as CashChain, r as CashClient, s as CashClientOptions, t as CashFillEta, u as CashLeg, v as CashNextAction, w as CashOrderState, x as CashPairFillStats, y as CashPayout, z as CashPayoutPricing, A as CashPlatformCapability, B as CashPreparedStepKind, D as CashoutInput, E as CashoutOptions, F as CuratorPayeeDataInput, G as EstimateInput, M as MIN_CASHOUT_AMOUNT, O as OrdersOptions, H as RECOMMENDED_MIN_CASHOUT_AMOUNT, J as RelayOptions, K as RelayQuoteInput, L as RelaySourceInput, N as RelayTransaction, S as SignerOptions, Q as WatchOptions, U as WithdrawOptions, V as buildCapabilities, X as createCashClient } from './createCashClient-BIzOLHjF.js';
1
+ import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, j as CashFillStats, P as PrepareResult, k as CashPreparedStep, R as RelayExecutionResult, l as RelayQuote, m as RelayStatus, n as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-CTEXn9FF.js';
2
+ export { o as CASH_ATTRIBUTION_CODE, p as CashAsset, q as CashChain, r as CashClient, s as CashClientOptions, t as CashFillEta, u as CashLeg, v as CashNextAction, w as CashOrderState, x as CashPairFillStats, y as CashPayout, z as CashPayoutPricing, A as CashPlatformCapability, B as CashPreparedStepKind, D as CashoutInput, E as CashoutOptions, F as CuratorPayeeDataInput, G as EstimateInput, H as EstimateOptions, M as MIN_CASHOUT_AMOUNT, O as OrdersOptions, J as RECOMMENDED_MIN_CASHOUT_AMOUNT, K as RelayOptions, L as RelayQuoteInput, N as RelaySourceInput, Q as RelayTransaction, S as SignerOptions, U as WatchOptions, V as WithdrawOptions, X as buildCapabilities, Y as createCashClient } from './createCashClient-CTEXn9FF.js';
3
3
  import { PaymentMethodCatalog, CurrencyType, OracleAdapterOverrides, OnchainCurrency, Zkp2pClient, PreparedTransaction } from '@zkp2p/sdk';
4
4
  export { CurrencyType, PreparedTransaction, RuntimeEnv } from '@zkp2p/sdk';
5
5
  import { Log, Abi } from 'viem';
@@ -219,7 +219,9 @@ interface MethodCurrencyLike {
219
219
  /**
220
220
  * Decode a deposit's payment methods + currency tuples into payout legs.
221
221
  * Pure - the environment arrives via the catalog. One leg per
222
- * (method, currency) pair; cash orders create exactly one in v1.
222
+ * (method, currency) pair; cash orders create exactly one in v1. If any
223
+ * method is absent from the active catalog, reject the whole set instead of
224
+ * partially reclassifying a mixed historical deposit.
223
225
  */
224
226
  declare function derivePayouts(paymentMethods: ReadonlyArray<PaymentMethodLike>, currencies: ReadonlyArray<MethodCurrencyLike>, catalog: PaymentMethodCatalog): CashPayoutInfo[];
225
227
 
@@ -725,7 +727,7 @@ declare const cashPayoutPricingJsonSchema: z.ZodObject<{
725
727
  oracleRate?: number | undefined;
726
728
  }>;
727
729
  declare const cashPayoutInfoJsonSchema: z.ZodObject<{
728
- platform: z.ZodOptional<z.ZodString>;
730
+ platform: z.ZodString;
729
731
  platformHash: z.ZodString;
730
732
  currency: z.ZodOptional<z.ZodString>;
731
733
  currencyHash: z.ZodOptional<z.ZodString>;
@@ -754,6 +756,7 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
754
756
  oracleRate?: number | undefined;
755
757
  }>;
756
758
  }, "strip", z.ZodTypeAny, {
759
+ platform: string;
757
760
  pricing: {
758
761
  marketRate: boolean;
759
762
  spreadBps?: number | undefined;
@@ -767,8 +770,8 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
767
770
  active: boolean;
768
771
  currency?: string | undefined;
769
772
  currencyHash?: string | undefined;
770
- platform?: string | undefined;
771
773
  }, {
774
+ platform: string;
772
775
  pricing: {
773
776
  marketRate: boolean;
774
777
  spreadBps?: number | undefined;
@@ -782,7 +785,6 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
782
785
  active: boolean;
783
786
  currency?: string | undefined;
784
787
  currencyHash?: string | undefined;
785
- platform?: string | undefined;
786
788
  }>;
787
789
  declare const cashBuyerProfileJsonSchema: z.ZodObject<{
788
790
  address: z.ZodString;
@@ -890,7 +892,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
890
892
  updatedAt: z.ZodOptional<z.ZodNumber>;
891
893
  intentCount: z.ZodOptional<z.ZodNumber>;
892
894
  payouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
893
- platform: z.ZodOptional<z.ZodString>;
895
+ platform: z.ZodString;
894
896
  platformHash: z.ZodString;
895
897
  currency: z.ZodOptional<z.ZodString>;
896
898
  currencyHash: z.ZodOptional<z.ZodString>;
@@ -919,6 +921,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
919
921
  oracleRate?: number | undefined;
920
922
  }>;
921
923
  }, "strip", z.ZodTypeAny, {
924
+ platform: string;
922
925
  pricing: {
923
926
  marketRate: boolean;
924
927
  spreadBps?: number | undefined;
@@ -932,8 +935,8 @@ declare const cashOrderJsonSchema: z.ZodObject<{
932
935
  active: boolean;
933
936
  currency?: string | undefined;
934
937
  currencyHash?: string | undefined;
935
- platform?: string | undefined;
936
938
  }, {
939
+ platform: string;
937
940
  pricing: {
938
941
  marketRate: boolean;
939
942
  spreadBps?: number | undefined;
@@ -947,7 +950,6 @@ declare const cashOrderJsonSchema: z.ZodObject<{
947
950
  active: boolean;
948
951
  currency?: string | undefined;
949
952
  currencyHash?: string | undefined;
950
- platform?: string | undefined;
951
953
  }>, "many">>;
952
954
  successRateBps: z.ZodOptional<z.ZodNumber>;
953
955
  isInFlight: z.ZodBoolean;
@@ -986,6 +988,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
986
988
  updatedAt?: number | undefined;
987
989
  successRateBps?: number | undefined;
988
990
  payouts?: {
991
+ platform: string;
989
992
  pricing: {
990
993
  marketRate: boolean;
991
994
  spreadBps?: number | undefined;
@@ -999,7 +1002,6 @@ declare const cashOrderJsonSchema: z.ZodObject<{
999
1002
  active: boolean;
1000
1003
  currency?: string | undefined;
1001
1004
  currencyHash?: string | undefined;
1002
- platform?: string | undefined;
1003
1005
  }[] | undefined;
1004
1006
  primaryIntentHash?: string | undefined;
1005
1007
  matchedAt?: number | undefined;
@@ -1040,6 +1042,7 @@ declare const cashOrderJsonSchema: z.ZodObject<{
1040
1042
  updatedAt?: number | undefined;
1041
1043
  successRateBps?: number | undefined;
1042
1044
  payouts?: {
1045
+ platform: string;
1043
1046
  pricing: {
1044
1047
  marketRate: boolean;
1045
1048
  spreadBps?: number | undefined;
@@ -1053,7 +1056,6 @@ declare const cashOrderJsonSchema: z.ZodObject<{
1053
1056
  active: boolean;
1054
1057
  currency?: string | undefined;
1055
1058
  currencyHash?: string | undefined;
1056
- platform?: string | undefined;
1057
1059
  }[] | undefined;
1058
1060
  primaryIntentHash?: string | undefined;
1059
1061
  matchedAt?: number | undefined;
@@ -1811,7 +1813,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1811
1813
  updatedAt: z.ZodOptional<z.ZodNumber>;
1812
1814
  intentCount: z.ZodOptional<z.ZodNumber>;
1813
1815
  payouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1814
- platform: z.ZodOptional<z.ZodString>;
1816
+ platform: z.ZodString;
1815
1817
  platformHash: z.ZodString;
1816
1818
  currency: z.ZodOptional<z.ZodString>;
1817
1819
  currencyHash: z.ZodOptional<z.ZodString>;
@@ -1840,6 +1842,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1840
1842
  oracleRate?: number | undefined;
1841
1843
  }>;
1842
1844
  }, "strip", z.ZodTypeAny, {
1845
+ platform: string;
1843
1846
  pricing: {
1844
1847
  marketRate: boolean;
1845
1848
  spreadBps?: number | undefined;
@@ -1853,8 +1856,8 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1853
1856
  active: boolean;
1854
1857
  currency?: string | undefined;
1855
1858
  currencyHash?: string | undefined;
1856
- platform?: string | undefined;
1857
1859
  }, {
1860
+ platform: string;
1858
1861
  pricing: {
1859
1862
  marketRate: boolean;
1860
1863
  spreadBps?: number | undefined;
@@ -1868,7 +1871,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1868
1871
  active: boolean;
1869
1872
  currency?: string | undefined;
1870
1873
  currencyHash?: string | undefined;
1871
- platform?: string | undefined;
1872
1874
  }>, "many">>;
1873
1875
  successRateBps: z.ZodOptional<z.ZodNumber>;
1874
1876
  isInFlight: z.ZodBoolean;
@@ -1907,6 +1909,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1907
1909
  updatedAt?: number | undefined;
1908
1910
  successRateBps?: number | undefined;
1909
1911
  payouts?: {
1912
+ platform: string;
1910
1913
  pricing: {
1911
1914
  marketRate: boolean;
1912
1915
  spreadBps?: number | undefined;
@@ -1920,7 +1923,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1920
1923
  active: boolean;
1921
1924
  currency?: string | undefined;
1922
1925
  currencyHash?: string | undefined;
1923
- platform?: string | undefined;
1924
1926
  }[] | undefined;
1925
1927
  primaryIntentHash?: string | undefined;
1926
1928
  matchedAt?: number | undefined;
@@ -1961,6 +1963,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1961
1963
  updatedAt?: number | undefined;
1962
1964
  successRateBps?: number | undefined;
1963
1965
  payouts?: {
1966
+ platform: string;
1964
1967
  pricing: {
1965
1968
  marketRate: boolean;
1966
1969
  spreadBps?: number | undefined;
@@ -1974,7 +1977,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1974
1977
  active: boolean;
1975
1978
  currency?: string | undefined;
1976
1979
  currencyHash?: string | undefined;
1977
- platform?: string | undefined;
1978
1980
  }[] | undefined;
1979
1981
  primaryIntentHash?: string | undefined;
1980
1982
  matchedAt?: number | undefined;
@@ -2108,6 +2110,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2108
2110
  updatedAt?: number | undefined;
2109
2111
  successRateBps?: number | undefined;
2110
2112
  payouts?: {
2113
+ platform: string;
2111
2114
  pricing: {
2112
2115
  marketRate: boolean;
2113
2116
  spreadBps?: number | undefined;
@@ -2121,7 +2124,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2121
2124
  active: boolean;
2122
2125
  currency?: string | undefined;
2123
2126
  currencyHash?: string | undefined;
2124
- platform?: string | undefined;
2125
2127
  }[] | undefined;
2126
2128
  primaryIntentHash?: string | undefined;
2127
2129
  matchedAt?: number | undefined;
@@ -2185,6 +2187,7 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2185
2187
  updatedAt?: number | undefined;
2186
2188
  successRateBps?: number | undefined;
2187
2189
  payouts?: {
2190
+ platform: string;
2188
2191
  pricing: {
2189
2192
  marketRate: boolean;
2190
2193
  spreadBps?: number | undefined;
@@ -2198,7 +2201,6 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2198
2201
  active: boolean;
2199
2202
  currency?: string | undefined;
2200
2203
  currencyHash?: string | undefined;
2201
- platform?: string | undefined;
2202
2204
  }[] | undefined;
2203
2205
  primaryIntentHash?: string | undefined;
2204
2206
  matchedAt?: number | undefined;
@@ -2708,8 +2710,8 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2708
2710
  decimals: number;
2709
2711
  };
2710
2712
  };
2711
- currencies: string[];
2712
2713
  environment: "production" | "preproduction" | "staging";
2714
+ currencies: string[];
2713
2715
  platforms: {
2714
2716
  platform: string;
2715
2717
  currencies: string[];
@@ -2779,8 +2781,8 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2779
2781
  decimals: number;
2780
2782
  };
2781
2783
  };
2782
- currencies: string[];
2783
2784
  environment: "production" | "preproduction" | "staging";
2785
+ currencies: string[];
2784
2786
  platforms: {
2785
2787
  platform: string;
2786
2788
  currencies: string[];