squarefi-bff-api-module 1.26.8 → 1.26.10

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.
Files changed (81) hide show
  1. package/dist/api/auth.d.ts +0 -0
  2. package/dist/api/auth.js +0 -0
  3. package/dist/api/config.d.ts +0 -0
  4. package/dist/api/config.js +0 -0
  5. package/dist/api/counterparties.d.ts +0 -0
  6. package/dist/api/counterparties.js +0 -0
  7. package/dist/api/developer.d.ts +0 -0
  8. package/dist/api/developer.js +0 -0
  9. package/dist/api/exchange.d.ts +0 -0
  10. package/dist/api/exchange.js +0 -0
  11. package/dist/api/fetch_api.d.ts +0 -0
  12. package/dist/api/fetch_api.js +0 -0
  13. package/dist/api/fiat_accounts.d.ts +0 -0
  14. package/dist/api/fiat_accounts.js +0 -0
  15. package/dist/api/frontend.d.ts +0 -0
  16. package/dist/api/frontend.js +0 -0
  17. package/dist/api/index.d.ts +0 -0
  18. package/dist/api/index.js +0 -0
  19. package/dist/api/issuing.d.ts +0 -0
  20. package/dist/api/issuing.js +0 -0
  21. package/dist/api/kyc.d.ts +0 -0
  22. package/dist/api/kyc.js +0 -0
  23. package/dist/api/list.d.ts +0 -0
  24. package/dist/api/list.js +0 -0
  25. package/dist/api/location.d.ts +0 -0
  26. package/dist/api/location.js +0 -0
  27. package/dist/api/orders.d.ts +0 -0
  28. package/dist/api/orders.js +0 -0
  29. package/dist/api/persona.d.ts +0 -0
  30. package/dist/api/persona.js +0 -0
  31. package/dist/api/tenants.d.ts +0 -0
  32. package/dist/api/tenants.js +0 -0
  33. package/dist/api/totp.d.ts +0 -0
  34. package/dist/api/totp.js +0 -0
  35. package/dist/api/types/autogen/apiV2.types.d.ts +60 -0
  36. package/dist/api/types/autogen/apiV2.types.js +0 -0
  37. package/dist/api/types/types.d.ts +93 -90
  38. package/dist/api/types/types.js +0 -0
  39. package/dist/api/types.d.ts +0 -0
  40. package/dist/api/types.js +0 -0
  41. package/dist/api/user.d.ts +0 -0
  42. package/dist/api/user.js +0 -0
  43. package/dist/api/virtual-accounts.d.ts +0 -0
  44. package/dist/api/virtual-accounts.js +0 -0
  45. package/dist/api/wallets.d.ts +0 -0
  46. package/dist/api/wallets.js +0 -0
  47. package/dist/constants.d.ts +0 -0
  48. package/dist/constants.js +0 -0
  49. package/dist/hooks/index.d.ts +0 -0
  50. package/dist/hooks/index.js +0 -0
  51. package/dist/hooks/useCalc.d.ts +0 -0
  52. package/dist/hooks/useCalc.js +0 -0
  53. package/dist/hooks/useSupabaseSubscription/config.d.ts +0 -0
  54. package/dist/hooks/useSupabaseSubscription/config.js +0 -0
  55. package/dist/hooks/useSupabaseSubscription/index.d.ts +0 -0
  56. package/dist/hooks/useSupabaseSubscription/index.js +0 -0
  57. package/dist/hooks/useSupabaseSubscription/specialized.d.ts +0 -0
  58. package/dist/hooks/useSupabaseSubscription/specialized.js +0 -0
  59. package/dist/hooks/useSupabaseSubscription/types.d.ts +0 -0
  60. package/dist/hooks/useSupabaseSubscription/types.js +0 -0
  61. package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.d.ts +0 -0
  62. package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.js +0 -0
  63. package/dist/index.d.ts +0 -0
  64. package/dist/index.js +0 -0
  65. package/dist/utils/apiClientFactory.d.ts +0 -0
  66. package/dist/utils/apiClientFactory.js +0 -0
  67. package/dist/utils/common.d.ts +0 -0
  68. package/dist/utils/common.js +0 -0
  69. package/dist/utils/converters.d.ts +0 -0
  70. package/dist/utils/converters.js +0 -0
  71. package/dist/utils/encrypt.d.ts +0 -0
  72. package/dist/utils/encrypt.js +0 -0
  73. package/dist/utils/storage.d.ts +0 -0
  74. package/dist/utils/storage.js +0 -0
  75. package/dist/utils/supabase.d.ts +0 -0
  76. package/dist/utils/supabase.js +0 -0
  77. package/dist/utils/tokensFactory.d.ts +0 -0
  78. package/dist/utils/tokensFactory.js +0 -0
  79. package/package.json +1 -1
  80. package/src/api/types/autogen/apiV2.types.ts +60 -0
  81. package/src/api/types/types.ts +165 -112
