@klappay/types 3.5.1 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1172,6 +1172,313 @@ declare const CheckChargeRequestSchema: z.ZodEffects<z.ZodObject<{
1172
1172
  txHash?: string | undefined;
1173
1173
  }>;
1174
1174
  type CheckChargeRequest = z.infer<typeof CheckChargeRequestSchema>;
1175
+ declare const CheckChargeResponseSchema: z.ZodObject<{
1176
+ id: z.ZodString;
1177
+ amount: z.ZodNumber;
1178
+ amountReceived: z.ZodNullable<z.ZodNumber>;
1179
+ isOverpaid: z.ZodBoolean;
1180
+ currency: z.ZodString;
1181
+ acceptedPayments: z.ZodArray<z.ZodObject<{
1182
+ token: z.ZodEnum<["USDC", "USDT"]>;
1183
+ network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ token: "USDC" | "USDT";
1186
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1187
+ }, {
1188
+ token: "USDC" | "USDT";
1189
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1190
+ }>, "many">;
1191
+ paidWith: z.ZodArray<z.ZodObject<{
1192
+ token: z.ZodEnum<["USDC", "USDT"]>;
1193
+ network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ token: "USDC" | "USDT";
1196
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1197
+ }, {
1198
+ token: "USDC" | "USDT";
1199
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1200
+ }>, "many">;
1201
+ swapAlternatives: z.ZodArray<z.ZodObject<{
1202
+ token: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
1203
+ network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1206
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1207
+ }, {
1208
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1209
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1210
+ }>, "many">;
1211
+ address: z.ZodString;
1212
+ status: z.ZodEnum<["pending", "partially_paid", "confirmed", "expired", "underpaid"]>;
1213
+ settlementStatus: z.ZodNullable<z.ZodEnum<["pending", "completed", "failed"]>>;
1214
+ environment: z.ZodEnum<["live", "test"]>;
1215
+ apiKeyId: z.ZodNullable<z.ZodString>;
1216
+ txHash: z.ZodNullable<z.ZodString>;
1217
+ externalRef: z.ZodNullable<z.ZodString>;
1218
+ source: z.ZodNullable<z.ZodString>;
1219
+ metadata: z.ZodNullable<z.ZodObject<{
1220
+ klappay: z.ZodOptional<z.ZodObject<{
1221
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1222
+ name: z.ZodString;
1223
+ quantity: z.ZodOptional<z.ZodNumber>;
1224
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ name: string;
1227
+ quantity?: number | undefined;
1228
+ imageUrl?: string | undefined;
1229
+ }, {
1230
+ name: string;
1231
+ quantity?: number | undefined;
1232
+ imageUrl?: string | undefined;
1233
+ }>, "many">>;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ products?: {
1236
+ name: string;
1237
+ quantity?: number | undefined;
1238
+ imageUrl?: string | undefined;
1239
+ }[] | undefined;
1240
+ }, {
1241
+ products?: {
1242
+ name: string;
1243
+ quantity?: number | undefined;
1244
+ imageUrl?: string | undefined;
1245
+ }[] | undefined;
1246
+ }>>;
1247
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
1248
+ klappay: z.ZodOptional<z.ZodObject<{
1249
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1250
+ name: z.ZodString;
1251
+ quantity: z.ZodOptional<z.ZodNumber>;
1252
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1253
+ }, "strip", z.ZodTypeAny, {
1254
+ name: string;
1255
+ quantity?: number | undefined;
1256
+ imageUrl?: string | undefined;
1257
+ }, {
1258
+ name: string;
1259
+ quantity?: number | undefined;
1260
+ imageUrl?: string | undefined;
1261
+ }>, "many">>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ products?: {
1264
+ name: string;
1265
+ quantity?: number | undefined;
1266
+ imageUrl?: string | undefined;
1267
+ }[] | undefined;
1268
+ }, {
1269
+ products?: {
1270
+ name: string;
1271
+ quantity?: number | undefined;
1272
+ imageUrl?: string | undefined;
1273
+ }[] | undefined;
1274
+ }>>;
1275
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
1276
+ klappay: z.ZodOptional<z.ZodObject<{
1277
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1278
+ name: z.ZodString;
1279
+ quantity: z.ZodOptional<z.ZodNumber>;
1280
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ name: string;
1283
+ quantity?: number | undefined;
1284
+ imageUrl?: string | undefined;
1285
+ }, {
1286
+ name: string;
1287
+ quantity?: number | undefined;
1288
+ imageUrl?: string | undefined;
1289
+ }>, "many">>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ products?: {
1292
+ name: string;
1293
+ quantity?: number | undefined;
1294
+ imageUrl?: string | undefined;
1295
+ }[] | undefined;
1296
+ }, {
1297
+ products?: {
1298
+ name: string;
1299
+ quantity?: number | undefined;
1300
+ imageUrl?: string | undefined;
1301
+ }[] | undefined;
1302
+ }>>;
1303
+ }, z.ZodUnknown, "strip">>>;
1304
+ redirectUrl: z.ZodNullable<z.ZodString>;
1305
+ checkoutUrl: z.ZodNullable<z.ZodString>;
1306
+ splitRecipients: z.ZodArray<z.ZodObject<{
1307
+ address: z.ZodString;
1308
+ percent: z.ZodNumber;
1309
+ label: z.ZodOptional<z.ZodString>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ address: string;
1312
+ percent: number;
1313
+ label?: string | undefined;
1314
+ }, {
1315
+ address: string;
1316
+ percent: number;
1317
+ label?: string | undefined;
1318
+ }>, "many">;
1319
+ createdAt: z.ZodString;
1320
+ expiresAt: z.ZodString;
1321
+ confirmedAt: z.ZodNullable<z.ZodString>;
1322
+ settledAt: z.ZodNullable<z.ZodString>;
1323
+ lastActivityAt: z.ZodString;
1324
+ escrow: z.ZodNullable<z.ZodObject<{
1325
+ releaserAddress: z.ZodString;
1326
+ releasedAt: z.ZodNullable<z.ZodString>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ releaserAddress: string;
1329
+ releasedAt: string | null;
1330
+ }, {
1331
+ releaserAddress: string;
1332
+ releasedAt: string | null;
1333
+ }>>;
1334
+ } & {
1335
+ transactionSender: z.ZodNullable<z.ZodString>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
1338
+ address: string;
1339
+ amount: number;
1340
+ currency: string;
1341
+ acceptedPayments: {
1342
+ token: "USDC" | "USDT";
1343
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1344
+ }[];
1345
+ externalRef: string | null;
1346
+ source: string | null;
1347
+ metadata: z.objectOutputType<{
1348
+ klappay: z.ZodOptional<z.ZodObject<{
1349
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1350
+ name: z.ZodString;
1351
+ quantity: z.ZodOptional<z.ZodNumber>;
1352
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1353
+ }, "strip", z.ZodTypeAny, {
1354
+ name: string;
1355
+ quantity?: number | undefined;
1356
+ imageUrl?: string | undefined;
1357
+ }, {
1358
+ name: string;
1359
+ quantity?: number | undefined;
1360
+ imageUrl?: string | undefined;
1361
+ }>, "many">>;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ products?: {
1364
+ name: string;
1365
+ quantity?: number | undefined;
1366
+ imageUrl?: string | undefined;
1367
+ }[] | undefined;
1368
+ }, {
1369
+ products?: {
1370
+ name: string;
1371
+ quantity?: number | undefined;
1372
+ imageUrl?: string | undefined;
1373
+ }[] | undefined;
1374
+ }>>;
1375
+ }, z.ZodUnknown, "strip"> | null;
1376
+ redirectUrl: string | null;
1377
+ splitRecipients: {
1378
+ address: string;
1379
+ percent: number;
1380
+ label?: string | undefined;
1381
+ }[];
1382
+ escrow: {
1383
+ releaserAddress: string;
1384
+ releasedAt: string | null;
1385
+ } | null;
1386
+ id: string;
1387
+ amountReceived: number | null;
1388
+ isOverpaid: boolean;
1389
+ paidWith: {
1390
+ token: "USDC" | "USDT";
1391
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1392
+ }[];
1393
+ swapAlternatives: {
1394
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1395
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1396
+ }[];
1397
+ settlementStatus: "pending" | "completed" | "failed" | null;
1398
+ environment: "live" | "test";
1399
+ apiKeyId: string | null;
1400
+ txHash: string | null;
1401
+ checkoutUrl: string | null;
1402
+ createdAt: string;
1403
+ expiresAt: string;
1404
+ confirmedAt: string | null;
1405
+ settledAt: string | null;
1406
+ lastActivityAt: string;
1407
+ transactionSender: string | null;
1408
+ }, {
1409
+ status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
1410
+ address: string;
1411
+ amount: number;
1412
+ currency: string;
1413
+ acceptedPayments: {
1414
+ token: "USDC" | "USDT";
1415
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1416
+ }[];
1417
+ externalRef: string | null;
1418
+ source: string | null;
1419
+ metadata: z.objectInputType<{
1420
+ klappay: z.ZodOptional<z.ZodObject<{
1421
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1422
+ name: z.ZodString;
1423
+ quantity: z.ZodOptional<z.ZodNumber>;
1424
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ name: string;
1427
+ quantity?: number | undefined;
1428
+ imageUrl?: string | undefined;
1429
+ }, {
1430
+ name: string;
1431
+ quantity?: number | undefined;
1432
+ imageUrl?: string | undefined;
1433
+ }>, "many">>;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ products?: {
1436
+ name: string;
1437
+ quantity?: number | undefined;
1438
+ imageUrl?: string | undefined;
1439
+ }[] | undefined;
1440
+ }, {
1441
+ products?: {
1442
+ name: string;
1443
+ quantity?: number | undefined;
1444
+ imageUrl?: string | undefined;
1445
+ }[] | undefined;
1446
+ }>>;
1447
+ }, z.ZodUnknown, "strip"> | null;
1448
+ redirectUrl: string | null;
1449
+ splitRecipients: {
1450
+ address: string;
1451
+ percent: number;
1452
+ label?: string | undefined;
1453
+ }[];
1454
+ escrow: {
1455
+ releaserAddress: string;
1456
+ releasedAt: string | null;
1457
+ } | null;
1458
+ id: string;
1459
+ amountReceived: number | null;
1460
+ isOverpaid: boolean;
1461
+ paidWith: {
1462
+ token: "USDC" | "USDT";
1463
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1464
+ }[];
1465
+ swapAlternatives: {
1466
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1467
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1468
+ }[];
1469
+ settlementStatus: "pending" | "completed" | "failed" | null;
1470
+ environment: "live" | "test";
1471
+ apiKeyId: string | null;
1472
+ txHash: string | null;
1473
+ checkoutUrl: string | null;
1474
+ createdAt: string;
1475
+ expiresAt: string;
1476
+ confirmedAt: string | null;
1477
+ settledAt: string | null;
1478
+ lastActivityAt: string;
1479
+ transactionSender: string | null;
1480
+ }>;
1481
+ type CheckChargeResponse = z.infer<typeof CheckChargeResponseSchema>;
1175
1482
 
