@paysponge/sdk 0.1.19 → 0.1.21

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.
@@ -133,6 +133,44 @@ export declare const PlatformCreateAgentOptionsSchema: z.ZodObject<{
133
133
  isTestMode?: boolean | undefined;
134
134
  }>;
135
135
  export type PlatformCreateAgentOptions = z.infer<typeof PlatformCreateAgentOptionsSchema>;
136
+ export declare const PlatformFleetSpendingLimitOptionsSchema: z.ZodEffects<z.ZodObject<{
137
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
138
+ dailySpendingLimit: z.ZodOptional<z.ZodString>;
139
+ weeklySpendingLimit: z.ZodOptional<z.ZodString>;
140
+ monthlySpendingLimit: z.ZodOptional<z.ZodString>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ dailySpendingLimit?: string | undefined;
143
+ weeklySpendingLimit?: string | undefined;
144
+ monthlySpendingLimit?: string | undefined;
145
+ agentIds?: string[] | undefined;
146
+ }, {
147
+ dailySpendingLimit?: string | undefined;
148
+ weeklySpendingLimit?: string | undefined;
149
+ monthlySpendingLimit?: string | undefined;
150
+ agentIds?: string[] | undefined;
151
+ }>, {
152
+ dailySpendingLimit?: string | undefined;
153
+ weeklySpendingLimit?: string | undefined;
154
+ monthlySpendingLimit?: string | undefined;
155
+ agentIds?: string[] | undefined;
156
+ }, {
157
+ dailySpendingLimit?: string | undefined;
158
+ weeklySpendingLimit?: string | undefined;
159
+ monthlySpendingLimit?: string | undefined;
160
+ agentIds?: string[] | undefined;
161
+ }>;
162
+ export type PlatformFleetSpendingLimitOptions = z.infer<typeof PlatformFleetSpendingLimitOptionsSchema>;
163
+ export declare const PlatformFleetSpendingLimitFailureSchema: z.ZodObject<{
164
+ agentId: z.ZodString;
165
+ error: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ agentId: string;
168
+ error: string;
169
+ }, {
170
+ agentId: string;
171
+ error: string;
172
+ }>;
173
+ export type PlatformFleetSpendingLimitFailure = z.infer<typeof PlatformFleetSpendingLimitFailureSchema>;
136
174
  export declare const AgentSchema: z.ZodObject<{
137
175
  id: z.ZodString;
138
176
  name: z.ZodString;
@@ -165,6 +203,82 @@ export declare const AgentSchema: z.ZodObject<{
165
203
  updatedAt?: Date | null | undefined;
166
204
  }>;
167
205
  export type Agent = z.infer<typeof AgentSchema>;
206
+ export declare const PlatformFleetSpendingLimitResultSchema: z.ZodObject<{
207
+ updated: z.ZodArray<z.ZodObject<{
208
+ id: z.ZodString;
209
+ name: z.ZodString;
210
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
+ status: z.ZodEnum<["active", "paused", "suspended"]>;
212
+ dailySpendingLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
+ weeklySpendingLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
+ monthlySpendingLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ createdAt: z.ZodDate;
216
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ status: "active" | "paused" | "suspended";
219
+ name: string;
220
+ id: string;
221
+ createdAt: Date;
222
+ description?: string | null | undefined;
223
+ dailySpendingLimit?: string | null | undefined;
224
+ weeklySpendingLimit?: string | null | undefined;
225
+ monthlySpendingLimit?: string | null | undefined;
226
+ updatedAt?: Date | null | undefined;
227
+ }, {
228
+ status: "active" | "paused" | "suspended";
229
+ name: string;
230
+ id: string;
231
+ createdAt: Date;
232
+ description?: string | null | undefined;
233
+ dailySpendingLimit?: string | null | undefined;
234
+ weeklySpendingLimit?: string | null | undefined;
235
+ monthlySpendingLimit?: string | null | undefined;
236
+ updatedAt?: Date | null | undefined;
237
+ }>, "many">;
238
+ failed: z.ZodArray<z.ZodObject<{
239
+ agentId: z.ZodString;
240
+ error: z.ZodString;
241
+ }, "strip", z.ZodTypeAny, {
242
+ agentId: string;
243
+ error: string;
244
+ }, {
245
+ agentId: string;
246
+ error: string;
247
+ }>, "many">;
248
+ }, "strip", z.ZodTypeAny, {
249
+ updated: {
250
+ status: "active" | "paused" | "suspended";
251
+ name: string;
252
+ id: string;
253
+ createdAt: Date;
254
+ description?: string | null | undefined;
255
+ dailySpendingLimit?: string | null | undefined;
256
+ weeklySpendingLimit?: string | null | undefined;
257
+ monthlySpendingLimit?: string | null | undefined;
258
+ updatedAt?: Date | null | undefined;
259
+ }[];
260
+ failed: {
261
+ agentId: string;
262
+ error: string;
263
+ }[];
264
+ }, {
265
+ updated: {
266
+ status: "active" | "paused" | "suspended";
267
+ name: string;
268
+ id: string;
269
+ createdAt: Date;
270
+ description?: string | null | undefined;
271
+ dailySpendingLimit?: string | null | undefined;
272
+ weeklySpendingLimit?: string | null | undefined;
273
+ monthlySpendingLimit?: string | null | undefined;
274
+ updatedAt?: Date | null | undefined;
275
+ }[];
276
+ failed: {
277
+ agentId: string;
278
+ error: string;
279
+ }[];
280
+ }>;
281
+ export type PlatformFleetSpendingLimitResult = z.infer<typeof PlatformFleetSpendingLimitResultSchema>;
168
282
  export declare const MasterApiKeySchema: z.ZodObject<{
169
283
  id: z.ZodString;
170
284
  keyPrefix: z.ZodString;
@@ -217,6 +331,663 @@ export declare const CreatedMasterApiKeySchema: z.ZodObject<{
217
331
  keyName?: string | null | undefined;
218
332
  }>;
219
333
  export type CreatedMasterApiKey = z.infer<typeof CreatedMasterApiKeySchema>;
334
+ export declare const BridgeCustomerEndorsementRequirementSchema: z.ZodObject<{
335
+ complete: z.ZodArray<z.ZodString, "many">;
336
+ pending: z.ZodArray<z.ZodString, "many">;
337
+ missing: z.ZodNullable<z.ZodUnknown>;
338
+ issues: z.ZodArray<z.ZodString, "many">;
339
+ }, "strip", z.ZodTypeAny, {
340
+ issues: string[];
341
+ complete: string[];
342
+ pending: string[];
343
+ missing?: unknown;
344
+ }, {
345
+ issues: string[];
346
+ complete: string[];
347
+ pending: string[];
348
+ missing?: unknown;
349
+ }>;
350
+ export type BridgeCustomerEndorsementRequirement = z.infer<typeof BridgeCustomerEndorsementRequirementSchema>;
351
+ export declare const BridgeCustomerEndorsementSchema: z.ZodObject<{
352
+ name: z.ZodString;
353
+ status: z.ZodString;
354
+ requirements: z.ZodNullable<z.ZodObject<{
355
+ complete: z.ZodArray<z.ZodString, "many">;
356
+ pending: z.ZodArray<z.ZodString, "many">;
357
+ missing: z.ZodNullable<z.ZodUnknown>;
358
+ issues: z.ZodArray<z.ZodString, "many">;
359
+ }, "strip", z.ZodTypeAny, {
360
+ issues: string[];
361
+ complete: string[];
362
+ pending: string[];
363
+ missing?: unknown;
364
+ }, {
365
+ issues: string[];
366
+ complete: string[];
367
+ pending: string[];
368
+ missing?: unknown;
369
+ }>>;
370
+ additionalRequirements: z.ZodArray<z.ZodString, "many">;
371
+ }, "strip", z.ZodTypeAny, {
372
+ status: string;
373
+ name: string;
374
+ requirements: {
375
+ issues: string[];
376
+ complete: string[];
377
+ pending: string[];
378
+ missing?: unknown;
379
+ } | null;
380
+ additionalRequirements: string[];
381
+ }, {
382
+ status: string;
383
+ name: string;
384
+ requirements: {
385
+ issues: string[];
386
+ complete: string[];
387
+ pending: string[];
388
+ missing?: unknown;
389
+ } | null;
390
+ additionalRequirements: string[];
391
+ }>;
392
+ export type BridgeCustomerEndorsement = z.infer<typeof BridgeCustomerEndorsementSchema>;
393
+ export declare const BridgeCustomerSchema: z.ZodObject<{
394
+ id: z.ZodString;
395
+ bridgeCustomerId: z.ZodString;
396
+ kycLinkId: z.ZodNullable<z.ZodString>;
397
+ status: z.ZodNullable<z.ZodString>;
398
+ kycStatus: z.ZodNullable<z.ZodString>;
399
+ tosStatus: z.ZodNullable<z.ZodString>;
400
+ hasAcceptedTermsOfService: z.ZodBoolean;
401
+ capabilities: z.ZodRecord<z.ZodString, z.ZodString>;
402
+ endorsements: z.ZodArray<z.ZodObject<{
403
+ name: z.ZodString;
404
+ status: z.ZodString;
405
+ requirements: z.ZodNullable<z.ZodObject<{
406
+ complete: z.ZodArray<z.ZodString, "many">;
407
+ pending: z.ZodArray<z.ZodString, "many">;
408
+ missing: z.ZodNullable<z.ZodUnknown>;
409
+ issues: z.ZodArray<z.ZodString, "many">;
410
+ }, "strip", z.ZodTypeAny, {
411
+ issues: string[];
412
+ complete: string[];
413
+ pending: string[];
414
+ missing?: unknown;
415
+ }, {
416
+ issues: string[];
417
+ complete: string[];
418
+ pending: string[];
419
+ missing?: unknown;
420
+ }>>;
421
+ additionalRequirements: z.ZodArray<z.ZodString, "many">;
422
+ }, "strip", z.ZodTypeAny, {
423
+ status: string;
424
+ name: string;
425
+ requirements: {
426
+ issues: string[];
427
+ complete: string[];
428
+ pending: string[];
429
+ missing?: unknown;
430
+ } | null;
431
+ additionalRequirements: string[];
432
+ }, {
433
+ status: string;
434
+ name: string;
435
+ requirements: {
436
+ issues: string[];
437
+ complete: string[];
438
+ pending: string[];
439
+ missing?: unknown;
440
+ } | null;
441
+ additionalRequirements: string[];
442
+ }>, "many">;
443
+ requestedWalletId: z.ZodNullable<z.ZodString>;
444
+ requestedAt: z.ZodNullable<z.ZodDate>;
445
+ livemode: z.ZodBoolean;
446
+ hostedLinkUrl: z.ZodNullable<z.ZodString>;
447
+ tosLinkUrl: z.ZodNullable<z.ZodString>;
448
+ customerType: z.ZodNullable<z.ZodString>;
449
+ updatedAt: z.ZodDate;
450
+ }, "strip", z.ZodTypeAny, {
451
+ status: string | null;
452
+ id: string;
453
+ updatedAt: Date;
454
+ bridgeCustomerId: string;
455
+ kycLinkId: string | null;
456
+ kycStatus: string | null;
457
+ tosStatus: string | null;
458
+ hasAcceptedTermsOfService: boolean;
459
+ capabilities: Record<string, string>;
460
+ endorsements: {
461
+ status: string;
462
+ name: string;
463
+ requirements: {
464
+ issues: string[];
465
+ complete: string[];
466
+ pending: string[];
467
+ missing?: unknown;
468
+ } | null;
469
+ additionalRequirements: string[];
470
+ }[];
471
+ requestedWalletId: string | null;
472
+ requestedAt: Date | null;
473
+ livemode: boolean;
474
+ hostedLinkUrl: string | null;
475
+ tosLinkUrl: string | null;
476
+ customerType: string | null;
477
+ }, {
478
+ status: string | null;
479
+ id: string;
480
+ updatedAt: Date;
481
+ bridgeCustomerId: string;
482
+ kycLinkId: string | null;
483
+ kycStatus: string | null;
484
+ tosStatus: string | null;
485
+ hasAcceptedTermsOfService: boolean;
486
+ capabilities: Record<string, string>;
487
+ endorsements: {
488
+ status: string;
489
+ name: string;
490
+ requirements: {
491
+ issues: string[];
492
+ complete: string[];
493
+ pending: string[];
494
+ missing?: unknown;
495
+ } | null;
496
+ additionalRequirements: string[];
497
+ }[];
498
+ requestedWalletId: string | null;
499
+ requestedAt: Date | null;
500
+ livemode: boolean;
501
+ hostedLinkUrl: string | null;
502
+ tosLinkUrl: string | null;
503
+ customerType: string | null;
504
+ }>;
505
+ export type BridgeCustomer = z.infer<typeof BridgeCustomerSchema>;
506
+ export declare const BridgeKycLinkResponseSchema: z.ZodObject<{
507
+ url: z.ZodString;
508
+ customer: z.ZodObject<{
509
+ id: z.ZodString;
510
+ bridgeCustomerId: z.ZodString;
511
+ kycLinkId: z.ZodNullable<z.ZodString>;
512
+ status: z.ZodNullable<z.ZodString>;
513
+ kycStatus: z.ZodNullable<z.ZodString>;
514
+ tosStatus: z.ZodNullable<z.ZodString>;
515
+ hasAcceptedTermsOfService: z.ZodBoolean;
516
+ capabilities: z.ZodRecord<z.ZodString, z.ZodString>;
517
+ endorsements: z.ZodArray<z.ZodObject<{
518
+ name: z.ZodString;
519
+ status: z.ZodString;
520
+ requirements: z.ZodNullable<z.ZodObject<{
521
+ complete: z.ZodArray<z.ZodString, "many">;
522
+ pending: z.ZodArray<z.ZodString, "many">;
523
+ missing: z.ZodNullable<z.ZodUnknown>;
524
+ issues: z.ZodArray<z.ZodString, "many">;
525
+ }, "strip", z.ZodTypeAny, {
526
+ issues: string[];
527
+ complete: string[];
528
+ pending: string[];
529
+ missing?: unknown;
530
+ }, {
531
+ issues: string[];
532
+ complete: string[];
533
+ pending: string[];
534
+ missing?: unknown;
535
+ }>>;
536
+ additionalRequirements: z.ZodArray<z.ZodString, "many">;
537
+ }, "strip", z.ZodTypeAny, {
538
+ status: string;
539
+ name: string;
540
+ requirements: {
541
+ issues: string[];
542
+ complete: string[];
543
+ pending: string[];
544
+ missing?: unknown;
545
+ } | null;
546
+ additionalRequirements: string[];
547
+ }, {
548
+ status: string;
549
+ name: string;
550
+ requirements: {
551
+ issues: string[];
552
+ complete: string[];
553
+ pending: string[];
554
+ missing?: unknown;
555
+ } | null;
556
+ additionalRequirements: string[];
557
+ }>, "many">;
558
+ requestedWalletId: z.ZodNullable<z.ZodString>;
559
+ requestedAt: z.ZodNullable<z.ZodDate>;
560
+ livemode: z.ZodBoolean;
561
+ hostedLinkUrl: z.ZodNullable<z.ZodString>;
562
+ tosLinkUrl: z.ZodNullable<z.ZodString>;
563
+ customerType: z.ZodNullable<z.ZodString>;
564
+ updatedAt: z.ZodDate;
565
+ }, "strip", z.ZodTypeAny, {
566
+ status: string | null;
567
+ id: string;
568
+ updatedAt: Date;
569
+ bridgeCustomerId: string;
570
+ kycLinkId: string | null;
571
+ kycStatus: string | null;
572
+ tosStatus: string | null;
573
+ hasAcceptedTermsOfService: boolean;
574
+ capabilities: Record<string, string>;
575
+ endorsements: {
576
+ status: string;
577
+ name: string;
578
+ requirements: {
579
+ issues: string[];
580
+ complete: string[];
581
+ pending: string[];
582
+ missing?: unknown;
583
+ } | null;
584
+ additionalRequirements: string[];
585
+ }[];
586
+ requestedWalletId: string | null;
587
+ requestedAt: Date | null;
588
+ livemode: boolean;
589
+ hostedLinkUrl: string | null;
590
+ tosLinkUrl: string | null;
591
+ customerType: string | null;
592
+ }, {
593
+ status: string | null;
594
+ id: string;
595
+ updatedAt: Date;
596
+ bridgeCustomerId: string;
597
+ kycLinkId: string | null;
598
+ kycStatus: string | null;
599
+ tosStatus: string | null;
600
+ hasAcceptedTermsOfService: boolean;
601
+ capabilities: Record<string, string>;
602
+ endorsements: {
603
+ status: string;
604
+ name: string;
605
+ requirements: {
606
+ issues: string[];
607
+ complete: string[];
608
+ pending: string[];
609
+ missing?: unknown;
610
+ } | null;
611
+ additionalRequirements: string[];
612
+ }[];
613
+ requestedWalletId: string | null;
614
+ requestedAt: Date | null;
615
+ livemode: boolean;
616
+ hostedLinkUrl: string | null;
617
+ tosLinkUrl: string | null;
618
+ customerType: string | null;
619
+ }>;
620
+ }, "strip", z.ZodTypeAny, {
621
+ url: string;
622
+ customer: {
623
+ status: string | null;
624
+ id: string;
625
+ updatedAt: Date;
626
+ bridgeCustomerId: string;
627
+ kycLinkId: string | null;
628
+ kycStatus: string | null;
629
+ tosStatus: string | null;
630
+ hasAcceptedTermsOfService: boolean;
631
+ capabilities: Record<string, string>;
632
+ endorsements: {
633
+ status: string;
634
+ name: string;
635
+ requirements: {
636
+ issues: string[];
637
+ complete: string[];
638
+ pending: string[];
639
+ missing?: unknown;
640
+ } | null;
641
+ additionalRequirements: string[];
642
+ }[];
643
+ requestedWalletId: string | null;
644
+ requestedAt: Date | null;
645
+ livemode: boolean;
646
+ hostedLinkUrl: string | null;
647
+ tosLinkUrl: string | null;
648
+ customerType: string | null;
649
+ };
650
+ }, {
651
+ url: string;
652
+ customer: {
653
+ status: string | null;
654
+ id: string;
655
+ updatedAt: Date;
656
+ bridgeCustomerId: string;
657
+ kycLinkId: string | null;
658
+ kycStatus: string | null;
659
+ tosStatus: string | null;
660
+ hasAcceptedTermsOfService: boolean;
661
+ capabilities: Record<string, string>;
662
+ endorsements: {
663
+ status: string;
664
+ name: string;
665
+ requirements: {
666
+ issues: string[];
667
+ complete: string[];
668
+ pending: string[];
669
+ missing?: unknown;
670
+ } | null;
671
+ additionalRequirements: string[];
672
+ }[];
673
+ requestedWalletId: string | null;
674
+ requestedAt: Date | null;
675
+ livemode: boolean;
676
+ hostedLinkUrl: string | null;
677
+ tosLinkUrl: string | null;
678
+ customerType: string | null;
679
+ };
680
+ }>;
681
+ export type BridgeKycLinkResponse = z.infer<typeof BridgeKycLinkResponseSchema>;
682
+ export declare const BridgeExternalAccountSchema: z.ZodObject<{
683
+ id: z.ZodString;
684
+ bridgeExternalAccountId: z.ZodString;
685
+ bridgeCustomerId: z.ZodString;
686
+ currency: z.ZodString;
687
+ last4: z.ZodNullable<z.ZodString>;
688
+ active: z.ZodBoolean;
689
+ livemode: z.ZodBoolean;
690
+ bankName: z.ZodNullable<z.ZodString>;
691
+ accountType: z.ZodNullable<z.ZodString>;
692
+ accountOwnerType: z.ZodNullable<z.ZodString>;
693
+ createdAt: z.ZodDate;
694
+ updatedAt: z.ZodDate;
695
+ }, "strip", z.ZodTypeAny, {
696
+ id: string;
697
+ active: boolean;
698
+ createdAt: Date;
699
+ updatedAt: Date;
700
+ bridgeCustomerId: string;
701
+ livemode: boolean;
702
+ bridgeExternalAccountId: string;
703
+ currency: string;
704
+ last4: string | null;
705
+ bankName: string | null;
706
+ accountType: string | null;
707
+ accountOwnerType: string | null;
708
+ }, {
709
+ id: string;
710
+ active: boolean;
711
+ createdAt: Date;
712
+ updatedAt: Date;
713
+ bridgeCustomerId: string;
714
+ livemode: boolean;
715
+ bridgeExternalAccountId: string;
716
+ currency: string;
717
+ last4: string | null;
718
+ bankName: string | null;
719
+ accountType: string | null;
720
+ accountOwnerType: string | null;
721
+ }>;
722
+ export type BridgeExternalAccount = z.infer<typeof BridgeExternalAccountSchema>;
723
+ export declare const BridgeVirtualAccountActivitySchema: z.ZodObject<{
724
+ id: z.ZodString;
725
+ bridgeEventId: z.ZodString;
726
+ type: z.ZodString;
727
+ status: z.ZodNullable<z.ZodString>;
728
+ amount: z.ZodNullable<z.ZodString>;
729
+ currency: z.ZodNullable<z.ZodString>;
730
+ receiptTxHash: z.ZodNullable<z.ZodString>;
731
+ eventCreatedAt: z.ZodNullable<z.ZodDate>;
732
+ createdAt: z.ZodDate;
733
+ }, "strip", z.ZodTypeAny, {
734
+ type: string;
735
+ status: string | null;
736
+ id: string;
737
+ createdAt: Date;
738
+ currency: string | null;
739
+ bridgeEventId: string;
740
+ amount: string | null;
741
+ receiptTxHash: string | null;
742
+ eventCreatedAt: Date | null;
743
+ }, {
744
+ type: string;
745
+ status: string | null;
746
+ id: string;
747
+ createdAt: Date;
748
+ currency: string | null;
749
+ bridgeEventId: string;
750
+ amount: string | null;
751
+ receiptTxHash: string | null;
752
+ eventCreatedAt: Date | null;
753
+ }>;
754
+ export type BridgeVirtualAccountActivity = z.infer<typeof BridgeVirtualAccountActivitySchema>;
755
+ export declare const BridgeVirtualAccountSchema: z.ZodObject<{
756
+ id: z.ZodString;
757
+ bridgeVirtualAccountId: z.ZodString;
758
+ bridgeCustomerId: z.ZodString;
759
+ walletId: z.ZodString;
760
+ status: z.ZodNullable<z.ZodString>;
761
+ sourceCurrency: z.ZodString;
762
+ destinationCurrency: z.ZodString;
763
+ destinationPaymentRail: z.ZodString;
764
+ destinationAddress: z.ZodString;
765
+ depositInstructions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
766
+ activities: z.ZodArray<z.ZodObject<{
767
+ id: z.ZodString;
768
+ bridgeEventId: z.ZodString;
769
+ type: z.ZodString;
770
+ status: z.ZodNullable<z.ZodString>;
771
+ amount: z.ZodNullable<z.ZodString>;
772
+ currency: z.ZodNullable<z.ZodString>;
773
+ receiptTxHash: z.ZodNullable<z.ZodString>;
774
+ eventCreatedAt: z.ZodNullable<z.ZodDate>;
775
+ createdAt: z.ZodDate;
776
+ }, "strip", z.ZodTypeAny, {
777
+ type: string;
778
+ status: string | null;
779
+ id: string;
780
+ createdAt: Date;
781
+ currency: string | null;
782
+ bridgeEventId: string;
783
+ amount: string | null;
784
+ receiptTxHash: string | null;
785
+ eventCreatedAt: Date | null;
786
+ }, {
787
+ type: string;
788
+ status: string | null;
789
+ id: string;
790
+ createdAt: Date;
791
+ currency: string | null;
792
+ bridgeEventId: string;
793
+ amount: string | null;
794
+ receiptTxHash: string | null;
795
+ eventCreatedAt: Date | null;
796
+ }>, "many">;
797
+ accountReadyNotifiedAt: z.ZodNullable<z.ZodDate>;
798
+ livemode: z.ZodBoolean;
799
+ createdAt: z.ZodDate;
800
+ updatedAt: z.ZodDate;
801
+ }, "strip", z.ZodTypeAny, {
802
+ status: string | null;
803
+ id: string;
804
+ createdAt: Date;
805
+ updatedAt: Date;
806
+ bridgeCustomerId: string;
807
+ livemode: boolean;
808
+ bridgeVirtualAccountId: string;
809
+ walletId: string;
810
+ sourceCurrency: string;
811
+ destinationCurrency: string;
812
+ destinationPaymentRail: string;
813
+ destinationAddress: string;
814
+ depositInstructions: Record<string, unknown> | null;
815
+ activities: {
816
+ type: string;
817
+ status: string | null;
818
+ id: string;
819
+ createdAt: Date;
820
+ currency: string | null;
821
+ bridgeEventId: string;
822
+ amount: string | null;
823
+ receiptTxHash: string | null;
824
+ eventCreatedAt: Date | null;
825
+ }[];
826
+ accountReadyNotifiedAt: Date | null;
827
+ }, {
828
+ status: string | null;
829
+ id: string;
830
+ createdAt: Date;
831
+ updatedAt: Date;
832
+ bridgeCustomerId: string;
833
+ livemode: boolean;
834
+ bridgeVirtualAccountId: string;
835
+ walletId: string;
836
+ sourceCurrency: string;
837
+ destinationCurrency: string;
838
+ destinationPaymentRail: string;
839
+ destinationAddress: string;
840
+ depositInstructions: Record<string, unknown> | null;
841
+ activities: {
842
+ type: string;
843
+ status: string | null;
844
+ id: string;
845
+ createdAt: Date;
846
+ currency: string | null;
847
+ bridgeEventId: string;
848
+ amount: string | null;
849
+ receiptTxHash: string | null;
850
+ eventCreatedAt: Date | null;
851
+ }[];
852
+ accountReadyNotifiedAt: Date | null;
853
+ }>;
854
+ export type BridgeVirtualAccount = z.infer<typeof BridgeVirtualAccountSchema>;
855
+ export declare const BridgeTransferSchema: z.ZodObject<{
856
+ id: z.ZodString;
857
+ bridgeTransferId: z.ZodString;
858
+ bridgeCustomerId: z.ZodString;
859
+ bridgeExternalAccountId: z.ZodString;
860
+ walletId: z.ZodString;
861
+ status: z.ZodString;
862
+ amount: z.ZodString;
863
+ sourceCurrency: z.ZodString;
864
+ sourcePaymentRail: z.ZodString;
865
+ destinationCurrency: z.ZodString;
866
+ destinationPaymentRail: z.ZodString;
867
+ fundingTxHash: z.ZodNullable<z.ZodString>;
868
+ fundingExplorerUrl: z.ZodNullable<z.ZodString>;
869
+ failureReason: z.ZodNullable<z.ZodString>;
870
+ receiptUrl: z.ZodNullable<z.ZodString>;
871
+ depositInstructions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
872
+ isStaticTemplate: z.ZodBoolean;
873
+ livemode: z.ZodBoolean;
874
+ createdAt: z.ZodDate;
875
+ updatedAt: z.ZodDate;
876
+ }, "strip", z.ZodTypeAny, {
877
+ status: string;
878
+ id: string;
879
+ createdAt: Date;
880
+ updatedAt: Date;
881
+ bridgeCustomerId: string;
882
+ livemode: boolean;
883
+ bridgeExternalAccountId: string;
884
+ amount: string;
885
+ walletId: string;
886
+ sourceCurrency: string;
887
+ destinationCurrency: string;
888
+ destinationPaymentRail: string;
889
+ depositInstructions: Record<string, unknown> | null;
890
+ bridgeTransferId: string;
891
+ sourcePaymentRail: string;
892
+ fundingTxHash: string | null;
893
+ fundingExplorerUrl: string | null;
894
+ failureReason: string | null;
895
+ receiptUrl: string | null;
896
+ isStaticTemplate: boolean;
897
+ }, {
898
+ status: string;
899
+ id: string;
900
+ createdAt: Date;
901
+ updatedAt: Date;
902
+ bridgeCustomerId: string;
903
+ livemode: boolean;
904
+ bridgeExternalAccountId: string;
905
+ amount: string;
906
+ walletId: string;
907
+ sourceCurrency: string;
908
+ destinationCurrency: string;
909
+ destinationPaymentRail: string;
910
+ depositInstructions: Record<string, unknown> | null;
911
+ bridgeTransferId: string;
912
+ sourcePaymentRail: string;
913
+ fundingTxHash: string | null;
914
+ fundingExplorerUrl: string | null;
915
+ failureReason: string | null;
916
+ receiptUrl: string | null;
917
+ isStaticTemplate: boolean;
918
+ }>;
919
+ export type BridgeTransfer = z.infer<typeof BridgeTransferSchema>;
920
+ export declare const BridgeCustomerTypeSchema: z.ZodEnum<["individual", "business"]>;
921
+ export type BridgeCustomerType = z.infer<typeof BridgeCustomerTypeSchema>;
922
+ export declare const BridgeCreateKycLinkOptionsSchema: z.ZodObject<{
923
+ walletId: z.ZodOptional<z.ZodString>;
924
+ redirectUri: z.ZodOptional<z.ZodString>;
925
+ customerType: z.ZodOptional<z.ZodEnum<["individual", "business"]>>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ customerType?: "individual" | "business" | undefined;
928
+ walletId?: string | undefined;
929
+ redirectUri?: string | undefined;
930
+ }, {
931
+ customerType?: "individual" | "business" | undefined;
932
+ walletId?: string | undefined;
933
+ redirectUri?: string | undefined;
934
+ }>;
935
+ export type BridgeCreateKycLinkOptions = z.infer<typeof BridgeCreateKycLinkOptionsSchema>;
936
+ export declare const BridgeCreateExternalAccountOptionsSchema: z.ZodObject<{
937
+ customerId: z.ZodString;
938
+ bankName: z.ZodString;
939
+ accountOwnerName: z.ZodString;
940
+ routingNumber: z.ZodString;
941
+ accountNumber: z.ZodString;
942
+ checkingOrSavings: z.ZodEnum<["checking", "savings"]>;
943
+ streetLine1: z.ZodString;
944
+ streetLine2: z.ZodOptional<z.ZodString>;
945
+ city: z.ZodString;
946
+ state: z.ZodString;
947
+ postalCode: z.ZodString;
948
+ country: z.ZodOptional<z.ZodString>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ bankName: string;
951
+ customerId: string;
952
+ accountOwnerName: string;
953
+ routingNumber: string;
954
+ accountNumber: string;
955
+ checkingOrSavings: "checking" | "savings";
956
+ streetLine1: string;
957
+ city: string;
958
+ state: string;
959
+ postalCode: string;
960
+ streetLine2?: string | undefined;
961
+ country?: string | undefined;
962
+ }, {
963
+ bankName: string;
964
+ customerId: string;
965
+ accountOwnerName: string;
966
+ routingNumber: string;
967
+ accountNumber: string;
968
+ checkingOrSavings: "checking" | "savings";
969
+ streetLine1: string;
970
+ city: string;
971
+ state: string;
972
+ postalCode: string;
973
+ streetLine2?: string | undefined;
974
+ country?: string | undefined;
975
+ }>;
976
+ export type BridgeCreateExternalAccountOptions = z.infer<typeof BridgeCreateExternalAccountOptionsSchema>;
977
+ export declare const BridgeCreateTransferOptionsSchema: z.ZodObject<{
978
+ walletId: z.ZodString;
979
+ externalAccountId: z.ZodString;
980
+ amount: z.ZodString;
981
+ }, "strip", z.ZodTypeAny, {
982
+ amount: string;
983
+ walletId: string;
984
+ externalAccountId: string;
985
+ }, {
986
+ amount: string;
987
+ walletId: string;
988
+ externalAccountId: string;
989
+ }>;
990
+ export type BridgeCreateTransferOptions = z.infer<typeof BridgeCreateTransferOptionsSchema>;
220
991
  export declare const WalletSchema: z.ZodObject<{
221
992
  id: z.ZodString;
222
993
  agentId: z.ZodString;
@@ -292,27 +1063,27 @@ export declare const TransferOptionsSchema: z.ZodEffects<z.ZodObject<{
292
1063
  currency: z.ZodOptional<z.ZodString>;
293
1064
  token: z.ZodOptional<z.ZodString>;
294
1065
  }, "strip", z.ZodTypeAny, {
1066
+ amount: string;
295
1067
  chain: "ethereum" | "base" | "monad" | "sepolia" | "base-sepolia" | "tempo-testnet" | "tempo" | "solana" | "solana-devnet";
296
1068
  to: string;
297
- amount: string;
298
1069
  currency?: string | undefined;
299
1070
  token?: string | undefined;
300
1071
  }, {
1072
+ amount: string;
301
1073
  chain: "ethereum" | "base" | "monad" | "sepolia" | "base-sepolia" | "tempo-testnet" | "tempo" | "solana" | "solana-devnet";
302
1074
  to: string;
303
- amount: string;
304
1075
  currency?: string | undefined;
305
1076
  token?: string | undefined;
306
1077
  }>, {
1078
+ amount: string;
307
1079
  chain: "ethereum" | "base" | "monad" | "sepolia" | "base-sepolia" | "tempo-testnet" | "tempo" | "solana" | "solana-devnet";
308
1080
  to: string;
309
- amount: string;
310
1081
  currency?: string | undefined;
311
1082
  token?: string | undefined;
312
1083
  }, {
1084
+ amount: string;
313
1085
  chain: "ethereum" | "base" | "monad" | "sepolia" | "base-sepolia" | "tempo-testnet" | "tempo" | "solana" | "solana-devnet";
314
1086
  to: string;
315
- amount: string;
316
1087
  currency?: string | undefined;
317
1088
  token?: string | undefined;
318
1089
  }>;
@@ -323,12 +1094,12 @@ export declare const TransactionResultSchema: z.ZodObject<{
323
1094
  explorerUrl: z.ZodOptional<z.ZodString>;
324
1095
  chainId: z.ZodOptional<z.ZodNumber>;
325
1096
  }, "strip", z.ZodTypeAny, {
326
- status: "pending" | "confirmed" | "failed";
1097
+ status: "failed" | "pending" | "confirmed";
327
1098
  txHash: string;
328
1099
  chainId?: number | undefined;
329
1100
  explorerUrl?: string | undefined;
330
1101
  }, {
331
- status: "pending" | "confirmed" | "failed";
1102
+ status: "failed" | "pending" | "confirmed";
332
1103
  txHash: string;
333
1104
  chainId?: number | undefined;
334
1105
  explorerUrl?: string | undefined;
@@ -341,13 +1112,13 @@ export declare const TransactionStatusSchema: z.ZodObject<{
341
1112
  confirmations: z.ZodNullable<z.ZodNumber>;
342
1113
  errorMessage: z.ZodNullable<z.ZodString>;
343
1114
  }, "strip", z.ZodTypeAny, {
344
- status: "unknown" | "pending" | "confirmed" | "failed";
1115
+ status: "unknown" | "failed" | "pending" | "confirmed";
345
1116
  txHash: string;
346
1117
  blockNumber: number | null;
347
1118
  confirmations: number | null;
348
1119
  errorMessage: string | null;
349
1120
  }, {
350
- status: "unknown" | "pending" | "confirmed" | "failed";
1121
+ status: "unknown" | "failed" | "pending" | "confirmed";
351
1122
  txHash: string;
352
1123
  blockNumber: number | null;
353
1124
  confirmations: number | null;
@@ -361,15 +1132,15 @@ export declare const SwapOptionsSchema: z.ZodObject<{
361
1132
  amount: z.ZodString;
362
1133
  slippageBps: z.ZodOptional<z.ZodNumber>;
363
1134
  }, "strip", z.ZodTypeAny, {
1135
+ amount: string;
364
1136
  chain: "solana" | "solana-devnet";
365
1137
  to: string;
366
- amount: string;
367
1138
  from: string;
368
1139
  slippageBps?: number | undefined;
369
1140
  }, {
1141
+ amount: string;
370
1142
  chain: "solana" | "solana-devnet";
371
1143
  to: string;
372
- amount: string;
373
1144
  from: string;
374
1145
  slippageBps?: number | undefined;
375
1146
  }>;
@@ -456,15 +1227,15 @@ export declare const EvmTransferOptionsSchema: z.ZodObject<{
456
1227
  amount: z.ZodString;
457
1228
  currency: z.ZodEnum<["ETH", "USDC"]>;
458
1229
  }, "strip", z.ZodTypeAny, {
1230
+ currency: "ETH" | "USDC";
1231
+ amount: string;
459
1232
  chain: "ethereum" | "base" | "monad" | "sepolia" | "base-sepolia";
460
1233
  to: string;
461
- amount: string;
462
- currency: "ETH" | "USDC";
463
1234
  }, {
1235
+ currency: "ETH" | "USDC";
1236
+ amount: string;
464
1237
  chain: "ethereum" | "base" | "monad" | "sepolia" | "base-sepolia";
465
1238
  to: string;
466
- amount: string;
467
- currency: "ETH" | "USDC";
468
1239
  }>;
469
1240
  export type EvmTransferOptions = z.infer<typeof EvmTransferOptionsSchema>;
470
1241
  export declare const SolanaTransferOptionsSchema: z.ZodObject<{
@@ -473,15 +1244,15 @@ export declare const SolanaTransferOptionsSchema: z.ZodObject<{
473
1244
  amount: z.ZodString;
474
1245
  currency: z.ZodEnum<["SOL", "USDC"]>;
475
1246
  }, "strip", z.ZodTypeAny, {
1247
+ currency: "USDC" | "SOL";
1248
+ amount: string;
476
1249
  chain: "solana" | "solana-devnet";
477
1250
  to: string;
478
- amount: string;
479
- currency: "USDC" | "SOL";
480
1251
  }, {
1252
+ currency: "USDC" | "SOL";
1253
+ amount: string;
481
1254
  chain: "solana" | "solana-devnet";
482
1255
  to: string;
483
- amount: string;
484
- currency: "USDC" | "SOL";
485
1256
  }>;
486
1257
  export type SolanaTransferOptions = z.infer<typeof SolanaTransferOptionsSchema>;
487
1258
  export declare const SubmitTransactionSchema: z.ZodObject<{
@@ -633,23 +1404,23 @@ export declare const OnrampCryptoResponseSchema: z.ZodObject<{
633
1404
  clientSecret: z.ZodOptional<z.ZodString>;
634
1405
  }, "strip", z.ZodTypeAny, {
635
1406
  status: "initiated";
1407
+ url: string;
1408
+ destinationCurrency: "USDC";
1409
+ destinationAddress: string;
636
1410
  provider: "stripe" | "coinbase";
637
1411
  success: true;
638
- url: string;
639
1412
  sessionId: string;
640
1413
  destinationChain: "base" | "solana" | "polygon";
641
- destinationAddress: string;
642
- destinationCurrency: "USDC";
643
1414
  clientSecret?: string | undefined;
644
1415
  }, {
645
1416
  status: "initiated";
1417
+ url: string;
1418
+ destinationCurrency: "USDC";
1419
+ destinationAddress: string;
646
1420
  provider: "stripe" | "coinbase";
647
1421
  success: true;
648
- url: string;
649
1422
  sessionId: string;
650
1423
  destinationChain: "base" | "solana" | "polygon";
651
- destinationAddress: string;
652
- destinationCurrency: "USDC";
653
1424
  clientSecret?: string | undefined;
654
1425
  }>;
655
1426
  export type OnrampCryptoResponse = z.infer<typeof OnrampCryptoResponseSchema>;
@@ -664,18 +1435,18 @@ export declare const SignupBonusClaimResponseSchema: z.ZodObject<{
664
1435
  explorerUrl: z.ZodString;
665
1436
  }, "strip", z.ZodTypeAny, {
666
1437
  message: string;
667
- chain: "base";
668
- amount: string;
669
1438
  currency: "USDC";
1439
+ amount: string;
1440
+ chain: "base";
670
1441
  explorerUrl: string;
671
1442
  transactionHash: string;
672
1443
  success: boolean;
673
1444
  recipientAddress: string;
674
1445
  }, {
675
1446
  message: string;
676
- chain: "base";
677
- amount: string;
678
1447
  currency: "USDC";
1448
+ amount: string;
1449
+ chain: "base";
679
1450
  explorerUrl: string;
680
1451
  transactionHash: string;
681
1452
  success: boolean;
@@ -762,17 +1533,17 @@ export declare const SpongeResponseSchema: z.ZodObject<{
762
1533
  raw_amount: z.ZodString;
763
1534
  decimals: z.ZodNumber;
764
1535
  }, "strip", z.ZodTypeAny, {
1536
+ amount: string;
765
1537
  decimals: number;
766
1538
  chain: string;
767
1539
  to: string;
768
- amount: string;
769
1540
  token: string;
770
1541
  raw_amount: string;
771
1542
  }, {
1543
+ amount: string;
772
1544
  decimals: number;
773
1545
  chain: string;
774
1546
  to: string;
775
- amount: string;
776
1547
  token: string;
777
1548
  raw_amount: string;
778
1549
  }>>;
@@ -784,15 +1555,15 @@ export declare const SpongeResponseSchema: z.ZodObject<{
784
1555
  expiresAt: z.ZodString;
785
1556
  }, "strip", z.ZodTypeAny, {
786
1557
  expiresAt: string;
1558
+ amount: string;
787
1559
  chain: string;
788
1560
  to: string;
789
- amount: string;
790
1561
  token: string;
791
1562
  }, {
792
1563
  expiresAt: string;
1564
+ amount: string;
793
1565
  chain: string;
794
1566
  to: string;
795
- amount: string;
796
1567
  token: string;
797
1568
  }>>;
798
1569
  wallet_balance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -830,27 +1601,27 @@ export declare const SpongeResponseSchema: z.ZodObject<{
830
1601
  api_error_details: z.ZodOptional<z.ZodUnknown>;
831
1602
  receipt: z.ZodOptional<z.ZodUnknown>;
832
1603
  }, "strip", z.ZodTypeAny, {
833
- status: "success" | "payment_required" | "error";
1604
+ status: "error" | "success" | "payment_required";
834
1605
  provider: string;
835
1606
  task: string;
836
- summary?: string | undefined;
837
1607
  error?: string | undefined;
1608
+ summary?: string | undefined;
838
1609
  data?: unknown;
839
1610
  image_data?: string | undefined;
840
1611
  image_mime_type?: string | undefined;
841
1612
  payment?: {
1613
+ amount: string;
842
1614
  decimals: number;
843
1615
  chain: string;
844
1616
  to: string;
845
- amount: string;
846
1617
  token: string;
847
1618
  raw_amount: string;
848
1619
  } | undefined;
849
1620
  payment_made?: {
850
1621
  expiresAt: string;
1622
+ amount: string;
851
1623
  chain: string;
852
1624
  to: string;
853
- amount: string;
854
1625
  token: string;
855
1626
  } | undefined;
856
1627
  wallet_balance?: Record<string, {
@@ -865,27 +1636,27 @@ export declare const SpongeResponseSchema: z.ZodObject<{
865
1636
  api_error_details?: unknown;
866
1637
  receipt?: unknown;
867
1638
  }, {
868
- status: "success" | "payment_required" | "error";
1639
+ status: "error" | "success" | "payment_required";
869
1640
  provider: string;
870
1641
  task: string;
871
- summary?: string | undefined;
872
1642
  error?: string | undefined;
1643
+ summary?: string | undefined;
873
1644
  data?: unknown;
874
1645
  image_data?: string | undefined;
875
1646
  image_mime_type?: string | undefined;
876
1647
  payment?: {
1648
+ amount: string;
877
1649
  decimals: number;
878
1650
  chain: string;
879
1651
  to: string;
880
- amount: string;
881
1652
  token: string;
882
1653
  raw_amount: string;
883
1654
  } | undefined;
884
1655
  payment_made?: {
885
1656
  expiresAt: string;
1657
+ amount: string;
886
1658
  chain: string;
887
1659
  to: string;
888
- amount: string;
889
1660
  token: string;
890
1661
  } | undefined;
891
1662
  wallet_balance?: Record<string, {