squarefi-bff-api-module 1.24.20 → 1.24.22
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/tenants.js
CHANGED
|
@@ -4,6 +4,6 @@ exports.tenants = void 0;
|
|
|
4
4
|
const apiClientFactory_1 = require("../utils/apiClientFactory");
|
|
5
5
|
exports.tenants = {
|
|
6
6
|
config: {
|
|
7
|
-
get: () => apiClientFactory_1.apiClientV2.getRequest('/
|
|
7
|
+
get: () => apiClientFactory_1.apiClientV2.getRequest('/system/config'),
|
|
8
8
|
},
|
|
9
9
|
};
|
|
@@ -953,6 +953,22 @@ export interface paths {
|
|
|
953
953
|
patch?: never;
|
|
954
954
|
trace?: never;
|
|
955
955
|
};
|
|
956
|
+
"/load-data-from-hifibridge": {
|
|
957
|
+
parameters: {
|
|
958
|
+
query?: never;
|
|
959
|
+
header?: never;
|
|
960
|
+
path?: never;
|
|
961
|
+
cookie?: never;
|
|
962
|
+
};
|
|
963
|
+
get?: never;
|
|
964
|
+
put?: never;
|
|
965
|
+
post: operations["LoadDataFromHifibridgeController_syncData"];
|
|
966
|
+
delete?: never;
|
|
967
|
+
options?: never;
|
|
968
|
+
head?: never;
|
|
969
|
+
patch?: never;
|
|
970
|
+
trace?: never;
|
|
971
|
+
};
|
|
956
972
|
}
|
|
957
973
|
export type webhooks = Record<string, never>;
|
|
958
974
|
export interface components {
|
|
@@ -1119,6 +1135,8 @@ export interface components {
|
|
|
1119
1135
|
tg_bot_name: string | null;
|
|
1120
1136
|
theme_switch: boolean;
|
|
1121
1137
|
enable_exchange: boolean;
|
|
1138
|
+
enable_auto_exchange: boolean;
|
|
1139
|
+
enable_crypto_withdrawal: boolean;
|
|
1122
1140
|
};
|
|
1123
1141
|
PaginationResponseDto: {
|
|
1124
1142
|
/** @example 20 */
|
|
@@ -2018,6 +2036,9 @@ export interface components {
|
|
|
2018
2036
|
tg_bot_name: string | null;
|
|
2019
2037
|
theme_switch: boolean;
|
|
2020
2038
|
enable_exchange: boolean;
|
|
2039
|
+
enable_auto_exchange: boolean;
|
|
2040
|
+
enable_crypto_withdrawal: boolean;
|
|
2041
|
+
base_currency: string;
|
|
2021
2042
|
};
|
|
2022
2043
|
SystemChainsResponseDto: {
|
|
2023
2044
|
total: number;
|
|
@@ -2072,6 +2093,12 @@ export interface components {
|
|
|
2072
2093
|
/** @description Data */
|
|
2073
2094
|
data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
|
|
2074
2095
|
};
|
|
2096
|
+
SyncDataFromHifibridgeDto: {
|
|
2097
|
+
/** @description Wallet to load data from Hifibridge */
|
|
2098
|
+
wallet_id: string;
|
|
2099
|
+
/** @description Hifibridge ID to load data to wallet */
|
|
2100
|
+
hifibridge_id: string;
|
|
2101
|
+
};
|
|
2075
2102
|
};
|
|
2076
2103
|
responses: never;
|
|
2077
2104
|
parameters: never;
|
|
@@ -4453,4 +4480,25 @@ export interface operations {
|
|
|
4453
4480
|
};
|
|
4454
4481
|
};
|
|
4455
4482
|
};
|
|
4483
|
+
LoadDataFromHifibridgeController_syncData: {
|
|
4484
|
+
parameters: {
|
|
4485
|
+
query?: never;
|
|
4486
|
+
header?: never;
|
|
4487
|
+
path?: never;
|
|
4488
|
+
cookie?: never;
|
|
4489
|
+
};
|
|
4490
|
+
requestBody: {
|
|
4491
|
+
content: {
|
|
4492
|
+
"application/json": components["schemas"]["SyncDataFromHifibridgeDto"];
|
|
4493
|
+
};
|
|
4494
|
+
};
|
|
4495
|
+
responses: {
|
|
4496
|
+
201: {
|
|
4497
|
+
headers: {
|
|
4498
|
+
[name: string]: unknown;
|
|
4499
|
+
};
|
|
4500
|
+
content?: never;
|
|
4501
|
+
};
|
|
4502
|
+
};
|
|
4503
|
+
};
|
|
4456
4504
|
}
|
|
@@ -190,6 +190,7 @@ export declare namespace API {
|
|
|
190
190
|
nick_name: string | null;
|
|
191
191
|
wallet_id: string;
|
|
192
192
|
program_id: string;
|
|
193
|
+
limits?: API.Cards.Limits.Limits;
|
|
193
194
|
fiat_account: API.Issuing.SubAccounts.SubAccount;
|
|
194
195
|
last4: string;
|
|
195
196
|
request_id: string;
|
|
@@ -648,12 +649,14 @@ export declare namespace API {
|
|
|
648
649
|
namespace Keys {
|
|
649
650
|
interface Key {
|
|
650
651
|
id: string;
|
|
651
|
-
key: string;
|
|
652
652
|
name: string;
|
|
653
653
|
role: APIKeyRole;
|
|
654
654
|
wallet_id: string;
|
|
655
655
|
created_at: string;
|
|
656
656
|
}
|
|
657
|
+
interface ExtendedKey extends Key {
|
|
658
|
+
key: string;
|
|
659
|
+
}
|
|
657
660
|
namespace Create {
|
|
658
661
|
type Request = {
|
|
659
662
|
name: string;
|
|
@@ -662,7 +665,7 @@ export declare namespace API {
|
|
|
662
665
|
};
|
|
663
666
|
type Response = {
|
|
664
667
|
success: boolean;
|
|
665
|
-
data: API.Frontend.Access.Keys.
|
|
668
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
666
669
|
};
|
|
667
670
|
}
|
|
668
671
|
namespace List {
|
|
@@ -674,7 +677,7 @@ export declare namespace API {
|
|
|
674
677
|
namespace Regenerate {
|
|
675
678
|
type Response = {
|
|
676
679
|
success: boolean;
|
|
677
|
-
data: API.Frontend.Access.Keys.
|
|
680
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
678
681
|
};
|
|
679
682
|
}
|
|
680
683
|
namespace Revoke {
|
package/package.json
CHANGED
package/src/api/tenants.ts
CHANGED
|
@@ -954,6 +954,22 @@ export interface paths {
|
|
|
954
954
|
patch?: never;
|
|
955
955
|
trace?: never;
|
|
956
956
|
};
|
|
957
|
+
"/load-data-from-hifibridge": {
|
|
958
|
+
parameters: {
|
|
959
|
+
query?: never;
|
|
960
|
+
header?: never;
|
|
961
|
+
path?: never;
|
|
962
|
+
cookie?: never;
|
|
963
|
+
};
|
|
964
|
+
get?: never;
|
|
965
|
+
put?: never;
|
|
966
|
+
post: operations["LoadDataFromHifibridgeController_syncData"];
|
|
967
|
+
delete?: never;
|
|
968
|
+
options?: never;
|
|
969
|
+
head?: never;
|
|
970
|
+
patch?: never;
|
|
971
|
+
trace?: never;
|
|
972
|
+
};
|
|
957
973
|
}
|
|
958
974
|
export type webhooks = Record<string, never>;
|
|
959
975
|
export interface components {
|
|
@@ -1120,6 +1136,8 @@ export interface components {
|
|
|
1120
1136
|
tg_bot_name: string | null;
|
|
1121
1137
|
theme_switch: boolean;
|
|
1122
1138
|
enable_exchange: boolean;
|
|
1139
|
+
enable_auto_exchange: boolean;
|
|
1140
|
+
enable_crypto_withdrawal: boolean;
|
|
1123
1141
|
};
|
|
1124
1142
|
PaginationResponseDto: {
|
|
1125
1143
|
/** @example 20 */
|
|
@@ -2019,6 +2037,9 @@ export interface components {
|
|
|
2019
2037
|
tg_bot_name: string | null;
|
|
2020
2038
|
theme_switch: boolean;
|
|
2021
2039
|
enable_exchange: boolean;
|
|
2040
|
+
enable_auto_exchange: boolean;
|
|
2041
|
+
enable_crypto_withdrawal: boolean;
|
|
2042
|
+
base_currency: string;
|
|
2022
2043
|
};
|
|
2023
2044
|
SystemChainsResponseDto: {
|
|
2024
2045
|
total: number;
|
|
@@ -2073,6 +2094,12 @@ export interface components {
|
|
|
2073
2094
|
/** @description Data */
|
|
2074
2095
|
data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
|
|
2075
2096
|
};
|
|
2097
|
+
SyncDataFromHifibridgeDto: {
|
|
2098
|
+
/** @description Wallet to load data from Hifibridge */
|
|
2099
|
+
wallet_id: string;
|
|
2100
|
+
/** @description Hifibridge ID to load data to wallet */
|
|
2101
|
+
hifibridge_id: string;
|
|
2102
|
+
};
|
|
2076
2103
|
};
|
|
2077
2104
|
responses: never;
|
|
2078
2105
|
parameters: never;
|
|
@@ -4454,4 +4481,25 @@ export interface operations {
|
|
|
4454
4481
|
};
|
|
4455
4482
|
};
|
|
4456
4483
|
};
|
|
4484
|
+
LoadDataFromHifibridgeController_syncData: {
|
|
4485
|
+
parameters: {
|
|
4486
|
+
query?: never;
|
|
4487
|
+
header?: never;
|
|
4488
|
+
path?: never;
|
|
4489
|
+
cookie?: never;
|
|
4490
|
+
};
|
|
4491
|
+
requestBody: {
|
|
4492
|
+
content: {
|
|
4493
|
+
"application/json": components["schemas"]["SyncDataFromHifibridgeDto"];
|
|
4494
|
+
};
|
|
4495
|
+
};
|
|
4496
|
+
responses: {
|
|
4497
|
+
201: {
|
|
4498
|
+
headers: {
|
|
4499
|
+
[name: string]: unknown;
|
|
4500
|
+
};
|
|
4501
|
+
content?: never;
|
|
4502
|
+
};
|
|
4503
|
+
};
|
|
4504
|
+
};
|
|
4457
4505
|
}
|
package/src/api/types/types.ts
CHANGED
|
@@ -224,7 +224,7 @@ export namespace API {
|
|
|
224
224
|
nick_name: string | null;
|
|
225
225
|
wallet_id: string;
|
|
226
226
|
program_id: string;
|
|
227
|
-
|
|
227
|
+
limits?: API.Cards.Limits.Limits;
|
|
228
228
|
fiat_account: API.Issuing.SubAccounts.SubAccount;
|
|
229
229
|
last4: string;
|
|
230
230
|
request_id: string;
|
|
@@ -795,12 +795,16 @@ export namespace API {
|
|
|
795
795
|
export namespace Keys {
|
|
796
796
|
export interface Key {
|
|
797
797
|
id: string;
|
|
798
|
-
key: string;
|
|
799
798
|
name: string;
|
|
800
799
|
role: APIKeyRole;
|
|
801
800
|
wallet_id: string;
|
|
802
801
|
created_at: string;
|
|
803
802
|
}
|
|
803
|
+
|
|
804
|
+
export interface ExtendedKey extends Key {
|
|
805
|
+
key: string;
|
|
806
|
+
}
|
|
807
|
+
|
|
804
808
|
export namespace Create {
|
|
805
809
|
export type Request = {
|
|
806
810
|
name: string;
|
|
@@ -809,7 +813,7 @@ export namespace API {
|
|
|
809
813
|
};
|
|
810
814
|
export type Response = {
|
|
811
815
|
success: boolean;
|
|
812
|
-
data: API.Frontend.Access.Keys.
|
|
816
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
813
817
|
};
|
|
814
818
|
}
|
|
815
819
|
|
|
@@ -823,7 +827,7 @@ export namespace API {
|
|
|
823
827
|
export namespace Regenerate {
|
|
824
828
|
export type Response = {
|
|
825
829
|
success: boolean;
|
|
826
|
-
data: API.Frontend.Access.Keys.
|
|
830
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
827
831
|
};
|
|
828
832
|
}
|
|
829
833
|
|