squarefi-bff-api-module 1.36.35 → 1.36.37
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.
- package/dist/api/frontend.d.ts +1 -0
- package/dist/api/frontend.js +10 -4
- package/dist/api/types/autogen/apiV1External.types.d.ts +581 -28
- package/dist/api/types/autogen/apiV1Frontend.types.d.ts +1418 -476
- package/dist/api/types/autogen/apiV1Legacy.types.d.ts +17 -232
- package/dist/api/types/autogen/apiV1Tenant.types.d.ts +582 -23
- package/dist/api/types/autogen/apiV2.types.d.ts +64 -9
- package/dist/api/types/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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: "
|
|
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?: "
|
|
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
|
|
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
|
|
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
|
|
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" | "
|
|
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;
|