squarefi-bff-api-module 1.23.2 → 1.23.4

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.
@@ -388,11 +388,11 @@ export declare namespace API {
388
388
  created_at: string;
389
389
  }
390
390
  interface DestinationListItemExternalBankingData {
391
- account_number: string;
392
- routing_number: string;
391
+ account_number?: string;
392
+ routing_number?: string;
393
393
  bank_name: string;
394
394
  note: string;
395
- swift_bic: string;
395
+ swift_bic?: string;
396
396
  address: {
397
397
  city: string;
398
398
  country_id: number;
@@ -443,6 +443,7 @@ export declare namespace API {
443
443
  interface DestinationDetailItemExternalBankingData extends API.Counterparties.Destination.List.DestinationListItemExternalBankingData {
444
444
  address: API.Counterparties.Destination.List.DestinationListItemExternalBankingData['address'] & {
445
445
  country?: API.Location.Countries.Country;
446
+ state?: API.Location.States.State;
446
447
  };
447
448
  }
448
449
  interface DestinationDetailItemExternalCryptoData extends API.Counterparties.Destination.List.DestinationListItemExternalCryptoData {
@@ -467,6 +468,13 @@ export declare namespace API {
467
468
  type Response = DestinationDetailItem;
468
469
  }
469
470
  namespace Create {
471
+ interface ExternalBankingData {
472
+ account_number: string;
473
+ routing_number: string;
474
+ bank_name: string;
475
+ note: string;
476
+ swift_bic: string;
477
+ }
470
478
  interface Request {
471
479
  wallet_id: string;
472
480
  counterparty_account_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.23.2",
3
+ "version": "1.23.4",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -449,11 +449,11 @@ export namespace API {
449
449
  }
450
450
 
451
451
  export interface DestinationListItemExternalBankingData {
452
- account_number: string;
453
- routing_number: string;
452
+ account_number?: string;
453
+ routing_number?: string;
454
454
  bank_name: string;
455
455
  note: string;
456
- swift_bic: string;
456
+ swift_bic?: string;
457
457
  address: {
458
458
  city: string;
459
459
  country_id: number;
@@ -520,6 +520,7 @@ export namespace API {
520
520
  extends API.Counterparties.Destination.List.DestinationListItemExternalBankingData {
521
521
  address: API.Counterparties.Destination.List.DestinationListItemExternalBankingData['address'] & {
522
522
  country?: API.Location.Countries.Country;
523
+ state?: API.Location.States.State;
523
524
  };
524
525
  }
525
526
 
@@ -557,6 +558,13 @@ export namespace API {
557
558
  }
558
559
 
559
560
  export namespace Create {
561
+ export interface ExternalBankingData {
562
+ account_number: string;
563
+ routing_number: string;
564
+ bank_name: string;
565
+ note: string;
566
+ swift_bic: string;
567
+ }
560
568
  export interface Request {
561
569
  wallet_id: string;
562
570
  counterparty_account_id: string;