squarefi-bff-api-module 1.34.12 → 1.34.13

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.
@@ -20,6 +20,23 @@ export interface paths {
20
20
  patch?: never;
21
21
  trace?: never;
22
22
  };
23
+ "/auth/register": {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ get?: never;
31
+ put?: never;
32
+ /** Register user_data for authenticated user */
33
+ post: operations["AuthController_register"];
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
23
40
  "/auth/verify/email/otp": {
24
41
  parameters: {
25
42
  query?: never;
@@ -156,74 +173,6 @@ export interface paths {
156
173
  patch?: never;
157
174
  trace?: never;
158
175
  };
159
- "/auth/sign-up/password/email": {
160
- parameters: {
161
- query?: never;
162
- header?: never;
163
- path?: never;
164
- cookie?: never;
165
- };
166
- get?: never;
167
- put?: never;
168
- /** Sign up user by email+password with OTP */
169
- post: operations["AuthPasswordController_signUpByEmail"];
170
- delete?: never;
171
- options?: never;
172
- head?: never;
173
- patch?: never;
174
- trace?: never;
175
- };
176
- "/auth/sign-up/password/email/resend": {
177
- parameters: {
178
- query?: never;
179
- header?: never;
180
- path?: never;
181
- cookie?: never;
182
- };
183
- get?: never;
184
- put?: never;
185
- /** Resend OTP by email */
186
- post: operations["AuthPasswordController_resendSignUpByEmail"];
187
- delete?: never;
188
- options?: never;
189
- head?: never;
190
- patch?: never;
191
- trace?: never;
192
- };
193
- "/auth/sign-up/password/email/finalize": {
194
- parameters: {
195
- query?: never;
196
- header?: never;
197
- path?: never;
198
- cookie?: never;
199
- };
200
- get?: never;
201
- put?: never;
202
- /** Final step to sign up user by email with verified session */
203
- post: operations["AuthPasswordController_signUpByEmailFinalize"];
204
- delete?: never;
205
- options?: never;
206
- head?: never;
207
- patch?: never;
208
- trace?: never;
209
- };
210
- "/auth/sign-in/password/email": {
211
- parameters: {
212
- query?: never;
213
- header?: never;
214
- path?: never;
215
- cookie?: never;
216
- };
217
- get?: never;
218
- put?: never;
219
- /** Sign in user by email+password */
220
- post: operations["AuthPasswordController_signInByEmail"];
221
- delete?: never;
222
- options?: never;
223
- head?: never;
224
- patch?: never;
225
- trace?: never;
226
- };
227
176
  "/auth/sign-in/omni/email/{type}": {
228
177
  parameters: {
229
178
  query?: never;
@@ -650,75 +599,6 @@ export interface paths {
650
599
  patch?: never;
651
600
  trace?: never;
652
601
  };
653
- "/developer/accesses": {
654
- parameters: {
655
- query?: never;
656
- header?: never;
657
- path?: never;
658
- cookie?: never;
659
- };
660
- /** List of external access */
661
- get: operations["DeveloperAccessesController_findAll"];
662
- put?: never;
663
- /** Create external access */
664
- post: operations["DeveloperAccessesController_create"];
665
- delete?: never;
666
- options?: never;
667
- head?: never;
668
- patch?: never;
669
- trace?: never;
670
- };
671
- "/developer/accesses/{id}": {
672
- parameters: {
673
- query?: never;
674
- header?: never;
675
- path?: never;
676
- cookie?: never;
677
- };
678
- get?: never;
679
- put?: never;
680
- post?: never;
681
- delete?: never;
682
- options?: never;
683
- head?: never;
684
- /** Update external access */
685
- patch: operations["DeveloperAccessesController_update"];
686
- trace?: never;
687
- };
688
- "/developer/accesses/{id}/rotate": {
689
- parameters: {
690
- query?: never;
691
- header?: never;
692
- path?: never;
693
- cookie?: never;
694
- };
695
- get?: never;
696
- put?: never;
697
- post?: never;
698
- delete?: never;
699
- options?: never;
700
- head?: never;
701
- /** Rotate external access */
702
- patch: operations["DeveloperAccessesController_rotate"];
703
- trace?: never;
704
- };
705
- "/developer/vendors": {
706
- parameters: {
707
- query?: never;
708
- header?: never;
709
- path?: never;
710
- cookie?: never;
711
- };
712
- /** List of vendors */
713
- get: operations["DeveloperVendorsController_findAll"];
714
- put?: never;
715
- post?: never;
716
- delete?: never;
717
- options?: never;
718
- head?: never;
719
- patch?: never;
720
- trace?: never;
721
- };
722
602
  "/kyc/forms/{rail_id}": {
723
603
  parameters: {
724
604
  query?: never;
@@ -1225,6 +1105,38 @@ export interface paths {
1225
1105
  export type webhooks = Record<string, never>;
1226
1106
  export interface components {
1227
1107
  schemas: {
1108
+ InviteDto: {
1109
+ invite_code?: string;
1110
+ referrer?: string;
1111
+ };
1112
+ UserDataEntity: {
1113
+ can_invite: boolean;
1114
+ created_at: string;
1115
+ /** @deprecated */
1116
+ id: number;
1117
+ kyc_date: string | null;
1118
+ /**
1119
+ * @default UNVERIFIED
1120
+ * @enum {string|null}
1121
+ */
1122
+ kyc_status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW" | null;
1123
+ referral_name: string | null;
1124
+ tenant_id: string;
1125
+ user_id: string;
1126
+ default_currency: string;
1127
+ user_groups_id: string | null;
1128
+ is_developer: boolean;
1129
+ first_name?: string | null;
1130
+ last_name?: string | null;
1131
+ /** @description User birth date in ISO 8601 format */
1132
+ birth_date?: string | null;
1133
+ logo_url?: string | null;
1134
+ /** @description ISO 3166-1 alpha-2 country code */
1135
+ nationality?: string | null;
1136
+ readonly uuid: string;
1137
+ readonly email: string | null;
1138
+ readonly phone: string | null;
1139
+ };
1228
1140
  VerifyEmailDto: {
1229
1141
  email: string;
1230
1142
  token: string;
@@ -1297,74 +1209,6 @@ export interface components {
1297
1209
  hash: string;
1298
1210
  init_data_raw: string;
1299
1211
  };
1300
- SignUpByEmailWithPasswordDto: {
1301
- password: string;
1302
- email: string;
1303
- };
1304
- UserEntity: {
1305
- id: string;
1306
- app_metadata: Record<string, never>;
1307
- user_metadata: Record<string, never>;
1308
- aud: string;
1309
- confirmation_sent_at?: string;
1310
- recovery_sent_at?: string;
1311
- email_change_sent_at?: string;
1312
- new_email?: string;
1313
- new_phone?: string;
1314
- invited_at?: string;
1315
- action_link?: string;
1316
- email?: string;
1317
- phone?: string;
1318
- created_at: string;
1319
- confirmed_at?: string;
1320
- email_confirmed_at?: string;
1321
- phone_confirmed_at?: string;
1322
- last_sign_in_at?: string;
1323
- role?: string;
1324
- updated_at?: string;
1325
- identities?: string[];
1326
- is_anonymous?: boolean;
1327
- factors?: string[];
1328
- };
1329
- ResendSignUpOtpByEmailDto: {
1330
- email: string;
1331
- };
1332
- SignUpWithPasswordFinalizeDto: {
1333
- invite_code?: string;
1334
- referrer?: string;
1335
- };
1336
- UserDataEntity: {
1337
- can_invite: boolean;
1338
- created_at: string;
1339
- /** @deprecated */
1340
- id: number;
1341
- kyc_date: string | null;
1342
- /**
1343
- * @default UNVERIFIED
1344
- * @enum {string|null}
1345
- */
1346
- kyc_status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW" | null;
1347
- referral_name: string | null;
1348
- tenant_id: string;
1349
- user_id: string;
1350
- default_currency: string;
1351
- user_groups_id: string | null;
1352
- is_developer: boolean;
1353
- first_name?: string | null;
1354
- last_name?: string | null;
1355
- /** @description User birth date in ISO 8601 format */
1356
- birth_date?: string | null;
1357
- logo_url?: string | null;
1358
- /** @description ISO 3166-1 alpha-2 country code */
1359
- nationality?: string | null;
1360
- readonly uuid: string;
1361
- readonly email: string | null;
1362
- readonly phone: string | null;
1363
- };
1364
- SignInByEmailWithPasswordDto: {
1365
- password: string;
1366
- email: string;
1367
- };
1368
1212
  SignInByEmailDto: {
1369
1213
  invite_code?: string;
1370
1214
  referrer?: string;
@@ -1684,15 +1528,6 @@ export interface components {
1684
1528
  to: string;
1685
1529
  to_uuid: string | null;
1686
1530
  };
1687
- CreateDeveloperAccessDto: {
1688
- name: string;
1689
- /** @enum {string} */
1690
- role: "READ_ONLY" | "DEVELOPER" | "OWNER";
1691
- };
1692
- UpdateDeveloperAccessDto: {
1693
- /** @enum {string} */
1694
- role: "READ_ONLY" | "DEVELOPER" | "OWNER";
1695
- };
1696
1531
  KycFormFieldOptionDto: {
1697
1532
  label: string;
1698
1533
  value: string;
@@ -2169,13 +2004,9 @@ export interface components {
2169
2004
  is_self: boolean;
2170
2005
  };
2171
2006
  UpdateCounterpartyAccountDto: {
2172
- email?: string;
2173
- /** @description Phone number */
2174
- phone?: string;
2175
- name?: string;
2176
2007
  nickname?: string | null;
2177
2008
  /** @default false */
2178
- is_self: boolean;
2009
+ is_pinned: boolean;
2179
2010
  };
2180
2011
  CounterpartyDestinationsFilter: {
2181
2012
  nickname?: string | null;
@@ -2298,6 +2129,10 @@ export interface components {
2298
2129
  readonly yandex_metric_id?: string;
2299
2130
  readonly google_analytics_id?: string;
2300
2131
  };
2132
+ SupportedLocalesEntity: {
2133
+ default: string;
2134
+ supported: string[];
2135
+ };
2301
2136
  SystemConfigDto: {
2302
2137
  /** @enum {string} */
2303
2138
  default_theme_mode: "dark" | "light";
@@ -2309,6 +2144,7 @@ export interface components {
2309
2144
  enable_crypto_withdrawal: boolean;
2310
2145
  enable_referral_program: boolean;
2311
2146
  readonly metrics_data?: components["schemas"]["MetricsDataEntity"] | null;
2147
+ readonly supported_locales?: components["schemas"]["SupportedLocalesEntity"] | null;
2312
2148
  base_currency: string;
2313
2149
  };
2314
2150
  SystemChainsResponseDto: {
@@ -2449,6 +2285,43 @@ export interface operations {
2449
2285
  };
2450
2286
  };
2451
2287
  };
2288
+ AuthController_register: {
2289
+ parameters: {
2290
+ query?: never;
2291
+ header?: never;
2292
+ path?: never;
2293
+ cookie?: never;
2294
+ };
2295
+ requestBody: {
2296
+ content: {
2297
+ "application/json": components["schemas"]["InviteDto"];
2298
+ };
2299
+ };
2300
+ responses: {
2301
+ 200: {
2302
+ headers: {
2303
+ [name: string]: unknown;
2304
+ };
2305
+ content: {
2306
+ "application/json": components["schemas"]["UserDataEntity"];
2307
+ };
2308
+ };
2309
+ /** @description Invite code is required */
2310
+ 403: {
2311
+ headers: {
2312
+ [name: string]: unknown;
2313
+ };
2314
+ content?: never;
2315
+ };
2316
+ /** @description User already registered */
2317
+ 409: {
2318
+ headers: {
2319
+ [name: string]: unknown;
2320
+ };
2321
+ content?: never;
2322
+ };
2323
+ };
2324
+ };
2452
2325
  AuthController_verifyEmail: {
2453
2326
  parameters: {
2454
2327
  query?: never;
@@ -2480,6 +2353,13 @@ export interface operations {
2480
2353
  };
2481
2354
  content?: never;
2482
2355
  };
2356
+ /** @description SB tenants only */
2357
+ 403: {
2358
+ headers: {
2359
+ [name: string]: unknown;
2360
+ };
2361
+ content?: never;
2362
+ };
2483
2363
  };
2484
2364
  };
2485
2365
  AuthController_verifyPhone: {
@@ -2513,6 +2393,13 @@ export interface operations {
2513
2393
  };
2514
2394
  content?: never;
2515
2395
  };
2396
+ /** @description SB tenants only */
2397
+ 403: {
2398
+ headers: {
2399
+ [name: string]: unknown;
2400
+ };
2401
+ content?: never;
2402
+ };
2516
2403
  };
2517
2404
  };
2518
2405
  AuthController_refreshToken: {
@@ -2536,24 +2423,6 @@ export interface operations {
2536
2423
  "application/json": components["schemas"]["SessionDto"];
2537
2424
  };
2538
2425
  };
2539
- };
2540
- };
2541
- AuthController_signIn: {
2542
- parameters: {
2543
- query?: never;
2544
- header?: {
2545
- /** @description Captcha token */
2546
- captcha?: string;
2547
- };
2548
- path?: never;
2549
- cookie?: never;
2550
- };
2551
- requestBody: {
2552
- content: {
2553
- "application/json": components["schemas"]["SignInByTypeDto"];
2554
- };
2555
- };
2556
- responses: {
2557
2426
  /** @description Invalid tenant */
2558
2427
  401: {
2559
2428
  headers: {
@@ -2563,7 +2432,7 @@ export interface operations {
2563
2432
  };
2564
2433
  };
2565
2434
  };
2566
- AuthController_signUp: {
2435
+ AuthController_signIn: {
2567
2436
  parameters: {
2568
2437
  query?: never;
2569
2438
  header?: {
@@ -2575,69 +2444,10 @@ export interface operations {
2575
2444
  };
2576
2445
  requestBody: {
2577
2446
  content: {
2578
- "application/json": components["schemas"]["SignUpByTypeDto"];
2579
- };
2580
- };
2581
- responses: {
2582
- /** @description Invite code is required */
2583
- 400: {
2584
- headers: {
2585
- [name: string]: unknown;
2586
- };
2587
- content?: never;
2588
- };
2589
- /** @description Invalid tenant */
2590
- 401: {
2591
- headers: {
2592
- [name: string]: unknown;
2593
- };
2594
- content?: never;
2595
- };
2596
- };
2597
- };
2598
- AuthController_signOut: {
2599
- parameters: {
2600
- query?: never;
2601
- header?: never;
2602
- path?: never;
2603
- cookie?: never;
2604
- };
2605
- requestBody: {
2606
- content: {
2607
- "application/json": components["schemas"]["SignOutDto"];
2608
- };
2609
- };
2610
- responses: {
2611
- /** @description Invalid tenant */
2612
- 401: {
2613
- headers: {
2614
- [name: string]: unknown;
2615
- };
2616
- content?: never;
2617
- };
2618
- };
2619
- };
2620
- AuthTelegramController_signUp: {
2621
- parameters: {
2622
- query?: never;
2623
- header?: never;
2624
- path?: never;
2625
- cookie?: never;
2626
- };
2627
- requestBody: {
2628
- content: {
2629
- "application/json": components["schemas"]["TelegramSignUpByPhoneDto"];
2447
+ "application/json": components["schemas"]["SignInByTypeDto"];
2630
2448
  };
2631
2449
  };
2632
2450
  responses: {
2633
- 200: {
2634
- headers: {
2635
- [name: string]: unknown;
2636
- };
2637
- content: {
2638
- "application/json": components["schemas"]["TelegramSessionDto"];
2639
- };
2640
- };
2641
2451
  /** @description Invalid tenant */
2642
2452
  401: {
2643
2453
  headers: {
@@ -2645,7 +2455,7 @@ export interface operations {
2645
2455
  };
2646
2456
  content?: never;
2647
2457
  };
2648
- /** @description Invite code is required */
2458
+ /** @description SB tenants only */
2649
2459
  403: {
2650
2460
  headers: {
2651
2461
  [name: string]: unknown;
@@ -2654,37 +2464,7 @@ export interface operations {
2654
2464
  };
2655
2465
  };
2656
2466
  };
2657
- AuthTelegramController_signIn: {
2658
- parameters: {
2659
- query?: never;
2660
- header?: never;
2661
- path?: never;
2662
- cookie?: never;
2663
- };
2664
- requestBody: {
2665
- content: {
2666
- "application/json": components["schemas"]["TelegramSignInByTgIdDto"];
2667
- };
2668
- };
2669
- responses: {
2670
- 200: {
2671
- headers: {
2672
- [name: string]: unknown;
2673
- };
2674
- content: {
2675
- "application/json": components["schemas"]["TelegramSessionDto"];
2676
- };
2677
- };
2678
- /** @description Invalid tenant */
2679
- 401: {
2680
- headers: {
2681
- [name: string]: unknown;
2682
- };
2683
- content?: never;
2684
- };
2685
- };
2686
- };
2687
- AuthPasswordController_signUpByEmail: {
2467
+ AuthController_signUp: {
2688
2468
  parameters: {
2689
2469
  query?: never;
2690
2470
  header?: {
@@ -2696,17 +2476,16 @@ export interface operations {
2696
2476
  };
2697
2477
  requestBody: {
2698
2478
  content: {
2699
- "application/json": components["schemas"]["SignUpByEmailWithPasswordDto"];
2479
+ "application/json": components["schemas"]["SignUpByTypeDto"];
2700
2480
  };
2701
2481
  };
2702
2482
  responses: {
2703
- 200: {
2483
+ /** @description Invite code is required */
2484
+ 400: {
2704
2485
  headers: {
2705
2486
  [name: string]: unknown;
2706
2487
  };
2707
- content: {
2708
- "application/json": components["schemas"]["UserEntity"];
2709
- };
2488
+ content?: never;
2710
2489
  };
2711
2490
  /** @description Invalid tenant */
2712
2491
  401: {
@@ -2715,7 +2494,8 @@ export interface operations {
2715
2494
  };
2716
2495
  content?: never;
2717
2496
  };
2718
- 429: {
2497
+ /** @description SB tenants only */
2498
+ 403: {
2719
2499
  headers: {
2720
2500
  [name: string]: unknown;
2721
2501
  };
@@ -2723,29 +2503,19 @@ export interface operations {
2723
2503
  };
2724
2504
  };
2725
2505
  };
2726
- AuthPasswordController_resendSignUpByEmail: {
2506
+ AuthController_signOut: {
2727
2507
  parameters: {
2728
2508
  query?: never;
2729
- header?: {
2730
- /** @description Captcha token */
2731
- captcha?: string;
2732
- };
2509
+ header?: never;
2733
2510
  path?: never;
2734
2511
  cookie?: never;
2735
2512
  };
2736
2513
  requestBody: {
2737
2514
  content: {
2738
- "application/json": components["schemas"]["ResendSignUpOtpByEmailDto"];
2515
+ "application/json": components["schemas"]["SignOutDto"];
2739
2516
  };
2740
2517
  };
2741
2518
  responses: {
2742
- /** @description Verification data sent */
2743
- 200: {
2744
- headers: {
2745
- [name: string]: unknown;
2746
- };
2747
- content?: never;
2748
- };
2749
2519
  /** @description Invalid tenant */
2750
2520
  401: {
2751
2521
  headers: {
@@ -2753,7 +2523,8 @@ export interface operations {
2753
2523
  };
2754
2524
  content?: never;
2755
2525
  };
2756
- 429: {
2526
+ /** @description SB tenants only */
2527
+ 403: {
2757
2528
  headers: {
2758
2529
  [name: string]: unknown;
2759
2530
  };
@@ -2761,7 +2532,7 @@ export interface operations {
2761
2532
  };
2762
2533
  };
2763
2534
  };
2764
- AuthPasswordController_signUpByEmailFinalize: {
2535
+ AuthTelegramController_signUp: {
2765
2536
  parameters: {
2766
2537
  query?: never;
2767
2538
  header?: never;
@@ -2770,7 +2541,7 @@ export interface operations {
2770
2541
  };
2771
2542
  requestBody: {
2772
2543
  content: {
2773
- "application/json": components["schemas"]["SignUpWithPasswordFinalizeDto"];
2544
+ "application/json": components["schemas"]["TelegramSignUpByPhoneDto"];
2774
2545
  };
2775
2546
  };
2776
2547
  responses: {
@@ -2779,7 +2550,7 @@ export interface operations {
2779
2550
  [name: string]: unknown;
2780
2551
  };
2781
2552
  content: {
2782
- "application/json": components["schemas"]["UserDataEntity"];
2553
+ "application/json": components["schemas"]["TelegramSessionDto"];
2783
2554
  };
2784
2555
  };
2785
2556
  /** @description Invalid tenant */
@@ -2796,27 +2567,18 @@ export interface operations {
2796
2567
  };
2797
2568
  content?: never;
2798
2569
  };
2799
- 429: {
2800
- headers: {
2801
- [name: string]: unknown;
2802
- };
2803
- content?: never;
2804
- };
2805
2570
  };
2806
2571
  };
2807
- AuthPasswordController_signInByEmail: {
2572
+ AuthTelegramController_signIn: {
2808
2573
  parameters: {
2809
2574
  query?: never;
2810
- header?: {
2811
- /** @description Captcha token */
2812
- captcha?: string;
2813
- };
2575
+ header?: never;
2814
2576
  path?: never;
2815
2577
  cookie?: never;
2816
2578
  };
2817
2579
  requestBody: {
2818
2580
  content: {
2819
- "application/json": components["schemas"]["SignInByEmailWithPasswordDto"];
2581
+ "application/json": components["schemas"]["TelegramSignInByTgIdDto"];
2820
2582
  };
2821
2583
  };
2822
2584
  responses: {
@@ -2825,7 +2587,7 @@ export interface operations {
2825
2587
  [name: string]: unknown;
2826
2588
  };
2827
2589
  content: {
2828
- "application/json": components["schemas"]["SessionDto"];
2590
+ "application/json": components["schemas"]["TelegramSessionDto"];
2829
2591
  };
2830
2592
  };
2831
2593
  /** @description Invalid tenant */
@@ -2835,7 +2597,8 @@ export interface operations {
2835
2597
  };
2836
2598
  content?: never;
2837
2599
  };
2838
- 429: {
2600
+ /** @description SB tenants only */
2601
+ 403: {
2839
2602
  headers: {
2840
2603
  [name: string]: unknown;
2841
2604
  };
@@ -2875,7 +2638,7 @@ export interface operations {
2875
2638
  };
2876
2639
  content?: never;
2877
2640
  };
2878
- /** @description Invite code is required */
2641
+ /** @description SB tenants only */
2879
2642
  403: {
2880
2643
  headers: {
2881
2644
  [name: string]: unknown;
@@ -2914,7 +2677,7 @@ export interface operations {
2914
2677
  };
2915
2678
  content?: never;
2916
2679
  };
2917
- /** @description Invite code is required */
2680
+ /** @description SB tenants only */
2918
2681
  403: {
2919
2682
  headers: {
2920
2683
  [name: string]: unknown;
@@ -2932,14 +2695,6 @@ export interface operations {
2932
2695
  };
2933
2696
  requestBody?: never;
2934
2697
  responses: {
2935
- 200: {
2936
- headers: {
2937
- [name: string]: unknown;
2938
- };
2939
- content: {
2940
- "application/json": components["schemas"]["UserEntity"];
2941
- };
2942
- };
2943
2698
  /** @description Unauthorized */
2944
2699
  401: {
2945
2700
  headers: {
@@ -3058,6 +2813,13 @@ export interface operations {
3058
2813
  };
3059
2814
  content?: never;
3060
2815
  };
2816
+ /** @description SB tenants only */
2817
+ 403: {
2818
+ headers: {
2819
+ [name: string]: unknown;
2820
+ };
2821
+ content?: never;
2822
+ };
3061
2823
  };
3062
2824
  };
3063
2825
  AuthenticatedUserController_changeEmail: {
@@ -3078,9 +2840,7 @@ export interface operations {
3078
2840
  headers: {
3079
2841
  [name: string]: unknown;
3080
2842
  };
3081
- content: {
3082
- "application/json": components["schemas"]["UserEntity"];
3083
- };
2843
+ content?: never;
3084
2844
  };
3085
2845
  /** @description Unauthorized */
3086
2846
  401: {
@@ -3089,6 +2849,13 @@ export interface operations {
3089
2849
  };
3090
2850
  content?: never;
3091
2851
  };
2852
+ /** @description SB tenants only */
2853
+ 403: {
2854
+ headers: {
2855
+ [name: string]: unknown;
2856
+ };
2857
+ content?: never;
2858
+ };
3092
2859
  };
3093
2860
  };
3094
2861
  AuthenticatedUserController_changePhoneNumberConfirm: {
@@ -3118,6 +2885,13 @@ export interface operations {
3118
2885
  };
3119
2886
  content?: never;
3120
2887
  };
2888
+ /** @description SB tenants only */
2889
+ 403: {
2890
+ headers: {
2891
+ [name: string]: unknown;
2892
+ };
2893
+ content?: never;
2894
+ };
3121
2895
  };
3122
2896
  };
3123
2897
  AuthenticatedUserController_changePhone: {
@@ -3138,9 +2912,7 @@ export interface operations {
3138
2912
  headers: {
3139
2913
  [name: string]: unknown;
3140
2914
  };
3141
- content: {
3142
- "application/json": components["schemas"]["UserEntity"];
3143
- };
2915
+ content?: never;
3144
2916
  };
3145
2917
  /** @description Unauthorized */
3146
2918
  401: {
@@ -3149,6 +2921,13 @@ export interface operations {
3149
2921
  };
3150
2922
  content?: never;
3151
2923
  };
2924
+ /** @description SB tenants only */
2925
+ 403: {
2926
+ headers: {
2927
+ [name: string]: unknown;
2928
+ };
2929
+ content?: never;
2930
+ };
3152
2931
  };
3153
2932
  };
3154
2933
  StorageController_uploadKycFile: {
@@ -3742,183 +3521,6 @@ export interface operations {
3742
3521
  };
3743
3522
  };
3744
3523
  };
3745
- DeveloperAccessesController_findAll: {
3746
- parameters: {
3747
- query?: never;
3748
- header?: never;
3749
- path?: never;
3750
- cookie?: never;
3751
- };
3752
- requestBody?: never;
3753
- responses: {
3754
- 200: {
3755
- headers: {
3756
- [name: string]: unknown;
3757
- };
3758
- content: {
3759
- "application/json": Record<string, never>[];
3760
- };
3761
- };
3762
- /** @description Unauthorized */
3763
- 401: {
3764
- headers: {
3765
- [name: string]: unknown;
3766
- };
3767
- content?: never;
3768
- };
3769
- /** @description Forbidden */
3770
- 403: {
3771
- headers: {
3772
- [name: string]: unknown;
3773
- };
3774
- content?: never;
3775
- };
3776
- };
3777
- };
3778
- DeveloperAccessesController_create: {
3779
- parameters: {
3780
- query?: never;
3781
- header?: never;
3782
- path?: never;
3783
- cookie?: never;
3784
- };
3785
- requestBody: {
3786
- content: {
3787
- "application/json": components["schemas"]["CreateDeveloperAccessDto"];
3788
- };
3789
- };
3790
- responses: {
3791
- 200: {
3792
- headers: {
3793
- [name: string]: unknown;
3794
- };
3795
- content: {
3796
- "application/json": Record<string, never>;
3797
- };
3798
- };
3799
- /** @description Unauthorized */
3800
- 401: {
3801
- headers: {
3802
- [name: string]: unknown;
3803
- };
3804
- content?: never;
3805
- };
3806
- /** @description Forbidden */
3807
- 403: {
3808
- headers: {
3809
- [name: string]: unknown;
3810
- };
3811
- content?: never;
3812
- };
3813
- };
3814
- };
3815
- DeveloperAccessesController_update: {
3816
- parameters: {
3817
- query?: never;
3818
- header?: never;
3819
- path: {
3820
- id: string;
3821
- };
3822
- cookie?: never;
3823
- };
3824
- requestBody: {
3825
- content: {
3826
- "application/json": components["schemas"]["UpdateDeveloperAccessDto"];
3827
- };
3828
- };
3829
- responses: {
3830
- 200: {
3831
- headers: {
3832
- [name: string]: unknown;
3833
- };
3834
- content: {
3835
- "application/json": Record<string, never>;
3836
- };
3837
- };
3838
- /** @description Unauthorized */
3839
- 401: {
3840
- headers: {
3841
- [name: string]: unknown;
3842
- };
3843
- content?: never;
3844
- };
3845
- /** @description Forbidden */
3846
- 403: {
3847
- headers: {
3848
- [name: string]: unknown;
3849
- };
3850
- content?: never;
3851
- };
3852
- };
3853
- };
3854
- DeveloperAccessesController_rotate: {
3855
- parameters: {
3856
- query?: never;
3857
- header?: never;
3858
- path: {
3859
- id: string;
3860
- };
3861
- cookie?: never;
3862
- };
3863
- requestBody?: never;
3864
- responses: {
3865
- 200: {
3866
- headers: {
3867
- [name: string]: unknown;
3868
- };
3869
- content: {
3870
- "application/json": Record<string, never>;
3871
- };
3872
- };
3873
- /** @description Unauthorized */
3874
- 401: {
3875
- headers: {
3876
- [name: string]: unknown;
3877
- };
3878
- content?: never;
3879
- };
3880
- /** @description Forbidden */
3881
- 403: {
3882
- headers: {
3883
- [name: string]: unknown;
3884
- };
3885
- content?: never;
3886
- };
3887
- };
3888
- };
3889
- DeveloperVendorsController_findAll: {
3890
- parameters: {
3891
- query?: never;
3892
- header?: never;
3893
- path?: never;
3894
- cookie?: never;
3895
- };
3896
- requestBody?: never;
3897
- responses: {
3898
- 200: {
3899
- headers: {
3900
- [name: string]: unknown;
3901
- };
3902
- content: {
3903
- "application/json": Record<string, never>[];
3904
- };
3905
- };
3906
- /** @description Unauthorized */
3907
- 401: {
3908
- headers: {
3909
- [name: string]: unknown;
3910
- };
3911
- content?: never;
3912
- };
3913
- /** @description Forbidden */
3914
- 403: {
3915
- headers: {
3916
- [name: string]: unknown;
3917
- };
3918
- content?: never;
3919
- };
3920
- };
3921
- };
3922
3524
  KycFormsController_getFormConfigByType: {
3923
3525
  parameters: {
3924
3526
  query?: never;
@@ -2035,11 +2035,6 @@ export declare namespace API {
2035
2035
  }
2036
2036
  }
2037
2037
  namespace User {
2038
- type User = components['schemas']['UserEntity'];
2039
- namespace Get {
2040
- type Request = operations['UserController_getMe']['parameters']['query'];
2041
- type Response = operations['UserController_getMe']['responses']['200']['content']['application/json'];
2042
- }
2043
2038
  namespace UpdateUser {
2044
2039
  namespace Phone {
2045
2040
  namespace RequestOTP {
@@ -1,6 +1,5 @@
1
1
  import { API } from './types/types';
2
2
  export declare const user: {
3
- get: () => Promise<API.User.Get.Response>;
4
3
  userData: {
5
4
  get: () => Promise<API.User.UserData.Get.Response>;
6
5
  update: (data: API.User.UserData.Update.Request) => Promise<API.User.UserData.Update.Response>;
package/dist/api/user.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { apiClientV2 } from '../utils/apiClientFactory';
2
2
  export const user = {
3
- get: () => apiClientV2.getRequest('/user'),
4
3
  userData: {
5
4
  get: () => apiClientV2.getRequest('/user/user-data'),
6
5
  update: (data) => apiClientV2.patchRequest('/user/user-data', { data }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.34.12",
3
+ "version": "1.34.13",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",