squarefi-bff-api-module 1.10.8 → 1.10.10

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.
@@ -352,10 +352,10 @@ export declare namespace API {
352
352
  namespace Counterparties {
353
353
  interface Counterparty {
354
354
  id: string;
355
- email?: string;
356
- phone?: string;
355
+ email?: string | null;
356
+ phone?: string | null;
357
357
  name: string;
358
- nickname?: string;
358
+ nickname?: string | null;
359
359
  type: CounterpartyType | string;
360
360
  created_at: string;
361
361
  }
@@ -487,6 +487,7 @@ export declare namespace API {
487
487
  limit?: number;
488
488
  sort_by?: 'created_at' | 'nickname' | 'type' | 'email' | 'phone';
489
489
  sort_order?: SortingDirection;
490
+ search?: string;
490
491
  filter?: {
491
492
  type?: CounterpartyDestinationType;
492
493
  nickname?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.10.8",
3
+ "version": "1.10.10",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/api/types.ts CHANGED
@@ -411,10 +411,10 @@ export namespace API {
411
411
  export namespace Counterparties {
412
412
  export interface Counterparty {
413
413
  id: string;
414
- email?: string;
415
- phone?: string;
414
+ email?: string | null;
415
+ phone?: string | null;
416
416
  name: string;
417
- nickname?: string;
417
+ nickname?: string | null;
418
418
  type: CounterpartyType | string;
419
419
  created_at: string;
420
420
  }
@@ -582,6 +582,7 @@ export namespace API {
582
582
  limit?: number;
583
583
  sort_by?: 'created_at' | 'nickname' | 'type' | 'email' | 'phone';
584
584
  sort_order?: SortingDirection;
585
+ search?: string;
585
586
  filter?: {
586
587
  type?: CounterpartyDestinationType;
587
588
  nickname?: string;