1176
1483
  declare const EscrowConfigSchema: z.ZodObject<{
1177
1484
  releaserAddress: z.ZodOptional<z.ZodString>;
@@ -2728,4 +3035,4 @@ declare const SwapQuoteSchema: z.ZodObject<{
2728
3035
  }>;
2729
3036
  type SwapQuote = z.infer<typeof SwapQuoteSchema>;
2730
3037
 
2731
- export { API_KEY_SCOPES, type AcceptedPayment, AcceptedPaymentSchema, type ApiKeyScope, ApiKeyScopeSchema, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, CHARGE_SPLIT_RECIPIENTS_MAX, CHECKOUT_PRODUCTS_MAX, CONFLICTING_SCOPE_PAIRS, type Capabilities, CapabilitiesSchema, type Charge, ChargeSchema, type ChargeStatus, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CheckChargeRequest, CheckChargeRequestSchema, type CheckoutProduct, CheckoutProductSchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateRecipientInput, type CreateRecipientRequest, CreateRecipientSchema, type CreateSwapQuoteInput, CreateSwapQuoteSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, type ErrorPayload, ErrorPayloadSchema, type EscrowConfig, EscrowConfigSchema, type GetChargeQrCodeQuery, type GetChargeQrCodeQueryRequest, GetChargeQrCodeQuerySchema, type Health, HealthSchema, type KlappayCheckoutMetadata, KlappayCheckoutMetadataSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type ListenPendingDistributionsQuery, ListenPendingDistributionsQuerySchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, MetadataWithKlappaySchema, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsResource, MetricsResourceSchema, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedCharges, PaginatedChargesSchema, type PaginatedPendingDistributions, PaginatedPendingDistributionsSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type Recipient, RecipientSchema, type ReleaseEscrowRequest, ReleaseEscrowRequestSchema, type SandboxTriggerInput, SandboxTriggerSchema, type SetRecipientPayoutInput, SetRecipientPayoutSchema, type SettlementStatus, SettlementStatusSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, type SplitRecipient, type SplitRecipientInput, SplitRecipientInputSchema, SplitRecipientSchema, type SwapQuote, SwapQuoteSchema, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, findConflictingScopes, paginatedSchema };
3038
+ export { API_KEY_SCOPES, type AcceptedPayment, AcceptedPaymentSchema, type ApiKeyScope, ApiKeyScopeSchema, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, CHARGE_SPLIT_RECIPIENTS_MAX, CHECKOUT_PRODUCTS_MAX, CONFLICTING_SCOPE_PAIRS, type Capabilities, CapabilitiesSchema, type Charge, ChargeSchema, type ChargeStatus, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CheckChargeRequest, CheckChargeRequestSchema, type CheckChargeResponse, CheckChargeResponseSchema, type CheckoutProduct, CheckoutProductSchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateRecipientInput, type CreateRecipientRequest, CreateRecipientSchema, type CreateSwapQuoteInput, CreateSwapQuoteSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, type ErrorPayload, ErrorPayloadSchema, type EscrowConfig, EscrowConfigSchema, type GetChargeQrCodeQuery, type GetChargeQrCodeQueryRequest, GetChargeQrCodeQuerySchema, type Health, HealthSchema, type KlappayCheckoutMetadata, KlappayCheckoutMetadataSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type ListenPendingDistributionsQuery, ListenPendingDistributionsQuerySchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, MetadataWithKlappaySchema, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsResource, MetricsResourceSchema, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedCharges, PaginatedChargesSchema, type PaginatedPendingDistributions, PaginatedPendingDistributionsSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type Recipient, RecipientSchema, type ReleaseEscrowRequest, ReleaseEscrowRequestSchema, type SandboxTriggerInput, SandboxTriggerSchema, type SetRecipientPayoutInput, SetRecipientPayoutSchema, type SettlementStatus, SettlementStatusSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, type SplitRecipient, type SplitRecipientInput, SplitRecipientInputSchema, SplitRecipientSchema, type SwapQuote, SwapQuoteSchema, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, findConflictingScopes, paginatedSchema };
package/dist/index.d.ts CHANGED
@@ -1172,6 +1172,313 @@ declare const CheckChargeRequestSchema: z.ZodEffects<z.ZodObject<{
1172
1172
  txHash?: string | undefined;
1173
1173
  }>;
1174
1174
  type CheckChargeRequest = z.infer<typeof CheckChargeRequestSchema>;
1175
+ declare const CheckChargeResponseSchema: z.ZodObject<{
1176
+ id: z.ZodString;
1177
+ amount: z.ZodNumber;
1178
+ amountReceived: z.ZodNullable<z.ZodNumber>;
1179
+ isOverpaid: z.ZodBoolean;
1180
+ currency: z.ZodString;
1181
+ acceptedPayments: z.ZodArray<z.ZodObject<{
1182
+ token: z.ZodEnum<["USDC", "USDT"]>;
1183
+ network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ token: "USDC" | "USDT";
1186
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1187
+ }, {
1188
+ token: "USDC" | "USDT";
1189
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1190
+ }>, "many">;
1191
+ paidWith: z.ZodArray<z.ZodObject<{
1192
+ token: z.ZodEnum<["USDC", "USDT"]>;
1193
+ network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ token: "USDC" | "USDT";
1196
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1197
+ }, {
1198
+ token: "USDC" | "USDT";
1199
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1200
+ }>, "many">;
1201
+ swapAlternatives: z.ZodArray<z.ZodObject<{
1202
+ token: z.ZodEnum<["ETH", "BNB", "MATIC", "AVAX", "BTC"]>;
1203
+ network: z.ZodEnum<["base", "optimism", "polygon", "ethereum", "arbitrum", "avalanche", "bnb"]>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1206
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1207
+ }, {
1208
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1209
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1210
+ }>, "many">;
1211
+ address: z.ZodString;
1212
+ status: z.ZodEnum<["pending", "partially_paid", "confirmed", "expired", "underpaid"]>;
1213
+ settlementStatus: z.ZodNullable<z.ZodEnum<["pending", "completed", "failed"]>>;
1214
+ environment: z.ZodEnum<["live", "test"]>;
1215
+ apiKeyId: z.ZodNullable<z.ZodString>;
1216
+ txHash: z.ZodNullable<z.ZodString>;
1217
+ externalRef: z.ZodNullable<z.ZodString>;
1218
+ source: z.ZodNullable<z.ZodString>;
1219
+ metadata: z.ZodNullable<z.ZodObject<{
1220
+ klappay: z.ZodOptional<z.ZodObject<{
1221
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1222
+ name: z.ZodString;
1223
+ quantity: z.ZodOptional<z.ZodNumber>;
1224
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ name: string;
1227
+ quantity?: number | undefined;
1228
+ imageUrl?: string | undefined;
1229
+ }, {
1230
+ name: string;
1231
+ quantity?: number | undefined;
1232
+ imageUrl?: string | undefined;
1233
+ }>, "many">>;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ products?: {
1236
+ name: string;
1237
+ quantity?: number | undefined;
1238
+ imageUrl?: string | undefined;
1239
+ }[] | undefined;
1240
+ }, {
1241
+ products?: {
1242
+ name: string;
1243
+ quantity?: number | undefined;
1244
+ imageUrl?: string | undefined;
1245
+ }[] | undefined;
1246
+ }>>;
1247
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
1248
+ klappay: z.ZodOptional<z.ZodObject<{
1249
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1250
+ name: z.ZodString;
1251
+ quantity: z.ZodOptional<z.ZodNumber>;
1252
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1253
+ }, "strip", z.ZodTypeAny, {
1254
+ name: string;
1255
+ quantity?: number | undefined;
1256
+ imageUrl?: string | undefined;
1257
+ }, {
1258
+ name: string;
1259
+ quantity?: number | undefined;
1260
+ imageUrl?: string | undefined;
1261
+ }>, "many">>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ products?: {
1264
+ name: string;
1265
+ quantity?: number | undefined;
1266
+ imageUrl?: string | undefined;
1267
+ }[] | undefined;
1268
+ }, {
1269
+ products?: {
1270
+ name: string;
1271
+ quantity?: number | undefined;
1272
+ imageUrl?: string | undefined;
1273
+ }[] | undefined;
1274
+ }>>;
1275
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
1276
+ klappay: z.ZodOptional<z.ZodObject<{
1277
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1278
+ name: z.ZodString;
1279
+ quantity: z.ZodOptional<z.ZodNumber>;
1280
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ name: string;
1283
+ quantity?: number | undefined;
1284
+ imageUrl?: string | undefined;
1285
+ }, {
1286
+ name: string;
1287
+ quantity?: number | undefined;
1288
+ imageUrl?: string | undefined;
1289
+ }>, "many">>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ products?: {
1292
+ name: string;
1293
+ quantity?: number | undefined;
1294
+ imageUrl?: string | undefined;
1295
+ }[] | undefined;
1296
+ }, {
1297
+ products?: {
1298
+ name: string;
1299
+ quantity?: number | undefined;
1300
+ imageUrl?: string | undefined;
1301
+ }[] | undefined;
1302
+ }>>;
1303
+ }, z.ZodUnknown, "strip">>>;
1304
+ redirectUrl: z.ZodNullable<z.ZodString>;
1305
+ checkoutUrl: z.ZodNullable<z.ZodString>;
1306
+ splitRecipients: z.ZodArray<z.ZodObject<{
1307
+ address: z.ZodString;
1308
+ percent: z.ZodNumber;
1309
+ label: z.ZodOptional<z.ZodString>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ address: string;
1312
+ percent: number;
1313
+ label?: string | undefined;
1314
+ }, {
1315
+ address: string;
1316
+ percent: number;
1317
+ label?: string | undefined;
1318
+ }>, "many">;
1319
+ createdAt: z.ZodString;
1320
+ expiresAt: z.ZodString;
1321
+ confirmedAt: z.ZodNullable<z.ZodString>;
1322
+ settledAt: z.ZodNullable<z.ZodString>;
1323
+ lastActivityAt: z.ZodString;
1324
+ escrow: z.ZodNullable<z.ZodObject<{
1325
+ releaserAddress: z.ZodString;
1326
+ releasedAt: z.ZodNullable<z.ZodString>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ releaserAddress: string;
1329
+ releasedAt: string | null;
1330
+ }, {
1331
+ releaserAddress: string;
1332
+ releasedAt: string | null;
1333
+ }>>;
1334
+ } & {
1335
+ transactionSender: z.ZodNullable<z.ZodString>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
1338
+ address: string;
1339
+ amount: number;
1340
+ currency: string;
1341
+ acceptedPayments: {
1342
+ token: "USDC" | "USDT";
1343
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1344
+ }[];
1345
+ externalRef: string | null;
1346
+ source: string | null;
1347
+ metadata: z.objectOutputType<{
1348
+ klappay: z.ZodOptional<z.ZodObject<{
1349
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1350
+ name: z.ZodString;
1351
+ quantity: z.ZodOptional<z.ZodNumber>;
1352
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1353
+ }, "strip", z.ZodTypeAny, {
1354
+ name: string;
1355
+ quantity?: number | undefined;
1356
+ imageUrl?: string | undefined;
1357
+ }, {
1358
+ name: string;
1359
+ quantity?: number | undefined;
1360
+ imageUrl?: string | undefined;
1361
+ }>, "many">>;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ products?: {
1364
+ name: string;
1365
+ quantity?: number | undefined;
1366
+ imageUrl?: string | undefined;
1367
+ }[] | undefined;
1368
+ }, {
1369
+ products?: {
1370
+ name: string;
1371
+ quantity?: number | undefined;
1372
+ imageUrl?: string | undefined;
1373
+ }[] | undefined;
1374
+ }>>;
1375
+ }, z.ZodUnknown, "strip"> | null;
1376
+ redirectUrl: string | null;
1377
+ splitRecipients: {
1378
+ address: string;
1379
+ percent: number;
1380
+ label?: string | undefined;
1381
+ }[];
1382
+ escrow: {
1383
+ releaserAddress: string;
1384
+ releasedAt: string | null;
1385
+ } | null;
1386
+ id: string;
1387
+ amountReceived: number | null;
1388
+ isOverpaid: boolean;
1389
+ paidWith: {
1390
+ token: "USDC" | "USDT";
1391
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1392
+ }[];
1393
+ swapAlternatives: {
1394
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1395
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1396
+ }[];
1397
+ settlementStatus: "pending" | "completed" | "failed" | null;
1398
+ environment: "live" | "test";
1399
+ apiKeyId: string | null;
1400
+ txHash: string | null;
1401
+ checkoutUrl: string | null;
1402
+ createdAt: string;
1403
+ expiresAt: string;
1404
+ confirmedAt: string | null;
1405
+ settledAt: string | null;
1406
+ lastActivityAt: string;
1407
+ transactionSender: string | null;
1408
+ }, {
1409
+ status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
1410
+ address: string;
1411
+ amount: number;
1412
+ currency: string;
1413
+ acceptedPayments: {
1414
+ token: "USDC" | "USDT";
1415
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1416
+ }[];
1417
+ externalRef: string | null;
1418
+ source: string | null;
1419
+ metadata: z.objectInputType<{
1420
+ klappay: z.ZodOptional<z.ZodObject<{
1421
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
1422
+ name: z.ZodString;
1423
+ quantity: z.ZodOptional<z.ZodNumber>;
1424
+ imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ name: string;
1427
+ quantity?: number | undefined;
1428
+ imageUrl?: string | undefined;
1429
+ }, {
1430
+ name: string;
1431
+ quantity?: number | undefined;
1432
+ imageUrl?: string | undefined;
1433
+ }>, "many">>;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ products?: {
1436
+ name: string;
1437
+ quantity?: number | undefined;
1438
+ imageUrl?: string | undefined;
1439
+ }[] | undefined;
1440
+ }, {
1441
+ products?: {
1442
+ name: string;
1443
+ quantity?: number | undefined;
1444
+ imageUrl?: string | undefined;
1445
+ }[] | undefined;
1446
+ }>>;
1447
+ }, z.ZodUnknown, "strip"> | null;
1448
+ redirectUrl: string | null;
1449
+ splitRecipients: {
1450
+ address: string;
1451
+ percent: number;
1452
+ label?: string | undefined;
1453
+ }[];
1454
+ escrow: {
1455
+ releaserAddress: string;
1456
+ releasedAt: string | null;
1457
+ } | null;
1458
+ id: string;
1459
+ amountReceived: number | null;
1460
+ isOverpaid: boolean;
1461
+ paidWith: {
1462
+ token: "USDC" | "USDT";
1463
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1464
+ }[];
1465
+ swapAlternatives: {
1466
+ token: "ETH" | "BNB" | "MATIC" | "AVAX" | "BTC";
1467
+ network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
1468
+ }[];
1469
+ settlementStatus: "pending" | "completed" | "failed" | null;
1470
+ environment: "live" | "test";
1471
+ apiKeyId: string | null;
1472
+ txHash: string | null;
1473
+ checkoutUrl: string | null;
1474
+ createdAt: string;
1475
+ expiresAt: string;
1476
+ confirmedAt: string | null;
1477
+ settledAt: string | null;
1478
+ lastActivityAt: string;
1479
+ transactionSender: string | null;
1480
+ }>;
1481
+ type CheckChargeResponse = z.infer<typeof CheckChargeResponseSchema>;
1175
1482
 
