@marcohefti/request-network-api-client 0.5.10 → 0.5.12
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/README.md +4 -4
- package/dist/cjs/domains/client-ids/index.js +5 -5
- package/dist/cjs/domains/client-ids/index.js.map +1 -1
- package/dist/cjs/domains/currencies/index.js +15 -15
- package/dist/cjs/domains/currencies/index.js.map +1 -1
- package/dist/cjs/domains/payee-destination/index.js +276 -0
- package/dist/cjs/domains/payee-destination/index.js.map +1 -0
- package/dist/cjs/domains/payouts/index.js +2 -2
- package/dist/cjs/domains/payouts/index.js.map +1 -1
- package/dist/cjs/domains/requests/index.js +7 -5
- package/dist/cjs/domains/requests/index.js.map +1 -1
- package/dist/cjs/index.js +271 -112
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/domains/client-ids/index.d.mts +2 -2
- package/dist/esm/domains/client-ids/index.js +5 -5
- package/dist/esm/domains/client-ids/index.js.map +1 -1
- package/dist/esm/domains/currencies/index.d.mts +2 -2
- package/dist/esm/domains/currencies/index.js +15 -15
- package/dist/esm/domains/currencies/index.js.map +1 -1
- package/dist/esm/domains/payee-destination/index.d.mts +2 -0
- package/dist/esm/domains/payee-destination/index.js +274 -0
- package/dist/esm/domains/payee-destination/index.js.map +1 -0
- package/dist/esm/domains/payer/index.d.mts +2 -2
- package/dist/esm/domains/payouts/index.d.mts +2 -2
- package/dist/esm/domains/payouts/index.js +2 -2
- package/dist/esm/domains/payouts/index.js.map +1 -1
- package/dist/esm/domains/requests/index.d.mts +2 -2
- package/dist/esm/domains/requests/index.js +7 -5
- package/dist/esm/domains/requests/index.js.map +1 -1
- package/dist/esm/{index-Bum0bfZQ.d.mts → index-DJGHELE1.d.mts} +16 -16
- package/dist/esm/{index-Q2g0D7V8.d.mts → index-DJjp2Jbk.d.mts} +1 -1
- package/dist/esm/index-DQIf9k5x.d.mts +31 -0
- package/dist/esm/{index-BmWmfcnn.d.mts → index-DbnV_D6L.d.mts} +1 -1
- package/dist/esm/{index-CNK36ZX5.d.mts → index-hYoC2ndH.d.mts} +1 -1
- package/dist/esm/{index-Cd7x0Hv-.d.mts → index-y1nxa55y.d.mts} +1 -1
- package/dist/esm/index.d.mts +124 -120
- package/dist/esm/index.js +271 -113
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{openapi-types-CtUFCrk4.d.mts → openapi-types-CQ1z27_K.d.mts} +310 -51
- package/package.json +13 -7
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { R as RetryConfig, L as LogLevel, H as HttpAdapter, I as Interceptor, Q as QuerySerializer, a as RuntimeValidationOption, b as HttpClient, o as operations, c as RequestOptions } from './openapi-types-
|
|
3
|
-
export { D as DEFAULT_RETRY_CONFIG, i as HttpMethod, d as RetryDecision, e as RetryDecisionInput, g as RetryJitter, f as RetryResponseLike, j as RuntimeValidationConfig, h as computeRetryDelay, s as shouldRetryRequest } from './openapi-types-
|
|
2
|
+
import { R as RetryConfig, L as LogLevel, H as HttpAdapter, I as Interceptor, Q as QuerySerializer, a as RuntimeValidationOption, b as HttpClient, o as operations, c as RequestOptions } from './openapi-types-CQ1z27_K.mjs';
|
|
3
|
+
export { D as DEFAULT_RETRY_CONFIG, i as HttpMethod, d as RetryDecision, e as RetryDecisionInput, g as RetryJitter, f as RetryResponseLike, j as RuntimeValidationConfig, h as computeRetryDelay, s as shouldRetryRequest } from './openapi-types-CQ1z27_K.mjs';
|
|
4
4
|
import { ZodTypeAny, z } from 'zod';
|
|
5
|
-
import { C as ClientIdsApi } from './index-
|
|
6
|
-
export { a as ClientIdResponse, i as clientIds } from './index-
|
|
7
|
-
import { C as CurrenciesV1Api, a as CurrencyV1RequestOptions, G as GetConversionRoutesV1Query, L as ListCurrenciesV1Query, c as createCurrenciesV1Api, b as CurrenciesApi } from './index-
|
|
8
|
-
export { d as CurrencyToken, i as currencies } from './index-
|
|
9
|
-
import { P as
|
|
10
|
-
export { i as
|
|
11
|
-
import { P as
|
|
12
|
-
export { i as
|
|
13
|
-
import {
|
|
14
|
-
export {
|
|
5
|
+
import { C as ClientIdsApi } from './index-hYoC2ndH.mjs';
|
|
6
|
+
export { a as ClientIdResponse, i as clientIds } from './index-hYoC2ndH.mjs';
|
|
7
|
+
import { C as CurrenciesV1Api, a as CurrencyV1RequestOptions, G as GetConversionRoutesV1Query, L as ListCurrenciesV1Query, c as createCurrenciesV1Api, b as CurrenciesApi } from './index-DJGHELE1.mjs';
|
|
8
|
+
export { d as CurrencyToken, i as currencies } from './index-DJGHELE1.mjs';
|
|
9
|
+
import { P as PayeeDestinationApi } from './index-DQIf9k5x.mjs';
|
|
10
|
+
export { i as payeeDestination } from './index-DQIf9k5x.mjs';
|
|
11
|
+
import { P as PayerV1Api, a as PayerV1OperationOptions, c as createPayerV1Api, b as PayerV2Api, d as PayerV2OperationOptions, e as createPayerV2Api, f as PayerApi } from './index-DJjp2Jbk.mjs';
|
|
12
|
+
export { i as payer } from './index-DJjp2Jbk.mjs';
|
|
13
|
+
import { P as PayoutsApi } from './index-y1nxa55y.mjs';
|
|
14
|
+
export { i as payouts } from './index-y1nxa55y.mjs';
|
|
15
|
+
import { R as RequestsApi, L as LegacyRequestStatusResult } from './index-DbnV_D6L.mjs';
|
|
16
|
+
export { G as GetPaymentCalldataOptions, P as PaymentCalldataResult, b as PaymentRoute, a as PaymentRoutesResponse, c as RequestStatusResult, i as requests } from './index-DbnV_D6L.mjs';
|
|
15
17
|
import { SendOptions } from 'send';
|
|
16
18
|
import { EventEmitter } from 'events';
|
|
17
19
|
import * as http from 'http';
|
|
@@ -237,31 +239,31 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
237
239
|
currency: z.ZodString;
|
|
238
240
|
paymentCurrency: z.ZodString;
|
|
239
241
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
240
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
242
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
241
243
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
242
244
|
provider: z.ZodOptional<z.ZodString>;
|
|
243
|
-
amount: z.ZodOptional<z.ZodString
|
|
244
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
245
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
246
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
247
|
currency: z.ZodOptional<z.ZodString>;
|
|
246
248
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
247
249
|
network: z.ZodOptional<z.ZodString>;
|
|
248
250
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
249
251
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
250
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
252
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
251
253
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
252
254
|
provider: z.ZodOptional<z.ZodString>;
|
|
253
|
-
amount: z.ZodOptional<z.ZodString
|
|
254
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
255
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
256
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
255
257
|
currency: z.ZodOptional<z.ZodString>;
|
|
256
258
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
257
259
|
network: z.ZodOptional<z.ZodString>;
|
|
258
260
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
259
261
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
260
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
262
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
261
263
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
262
264
|
provider: z.ZodOptional<z.ZodString>;
|
|
263
|
-
amount: z.ZodOptional<z.ZodString
|
|
264
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
265
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
266
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
267
|
currency: z.ZodOptional<z.ZodString>;
|
|
266
268
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
267
269
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -511,31 +513,31 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
511
513
|
currency: z.ZodString;
|
|
512
514
|
paymentCurrency: z.ZodString;
|
|
513
515
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
514
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
516
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
515
517
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
516
518
|
provider: z.ZodOptional<z.ZodString>;
|
|
517
|
-
amount: z.ZodOptional<z.ZodString
|
|
518
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
519
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
520
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
521
|
currency: z.ZodOptional<z.ZodString>;
|
|
520
522
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
521
523
|
network: z.ZodOptional<z.ZodString>;
|
|
522
524
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
523
525
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
524
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
526
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
525
527
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
526
528
|
provider: z.ZodOptional<z.ZodString>;
|
|
527
|
-
amount: z.ZodOptional<z.ZodString
|
|
528
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
529
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
530
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
529
531
|
currency: z.ZodOptional<z.ZodString>;
|
|
530
532
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
531
533
|
network: z.ZodOptional<z.ZodString>;
|
|
532
534
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
533
535
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
534
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
536
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
535
537
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
536
538
|
provider: z.ZodOptional<z.ZodString>;
|
|
537
|
-
amount: z.ZodOptional<z.ZodString
|
|
538
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
539
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
540
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
539
541
|
currency: z.ZodOptional<z.ZodString>;
|
|
540
542
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
541
543
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -785,31 +787,31 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
785
787
|
currency: z.ZodString;
|
|
786
788
|
paymentCurrency: z.ZodString;
|
|
787
789
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
788
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
790
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
789
791
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
790
792
|
provider: z.ZodOptional<z.ZodString>;
|
|
791
|
-
amount: z.ZodOptional<z.ZodString
|
|
792
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
793
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
794
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
795
|
currency: z.ZodOptional<z.ZodString>;
|
|
794
796
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
795
797
|
network: z.ZodOptional<z.ZodString>;
|
|
796
798
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
797
799
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
798
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
800
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
799
801
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
800
802
|
provider: z.ZodOptional<z.ZodString>;
|
|
801
|
-
amount: z.ZodOptional<z.ZodString
|
|
802
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
803
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
805
|
currency: z.ZodOptional<z.ZodString>;
|
|
804
806
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
805
807
|
network: z.ZodOptional<z.ZodString>;
|
|
806
808
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
807
809
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
808
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
810
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
809
811
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
810
812
|
provider: z.ZodOptional<z.ZodString>;
|
|
811
|
-
amount: z.ZodOptional<z.ZodString
|
|
812
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
813
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
814
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
813
815
|
currency: z.ZodOptional<z.ZodString>;
|
|
814
816
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
815
817
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -1077,31 +1079,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1077
1079
|
currency: z.ZodString;
|
|
1078
1080
|
paymentCurrency: z.ZodString;
|
|
1079
1081
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1080
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1082
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1081
1083
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1082
1084
|
provider: z.ZodOptional<z.ZodString>;
|
|
1083
|
-
amount: z.ZodOptional<z.ZodString
|
|
1084
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1085
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1086
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1085
1087
|
currency: z.ZodOptional<z.ZodString>;
|
|
1086
1088
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1087
1089
|
network: z.ZodOptional<z.ZodString>;
|
|
1088
1090
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1089
1091
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1090
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1092
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1091
1093
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1092
1094
|
provider: z.ZodOptional<z.ZodString>;
|
|
1093
|
-
amount: z.ZodOptional<z.ZodString
|
|
1094
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1095
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1096
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1095
1097
|
currency: z.ZodOptional<z.ZodString>;
|
|
1096
1098
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1097
1099
|
network: z.ZodOptional<z.ZodString>;
|
|
1098
1100
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1099
1101
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1100
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1102
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1101
1103
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1102
1104
|
provider: z.ZodOptional<z.ZodString>;
|
|
1103
|
-
amount: z.ZodOptional<z.ZodString
|
|
1104
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1105
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1106
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1105
1107
|
currency: z.ZodOptional<z.ZodString>;
|
|
1106
1108
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1107
1109
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -1351,31 +1353,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1351
1353
|
currency: z.ZodString;
|
|
1352
1354
|
paymentCurrency: z.ZodString;
|
|
1353
1355
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1354
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1356
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1355
1357
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1356
1358
|
provider: z.ZodOptional<z.ZodString>;
|
|
1357
|
-
amount: z.ZodOptional<z.ZodString
|
|
1358
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1359
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1360
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1359
1361
|
currency: z.ZodOptional<z.ZodString>;
|
|
1360
1362
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1361
1363
|
network: z.ZodOptional<z.ZodString>;
|
|
1362
1364
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1363
1365
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1364
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1366
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1365
1367
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1366
1368
|
provider: z.ZodOptional<z.ZodString>;
|
|
1367
|
-
amount: z.ZodOptional<z.ZodString
|
|
1368
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1369
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1370
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
1371
|
currency: z.ZodOptional<z.ZodString>;
|
|
1370
1372
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1371
1373
|
network: z.ZodOptional<z.ZodString>;
|
|
1372
1374
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1373
1375
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1374
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1376
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1375
1377
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1376
1378
|
provider: z.ZodOptional<z.ZodString>;
|
|
1377
|
-
amount: z.ZodOptional<z.ZodString
|
|
1378
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1379
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1380
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1379
1381
|
currency: z.ZodOptional<z.ZodString>;
|
|
1380
1382
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1381
1383
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -1625,31 +1627,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1625
1627
|
currency: z.ZodString;
|
|
1626
1628
|
paymentCurrency: z.ZodString;
|
|
1627
1629
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1628
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1630
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1629
1631
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1630
1632
|
provider: z.ZodOptional<z.ZodString>;
|
|
1631
|
-
amount: z.ZodOptional<z.ZodString
|
|
1632
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1633
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
1635
|
currency: z.ZodOptional<z.ZodString>;
|
|
1634
1636
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1635
1637
|
network: z.ZodOptional<z.ZodString>;
|
|
1636
1638
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1637
1639
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1638
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1640
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1639
1641
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1640
1642
|
provider: z.ZodOptional<z.ZodString>;
|
|
1641
|
-
amount: z.ZodOptional<z.ZodString
|
|
1642
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1643
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1644
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1643
1645
|
currency: z.ZodOptional<z.ZodString>;
|
|
1644
1646
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1645
1647
|
network: z.ZodOptional<z.ZodString>;
|
|
1646
1648
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1647
1649
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1648
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1650
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1649
1651
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1650
1652
|
provider: z.ZodOptional<z.ZodString>;
|
|
1651
|
-
amount: z.ZodOptional<z.ZodString
|
|
1652
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1653
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1654
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1653
1655
|
currency: z.ZodOptional<z.ZodString>;
|
|
1654
1656
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1655
1657
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -1917,31 +1919,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1917
1919
|
currency: z.ZodString;
|
|
1918
1920
|
paymentCurrency: z.ZodString;
|
|
1919
1921
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1920
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1922
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1921
1923
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1922
1924
|
provider: z.ZodOptional<z.ZodString>;
|
|
1923
|
-
amount: z.ZodOptional<z.ZodString
|
|
1924
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1925
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1926
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1925
1927
|
currency: z.ZodOptional<z.ZodString>;
|
|
1926
1928
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1927
1929
|
network: z.ZodOptional<z.ZodString>;
|
|
1928
1930
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1929
1931
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1930
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1932
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1931
1933
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1932
1934
|
provider: z.ZodOptional<z.ZodString>;
|
|
1933
|
-
amount: z.ZodOptional<z.ZodString
|
|
1934
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1935
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1936
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1935
1937
|
currency: z.ZodOptional<z.ZodString>;
|
|
1936
1938
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1937
1939
|
network: z.ZodOptional<z.ZodString>;
|
|
1938
1940
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1939
1941
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1940
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
1942
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
1941
1943
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1942
1944
|
provider: z.ZodOptional<z.ZodString>;
|
|
1943
|
-
amount: z.ZodOptional<z.ZodString
|
|
1944
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
1945
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1946
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1945
1947
|
currency: z.ZodOptional<z.ZodString>;
|
|
1946
1948
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
1947
1949
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -2191,31 +2193,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2191
2193
|
currency: z.ZodString;
|
|
2192
2194
|
paymentCurrency: z.ZodString;
|
|
2193
2195
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2194
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2196
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2195
2197
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2196
2198
|
provider: z.ZodOptional<z.ZodString>;
|
|
2197
|
-
amount: z.ZodOptional<z.ZodString
|
|
2198
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2199
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2200
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2199
2201
|
currency: z.ZodOptional<z.ZodString>;
|
|
2200
2202
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2201
2203
|
network: z.ZodOptional<z.ZodString>;
|
|
2202
2204
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2203
2205
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2204
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2206
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2205
2207
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2206
2208
|
provider: z.ZodOptional<z.ZodString>;
|
|
2207
|
-
amount: z.ZodOptional<z.ZodString
|
|
2208
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2209
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2210
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2209
2211
|
currency: z.ZodOptional<z.ZodString>;
|
|
2210
2212
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2211
2213
|
network: z.ZodOptional<z.ZodString>;
|
|
2212
2214
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2213
2215
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2214
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2216
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2215
2217
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2216
2218
|
provider: z.ZodOptional<z.ZodString>;
|
|
2217
|
-
amount: z.ZodOptional<z.ZodString
|
|
2218
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2219
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2220
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
2221
|
currency: z.ZodOptional<z.ZodString>;
|
|
2220
2222
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2221
2223
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -2465,31 +2467,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2465
2467
|
currency: z.ZodString;
|
|
2466
2468
|
paymentCurrency: z.ZodString;
|
|
2467
2469
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2468
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2470
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2469
2471
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2470
2472
|
provider: z.ZodOptional<z.ZodString>;
|
|
2471
|
-
amount: z.ZodOptional<z.ZodString
|
|
2472
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2473
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2474
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2473
2475
|
currency: z.ZodOptional<z.ZodString>;
|
|
2474
2476
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2475
2477
|
network: z.ZodOptional<z.ZodString>;
|
|
2476
2478
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2477
2479
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2478
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2480
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2479
2481
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2480
2482
|
provider: z.ZodOptional<z.ZodString>;
|
|
2481
|
-
amount: z.ZodOptional<z.ZodString
|
|
2482
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2483
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2484
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2483
2485
|
currency: z.ZodOptional<z.ZodString>;
|
|
2484
2486
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2485
2487
|
network: z.ZodOptional<z.ZodString>;
|
|
2486
2488
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2487
2489
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2488
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2490
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2489
2491
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2490
2492
|
provider: z.ZodOptional<z.ZodString>;
|
|
2491
|
-
amount: z.ZodOptional<z.ZodString
|
|
2492
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2493
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2494
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2493
2495
|
currency: z.ZodOptional<z.ZodString>;
|
|
2494
2496
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2495
2497
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -2757,31 +2759,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2757
2759
|
currency: z.ZodString;
|
|
2758
2760
|
paymentCurrency: z.ZodString;
|
|
2759
2761
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2760
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2762
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2761
2763
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2762
2764
|
provider: z.ZodOptional<z.ZodString>;
|
|
2763
|
-
amount: z.ZodOptional<z.ZodString
|
|
2764
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2765
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2766
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2765
2767
|
currency: z.ZodOptional<z.ZodString>;
|
|
2766
2768
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2767
2769
|
network: z.ZodOptional<z.ZodString>;
|
|
2768
2770
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2769
2771
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2770
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2772
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2771
2773
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2772
2774
|
provider: z.ZodOptional<z.ZodString>;
|
|
2773
|
-
amount: z.ZodOptional<z.ZodString
|
|
2774
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2775
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2776
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2775
2777
|
currency: z.ZodOptional<z.ZodString>;
|
|
2776
2778
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2777
2779
|
network: z.ZodOptional<z.ZodString>;
|
|
2778
2780
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2779
2781
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2780
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
2782
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
2781
2783
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2782
2784
|
provider: z.ZodOptional<z.ZodString>;
|
|
2783
|
-
amount: z.ZodOptional<z.ZodString
|
|
2784
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
2785
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2786
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2785
2787
|
currency: z.ZodOptional<z.ZodString>;
|
|
2786
2788
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
2787
2789
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -3031,31 +3033,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3031
3033
|
currency: z.ZodString;
|
|
3032
3034
|
paymentCurrency: z.ZodString;
|
|
3033
3035
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3034
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
3036
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
3035
3037
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3036
3038
|
provider: z.ZodOptional<z.ZodString>;
|
|
3037
|
-
amount: z.ZodOptional<z.ZodString
|
|
3038
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
3039
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3040
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3039
3041
|
currency: z.ZodOptional<z.ZodString>;
|
|
3040
3042
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
3041
3043
|
network: z.ZodOptional<z.ZodString>;
|
|
3042
3044
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3043
3045
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3044
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
3046
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
3045
3047
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3046
3048
|
provider: z.ZodOptional<z.ZodString>;
|
|
3047
|
-
amount: z.ZodOptional<z.ZodString
|
|
3048
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
3049
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3050
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3049
3051
|
currency: z.ZodOptional<z.ZodString>;
|
|
3050
3052
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
3051
3053
|
network: z.ZodOptional<z.ZodString>;
|
|
3052
3054
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3053
3055
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3054
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
3056
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
3055
3057
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3056
3058
|
provider: z.ZodOptional<z.ZodString>;
|
|
3057
|
-
amount: z.ZodOptional<z.ZodString
|
|
3058
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
3059
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3060
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3059
3061
|
currency: z.ZodOptional<z.ZodString>;
|
|
3060
3062
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
3061
3063
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -3305,31 +3307,31 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3305
3307
|
currency: z.ZodString;
|
|
3306
3308
|
paymentCurrency: z.ZodString;
|
|
3307
3309
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3308
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
3310
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
3309
3311
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3310
3312
|
provider: z.ZodOptional<z.ZodString>;
|
|
3311
|
-
amount: z.ZodOptional<z.ZodString
|
|
3312
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
3313
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3314
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3313
3315
|
currency: z.ZodOptional<z.ZodString>;
|
|
3314
3316
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
3315
3317
|
network: z.ZodOptional<z.ZodString>;
|
|
3316
3318
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3317
3319
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3318
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
3320
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
3319
3321
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3320
3322
|
provider: z.ZodOptional<z.ZodString>;
|
|
3321
|
-
amount: z.ZodOptional<z.ZodString
|
|
3322
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
3323
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3324
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3323
3325
|
currency: z.ZodOptional<z.ZodString>;
|
|
3324
3326
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
3325
3327
|
network: z.ZodOptional<z.ZodString>;
|
|
3326
3328
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3327
3329
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3328
|
-
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]>>;
|
|
3330
|
+
type: z.ZodOptional<z.ZodEnum<["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]>>;
|
|
3329
3331
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3330
3332
|
provider: z.ZodOptional<z.ZodString>;
|
|
3331
|
-
amount: z.ZodOptional<z.ZodString
|
|
3332
|
-
amountInUSD: z.ZodOptional<z.ZodString
|
|
3333
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3334
|
+
amountInUSD: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3333
3335
|
currency: z.ZodOptional<z.ZodString>;
|
|
3334
3336
|
receiverAddress: z.ZodOptional<z.ZodString>;
|
|
3335
3337
|
network: z.ZodOptional<z.ZodString>;
|
|
@@ -3624,6 +3626,8 @@ interface RequestClient {
|
|
|
3624
3626
|
payments: PaymentsApi;
|
|
3625
3627
|
/** Payer/compliance endpoints */
|
|
3626
3628
|
payer: PayerApi;
|
|
3629
|
+
/** Payee destination endpoints */
|
|
3630
|
+
payeeDestination: PayeeDestinationApi;
|
|
3627
3631
|
/** Legacy pay endpoints */
|
|
3628
3632
|
pay: PayApi;
|
|
3629
3633
|
}
|