squarefi-bff-api-module 1.32.15 → 1.32.17

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.
@@ -14,7 +14,7 @@ export declare const auth: {
14
14
  email: (data: API.Auth.SignIn.Omni.Email.OTP.Request) => Promise<API.Auth.Tokens>;
15
15
  phone: ({ phone, ...data }: API.Auth.SignIn.Omni.Phone.OTP.Request) => Promise<API.Auth.Tokens>;
16
16
  };
17
- byType: (data: API.Auth.SignIn.ByType.Request) => Promise<API.Auth.Tokens>;
17
+ byType: (data: API.Auth.SignIn.ByType.Request) => Promise<API.Auth.SignIn.ByType.Response>;
18
18
  telegram: (data: API.Auth.Telegram.Signin.Request) => Promise<API.Auth.Telegram.Signin.Response>;
19
19
  password: (email: string, password: string) => Promise<API.Auth.Tokens>;
20
20
  };
@@ -2055,8 +2055,6 @@ export interface components {
2055
2055
  name?: string;
2056
2056
  nickname?: string | null;
2057
2057
  /** @default false */
2058
- is_pinned: boolean;
2059
- /** @default false */
2060
2058
  is_self: boolean;
2061
2059
  };
2062
2060
  CounterpartyDestinationsFilter: {
@@ -2233,7 +2231,7 @@ export interface components {
2233
2231
  };
2234
2232
  InitInquiryResponseDto: {
2235
2233
  /** @example inq_E6U4KitBucNKpfrDMb997AaTkQTt */
2236
- inquiryId: string | null;
2234
+ inquiryId: string;
2237
2235
  };
2238
2236
  ResumeInquiryResponseDto: {
2239
2237
  inquiryId: string;
@@ -31,6 +31,7 @@ export declare namespace API {
31
31
  namespace SignIn {
32
32
  namespace ByType {
33
33
  type Request = operations['AuthController_signIn']['requestBody']['content']['application/json'];
34
+ type Response = API.Auth.Tokens;
34
35
  }
35
36
  namespace Omni {
36
37
  namespace Email {
@@ -1794,7 +1795,7 @@ export declare namespace API {
1794
1795
  wallet_id: string;
1795
1796
  va_programs_id: string;
1796
1797
  }
1797
- type Response = API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem;
1798
+ type Response = API.VirtualAccounts.VirtualAccount.VirtualAccountListItem;
1798
1799
  }
1799
1800
  namespace GetByUuid {
1800
1801
  interface Request {
@@ -1935,7 +1936,6 @@ export declare namespace API {
1935
1936
  }
1936
1937
  interface VirtualAccountDetailItem {
1937
1938
  account_currency: string;
1938
- account_currency_details: API.Currencies.Currency;
1939
1939
  account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
1940
1940
  balance: number;
1941
1941
  crypto_deposit_details: {
@@ -1946,7 +1946,6 @@ export declare namespace API {
1946
1946
  created_at: string;
1947
1947
  destination_address: string;
1948
1948
  destination_currency: string;
1949
- destination_currency_details: API.Currencies.Currency;
1950
1949
  deposit_instructions?: API.VirtualAccounts.VirtualAccount.DepositInstruction.DepositInstruction[];
1951
1950
  id: string;
1952
1951
  integration_vendor_id: string;
@@ -1,6 +1,6 @@
1
1
  import { API } from './types/types';
2
2
  export declare const virtualAccounts: {
3
- create: (data: API.VirtualAccounts.Create.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem>;
3
+ create: (data: API.VirtualAccounts.Create.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountListItem>;
4
4
  getAll: ({ wallet_uuid, ...params }: API.VirtualAccounts.GetAll.Request) => Promise<API.VirtualAccounts.GetAll.Response>;
5
5
  getByUuid: ({ uuid }: API.VirtualAccounts.GetByUuid.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem>;
6
6
  programs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.15",
3
+ "version": "1.32.17",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -8,7 +8,9 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.js",
13
+ "default": "./dist/index.js"
12
14
  }
13
15
  },
14
16
  "files": [