squarefi-bff-api-module 1.34.12 → 1.34.14

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,43 @@ 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
+ UserDataRefEntity: {
1113
+ uuid: string;
1114
+ };
1115
+ UserDataEntity: {
1116
+ can_invite: boolean;
1117
+ created_at: string;
1118
+ /** @deprecated */
1119
+ id: number;
1120
+ kyc_date: string | null;
1121
+ /**
1122
+ * @default UNVERIFIED
1123
+ * @enum {string|null}
1124
+ */
1125
+ kyc_status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW" | null;
1126
+ referral_name: string | null;
1127
+ tenant_id: string;
1128
+ user_id: string;
1129
+ default_currency: string;
1130
+ user_groups_id: string | null;
1131
+ is_developer: boolean;
1132
+ first_name?: string | null;
1133
+ last_name?: string | null;
1134
+ /** @description User birth date in ISO 8601 format */
1135
+ birth_date?: string | null;
1136
+ logo_url?: string | null;
1137
+ /** @description ISO 3166-1 alpha-2 country code */
1138
+ nationality?: string | null;
1139
+ readonly uuid: string;
1140
+ readonly email: string | null;
1141
+ readonly phone: string | null;
1142
+ referred_by?: components["schemas"]["UserDataRefEntity"] | null;
1143
+ invited_by?: components["schemas"]["UserDataRefEntity"] | null;
1144
+ };
1228
1145
  VerifyEmailDto: {
1229
1146
  email: string;
1230
1147
  token: string;
@@ -1297,74 +1214,6 @@ export interface components {
1297
1214
  hash: string;
1298
1215
  init_data_raw: string;
1299
1216
  };
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
1217
  SignInByEmailDto: {
1369
1218
  invite_code?: string;
1370
1219
  referrer?: string;
@@ -1534,7 +1383,7 @@ export interface components {
1534
1383
  * @default UNVERIFIED
1535
1384
  * @enum {string}
1536
1385
  */
1537
- status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1386
+ status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1538
1387
  readonly business_name?: string;
1539
1388
  readonly first_name?: string;
1540
1389
  readonly last_name?: string;
@@ -1684,15 +1533,6 @@ export interface components {
1684
1533
  to: string;
1685
1534
  to_uuid: string | null;
1686
1535
  };
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
1536
  KycFormFieldOptionDto: {
1697
1537
  label: string;
1698
1538
  value: string;
@@ -1925,7 +1765,7 @@ export interface components {
1925
1765
  * @default UNVERIFIED
1926
1766
  * @enum {string}
1927
1767
  */
1928
- status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1768
+ status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1929
1769
  /** @enum {string|null} */
1930
1770
  employment_status?: "EMPLOYEE" | "SELF_EMPLOYED" | "RETIRED" | "UNEMPLOYED" | "OTHER" | null;
1931
1771
  employment_description?: string | null;
@@ -2072,7 +1912,7 @@ export interface components {
2072
1912
  WalletKycRailDto: {
2073
1913
  message: string | null;
2074
1914
  /** @enum {string} */
2075
- readonly status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1915
+ readonly status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
2076
1916
  /** @default false */
2077
1917
  terms_confirmed: boolean;
2078
1918
  extra_actions?: components["schemas"]["WalletKycRailExtraActionDto"][];
@@ -2169,13 +2009,9 @@ export interface components {
2169
2009
  is_self: boolean;
2170
2010
  };
2171
2011
  UpdateCounterpartyAccountDto: {
2172
- email?: string;
2173
- /** @description Phone number */
2174
- phone?: string;
2175
- name?: string;
2176
2012
  nickname?: string | null;
2177
2013
  /** @default false */
2178
- is_self: boolean;
2014
+ is_pinned: boolean;
2179
2015
  };
2180
2016
  CounterpartyDestinationsFilter: {
2181
2017
  nickname?: string | null;
@@ -2298,6 +2134,10 @@ export interface components {
2298
2134
  readonly yandex_metric_id?: string;
2299
2135
  readonly google_analytics_id?: string;
2300
2136
  };
2137
+ SupportedLocalesEntity: {
2138
+ default: string;
2139
+ supported: string[];
2140
+ };
2301
2141
  SystemConfigDto: {
2302
2142
  /** @enum {string} */
2303
2143
  default_theme_mode: "dark" | "light";
@@ -2309,6 +2149,7 @@ export interface components {
2309
2149
  enable_crypto_withdrawal: boolean;
2310
2150
  enable_referral_program: boolean;
2311
2151
  readonly metrics_data?: components["schemas"]["MetricsDataEntity"] | null;
2152
+ readonly supported_locales?: components["schemas"]["SupportedLocalesEntity"] | null;
2312
2153
  base_currency: string;
2313
2154
  };
2314
2155
  SystemChainsResponseDto: {
@@ -2449,6 +2290,43 @@ export interface operations {
2449
2290
  };
2450
2291
  };
2451
2292
  };
2293
+ AuthController_register: {
2294
+ parameters: {
2295
+ query?: never;
2296
+ header?: never;
2297
+ path?: never;
2298
+ cookie?: never;
2299
+ };
2300
+ requestBody: {
2301
+ content: {
2302
+ "application/json": components["schemas"]["InviteDto"];
2303
+ };
2304
+ };
2305
+ responses: {
2306
+ 200: {
2307
+ headers: {
2308
+ [name: string]: unknown;
2309
+ };
2310
+ content: {
2311
+ "application/json": components["schemas"]["UserDataEntity"];
2312
+ };
2313
+ };
2314
+ /** @description Invite code is required */
2315
+ 403: {
2316
+ headers: {
2317
+ [name: string]: unknown;
2318
+ };
2319
+ content?: never;
2320
+ };
2321
+ /** @description User already registered */
2322
+ 409: {
2323
+ headers: {
2324
+ [name: string]: unknown;
2325
+ };
2326
+ content?: never;
2327
+ };
2328
+ };
2329
+ };
2452
2330
  AuthController_verifyEmail: {
2453
2331
  parameters: {
2454
2332
  query?: never;
@@ -2480,6 +2358,13 @@ export interface operations {
2480
2358
  };
2481
2359
  content?: never;
2482
2360
  };
2361
+ /** @description SB tenants only */
2362
+ 403: {
2363
+ headers: {
2364
+ [name: string]: unknown;
2365
+ };
2366
+ content?: never;
2367
+ };
2483
2368
  };
2484
2369
  };
2485
2370
  AuthController_verifyPhone: {
@@ -2513,6 +2398,13 @@ export interface operations {
2513
2398
  };
2514
2399
  content?: never;
2515
2400
  };
2401
+ /** @description SB tenants only */
2402
+ 403: {
2403
+ headers: {
2404
+ [name: string]: unknown;
2405
+ };
2406
+ content?: never;
2407
+ };
2516
2408
  };
2517
2409
  };
2518
2410
  AuthController_refreshToken: {
@@ -2536,24 +2428,6 @@ export interface operations {
2536
2428
  "application/json": components["schemas"]["SessionDto"];
2537
2429
  };
2538
2430
  };
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
2431
  /** @description Invalid tenant */
2558
2432
  401: {
2559
2433
  headers: {
@@ -2563,7 +2437,7 @@ export interface operations {
2563
2437
  };
2564
2438
  };
2565
2439
  };
2566
- AuthController_signUp: {
2440
+ AuthController_signIn: {
2567
2441
  parameters: {
2568
2442
  query?: never;
2569
2443
  header?: {
@@ -2575,69 +2449,10 @@ export interface operations {
2575
2449
  };
2576
2450
  requestBody: {
2577
2451
  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"];
2452
+ "application/json": components["schemas"]["SignInByTypeDto"];
2630
2453
  };
2631
2454
  };
2632
2455
  responses: {
2633
- 200: {
2634
- headers: {
2635
- [name: string]: unknown;
2636
- };
2637
- content: {
2638
- "application/json": components["schemas"]["TelegramSessionDto"];
2639
- };
2640
- };
2641
2456
  /** @description Invalid tenant */
2642
2457
  401: {
2643
2458
  headers: {
@@ -2645,7 +2460,7 @@ export interface operations {
2645
2460
  };
2646
2461
  content?: never;
2647
2462
  };
2648
- /** @description Invite code is required */
2463
+ /** @description SB tenants only */
2649
2464
  403: {
2650
2465
  headers: {
2651
2466
  [name: string]: unknown;
@@ -2654,37 +2469,7 @@ export interface operations {
2654
2469
  };
2655
2470
  };
2656
2471
  };
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: {
2472
+ AuthController_signUp: {
2688
2473
  parameters: {
2689
2474
  query?: never;
2690
2475
  header?: {
@@ -2696,17 +2481,16 @@ export interface operations {
2696
2481
  };
2697
2482
  requestBody: {
2698
2483
  content: {
2699
- "application/json": components["schemas"]["SignUpByEmailWithPasswordDto"];
2484
+ "application/json": components["schemas"]["SignUpByTypeDto"];
2700
2485
  };
2701
2486
  };
2702
2487
  responses: {
2703
- 200: {
2488
+ /** @description Invite code is required */
2489
+ 400: {
2704
2490
  headers: {
2705
2491
  [name: string]: unknown;
2706
2492
  };
2707
- content: {
2708
- "application/json": components["schemas"]["UserEntity"];
2709
- };
2493
+ content?: never;
2710
2494
  };
2711
2495
  /** @description Invalid tenant */
2712
2496
  401: {
@@ -2715,7 +2499,8 @@ export interface operations {
2715
2499
  };
2716
2500
  content?: never;
2717
2501
  };
2718
- 429: {
2502
+ /** @description SB tenants only */
2503
+ 403: {
2719
2504
  headers: {
2720
2505
  [name: string]: unknown;
2721
2506
  };
@@ -2723,29 +2508,19 @@ export interface operations {
2723
2508
  };
2724
2509
  };
2725
2510
  };
2726
- AuthPasswordController_resendSignUpByEmail: {
2511
+ AuthController_signOut: {
2727
2512
  parameters: {
2728
2513
  query?: never;
2729
- header?: {
2730
- /** @description Captcha token */
2731
- captcha?: string;
2732
- };
2514
+ header?: never;
2733
2515
  path?: never;
2734
2516
  cookie?: never;
2735
2517
  };
2736
2518
  requestBody: {
2737
2519
  content: {
2738
- "application/json": components["schemas"]["ResendSignUpOtpByEmailDto"];
2520
+ "application/json": components["schemas"]["SignOutDto"];
2739
2521
  };
2740
2522
  };
2741
2523
  responses: {
2742
- /** @description Verification data sent */
2743
- 200: {
2744
- headers: {
2745
- [name: string]: unknown;
2746
- };
2747
- content?: never;
2748
- };
2749
2524
  /** @description Invalid tenant */
2750
2525
  401: {
2751
2526
  headers: {
@@ -2753,7 +2528,8 @@ export interface operations {
2753
2528
  };
2754
2529
  content?: never;
2755
2530
  };
2756
- 429: {
2531
+ /** @description SB tenants only */
2532
+ 403: {
2757
2533
  headers: {
2758
2534
  [name: string]: unknown;
2759
2535
  };
@@ -2761,7 +2537,7 @@ export interface operations {
2761
2537
  };
2762
2538
  };
2763
2539
  };
2764
- AuthPasswordController_signUpByEmailFinalize: {
2540
+ AuthTelegramController_signUp: {
2765
2541
  parameters: {
2766
2542
  query?: never;
2767
2543
  header?: never;
@@ -2770,7 +2546,7 @@ export interface operations {
2770
2546
  };
2771
2547
  requestBody: {
2772
2548
  content: {
2773
- "application/json": components["schemas"]["SignUpWithPasswordFinalizeDto"];
2549
+ "application/json": components["schemas"]["TelegramSignUpByPhoneDto"];
2774
2550
  };
2775
2551
  };
2776
2552
  responses: {
@@ -2779,7 +2555,7 @@ export interface operations {
2779
2555
  [name: string]: unknown;
2780
2556
  };
2781
2557
  content: {
2782
- "application/json": components["schemas"]["UserDataEntity"];
2558
+ "application/json": components["schemas"]["TelegramSessionDto"];
2783
2559
  };
2784
2560
  };
2785
2561
  /** @description Invalid tenant */
@@ -2796,27 +2572,18 @@ export interface operations {
2796
2572
  };
2797
2573
  content?: never;
2798
2574
  };
2799
- 429: {
2800
- headers: {
2801
- [name: string]: unknown;
2802
- };
2803
- content?: never;
2804
- };
2805
2575
  };
2806
2576
  };
2807
- AuthPasswordController_signInByEmail: {
2577
+ AuthTelegramController_signIn: {
2808
2578
  parameters: {
2809
2579
  query?: never;
2810
- header?: {
2811
- /** @description Captcha token */
2812
- captcha?: string;
2813
- };
2580
+ header?: never;
2814
2581
  path?: never;
2815
2582
  cookie?: never;
2816
2583
  };
2817
2584
  requestBody: {
2818
2585
  content: {
2819
- "application/json": components["schemas"]["SignInByEmailWithPasswordDto"];
2586
+ "application/json": components["schemas"]["TelegramSignInByTgIdDto"];
2820
2587
  };
2821
2588
  };
2822
2589
  responses: {
@@ -2825,7 +2592,7 @@ export interface operations {
2825
2592
  [name: string]: unknown;
2826
2593
  };
2827
2594
  content: {
2828
- "application/json": components["schemas"]["SessionDto"];
2595
+ "application/json": components["schemas"]["TelegramSessionDto"];
2829
2596
  };
2830
2597
  };
2831
2598
  /** @description Invalid tenant */
@@ -2835,7 +2602,8 @@ export interface operations {
2835
2602
  };
2836
2603
  content?: never;
2837
2604
  };
2838
- 429: {
2605
+ /** @description SB tenants only */
2606
+ 403: {
2839
2607
  headers: {
2840
2608
  [name: string]: unknown;
2841
2609
  };
@@ -2875,7 +2643,7 @@ export interface operations {
2875
2643
  };
2876
2644
  content?: never;
2877
2645
  };
2878
- /** @description Invite code is required */
2646
+ /** @description SB tenants only */
2879
2647
  403: {
2880
2648
  headers: {
2881
2649
  [name: string]: unknown;
@@ -2914,7 +2682,7 @@ export interface operations {
2914
2682
  };
2915
2683
  content?: never;
2916
2684
  };
2917
- /** @description Invite code is required */
2685
+ /** @description SB tenants only */
2918
2686
  403: {
2919
2687
  headers: {
2920
2688
  [name: string]: unknown;
@@ -2932,14 +2700,6 @@ export interface operations {
2932
2700
  };
2933
2701
  requestBody?: never;
2934
2702
  responses: {
2935
- 200: {
2936
- headers: {
2937
- [name: string]: unknown;
2938
- };
2939
- content: {
2940
- "application/json": components["schemas"]["UserEntity"];
2941
- };
2942
- };
2943
2703
  /** @description Unauthorized */
2944
2704
  401: {
2945
2705
  headers: {
@@ -3058,6 +2818,13 @@ export interface operations {
3058
2818
  };
3059
2819
  content?: never;
3060
2820
  };
2821
+ /** @description SB tenants only */
2822
+ 403: {
2823
+ headers: {
2824
+ [name: string]: unknown;
2825
+ };
2826
+ content?: never;
2827
+ };
3061
2828
  };
3062
2829
  };
3063
2830
  AuthenticatedUserController_changeEmail: {
@@ -3078,9 +2845,7 @@ export interface operations {
3078
2845
  headers: {
3079
2846
  [name: string]: unknown;
3080
2847
  };
3081
- content: {
3082
- "application/json": components["schemas"]["UserEntity"];
3083
- };
2848
+ content?: never;
3084
2849
  };
3085
2850
  /** @description Unauthorized */
3086
2851
  401: {
@@ -3089,6 +2854,13 @@ export interface operations {
3089
2854
  };
3090
2855
  content?: never;
3091
2856
  };
2857
+ /** @description SB tenants only */
2858
+ 403: {
2859
+ headers: {
2860
+ [name: string]: unknown;
2861
+ };
2862
+ content?: never;
2863
+ };
3092
2864
  };
3093
2865
  };
3094
2866
  AuthenticatedUserController_changePhoneNumberConfirm: {
@@ -3118,6 +2890,13 @@ export interface operations {
3118
2890
  };
3119
2891
  content?: never;
3120
2892
  };
2893
+ /** @description SB tenants only */
2894
+ 403: {
2895
+ headers: {
2896
+ [name: string]: unknown;
2897
+ };
2898
+ content?: never;
2899
+ };
3121
2900
  };
3122
2901
  };
3123
2902
  AuthenticatedUserController_changePhone: {
@@ -3138,9 +2917,7 @@ export interface operations {
3138
2917
  headers: {
3139
2918
  [name: string]: unknown;
3140
2919
  };
3141
- content: {
3142
- "application/json": components["schemas"]["UserEntity"];
3143
- };
2920
+ content?: never;
3144
2921
  };
3145
2922
  /** @description Unauthorized */
3146
2923
  401: {
@@ -3149,6 +2926,13 @@ export interface operations {
3149
2926
  };
3150
2927
  content?: never;
3151
2928
  };
2929
+ /** @description SB tenants only */
2930
+ 403: {
2931
+ headers: {
2932
+ [name: string]: unknown;
2933
+ };
2934
+ content?: never;
2935
+ };
3152
2936
  };
3153
2937
  };
3154
2938
  StorageController_uploadKycFile: {
@@ -3742,183 +3526,6 @@ export interface operations {
3742
3526
  };
3743
3527
  };
3744
3528
  };
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
3529
  KycFormsController_getFormConfigByType: {
3923
3530
  parameters: {
3924
3531
  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 }),
@@ -236,6 +236,7 @@ export declare enum KYCStatuses {
236
236
  APPROVED = "APPROVED",
237
237
  DECLINED = "DECLINED",
238
238
  PENDING = "PENDING",
239
+ PROCESSING = "PROCESSING",
239
240
  HOLD = "HOLD",
240
241
  DOUBLE = "DOUBLE",
241
242
  SOFT_REJECT = "SOFT_REJECT",
package/dist/constants.js CHANGED
@@ -252,6 +252,7 @@ export var KYCStatuses;
252
252
  KYCStatuses["APPROVED"] = "APPROVED";
253
253
  KYCStatuses["DECLINED"] = "DECLINED";
254
254
  KYCStatuses["PENDING"] = "PENDING";
255
+ KYCStatuses["PROCESSING"] = "PROCESSING";
255
256
  KYCStatuses["HOLD"] = "HOLD";
256
257
  KYCStatuses["DOUBLE"] = "DOUBLE";
257
258
  KYCStatuses["SOFT_REJECT"] = "SOFT_REJECT";
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.14",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",