1176
1483
  declare const EscrowConfigSchema: z.ZodObject<{
1177
1484
  releaserAddress: z.ZodOptional<z.ZodString>;
@@ -2728,4 +3035,4 @@ declare const SwapQuoteSchema: z.ZodObject<{
2728
3035
  }>;
2729
3036
  type SwapQuote = z.infer<typeof SwapQuoteSchema>;
2730
3037
 
2731
- export { API_KEY_SCOPES, type AcceptedPayment, AcceptedPaymentSchema, type ApiKeyScope, ApiKeyScopeSchema, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, CHARGE_SPLIT_RECIPIENTS_MAX, CHECKOUT_PRODUCTS_MAX, CONFLICTING_SCOPE_PAIRS, type Capabilities, CapabilitiesSchema, type Charge, ChargeSchema, type ChargeStatus, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CheckChargeRequest, CheckChargeRequestSchema, type CheckoutProduct, CheckoutProductSchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateRecipientInput, type CreateRecipientRequest, CreateRecipientSchema, type CreateSwapQuoteInput, CreateSwapQuoteSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, type ErrorPayload, ErrorPayloadSchema, type EscrowConfig, EscrowConfigSchema, type GetChargeQrCodeQuery, type GetChargeQrCodeQueryRequest, GetChargeQrCodeQuerySchema, type Health, HealthSchema, type KlappayCheckoutMetadata, KlappayCheckoutMetadataSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type ListenPendingDistributionsQuery, ListenPendingDistributionsQuerySchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, MetadataWithKlappaySchema, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsResource, MetricsResourceSchema, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedCharges, PaginatedChargesSchema, type PaginatedPendingDistributions, PaginatedPendingDistributionsSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type Recipient, RecipientSchema, type ReleaseEscrowRequest, ReleaseEscrowRequestSchema, type SandboxTriggerInput, SandboxTriggerSchema, type SetRecipientPayoutInput, SetRecipientPayoutSchema, type SettlementStatus, SettlementStatusSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, type SplitRecipient, type SplitRecipientInput, SplitRecipientInputSchema, SplitRecipientSchema, type SwapQuote, SwapQuoteSchema, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, findConflictingScopes, paginatedSchema };
3038
+ export { API_KEY_SCOPES, type AcceptedPayment, AcceptedPaymentSchema, type ApiKeyScope, ApiKeyScopeSchema, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, CHARGE_SPLIT_RECIPIENTS_MAX, CHECKOUT_PRODUCTS_MAX, CONFLICTING_SCOPE_PAIRS, type Capabilities, CapabilitiesSchema, type Charge, ChargeSchema, type ChargeStatus, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CheckChargeRequest, CheckChargeRequestSchema, type CheckChargeResponse, CheckChargeResponseSchema, type CheckoutProduct, CheckoutProductSchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateRecipientInput, type CreateRecipientRequest, CreateRecipientSchema, type CreateSwapQuoteInput, CreateSwapQuoteSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, type ErrorPayload, ErrorPayloadSchema, type EscrowConfig, EscrowConfigSchema, type GetChargeQrCodeQuery, type GetChargeQrCodeQueryRequest, GetChargeQrCodeQuerySchema, type Health, HealthSchema, type KlappayCheckoutMetadata, KlappayCheckoutMetadataSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type ListenPendingDistributionsQuery, ListenPendingDistributionsQuerySchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, MetadataWithKlappaySchema, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsResource, MetricsResourceSchema, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedCharges, PaginatedChargesSchema, type PaginatedPendingDistributions, PaginatedPendingDistributionsSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type Recipient, RecipientSchema, type ReleaseEscrowRequest, ReleaseEscrowRequestSchema, type SandboxTriggerInput, SandboxTriggerSchema, type SetRecipientPayoutInput, SetRecipientPayoutSchema, type SettlementStatus, SettlementStatusSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, type SplitRecipient, type SplitRecipientInput, SplitRecipientInputSchema, SplitRecipientSchema, type SwapQuote, SwapQuoteSchema, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, findConflictingScopes, paginatedSchema };