@@ -17,27 +17,30 @@ import {
17
17
  WalletTransactionRecordType,
18
18
  WalletTransactionStatus,
19
19
  WalletTransactionType,
20
- } from '../../constants';
21
- import { WalletType } from '../..';
22
- import { components, operations } from './autogen/apiV2.types';
20
+ } from "../../constants";
21
+ import { WalletType } from "../..";
22
+ import { components, operations } from "./autogen/apiV2.types";
23
23
 
24
24
  export namespace API {
25
25
  export namespace Auth {
26
26
  export namespace RefreshToken {
27
- export type Request = operations['AuthController_refreshToken']['requestBody']['content']['application/json'];
27
+ export type Request =
28
+ operations["AuthController_refreshToken"]["requestBody"]["content"]["application/json"];
28
29
  export type Response =
29
- operations['AuthController_refreshToken']['responses']['200']['content']['application/json'];
30
+ operations["AuthController_refreshToken"]["responses"]["200"]["content"]["application/json"];
30
31
  }
31
32
  export namespace Telegram {
32
33
  export namespace Signin {
33
- export type Request = operations['AuthTelegramController_signIn']['requestBody']['content']['application/json'];
34
+ export type Request =
35
+ operations["AuthTelegramController_signIn"]["requestBody"]["content"]["application/json"];
34
36
  export type Response =
35
- operations['AuthTelegramController_signIn']['responses']['200']['content']['application/json'];
37
+ operations["AuthTelegramController_signIn"]["responses"]["200"]["content"]["application/json"];
36
38
  }
37
39
  export namespace Signup {
38
- export type Request = operations['AuthTelegramController_signUp']['requestBody']['content']['application/json'];
40
+ export type Request =
41
+ operations["AuthTelegramController_signUp"]["requestBody"]["content"]["application/json"];
39
42
  export type Response =
40
- operations['AuthTelegramController_signUp']['responses']['200']['content']['application/json'];
43
+ operations["AuthTelegramController_signUp"]["responses"]["200"]["content"]["application/json"];
41
44
  }
42
45
  }
43
46
 
@@ -56,7 +59,8 @@ export namespace API {
56
59
 
57
60
  export namespace SignIn {
58
61
  export namespace ByType {
59
- export type Request = operations['AuthController_signIn']['requestBody']['content']['application/json'];
62
+ export type Request =
63
+ operations["AuthController_signIn"]["requestBody"]["content"]["application/json"];
60
64
  }
61
65
 
62
66
  export namespace Omni {
@@ -85,7 +89,8 @@ export namespace API {
85
89
 
86
90
  export namespace SignUp {
87
91
  export namespace ByType {
88
- export type Request = operations['AuthController_signUp']['requestBody']['content']['application/json'];
92
+ export type Request =
93
+ operations["AuthController_signUp"]["requestBody"]["content"]["application/json"];
89
94
  }
90
95
 
91
96
  export namespace Password {
@@ -104,14 +109,19 @@ export namespace API {
104
109
  // }
105
110
 
106
111
  export namespace VerifyOtp {
107
- export type Response = { access_token: string; refresh_token: string; error?: string };
112
+ export type Response = {
113
+ access_token: string;
114
+ refresh_token: string;
115
+ error?: string;
116
+ };
108
117
  }
109
118
  }
110
119
  export namespace BankData {
111
120
  export namespace GetBankDataByAccountNumber {
112
- export type Request = operations['BankDataController_getBankDataByAccountNumber']['parameters']['query'];
121
+ export type Request =
122
+ operations["BankDataController_getBankDataByAccountNumber"]["parameters"]["query"];
113
123
  export type Response =
114
- operations['BankDataController_getBankDataByAccountNumber']['responses']['200']['content']['application/json'];
124
+ operations["BankDataController_getBankDataByAccountNumber"]["responses"]["200"]["content"]["application/json"];
115
125
  }
116
126
  }
117
127
 
@@ -267,20 +277,29 @@ export namespace API {
267
277
  export namespace CardsList {
268
278
  export namespace Request {
269
279
  export type CardsListSortingFields = Partial<
270
- Pick<IssuingCardListItem, 'created_at' | 'card_status' | 'last4' | 'nick_name' | 'name_on_card' | 'card_id'>
280
+ Pick<
281
+ IssuingCardListItem,
282
+ | "created_at"
283
+ | "card_status"
284
+ | "last4"
285
+ | "nick_name"
286
+ | "name_on_card"
287
+ | "card_id"
288
+ >
271
289
  >;
272
290
  export type CardsListFilteringFields = Partial<IssuingCardListItem>;
273
291
 
274
- export type CardsListRequestCommonParams = API.Common.Pagination.Request &
275
- API.Common.Sorting.Request<CardsListSortingFields> &
276
- API.Common.Filtering.Request<CardsListFilteringFields>;
292
+ export type CardsListRequestCommonParams =
293
+ API.Common.Pagination.Request &
294
+ API.Common.Sorting.Request<CardsListSortingFields> &
295
+ API.Common.Filtering.Request<CardsListFilteringFields>;
277
296
 
278
297
  export interface ByWalletUuid extends CardsListRequestCommonParams {
279
298
  wallet_uuid: string;
280
299
  }
281
300
 
282
301
  export interface BySubaccountAndWalletUuid extends ByWalletUuid {
283
- filter?: Record<'fiat_account', Record<'type', SubAccountType>>;
302
+ filter?: Record<"fiat_account", Record<"type", SubAccountType>>;
284
303
  }
285
304
 
286
305
  export type BySubAccountAndWalletId = ByWalletUuid & {
@@ -470,7 +489,8 @@ export namespace API {
470
489
  memo?: string;
471
490
  }
472
491
 
473
- export interface DestinationListItemWithExternalBankingData extends DestinationListItemCommonFields {
492
+ export interface DestinationListItemWithExternalBankingData
493
+ extends DestinationListItemCommonFields {
474
494
  type:
475
495
  | CounterpartyDestinationType.DOMESTIC_WIRE
476
496
  | CounterpartyDestinationType.ACH
@@ -480,8 +500,11 @@ export namespace API {
480
500
  external_crypto_data?: never;
481
501
  }
482
502
 
483
- export interface DestinationListItemWithExternalCryptoData extends DestinationListItemCommonFields {
484
- type: CounterpartyDestinationType.CRYPTO_EXTERNAL | CounterpartyDestinationType.CRYPTO_INTERNAL;
503
+ export interface DestinationListItemWithExternalCryptoData
504
+ extends DestinationListItemCommonFields {
505
+ type:
506
+ | CounterpartyDestinationType.CRYPTO_EXTERNAL
507
+ | CounterpartyDestinationType.CRYPTO_INTERNAL;
485
508
  external_banking_data?: never;
486
509
  external_crypto_data: DestinationListItemExternalCryptoData;
487
510
  }
@@ -497,7 +520,7 @@ export namespace API {
497
520
  offset?: number;
498
521
  search?: string;
499
522
  type?: CounterpartyDestinationType | string;
500
- sort_by?: 'created_at' | 'nickname' | 'type';
523
+ sort_by?: "created_at" | "nickname" | "type";
501
524
  sort_order?: SortingDirection;
502
525
  filter?: {
503
526
  type?: CounterpartyDestinationType;
@@ -517,19 +540,22 @@ export namespace API {
517
540
  API.Counterparties.Destination.List.DestinationListItemCommonFields;
518
541
 
519
542
  export interface DestinationDetailItemExternalBankingData
520
- extends API.Counterparties.Destination.List.DestinationListItemExternalBankingData {
521
- address: API.Counterparties.Destination.List.DestinationListItemExternalBankingData['address'] & {
543
+ extends API.Counterparties.Destination.List
544
+ .DestinationListItemExternalBankingData {
545
+ address: API.Counterparties.Destination.List.DestinationListItemExternalBankingData["address"] & {
522
546
  country?: API.Location.Countries.Country;
523
547
  state?: API.Location.States.State;
524
548
  };
525
549
  }
526
550
 
527
551
  export interface DestinationDetailItemExternalCryptoData
528
- extends API.Counterparties.Destination.List.DestinationListItemExternalCryptoData {
552
+ extends API.Counterparties.Destination.List
553
+ .DestinationListItemExternalCryptoData {
529
554
  currency: API.Currencies.Currency;
530
555
  }
531
556
 
532
- export interface DestinationDetailItemWithExternalBankingData extends DestinationDetailItemCommonFields {
557
+ export interface DestinationDetailItemWithExternalBankingData
558
+ extends DestinationDetailItemCommonFields {
533
559
  type:
534
560
  | CounterpartyDestinationType.DOMESTIC_WIRE
535
561
  | CounterpartyDestinationType.ACH
@@ -539,8 +565,11 @@ export namespace API {
539
565
  external_crypto_data?: never;
540
566
  }
541
567
 
542
- export interface DestinationDetailItemWithExternalCryptoData extends DestinationDetailItemCommonFields {
543
- type: CounterpartyDestinationType.CRYPTO_EXTERNAL | CounterpartyDestinationType.CRYPTO_INTERNAL;
568
+ export interface DestinationDetailItemWithExternalCryptoData
569
+ extends DestinationDetailItemCommonFields {
570
+ type:
571
+ | CounterpartyDestinationType.CRYPTO_EXTERNAL
572
+ | CounterpartyDestinationType.CRYPTO_INTERNAL;
544
573
  external_banking_data?: never;
545
574
  external_crypto_data: DestinationDetailItemExternalCryptoData;
546
575
  }
@@ -574,11 +603,12 @@ export namespace API {
574
603
 
575
604
  external_crypto_data?: Pick<
576
605
  API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData,
577
- 'currency_id' | 'address' | 'memo'
606
+ "currency_id" | "address" | "memo"
578
607
  >;
579
608
  }
580
609
 
581
- export type Response = API.Counterparties.Destination.Detail.DestinationDetailItem;
610
+ export type Response =
611
+ API.Counterparties.Destination.Detail.DestinationDetailItem;
582
612
  }
583
613
 
584
614
  export namespace Delete {
@@ -597,7 +627,8 @@ export namespace API {
597
627
  nickname: string;
598
628
  }
599
629
 
600
- export type Response = API.Counterparties.Destination.Detail.DestinationDetailItemCommonFields;
630
+ export type Response =
631
+ API.Counterparties.Destination.Detail.DestinationDetailItemCommonFields;
601
632
  }
602
633
  }
603
634
 
@@ -615,7 +646,7 @@ export namespace API {
615
646
  wallet_id: string;
616
647
  offset?: number;
617
648
  limit?: number;
618
- sort_by?: 'created_at' | 'nickname' | 'type' | 'email' | 'phone';
649
+ sort_by?: "created_at" | "nickname" | "type" | "email" | "phone";
619
650
  sort_order?: SortingDirection;
620
651
  filter?: {
621
652
  type?: CounterpartyDestinationType;
@@ -632,7 +663,7 @@ export namespace API {
632
663
  }
633
664
 
634
665
  export namespace Create {
635
- export type Request = Omit<Counterparty, 'id' | 'created_at'> & {
666
+ export type Request = Omit<Counterparty, "id" | "created_at"> & {
636
667
  wallet_id: string;
637
668
  };
638
669
 
@@ -640,7 +671,7 @@ export namespace API {
640
671
  }
641
672
 
642
673
  export namespace Update {
643
- export type Request = Partial<Omit<Counterparty, 'id' | 'created_at'>> & {
674
+ export type Request = Partial<Omit<Counterparty, "id" | "created_at">> & {
644
675
  wallet_id: string;
645
676
  counterparty_account_id: string;
646
677
  };
@@ -667,7 +698,7 @@ export namespace API {
667
698
  }
668
699
  export interface CryptoCurrency extends CommonCurrencyFields {
669
700
  is_crypto: true;
670
- meta: CommonCurrencyFields['meta'] & {
701
+ meta: CommonCurrencyFields["meta"] & {
671
702
  chain_id: number;
672
703
  contract: string;
673
704
  chain_name: string;
@@ -675,7 +706,7 @@ export namespace API {
675
706
  }
676
707
  export interface FiatCurrency extends CommonCurrencyFields {
677
708
  is_crypto: false;
678
- meta: CommonCurrencyFields['meta'] & {
709
+ meta: CommonCurrencyFields["meta"] & {
679
710
  code: string;
680
711
  iso_code: number;
681
712
  sign: string;
@@ -792,6 +823,7 @@ export namespace API {
792
823
  role: APIKeyRole;
793
824
  wallet_id: string;
794
825
  created_at: string;
826
+ is_enabled: boolean;
795
827
  }
796
828
 
797
829
  export interface ExtendedKey extends Key {
@@ -1089,27 +1121,28 @@ export namespace API {
1089
1121
  }
1090
1122
 
1091
1123
  export namespace Entity {
1092
- export type Entity = components['schemas']['KycEntityDto'];
1124
+ export type Entity = components["schemas"]["KycEntityDto"];
1093
1125
  export namespace Get {
1094
- export type Request = operations['KycEntitiesController_findOne']['parameters']['path'];
1126
+ export type Request =
1127
+ operations["KycEntitiesController_findOne"]["parameters"]["path"];
1095
1128
  export type Response =
1096
- operations['KycEntitiesController_findOne']['responses']['200']['content']['application/json'];
1129
+ operations["KycEntitiesController_findOne"]["responses"]["200"]["content"]["application/json"];
1097
1130
  }
1098
1131
  }
1099
1132
  export namespace Forms {
1100
1133
  export namespace FormField {
1101
1134
  export type FormFieldType =
1102
- | 'text'
1103
- | 'email'
1104
- | 'password'
1105
- | 'radio'
1106
- | 'select'
1107
- | 'checkbox'
1108
- | 'textarea'
1109
- | 'number'
1110
- | 'date'
1111
- | 'switch'
1112
- | 'file';
1135
+ | "text"
1136
+ | "email"
1137
+ | "password"
1138
+ | "radio"
1139
+ | "select"
1140
+ | "checkbox"
1141
+ | "textarea"
1142
+ | "number"
1143
+ | "date"
1144
+ | "switch"
1145
+ | "file";
1113
1146
 
1114
1147
  export interface FormFieldValidation {
1115
1148
  pattern?: string;
@@ -1140,13 +1173,13 @@ export namespace API {
1140
1173
  }
1141
1174
 
1142
1175
  export namespace FormGroup {
1143
- export type FormGroupFieldType = 'group' | 'field';
1176
+ export type FormGroupFieldType = "group" | "field";
1144
1177
  export interface FormGroupFieldGroup {
1145
- type: 'group';
1178
+ type: "group";
1146
1179
  fields: API.KYC.Forms.FormGroup.FormGroup[];
1147
1180
  }
1148
1181
  export interface FormGroupFieldField {
1149
- type: 'field';
1182
+ type: "field";
1150
1183
  field: API.KYC.Forms.FormField.FormField;
1151
1184
  }
1152
1185
  export interface FormGroup {
@@ -1159,18 +1192,22 @@ export namespace API {
1159
1192
  }
1160
1193
 
1161
1194
  export namespace Rails {
1162
- export type RailStatus = components['schemas']['WalletKycRailDto']['status'];
1195
+ export type RailStatus =
1196
+ components["schemas"]["WalletKycRailDto"]["status"];
1163
1197
 
1164
- export type WalletRail = components['schemas']['WalletKycRailDto'];
1165
- export type WalletRailExtraActions = components['schemas']['WalletKycRailExtraActionDto'];
1198
+ export type WalletRail = components["schemas"]["WalletKycRailDto"];
1199
+ export type WalletRailExtraActions =
1200
+ components["schemas"]["WalletKycRailExtraActionDto"];
1166
1201
 
1167
- export type WalletRailTermsAndConditions = components['schemas']['WalletKycRailTermsAndConditionsDto'];
1202
+ export type WalletRailTermsAndConditions =
1203
+ components["schemas"]["WalletKycRailTermsAndConditionsDto"];
1168
1204
 
1169
1205
  export namespace RailInfo {
1170
- export type RailInfo = components['schemas']['WalletKycRailTypeDto'];
1206
+ export type RailInfo = components["schemas"]["WalletKycRailTypeDto"];
1171
1207
 
1172
1208
  export namespace SingleRail {
1173
- export type Request = operations['WalletKycRailsController_findOne']['parameters']['path'];
1209
+ export type Request =
1210
+ operations["WalletKycRailsController_findOne"]["parameters"]["path"];
1174
1211
  export type Response = RailInfo;
1175
1212
  }
1176
1213
 
@@ -1178,21 +1215,24 @@ export namespace API {
1178
1215
  export type Request = {
1179
1216
  wallet_id: string;
1180
1217
  };
1181
- export type Response = components['schemas']['GetWalletKycRailsResponseDto'];
1218
+ export type Response =
1219
+ components["schemas"]["GetWalletKycRailsResponseDto"];
1182
1220
  }
1183
1221
  }
1184
1222
 
1185
1223
  export namespace Submit {
1186
1224
  export namespace Single {
1187
- export type Request = operations['WalletKycRailsController_findOne']['parameters']['path'];
1188
- export type Response = components['schemas']['WalletKycRailTypeDto'];
1225
+ export type Request =
1226
+ operations["WalletKycRailsController_findOne"]["parameters"]["path"];
1227
+ export type Response = components["schemas"]["WalletKycRailTypeDto"];
1189
1228
  }
1190
1229
  }
1191
1230
 
1192
1231
  export namespace Terms {
1193
1232
  export namespace Confirm {
1194
- export type Request = operations['WalletKycRailsController_confirmTermsAndConditions']['parameters']['path'];
1195
- export type Response = components['schemas']['WalletKycRailTypeDto'];
1233
+ export type Request =
1234
+ operations["WalletKycRailsController_confirmTermsAndConditions"]["parameters"]["path"];
1235
+ export type Response = components["schemas"]["WalletKycRailTypeDto"];
1196
1236
  }
1197
1237
  }
1198
1238
  }
@@ -1236,10 +1276,12 @@ export namespace API {
1236
1276
  }
1237
1277
  }
1238
1278
  export namespace States {
1239
- export type State = components['schemas']['StateDto'];
1279
+ export type State = components["schemas"]["StateDto"];
1240
1280
  export namespace List {
1241
- export type Request = operations['SystemController_states']['parameters']['path'];
1242
- export type Response = operations['SystemController_states']['responses']['200']['content']['application/json'];
1281
+ export type Request =
1282
+ operations["SystemController_states"]["parameters"]["path"];
1283
+ export type Response =
1284
+ operations["SystemController_states"]["responses"]["200"]["content"]["application/json"];
1243
1285
  }
1244
1286
  }
1245
1287
  }
@@ -1261,7 +1303,7 @@ export namespace API {
1261
1303
  from_uuid: string;
1262
1304
  to_uuid: string;
1263
1305
  amount_from: number;
1264
- order_type: 'EXCHANGE_CRYPTO_INTERNAL';
1306
+ order_type: "EXCHANGE_CRYPTO_INTERNAL";
1265
1307
  status: OrderStatuses;
1266
1308
  amount_to: number;
1267
1309
  info: string;
@@ -1295,7 +1337,7 @@ export namespace API {
1295
1337
  from_uuid: string;
1296
1338
  to_uuid: string;
1297
1339
  amount_from: number;
1298
- order_type: 'TRANSFER_CARD_PREPAID';
1340
+ order_type: "TRANSFER_CARD_PREPAID";
1299
1341
  status: OrderStatuses;
1300
1342
  amount_to: number;
1301
1343
  info: string;
@@ -1331,7 +1373,7 @@ export namespace API {
1331
1373
  to_uuid: string;
1332
1374
  amount_from: number;
1333
1375
  amount_to: number;
1334
- order_type: 'HIFI_WIRE_ONRAMP';
1376
+ order_type: "HIFI_WIRE_ONRAMP";
1335
1377
  status: OrderStatuses;
1336
1378
  created_at: string;
1337
1379
  info: string;
@@ -1366,7 +1408,7 @@ export namespace API {
1366
1408
  to_uuid: string;
1367
1409
  amount_from: number;
1368
1410
  amount_to: number;
1369
- order_type: 'HIFI_ACH_ONRAMP';
1411
+ order_type: "HIFI_ACH_ONRAMP";
1370
1412
  status: OrderStatuses;
1371
1413
  created_at: string;
1372
1414
  info: string;
@@ -1401,7 +1443,7 @@ export namespace API {
1401
1443
  to_uuid: string;
1402
1444
  amount_from: number;
1403
1445
  amount_to: number;
1404
- order_type: 'HIFI_SEPA_ONRAMP';
1446
+ order_type: "HIFI_SEPA_ONRAMP";
1405
1447
  status: OrderStatuses;
1406
1448
  created_at: string;
1407
1449
  info: string;
@@ -1436,7 +1478,7 @@ export namespace API {
1436
1478
  to_uuid: string;
1437
1479
  amount_from: number;
1438
1480
  amount_to: number;
1439
- order_type: 'HIFI_WIRE_OFFRAMP';
1481
+ order_type: "HIFI_WIRE_OFFRAMP";
1440
1482
  status: OrderStatuses;
1441
1483
  created_at: string;
1442
1484
  info: string;
@@ -1471,7 +1513,7 @@ export namespace API {
1471
1513
  to_uuid: string;
1472
1514
  amount_from: number;
1473
1515
  amount_to: number;
1474
- order_type: 'HIFI_ACH_OFFRAMP';
1516
+ order_type: "HIFI_ACH_OFFRAMP";
1475
1517
  status: OrderStatuses;
1476
1518
  created_at: string;
1477
1519
  info: string;
@@ -1528,7 +1570,7 @@ export namespace API {
1528
1570
  from_uuid: string;
1529
1571
  to_uuid: string;
1530
1572
  amount_from: number;
1531
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
1573
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
1532
1574
  status: OrderStatuses;
1533
1575
  amount_to: number;
1534
1576
  info: string;
@@ -1665,7 +1707,7 @@ export namespace API {
1665
1707
  network_fee: number;
1666
1708
  transaction_fee: number;
1667
1709
  rate: number;
1668
- direction: 'c2f' | 'f2c' | 'c2c';
1710
+ direction: "c2f" | "f2c" | "c2c";
1669
1711
  }
1670
1712
  }
1671
1713
 
@@ -1678,7 +1720,7 @@ export namespace API {
1678
1720
  id: string;
1679
1721
  transaction_type: string;
1680
1722
  description: string | null;
1681
- direction: 'deposit' | 'withdrawal';
1723
+ direction: "deposit" | "withdrawal";
1682
1724
  is_internal: boolean;
1683
1725
  // kyc_rails_id: string | null; // deprecated use order_types_kyc_rails instead
1684
1726
  order_types_kyc_rails: OrderTypeKycRail[];
@@ -1829,7 +1871,7 @@ export namespace API {
1829
1871
  network_fee: number;
1830
1872
  transaction_fee: number;
1831
1873
  rate: number;
1832
- direction: 'c2f' | 'f2c' | 'c2c';
1874
+ direction: "c2f" | "f2c" | "c2c";
1833
1875
  }
1834
1876
  }
1835
1877
 
@@ -1869,7 +1911,7 @@ export namespace API {
1869
1911
  to_uuid: string;
1870
1912
  amount_from: number;
1871
1913
  amount_to: number;
1872
- order_type: 'HIFI_WIRE_ONRAMP';
1914
+ order_type: "HIFI_WIRE_ONRAMP";
1873
1915
  status: OrderStatuses;
1874
1916
  created_at: string;
1875
1917
  info: string;
@@ -1908,7 +1950,7 @@ export namespace API {
1908
1950
  to_uuid: string;
1909
1951
  amount_from: number;
1910
1952
  amount_to: number;
1911
- order_type: 'HIFI_ACH_ONRAMP';
1953
+ order_type: "HIFI_ACH_ONRAMP";
1912
1954
  status: OrderStatuses;
1913
1955
  created_at: string;
1914
1956
  info: string;
@@ -1947,7 +1989,7 @@ export namespace API {
1947
1989
  to_uuid: string;
1948
1990
  amount_from: number;
1949
1991
  amount_to: number;
1950
- order_type: 'HIFI_SEPA_ONRAMP';
1992
+ order_type: "HIFI_SEPA_ONRAMP";
1951
1993
  status: OrderStatuses;
1952
1994
  created_at: string;
1953
1995
  info: string;
@@ -1987,7 +2029,7 @@ export namespace API {
1987
2029
  to_uuid: string;
1988
2030
  amount_from: number;
1989
2031
  amount_to: number;
1990
- order_type: 'HIFI_WIRE_OFFRAMP';
2032
+ order_type: "HIFI_WIRE_OFFRAMP";
1991
2033
  status: OrderStatuses;
1992
2034
  created_at: string;
1993
2035
  info: string;
@@ -2027,7 +2069,7 @@ export namespace API {
2027
2069
  to_uuid: string;
2028
2070
  amount_from: number;
2029
2071
  amount_to: number;
2030
- order_type: 'HIFI_ACH_OFFRAMP';
2072
+ order_type: "HIFI_ACH_OFFRAMP";
2031
2073
  status: OrderStatuses;
2032
2074
  created_at: string;
2033
2075
  info: string;
@@ -2067,7 +2109,7 @@ export namespace API {
2067
2109
  to_uuid: string;
2068
2110
  amount_from: number;
2069
2111
  amount_to: number;
2070
- order_type: 'HIFI_SEPA_OFFRAMP';
2112
+ order_type: "HIFI_SEPA_OFFRAMP";
2071
2113
  status: OrderStatuses;
2072
2114
  created_at: string;
2073
2115
  info: string;
@@ -2104,7 +2146,7 @@ export namespace API {
2104
2146
  to_uuid: string;
2105
2147
  amount_from: number;
2106
2148
  amount_to: number;
2107
- order_type: 'HIFI_SEPA_OFFRAMP';
2149
+ order_type: "HIFI_SEPA_OFFRAMP";
2108
2150
  status: OrderStatuses;
2109
2151
  created_at: string;
2110
2152
  info: string;
@@ -2143,7 +2185,7 @@ export namespace API {
2143
2185
  from_uuid: string;
2144
2186
  to_uuid: string;
2145
2187
  amount_from: number;
2146
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
2188
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
2147
2189
  status: OrderStatuses;
2148
2190
  amount_to: number;
2149
2191
  info: string;
@@ -2183,7 +2225,7 @@ export namespace API {
2183
2225
  from_uuid: string;
2184
2226
  to_uuid: string;
2185
2227
  amount_from: number;
2186
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
2228
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
2187
2229
  status: OrderStatuses;
2188
2230
  amount_to: number;
2189
2231
  info: string;
@@ -2223,7 +2265,7 @@ export namespace API {
2223
2265
  from_uuid: string;
2224
2266
  to_uuid: string;
2225
2267
  amount_from: number;
2226
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
2268
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
2227
2269
  status: OrderStatuses;
2228
2270
  amount_to: number;
2229
2271
  info: string;
@@ -2262,7 +2304,7 @@ export namespace API {
2262
2304
  to_uuid: string;
2263
2305
  amount_from: number;
2264
2306
  amount_to: number;
2265
- order_type: 'RN_CARDS_OFFRAMP';
2307
+ order_type: "RN_CARDS_OFFRAMP";
2266
2308
  status: OrderStatuses;
2267
2309
  created_at: string;
2268
2310
  info: string;
@@ -2290,7 +2332,7 @@ export namespace API {
2290
2332
  id: string;
2291
2333
  transaction_type: string;
2292
2334
  description: string | null;
2293
- direction: 'deposit' | 'withdrawal';
2335
+ direction: "deposit" | "withdrawal";
2294
2336
  is_internal: boolean;
2295
2337
  kyc_rails_id: string | null;
2296
2338
  payment_method: OrderType | string;
@@ -2305,24 +2347,32 @@ export namespace API {
2305
2347
 
2306
2348
  export namespace Persona {
2307
2349
  export namespace Inquiries {
2308
- export type InquiryType = operations['PersonaController_initInquiry']['parameters']['path']['type'];
2350
+ export type InquiryType =
2351
+ operations["PersonaController_initInquiry"]["parameters"]["path"]["type"];
2309
2352
  export namespace Init {
2310
- export type Request = operations['PersonaController_initInquiry']['parameters']['path'];
2353
+ export type Request =
2354
+ operations["PersonaController_initInquiry"]["parameters"]["path"];
2311
2355
  export type Response =
2312
- operations['PersonaController_initInquiry']['responses']['200']['content']['application/json'];
2356
+ operations["PersonaController_initInquiry"]["responses"]["200"]["content"]["application/json"];
2313
2357
  }
2314
2358
  export namespace Resume {
2315
- export type Request = operations['PersonaController_resumeInquiry']['parameters']['path'];
2359
+ export type Request =
2360
+ operations["PersonaController_resumeInquiry"]["parameters"]["path"];
2316
2361
  export type Response =
2317
- operations['PersonaController_resumeInquiry']['responses']['200']['content']['application/json'];
2362
+ operations["PersonaController_resumeInquiry"]["responses"]["200"]["content"]["application/json"];
2318
2363
  }
2319
2364
  }
2320
2365
  }
2321
2366
 
2322
2367
  export namespace TOTP {
2323
2368
  export namespace OTPVerification {
2324
- export type OTPVerificationChannelType = 'EMAIL' | 'SMS' | 'TOTP' | 'APP' | 'TG_TEST';
2325
- export type OTPVerificationStatus = 'PENDING' | 'APPROVED' | 'DENIED';
2369
+ export type OTPVerificationChannelType =
2370
+ | "EMAIL"
2371
+ | "SMS"
2372
+ | "TOTP"
2373
+ | "APP"
2374
+ | "TG_TEST";
2375
+ export type OTPVerificationStatus = "PENDING" | "APPROVED" | "DENIED";
2326
2376
  export type OTPVerificationChannelInfo = {
2327
2377
  channel: OTPVerificationChannelType;
2328
2378
  validity: number;
@@ -2668,53 +2718,56 @@ export namespace API {
2668
2718
  }
2669
2719
 
2670
2720
  export namespace User {
2671
- export type User = components['schemas']['UserEntity'];
2721
+ export type User = components["schemas"]["UserEntity"];
2672
2722
 
2673
2723
  export namespace Get {
2674
- export type Request = operations['UserController_getMe']['parameters']['query'];
2675
- export type Response = operations['UserController_getMe']['responses']['200']['content']['application/json'];
2724
+ export type Request =
2725
+ operations["UserController_getMe"]["parameters"]["query"];
2726
+ export type Response =
2727
+ operations["UserController_getMe"]["responses"]["200"]["content"]["application/json"];
2676
2728
  }
2677
2729
 
2678
2730
  export namespace UpdateUser {
2679
2731
  export namespace Phone {
2680
2732
  export namespace RequestOTP {
2681
2733
  export type Request =
2682
- operations['AuthenticatedUserController_changePhone']['requestBody']['content']['application/json'];
2734
+ operations["AuthenticatedUserController_changePhone"]["requestBody"]["content"]["application/json"];
2683
2735
  }
2684
2736
  export namespace Confirm {
2685
2737
  export type Request =
2686
- operations['AuthenticatedUserController_changePhoneNumberConfirm']['requestBody']['content']['application/json'];
2738
+ operations["AuthenticatedUserController_changePhoneNumberConfirm"]["requestBody"]["content"]["application/json"];
2687
2739
  }
2688
2740
  }
2689
2741
 
2690
2742
  export namespace Email {
2691
2743
  export namespace RequestOTP {
2692
2744
  export type Request =
2693
- operations['AuthenticatedUserController_changeEmail']['requestBody']['content']['application/json'];
2745
+ operations["AuthenticatedUserController_changeEmail"]["requestBody"]["content"]["application/json"];
2694
2746
  }
2695
2747
 
2696
2748
  export namespace Confirm {
2697
2749
  export type Request =
2698
- operations['AuthenticatedUserController_changeEmailConfirm']['requestBody']['content']['application/json'];
2750
+ operations["AuthenticatedUserController_changeEmailConfirm"]["requestBody"]["content"]["application/json"];
2699
2751
  }
2700
2752
  }
2701
2753
  }
2702
2754
 
2703
2755
  export namespace UserData {
2704
- export type UserData = components['schemas']['UserDataEntity'];
2756
+ export type UserData = components["schemas"]["UserDataEntity"];
2705
2757
 
2706
2758
  export namespace Get {
2707
- export type Request = operations['UserController_getMyUserData']['parameters']['query'];
2759
+ export type Request =
2760
+ operations["UserController_getMyUserData"]["parameters"]["query"];
2708
2761
  export type Response =
2709
- operations['UserController_getMyUserData']['responses']['200']['content']['application/json'];
2762
+ operations["UserController_getMyUserData"]["responses"]["200"]["content"]["application/json"];
2710
2763
  }
2711
2764
 
2712
2765
  export namespace Update {
2713
2766
  export type Request =
2714
- operations['UserController_updateMyUserData']['requestBody']['content']['application/json'];
2767
+ operations["UserController_updateMyUserData"]["requestBody"]["content"]["application/json"];
2715
2768
 
2716
2769
  export type Response =
2717
- operations['UserController_updateMyUserData']['responses']['200']['content']['application/json'];
2770
+ operations["UserController_updateMyUserData"]["responses"]["200"]["content"]["application/json"];
2718
2771
  }
2719
2772
  }
2720
2773
  }
@@ -2855,7 +2908,7 @@ export namespace API {
2855
2908
  wallet_uuid: string;
2856
2909
  limit: number;
2857
2910
  offset: number;
2858
- filter?: Partial<components['schemas']['TransactionsFilter']>;
2911
+ filter?: Partial<components["schemas"]["TransactionsFilter"]>;
2859
2912
  };
2860
2913
  export type Response = {
2861
2914
  total: number;
@@ -2865,7 +2918,7 @@ export namespace API {
2865
2918
  export namespace ExportCsv {
2866
2919
  export type Request = {
2867
2920
  wallet_uuid: string;
2868
- filter?: Partial<components['schemas']['TransactionsFilter']>;
2921
+ filter?: Partial<components["schemas"]["TransactionsFilter"]>;
2869
2922
  };
2870
2923
  export type Response = string;
2871
2924
  }