@marcohefti/request-network-api-client 0.5.11 → 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 +2 -2
- package/dist/cjs/domains/requests/index.js +3 -3
- package/dist/cjs/domains/requests/index.js.map +1 -1
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/domains/client-ids/index.d.mts +2 -2
- package/dist/esm/domains/currencies/index.d.mts +2 -2
- package/dist/esm/domains/payee-destination/index.d.mts +2 -2
- package/dist/esm/domains/payer/index.d.mts +2 -2
- package/dist/esm/domains/payouts/index.d.mts +2 -2
- package/dist/esm/domains/requests/index.d.mts +2 -2
- package/dist/esm/domains/requests/index.js +3 -3
- package/dist/esm/domains/requests/index.js.map +1 -1
- package/dist/esm/{index-y-zLkaVo.d.mts → index-DJGHELE1.d.mts} +1 -1
- package/dist/esm/{index-CvPDycgF.d.mts → index-DJjp2Jbk.d.mts} +1 -1
- package/dist/esm/{index-BDVvifym.d.mts → index-DQIf9k5x.d.mts} +1 -1
- package/dist/esm/{index-B5uZTITr.d.mts → index-DbnV_D6L.d.mts} +1 -1
- package/dist/esm/{index-CTQxsAHa.d.mts → index-hYoC2ndH.d.mts} +1 -1
- package/dist/esm/{index-DzdJCXFj.d.mts → index-y1nxa55y.d.mts} +1 -1
- package/dist/esm/index.d.mts +50 -50
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{openapi-types-D-zUdw-r.d.mts → openapi-types-CQ1z27_K.d.mts} +11 -11
- package/package.json +6 -5
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,19 +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 PayeeDestinationApi } from './index-
|
|
10
|
-
export { i as payeeDestination } from './index-
|
|
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-
|
|
12
|
-
export { i as payer } from './index-
|
|
13
|
-
import { P as PayoutsApi } from './index-
|
|
14
|
-
export { i as payouts } from './index-
|
|
15
|
-
import { R as RequestsApi, L as LegacyRequestStatusResult } from './index-
|
|
16
|
-
export { G as GetPaymentCalldataOptions, P as PaymentCalldataResult, b as PaymentRoute, a as PaymentRoutesResponse, c as RequestStatusResult, i as requests } from './index-
|
|
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';
|
|
17
17
|
import { SendOptions } from 'send';
|
|
18
18
|
import { EventEmitter } from 'events';
|
|
19
19
|
import * as http from 'http';
|
|
@@ -239,7 +239,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
239
239
|
currency: z.ZodString;
|
|
240
240
|
paymentCurrency: z.ZodString;
|
|
241
241
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
242
|
-
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"]>>;
|
|
243
243
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
244
244
|
provider: z.ZodOptional<z.ZodString>;
|
|
245
245
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -249,7 +249,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
249
249
|
network: z.ZodOptional<z.ZodString>;
|
|
250
250
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
251
251
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
252
|
-
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"]>>;
|
|
253
253
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
254
254
|
provider: z.ZodOptional<z.ZodString>;
|
|
255
255
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -259,7 +259,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
259
259
|
network: z.ZodOptional<z.ZodString>;
|
|
260
260
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
261
261
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
262
|
-
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"]>>;
|
|
263
263
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
264
264
|
provider: z.ZodOptional<z.ZodString>;
|
|
265
265
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -513,7 +513,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
513
513
|
currency: z.ZodString;
|
|
514
514
|
paymentCurrency: z.ZodString;
|
|
515
515
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
516
|
-
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"]>>;
|
|
517
517
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
518
518
|
provider: z.ZodOptional<z.ZodString>;
|
|
519
519
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -523,7 +523,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
523
523
|
network: z.ZodOptional<z.ZodString>;
|
|
524
524
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
525
525
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
526
|
-
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"]>>;
|
|
527
527
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
528
528
|
provider: z.ZodOptional<z.ZodString>;
|
|
529
529
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -533,7 +533,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
533
533
|
network: z.ZodOptional<z.ZodString>;
|
|
534
534
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
535
535
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
536
|
-
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"]>>;
|
|
537
537
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
538
538
|
provider: z.ZodOptional<z.ZodString>;
|
|
539
539
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -787,7 +787,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
787
787
|
currency: z.ZodString;
|
|
788
788
|
paymentCurrency: z.ZodString;
|
|
789
789
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
790
|
-
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"]>>;
|
|
791
791
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
792
792
|
provider: z.ZodOptional<z.ZodString>;
|
|
793
793
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -797,7 +797,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
797
797
|
network: z.ZodOptional<z.ZodString>;
|
|
798
798
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
799
799
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
800
|
-
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"]>>;
|
|
801
801
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
802
802
|
provider: z.ZodOptional<z.ZodString>;
|
|
803
803
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -807,7 +807,7 @@ declare const PaymentRecordSchema: z.ZodObject<{
|
|
|
807
807
|
network: z.ZodOptional<z.ZodString>;
|
|
808
808
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
809
809
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
810
|
-
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"]>>;
|
|
811
811
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
812
812
|
provider: z.ZodOptional<z.ZodString>;
|
|
813
813
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1079,7 +1079,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1079
1079
|
currency: z.ZodString;
|
|
1080
1080
|
paymentCurrency: z.ZodString;
|
|
1081
1081
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1082
|
-
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"]>>;
|
|
1083
1083
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1084
1084
|
provider: z.ZodOptional<z.ZodString>;
|
|
1085
1085
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1089,7 +1089,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1089
1089
|
network: z.ZodOptional<z.ZodString>;
|
|
1090
1090
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1091
1091
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1092
|
-
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"]>>;
|
|
1093
1093
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1094
1094
|
provider: z.ZodOptional<z.ZodString>;
|
|
1095
1095
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1099,7 +1099,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1099
1099
|
network: z.ZodOptional<z.ZodString>;
|
|
1100
1100
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1101
1101
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1102
|
-
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"]>>;
|
|
1103
1103
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1104
1104
|
provider: z.ZodOptional<z.ZodString>;
|
|
1105
1105
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1353,7 +1353,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1353
1353
|
currency: z.ZodString;
|
|
1354
1354
|
paymentCurrency: z.ZodString;
|
|
1355
1355
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1356
|
-
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"]>>;
|
|
1357
1357
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1358
1358
|
provider: z.ZodOptional<z.ZodString>;
|
|
1359
1359
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1363,7 +1363,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1363
1363
|
network: z.ZodOptional<z.ZodString>;
|
|
1364
1364
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1365
1365
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1366
|
-
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"]>>;
|
|
1367
1367
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1368
1368
|
provider: z.ZodOptional<z.ZodString>;
|
|
1369
1369
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1373,7 +1373,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1373
1373
|
network: z.ZodOptional<z.ZodString>;
|
|
1374
1374
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1375
1375
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1376
|
-
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"]>>;
|
|
1377
1377
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1378
1378
|
provider: z.ZodOptional<z.ZodString>;
|
|
1379
1379
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1627,7 +1627,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1627
1627
|
currency: z.ZodString;
|
|
1628
1628
|
paymentCurrency: z.ZodString;
|
|
1629
1629
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1630
|
-
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"]>>;
|
|
1631
1631
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1632
1632
|
provider: z.ZodOptional<z.ZodString>;
|
|
1633
1633
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1637,7 +1637,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1637
1637
|
network: z.ZodOptional<z.ZodString>;
|
|
1638
1638
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1639
1639
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1640
|
-
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"]>>;
|
|
1641
1641
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1642
1642
|
provider: z.ZodOptional<z.ZodString>;
|
|
1643
1643
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1647,7 +1647,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1647
1647
|
network: z.ZodOptional<z.ZodString>;
|
|
1648
1648
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1649
1649
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1650
|
-
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"]>>;
|
|
1651
1651
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1652
1652
|
provider: z.ZodOptional<z.ZodString>;
|
|
1653
1653
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1919,7 +1919,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1919
1919
|
currency: z.ZodString;
|
|
1920
1920
|
paymentCurrency: z.ZodString;
|
|
1921
1921
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1922
|
-
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"]>>;
|
|
1923
1923
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1924
1924
|
provider: z.ZodOptional<z.ZodString>;
|
|
1925
1925
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1929,7 +1929,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1929
1929
|
network: z.ZodOptional<z.ZodString>;
|
|
1930
1930
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1931
1931
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1932
|
-
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"]>>;
|
|
1933
1933
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1934
1934
|
provider: z.ZodOptional<z.ZodString>;
|
|
1935
1935
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1939,7 +1939,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
1939
1939
|
network: z.ZodOptional<z.ZodString>;
|
|
1940
1940
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
1941
1941
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1942
|
-
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"]>>;
|
|
1943
1943
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
1944
1944
|
provider: z.ZodOptional<z.ZodString>;
|
|
1945
1945
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2193,7 +2193,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2193
2193
|
currency: z.ZodString;
|
|
2194
2194
|
paymentCurrency: z.ZodString;
|
|
2195
2195
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2196
|
-
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"]>>;
|
|
2197
2197
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2198
2198
|
provider: z.ZodOptional<z.ZodString>;
|
|
2199
2199
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2203,7 +2203,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2203
2203
|
network: z.ZodOptional<z.ZodString>;
|
|
2204
2204
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2205
2205
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2206
|
-
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"]>>;
|
|
2207
2207
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2208
2208
|
provider: z.ZodOptional<z.ZodString>;
|
|
2209
2209
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2213,7 +2213,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2213
2213
|
network: z.ZodOptional<z.ZodString>;
|
|
2214
2214
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2215
2215
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2216
|
-
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"]>>;
|
|
2217
2217
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2218
2218
|
provider: z.ZodOptional<z.ZodString>;
|
|
2219
2219
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2467,7 +2467,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2467
2467
|
currency: z.ZodString;
|
|
2468
2468
|
paymentCurrency: z.ZodString;
|
|
2469
2469
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2470
|
-
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"]>>;
|
|
2471
2471
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2472
2472
|
provider: z.ZodOptional<z.ZodString>;
|
|
2473
2473
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2477,7 +2477,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2477
2477
|
network: z.ZodOptional<z.ZodString>;
|
|
2478
2478
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2479
2479
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2480
|
-
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"]>>;
|
|
2481
2481
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2482
2482
|
provider: z.ZodOptional<z.ZodString>;
|
|
2483
2483
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2487,7 +2487,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2487
2487
|
network: z.ZodOptional<z.ZodString>;
|
|
2488
2488
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2489
2489
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2490
|
-
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"]>>;
|
|
2491
2491
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2492
2492
|
provider: z.ZodOptional<z.ZodString>;
|
|
2493
2493
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2759,7 +2759,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2759
2759
|
currency: z.ZodString;
|
|
2760
2760
|
paymentCurrency: z.ZodString;
|
|
2761
2761
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2762
|
-
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"]>>;
|
|
2763
2763
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2764
2764
|
provider: z.ZodOptional<z.ZodString>;
|
|
2765
2765
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2769,7 +2769,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2769
2769
|
network: z.ZodOptional<z.ZodString>;
|
|
2770
2770
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2771
2771
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2772
|
-
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"]>>;
|
|
2773
2773
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2774
2774
|
provider: z.ZodOptional<z.ZodString>;
|
|
2775
2775
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2779,7 +2779,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
2779
2779
|
network: z.ZodOptional<z.ZodString>;
|
|
2780
2780
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
2781
2781
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2782
|
-
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"]>>;
|
|
2783
2783
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
2784
2784
|
provider: z.ZodOptional<z.ZodString>;
|
|
2785
2785
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3033,7 +3033,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3033
3033
|
currency: z.ZodString;
|
|
3034
3034
|
paymentCurrency: z.ZodString;
|
|
3035
3035
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3036
|
-
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"]>>;
|
|
3037
3037
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3038
3038
|
provider: z.ZodOptional<z.ZodString>;
|
|
3039
3039
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3043,7 +3043,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3043
3043
|
network: z.ZodOptional<z.ZodString>;
|
|
3044
3044
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3045
3045
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3046
|
-
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"]>>;
|
|
3047
3047
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3048
3048
|
provider: z.ZodOptional<z.ZodString>;
|
|
3049
3049
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3053,7 +3053,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3053
3053
|
network: z.ZodOptional<z.ZodString>;
|
|
3054
3054
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3055
3055
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3056
|
-
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"]>>;
|
|
3057
3057
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3058
3058
|
provider: z.ZodOptional<z.ZodString>;
|
|
3059
3059
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3307,7 +3307,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3307
3307
|
currency: z.ZodString;
|
|
3308
3308
|
paymentCurrency: z.ZodString;
|
|
3309
3309
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3310
|
-
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"]>>;
|
|
3311
3311
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3312
3312
|
provider: z.ZodOptional<z.ZodString>;
|
|
3313
3313
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3317,7 +3317,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3317
3317
|
network: z.ZodOptional<z.ZodString>;
|
|
3318
3318
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3319
3319
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3320
|
-
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"]>>;
|
|
3321
3321
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3322
3322
|
provider: z.ZodOptional<z.ZodString>;
|
|
3323
3323
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3327,7 +3327,7 @@ declare const PaymentSearchResponseSchema: z.ZodObject<{
|
|
|
3327
3327
|
network: z.ZodOptional<z.ZodString>;
|
|
3328
3328
|
rateProvider: z.ZodOptional<z.ZodString>;
|
|
3329
3329
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3330
|
-
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"]>>;
|
|
3331
3331
|
stage: z.ZodOptional<z.ZodEnum<["sending", "receiving", "proxying", "refunding"]>>;
|
|
3332
3332
|
provider: z.ZodOptional<z.ZodString>;
|
|
3333
3333
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/esm/index.js
CHANGED
|
@@ -1939,7 +1939,7 @@ var ErrorEnvelopeSchema6 = z.object({
|
|
|
1939
1939
|
retryAfterMs: z.number().optional(),
|
|
1940
1940
|
meta: z.record(z.unknown()).optional()
|
|
1941
1941
|
}).passthrough();
|
|
1942
|
-
var PaymentV2Controller_searchPayments_v2_200 = z.object({ "payments": z.array(z.object({ "id": z.string(), "amount": z.string(), "sourceNetwork": z.string(), "destinationNetwork": z.string(), "sourceTxHash": z.string().nullable().optional(), "destinationTxHash": z.string().nullable().optional(), "timestamp": z.string(), "type": z.enum(["direct", "conversion", "crosschain", "recurring"]), "conversionRateSource": z.string().nullable().optional(), "conversionRateDestination": z.string().nullable().optional(), "convertedAmountSource": z.string().nullable().optional(), "convertedAmountDestination": z.string().nullable().optional(), "currency": z.string(), "paymentCurrency": z.string(), "fees": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "amountInUSD": z.string().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).nullable().optional(), "recurringPaymentId": z.string().nullable().optional(), "rateProvider": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "request": z.object({ "requestId": z.string().optional(), "paymentReference": z.string().optional(), "hasBeenPaid": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().nullable().optional(), "reference": z.string().nullable().optional() }).passthrough().optional() }).passthrough()), "pagination": z.object({ "total": z.number(), "limit": z.number(), "offset": z.number(), "hasMore": z.boolean() }).passthrough() }).passthrough();
|
|
1942
|
+
var PaymentV2Controller_searchPayments_v2_200 = z.object({ "payments": z.array(z.object({ "id": z.string(), "amount": z.string(), "sourceNetwork": z.string(), "destinationNetwork": z.string(), "sourceTxHash": z.string().nullable().optional(), "destinationTxHash": z.string().nullable().optional(), "timestamp": z.string(), "type": z.enum(["direct", "conversion", "crosschain", "recurring"]), "conversionRateSource": z.string().nullable().optional(), "conversionRateDestination": z.string().nullable().optional(), "convertedAmountSource": z.string().nullable().optional(), "convertedAmountDestination": z.string().nullable().optional(), "currency": z.string(), "paymentCurrency": z.string(), "fees": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "amountInUSD": z.string().nullable().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).nullable().optional(), "recurringPaymentId": z.string().nullable().optional(), "rateProvider": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "request": z.object({ "requestId": z.string().optional(), "paymentReference": z.string().optional(), "hasBeenPaid": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().nullable().optional(), "reference": z.string().nullable().optional() }).passthrough().optional() }).passthrough()), "pagination": z.object({ "total": z.number(), "limit": z.number(), "offset": z.number(), "hasMore": z.boolean() }).passthrough() }).passthrough();
|
|
1943
1943
|
schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 200 }, schema: PaymentV2Controller_searchPayments_v2_200 });
|
|
1944
1944
|
var PaymentV2Controller_searchPayments_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "errors": z.array(z.object({ "field": z.string().optional(), "message": z.string().optional() }).passthrough()).optional() }).passthrough();
|
|
1945
1945
|
schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 400 }, schema: PaymentV2Controller_searchPayments_v2_400 });
|
|
@@ -1964,7 +1964,7 @@ var CustomerInfoSchema = z.object({
|
|
|
1964
1964
|
address: AddressSchema.optional()
|
|
1965
1965
|
}).passthrough();
|
|
1966
1966
|
var FeeSchema = z.object({
|
|
1967
|
-
type: z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]).optional(),
|
|
1967
|
+
type: z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(),
|
|
1968
1968
|
stage: z.enum(["sending", "receiving", "proxying", "refunding"]).optional(),
|
|
1969
1969
|
provider: z.string().optional(),
|
|
1970
1970
|
amount: z.string().nullable().optional(),
|
|
@@ -2428,7 +2428,7 @@ var RequestControllerV1_getPaymentCalldata_v1_404 = ErrorEnvelopeSchema7;
|
|
|
2428
2428
|
schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getPaymentCalldata_v1_404 });
|
|
2429
2429
|
var RequestControllerV1_getPaymentCalldata_v1_429 = ErrorEnvelopeSchema7;
|
|
2430
2430
|
schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getPaymentCalldata_v1_429 });
|
|
2431
|
-
var RequestControllerV1_getRequestPaymentRoutes_v1_200 = z.object({ "routes": z.array(z.object({ "id": z.string(), "fee": z.number(), "feeBreakdown": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "amountInUSD": z.string().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).optional(), "speed": z.union([z.string(), z.number()]), "price_impact": z.number().optional(), "chain": z.string(), "token": z.string() }).passthrough()) }).passthrough();
|
|
2431
|
+
var RequestControllerV1_getRequestPaymentRoutes_v1_200 = z.object({ "routes": z.array(z.object({ "id": z.string(), "fee": z.number(), "feeBreakdown": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "amountInUSD": z.string().nullable().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).optional(), "speed": z.union([z.string(), z.number()]), "price_impact": z.number().optional(), "chain": z.string(), "token": z.string() }).passthrough()) }).passthrough();
|
|
2432
2432
|
schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_200 });
|
|
2433
2433
|
var RequestControllerV1_getRequestPaymentRoutes_v1_400 = ErrorEnvelopeSchema7;
|
|
2434
2434
|
schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 400 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_400 });
|
|
@@ -2456,7 +2456,7 @@ var RequestControllerV2_createRequest_v2_404 = ErrorEnvelopeSchema7;
|
|
|
2456
2456
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 404 }, schema: RequestControllerV2_createRequest_v2_404 });
|
|
2457
2457
|
var RequestControllerV2_createRequest_v2_429 = ErrorEnvelopeSchema7;
|
|
2458
2458
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 429 }, schema: RequestControllerV2_createRequest_v2_429 });
|
|
2459
|
-
var RequestControllerV2_getRequestStatus_v2_200 = z.object({ "hasBeenPaid": z.boolean().optional(), "paymentReference": z.string().optional(), "requestId": z.string().optional(), "isListening": z.boolean().optional(), "txHash": z.string().nullable().optional(), "recurrence": z.object({}).passthrough().optional(), "originalRequestId": z.string().optional(), "status": z.string().optional(), "isCryptoToFiatAvailable": z.boolean().optional(), "originalRequestPaymentReference": z.string().optional(), "payments": z.array(z.object({}).passthrough()).optional(), "isRecurrenceStopped": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().nullable().optional(), "reference": z.string().nullable().optional(), "amountInUsd": z.string().nullable().optional(), "conversionRate": z.string().nullable().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown", "mixed"]).optional(), "conversionBreakdown": z.object({ "paidAmount": z.string().optional(), "paidAmountInUsd": z.string().optional(), "remainingAmount": z.string().optional(), "remainingAmountInUsd": z.string().optional(), "currentMarketRate": z.string().nullable().optional(), "currentMarketRateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "payments": z.array(z.object({ "amount": z.string().optional(), "amountInUsd": z.string().optional(), "conversionRate": z.string().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "timestamp": z.string().optional() }).passthrough()).optional() }).passthrough().nullable().optional(), "fees": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "currency": z.string().optional() }).passthrough()).nullable().optional() }).passthrough();
|
|
2459
|
+
var RequestControllerV2_getRequestStatus_v2_200 = z.object({ "hasBeenPaid": z.boolean().optional(), "paymentReference": z.string().optional(), "requestId": z.string().optional(), "isListening": z.boolean().optional(), "txHash": z.string().nullable().optional(), "recurrence": z.object({}).passthrough().optional(), "originalRequestId": z.string().optional(), "status": z.string().optional(), "isCryptoToFiatAvailable": z.boolean().optional(), "originalRequestPaymentReference": z.string().optional(), "payments": z.array(z.object({}).passthrough()).optional(), "isRecurrenceStopped": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().nullable().optional(), "reference": z.string().nullable().optional(), "amountInUsd": z.string().nullable().optional(), "conversionRate": z.string().nullable().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown", "mixed"]).optional(), "conversionBreakdown": z.object({ "paidAmount": z.string().optional(), "paidAmountInUsd": z.string().optional(), "remainingAmount": z.string().optional(), "remainingAmountInUsd": z.string().optional(), "currentMarketRate": z.string().nullable().optional(), "currentMarketRateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "payments": z.array(z.object({ "amount": z.string().optional(), "amountInUsd": z.string().optional(), "conversionRate": z.string().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "timestamp": z.string().optional() }).passthrough()).optional() }).passthrough().nullable().optional(), "fees": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "currency": z.string().optional() }).passthrough()).nullable().optional() }).passthrough();
|
|
2460
2460
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getRequestStatus_v2_200 });
|
|
2461
2461
|
var RequestControllerV2_getRequestStatus_v2_404 = ErrorEnvelopeSchema7;
|
|
2462
2462
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getRequestStatus_v2_404 });
|
|
@@ -2478,7 +2478,7 @@ var RequestControllerV2_getPaymentCalldata_v2_404 = ErrorEnvelopeSchema7;
|
|
|
2478
2478
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getPaymentCalldata_v2_404 });
|
|
2479
2479
|
var RequestControllerV2_getPaymentCalldata_v2_429 = ErrorEnvelopeSchema7;
|
|
2480
2480
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getPaymentCalldata_v2_429 });
|
|
2481
|
-
var RequestControllerV2_getRequestPaymentRoutes_v2_200 = z.object({ "routes": z.array(z.object({ "id": z.string(), "fee": z.number(), "feeBreakdown": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "amountInUSD": z.string().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).optional(), "speed": z.union([z.string(), z.number()]), "price_impact": z.number().optional(), "chain": z.string(), "token": z.string() }).passthrough()) }).passthrough();
|
|
2481
|
+
var RequestControllerV2_getRequestPaymentRoutes_v2_200 = z.object({ "routes": z.array(z.object({ "id": z.string(), "fee": z.number(), "feeBreakdown": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "amountInUSD": z.string().nullable().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).optional(), "speed": z.union([z.string(), z.number()]), "price_impact": z.number().optional(), "chain": z.string(), "token": z.string() }).passthrough()) }).passthrough();
|
|
2482
2482
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_200 });
|
|
2483
2483
|
var RequestControllerV2_getRequestPaymentRoutes_v2_400 = ErrorEnvelopeSchema7;
|
|
2484
2484
|
schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 400 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_400 });
|