squarefi-bff-api-module 1.36.35 → 1.36.36

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.
@@ -253,7 +253,8 @@ export interface paths {
253
253
  put?: never;
254
254
  /** Upload Logo for user data */
255
255
  post: operations["UserController_uploadLogoFile"];
256
- delete?: never;
256
+ /** Delete Logo for user data */
257
+ delete: operations["UserController_deleteLogoFile"];
257
258
  options?: never;
258
259
  head?: never;
259
260
  patch?: never;
@@ -1254,7 +1255,7 @@ export interface components {
1254
1255
  status: "complete" | "pending" | "canceled" | "failed" | "processing" | "new";
1255
1256
  txid: string | null;
1256
1257
  /** @enum {string} */
1257
- type: "deposit_crypto" | "withdrawal_crypto" | "deposit_fiat" | "withdrawal_fiat" | "deposit_vcard" | "withdrawal_vcard" | "deposit" | "withdrawal";
1258
+ type: "deposit" | "withdrawal";
1258
1259
  wallet_id: string | null;
1259
1260
  /** @enum {string|null} */
1260
1261
  method: "p2p" | "crypto" | "bank_transfer" | "exchange" | "sbp" | "internal_fiat" | null;
@@ -1375,7 +1376,7 @@ export interface components {
1375
1376
  TransactionsFilter: {
1376
1377
  created_at?: string;
1377
1378
  /** @enum {string} */
1378
- type?: "deposit_crypto" | "withdrawal_crypto" | "deposit_fiat" | "withdrawal_fiat" | "deposit_vcard" | "withdrawal_vcard" | "deposit" | "withdrawal";
1379
+ type?: "deposit" | "withdrawal";
1379
1380
  /** @enum {string|null} */
1380
1381
  method?: "p2p" | "crypto" | "bank_transfer" | "exchange" | "sbp" | "internal_fiat" | null;
1381
1382
  /** @enum {string|null} */
@@ -1383,8 +1384,6 @@ export interface components {
1383
1384
  "currency.uuid"?: string;
1384
1385
  "meta.billing_amount_currency"?: string;
1385
1386
  "meta.transaction_amount_currency"?: string;
1386
- /** @description Filters items by "from OR to" fields */
1387
- address?: string;
1388
1387
  /** Format: date-time */
1389
1388
  from_created_at?: string;
1390
1389
  /** Format: date-time */
@@ -1739,6 +1738,8 @@ export interface components {
1739
1738
  source_of_accumulated?: string | null;
1740
1739
  send_and_receive?: string | null;
1741
1740
  employment_status_other?: string | null;
1741
+ source_of_wealth_ubo?: string | null;
1742
+ source_of_wealth_ubo_url?: string | null;
1742
1743
  purposes?: string[] | null;
1743
1744
  payment_flows?: string[] | null;
1744
1745
  source_of_funds_list?: string[] | null;
@@ -2574,7 +2575,17 @@ export interface operations {
2574
2575
  path?: never;
2575
2576
  cookie?: never;
2576
2577
  };
2577
- requestBody?: never;
2578
+ requestBody: {
2579
+ content: {
2580
+ "multipart/form-data": {
2581
+ /**
2582
+ * Format: binary
2583
+ * @description Allowed types: JPEG, PNG, WEBP. Max size: 1 MB.
2584
+ */
2585
+ file: string;
2586
+ };
2587
+ };
2588
+ };
2578
2589
  responses: {
2579
2590
  200: {
2580
2591
  headers: {
@@ -2593,6 +2604,30 @@ export interface operations {
2593
2604
  };
2594
2605
  };
2595
2606
  };
2607
+ UserController_deleteLogoFile: {
2608
+ parameters: {
2609
+ query?: never;
2610
+ header?: never;
2611
+ path?: never;
2612
+ cookie?: never;
2613
+ };
2614
+ requestBody?: never;
2615
+ responses: {
2616
+ 204: {
2617
+ headers: {
2618
+ [name: string]: unknown;
2619
+ };
2620
+ content?: never;
2621
+ };
2622
+ /** @description Unauthorized */
2623
+ 401: {
2624
+ headers: {
2625
+ [name: string]: unknown;
2626
+ };
2627
+ content?: never;
2628
+ };
2629
+ };
2630
+ };
2596
2631
  AuthenticatedUserController_changeEmailConfirm: {
2597
2632
  parameters: {
2598
2633
  query?: never;
@@ -2744,7 +2779,17 @@ export interface operations {
2744
2779
  path?: never;
2745
2780
  cookie?: never;
2746
2781
  };
2747
- requestBody?: never;
2782
+ requestBody: {
2783
+ content: {
2784
+ "multipart/form-data": {
2785
+ /**
2786
+ * Format: binary
2787
+ * @description Allowed types: PDF, JPEG, PNG. Max size: 20 MB.
2788
+ */
2789
+ file: string;
2790
+ };
2791
+ };
2792
+ };
2748
2793
  responses: {
2749
2794
  201: {
2750
2795
  headers: {
@@ -3098,7 +3143,17 @@ export interface operations {
3098
3143
  };
3099
3144
  cookie?: never;
3100
3145
  };
3101
- requestBody?: never;
3146
+ requestBody: {
3147
+ content: {
3148
+ "multipart/form-data": {
3149
+ /**
3150
+ * Format: binary
3151
+ * @description Allowed types: JPEG, PNG, WEBP. Max size: 1 MB.
3152
+ */
3153
+ file: string;
3154
+ };
3155
+ };
3156
+ };
3102
3157
  responses: {
3103
3158
  200: {
3104
3159
  headers: {
@@ -3208,7 +3263,7 @@ export interface operations {
3208
3263
  /** @description Number of records to return */
3209
3264
  limit?: number;
3210
3265
  sort_order?: "ASC" | "DESC";
3211
- sort_by?: "created_at" | "type" | "status" | "amount" | "from" | "to" | "method" | "record_type" | null;
3266
+ sort_by?: "created_at" | "type" | "status" | "amount" | "method" | "record_type" | null;
3212
3267
  filter?: components["schemas"]["TransactionsFilter"];
3213
3268
  };
3214
3269
  header?: never;
@@ -671,6 +671,7 @@ export declare namespace API {
671
671
  }
672
672
  }
673
673
  namespace Issuing {
674
+ type CardsRoot = pathsV1Frontend['/frontend/issuing/cards'];
674
675
  type CardDepositRoot = pathsV1Frontend['/frontend/issuing/cards/{card_id}/deposit'];
675
676
  type CardWithdrawRoot = pathsV1Frontend['/frontend/issuing/cards/{card_id}/withdraw'];
676
677
  type SubAccountDepositRoot = pathsV1Frontend['/frontend/issuing/sub-accounts/{sub_account_id}/deposit'];
@@ -699,6 +700,11 @@ export declare namespace API {
699
700
  }
700
701
  }
701
702
  export namespace Cards {
703
+ namespace List {
704
+ type Request = NonNullable<CardsRoot['get']['parameters']['query']>;
705
+ type Response = CardsRoot['get']['responses']['200']['content']['application/json'];
706
+ type Card = NonNullable<Response['data']>[number];
707
+ }
702
708
  namespace Deposit {
703
709
  type Request = {
704
710
  card_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.36.35",
3
+ "version": "1.36.36",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",