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
@@ -1,20 +1,20 @@
1
- import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
- import { WalletType } from '../..';
3
- import { components, operations } from './autogen/apiV2.types';
1
+ import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from "../../constants";
2
+ import { WalletType } from "../..";
3
+ import { components, operations } from "./autogen/apiV2.types";
4
4
  export declare namespace API {
5
5
  namespace Auth {
6
6
  namespace RefreshToken {
7
- type Request = operations['AuthController_refreshToken']['requestBody']['content']['application/json'];
8
- type Response = operations['AuthController_refreshToken']['responses']['200']['content']['application/json'];
7
+ type Request = operations["AuthController_refreshToken"]["requestBody"]["content"]["application/json"];
8
+ type Response = operations["AuthController_refreshToken"]["responses"]["200"]["content"]["application/json"];
9
9
  }
10
10
  namespace Telegram {
11
11
  namespace Signin {
12
- type Request = operations['AuthTelegramController_signIn']['requestBody']['content']['application/json'];
13
- type Response = operations['AuthTelegramController_signIn']['responses']['200']['content']['application/json'];
12
+ type Request = operations["AuthTelegramController_signIn"]["requestBody"]["content"]["application/json"];
13
+ type Response = operations["AuthTelegramController_signIn"]["responses"]["200"]["content"]["application/json"];
14
14
  }
15
15
  namespace Signup {
16
- type Request = operations['AuthTelegramController_signUp']['requestBody']['content']['application/json'];
17
- type Response = operations['AuthTelegramController_signUp']['responses']['200']['content']['application/json'];
16
+ type Request = operations["AuthTelegramController_signUp"]["requestBody"]["content"]["application/json"];
17
+ type Response = operations["AuthTelegramController_signUp"]["responses"]["200"]["content"]["application/json"];
18
18
  }
19
19
  }
20
20
  interface Tokens {
@@ -30,7 +30,7 @@ export declare namespace API {
30
30
  }
31
31
  namespace SignIn {
32
32
  namespace ByType {
33
- type Request = operations['AuthController_signIn']['requestBody']['content']['application/json'];
33
+ type Request = operations["AuthController_signIn"]["requestBody"]["content"]["application/json"];
34
34
  }
35
35
  namespace Omni {
36
36
  namespace Email {
@@ -56,7 +56,7 @@ export declare namespace API {
56
56
  }
57
57
  namespace SignUp {
58
58
  namespace ByType {
59
- type Request = operations['AuthController_signUp']['requestBody']['content']['application/json'];
59
+ type Request = operations["AuthController_signUp"]["requestBody"]["content"]["application/json"];
60
60
  }
61
61
  namespace Password {
62
62
  interface Request {
@@ -77,8 +77,8 @@ export declare namespace API {
77
77
  }
78
78
  namespace BankData {
79
79
  namespace GetBankDataByAccountNumber {
80
- type Request = operations['BankDataController_getBankDataByAccountNumber']['parameters']['query'];
81
- type Response = operations['BankDataController_getBankDataByAccountNumber']['responses']['200']['content']['application/json'];
80
+ type Request = operations["BankDataController_getBankDataByAccountNumber"]["parameters"]["query"];
81
+ type Response = operations["BankDataController_getBankDataByAccountNumber"]["responses"]["200"]["content"]["application/json"];
82
82
  }
83
83
  }
84
84
  namespace Cards {
@@ -226,14 +226,14 @@ export declare namespace API {
226
226
  }
227
227
  namespace CardsList {
228
228
  namespace Request {
229
- type CardsListSortingFields = Partial<Pick<IssuingCardListItem, 'created_at' | 'card_status' | 'last4' | 'nick_name' | 'name_on_card' | 'card_id'>>;
229
+ type CardsListSortingFields = Partial<Pick<IssuingCardListItem, "created_at" | "card_status" | "last4" | "nick_name" | "name_on_card" | "card_id">>;
230
230
  type CardsListFilteringFields = Partial<IssuingCardListItem>;
231
231
  type CardsListRequestCommonParams = API.Common.Pagination.Request & API.Common.Sorting.Request<CardsListSortingFields> & API.Common.Filtering.Request<CardsListFilteringFields>;
232
232
  interface ByWalletUuid extends CardsListRequestCommonParams {
233
233
  wallet_uuid: string;
234
234
  }
235
235
  interface BySubaccountAndWalletUuid extends ByWalletUuid {
236
- filter?: Record<'fiat_account', Record<'type', SubAccountType>>;
236
+ filter?: Record<"fiat_account", Record<"type", SubAccountType>>;
237
237
  }
238
238
  type BySubAccountAndWalletId = ByWalletUuid & {
239
239
  fiat_account_id: string;
@@ -419,7 +419,7 @@ export declare namespace API {
419
419
  offset?: number;
420
420
  search?: string;
421
421
  type?: CounterpartyDestinationType | string;
422
- sort_by?: 'created_at' | 'nickname' | 'type';
422
+ sort_by?: "created_at" | "nickname" | "type";
423
423
  sort_order?: SortingDirection;
424
424
  filter?: {
425
425
  type?: CounterpartyDestinationType;
@@ -434,13 +434,15 @@ export declare namespace API {
434
434
  }
435
435
  namespace Detail {
436
436
  type DestinationDetailItemCommonFields = API.Counterparties.Destination.List.DestinationListItemCommonFields;
437
- interface DestinationDetailItemExternalBankingData extends API.Counterparties.Destination.List.DestinationListItemExternalBankingData {
438
- address: API.Counterparties.Destination.List.DestinationListItemExternalBankingData['address'] & {
437
+ interface DestinationDetailItemExternalBankingData extends API.Counterparties.Destination.List
438
+ .DestinationListItemExternalBankingData {
439
+ address: API.Counterparties.Destination.List.DestinationListItemExternalBankingData["address"] & {
439
440
  country?: API.Location.Countries.Country;
440
441
  state?: API.Location.States.State;
441
442
  };
442
443
  }
443
- interface DestinationDetailItemExternalCryptoData extends API.Counterparties.Destination.List.DestinationListItemExternalCryptoData {
444
+ interface DestinationDetailItemExternalCryptoData extends API.Counterparties.Destination.List
445
+ .DestinationListItemExternalCryptoData {
444
446
  currency: API.Currencies.Currency;
445
447
  }
446
448
  interface DestinationDetailItemWithExternalBankingData extends DestinationDetailItemCommonFields {
@@ -475,7 +477,7 @@ export declare namespace API {
475
477
  type: CounterpartyDestinationType;
476
478
  nickname: string;
477
479
  external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
478
- external_crypto_data?: Pick<API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData, 'currency_id' | 'address' | 'memo'>;
480
+ external_crypto_data?: Pick<API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData, "currency_id" | "address" | "memo">;
479
481
  }
480
482
  type Response = API.Counterparties.Destination.Detail.DestinationDetailItem;
481
483
  }
@@ -508,7 +510,7 @@ export declare namespace API {
508
510
  wallet_id: string;
509
511
  offset?: number;
510
512
  limit?: number;
511
- sort_by?: 'created_at' | 'nickname' | 'type' | 'email' | 'phone';
513
+ sort_by?: "created_at" | "nickname" | "type" | "email" | "phone";
512
514
  sort_order?: SortingDirection;
513
515
  filter?: {
514
516
  type?: CounterpartyDestinationType;
@@ -523,13 +525,13 @@ export declare namespace API {
523
525
  };
524
526
  }
525
527
  namespace Create {
526
- type Request = Omit<Counterparty, 'id' | 'created_at'> & {
528
+ type Request = Omit<Counterparty, "id" | "created_at"> & {
527
529
  wallet_id: string;
528
530
  };
529
531
  type Response = Counterparty;
530
532
  }
531
533
  namespace Update {
532
- type Request = Partial<Omit<Counterparty, 'id' | 'created_at'>> & {
534
+ type Request = Partial<Omit<Counterparty, "id" | "created_at">> & {
533
535
  wallet_id: string;
534
536
  counterparty_account_id: string;
535
537
  };
@@ -554,7 +556,7 @@ export declare namespace API {
554
556
  }
555
557
  export interface CryptoCurrency extends CommonCurrencyFields {
556
558
  is_crypto: true;
557
- meta: CommonCurrencyFields['meta'] & {
559
+ meta: CommonCurrencyFields["meta"] & {
558
560
  chain_id: number;
559
561
  contract: string;
560
562
  chain_name: string;
@@ -562,7 +564,7 @@ export declare namespace API {
562
564
  }
563
565
  export interface FiatCurrency extends CommonCurrencyFields {
564
566
  is_crypto: false;
565
- meta: CommonCurrencyFields['meta'] & {
567
+ meta: CommonCurrencyFields["meta"] & {
566
568
  code: string;
567
569
  iso_code: number;
568
570
  sign: string;
@@ -643,6 +645,7 @@ export declare namespace API {
643
645
  role: APIKeyRole;
644
646
  wallet_id: string;
645
647
  created_at: string;
648
+ is_enabled: boolean;
646
649
  }
647
650
  interface ExtendedKey extends Key {
648
651
  key: string;
@@ -789,15 +792,15 @@ export declare namespace API {
789
792
  }
790
793
  }
791
794
  namespace Entity {
792
- type Entity = components['schemas']['KycEntityDto'];
795
+ type Entity = components["schemas"]["KycEntityDto"];
793
796
  namespace Get {
794
- type Request = operations['KycEntitiesController_findOne']['parameters']['path'];
795
- type Response = operations['KycEntitiesController_findOne']['responses']['200']['content']['application/json'];
797
+ type Request = operations["KycEntitiesController_findOne"]["parameters"]["path"];
798
+ type Response = operations["KycEntitiesController_findOne"]["responses"]["200"]["content"]["application/json"];
796
799
  }
797
800
  }
798
801
  namespace Forms {
799
802
  namespace FormField {
800
- type FormFieldType = 'text' | 'email' | 'password' | 'radio' | 'select' | 'checkbox' | 'textarea' | 'number' | 'date' | 'switch' | 'file';
803
+ type FormFieldType = "text" | "email" | "password" | "radio" | "select" | "checkbox" | "textarea" | "number" | "date" | "switch" | "file";
801
804
  interface FormFieldValidation {
802
805
  pattern?: string;
803
806
  min?: number;
@@ -825,13 +828,13 @@ export declare namespace API {
825
828
  }
826
829
  }
827
830
  namespace FormGroup {
828
- type FormGroupFieldType = 'group' | 'field';
831
+ type FormGroupFieldType = "group" | "field";
829
832
  interface FormGroupFieldGroup {
830
- type: 'group';
833
+ type: "group";
831
834
  fields: API.KYC.Forms.FormGroup.FormGroup[];
832
835
  }
833
836
  interface FormGroupFieldField {
834
- type: 'field';
837
+ type: "field";
835
838
  field: API.KYC.Forms.FormField.FormField;
836
839
  }
837
840
  interface FormGroup {
@@ -843,33 +846,33 @@ export declare namespace API {
843
846
  }
844
847
  }
845
848
  namespace Rails {
846
- type RailStatus = components['schemas']['WalletKycRailDto']['status'];
847
- type WalletRail = components['schemas']['WalletKycRailDto'];
848
- type WalletRailExtraActions = components['schemas']['WalletKycRailExtraActionDto'];
849
- type WalletRailTermsAndConditions = components['schemas']['WalletKycRailTermsAndConditionsDto'];
849
+ type RailStatus = components["schemas"]["WalletKycRailDto"]["status"];
850
+ type WalletRail = components["schemas"]["WalletKycRailDto"];
851
+ type WalletRailExtraActions = components["schemas"]["WalletKycRailExtraActionDto"];
852
+ type WalletRailTermsAndConditions = components["schemas"]["WalletKycRailTermsAndConditionsDto"];
850
853
  namespace RailInfo {
851
- type RailInfo = components['schemas']['WalletKycRailTypeDto'];
854
+ type RailInfo = components["schemas"]["WalletKycRailTypeDto"];
852
855
  namespace SingleRail {
853
- type Request = operations['WalletKycRailsController_findOne']['parameters']['path'];
856
+ type Request = operations["WalletKycRailsController_findOne"]["parameters"]["path"];
854
857
  type Response = RailInfo;
855
858
  }
856
859
  namespace List {
857
860
  type Request = {
858
861
  wallet_id: string;
859
862
  };
860
- type Response = components['schemas']['GetWalletKycRailsResponseDto'];
863
+ type Response = components["schemas"]["GetWalletKycRailsResponseDto"];
861
864
  }
862
865
  }
863
866
  namespace Submit {
864
867
  namespace Single {
865
- type Request = operations['WalletKycRailsController_findOne']['parameters']['path'];
866
- type Response = components['schemas']['WalletKycRailTypeDto'];
868
+ type Request = operations["WalletKycRailsController_findOne"]["parameters"]["path"];
869
+ type Response = components["schemas"]["WalletKycRailTypeDto"];
867
870
  }
868
871
  }
869
872
  namespace Terms {
870
873
  namespace Confirm {
871
- type Request = operations['WalletKycRailsController_confirmTermsAndConditions']['parameters']['path'];
872
- type Response = components['schemas']['WalletKycRailTypeDto'];
874
+ type Request = operations["WalletKycRailsController_confirmTermsAndConditions"]["parameters"]["path"];
875
+ type Response = components["schemas"]["WalletKycRailTypeDto"];
873
876
  }
874
877
  }
875
878
  }
@@ -911,10 +914,10 @@ export declare namespace API {
911
914
  }
912
915
  }
913
916
  namespace States {
914
- type State = components['schemas']['StateDto'];
917
+ type State = components["schemas"]["StateDto"];
915
918
  namespace List {
916
- type Request = operations['SystemController_states']['parameters']['path'];
917
- type Response = operations['SystemController_states']['responses']['200']['content']['application/json'];
919
+ type Request = operations["SystemController_states"]["parameters"]["path"];
920
+ type Response = operations["SystemController_states"]["responses"]["200"]["content"]["application/json"];
918
921
  }
919
922
  }
920
923
  }
@@ -935,7 +938,7 @@ export declare namespace API {
935
938
  from_uuid: string;
936
939
  to_uuid: string;
937
940
  amount_from: number;
938
- order_type: 'EXCHANGE_CRYPTO_INTERNAL';
941
+ order_type: "EXCHANGE_CRYPTO_INTERNAL";
939
942
  status: OrderStatuses;
940
943
  amount_to: number;
941
944
  info: string;
@@ -966,7 +969,7 @@ export declare namespace API {
966
969
  from_uuid: string;
967
970
  to_uuid: string;
968
971
  amount_from: number;
969
- order_type: 'TRANSFER_CARD_PREPAID';
972
+ order_type: "TRANSFER_CARD_PREPAID";
970
973
  status: OrderStatuses;
971
974
  amount_to: number;
972
975
  info: string;
@@ -1000,7 +1003,7 @@ export declare namespace API {
1000
1003
  to_uuid: string;
1001
1004
  amount_from: number;
1002
1005
  amount_to: number;
1003
- order_type: 'HIFI_WIRE_ONRAMP';
1006
+ order_type: "HIFI_WIRE_ONRAMP";
1004
1007
  status: OrderStatuses;
1005
1008
  created_at: string;
1006
1009
  info: string;
@@ -1033,7 +1036,7 @@ export declare namespace API {
1033
1036
  to_uuid: string;
1034
1037
  amount_from: number;
1035
1038
  amount_to: number;
1036
- order_type: 'HIFI_ACH_ONRAMP';
1039
+ order_type: "HIFI_ACH_ONRAMP";
1037
1040
  status: OrderStatuses;
1038
1041
  created_at: string;
1039
1042
  info: string;
@@ -1066,7 +1069,7 @@ export declare namespace API {
1066
1069
  to_uuid: string;
1067
1070
  amount_from: number;
1068
1071
  amount_to: number;
1069
- order_type: 'HIFI_SEPA_ONRAMP';
1072
+ order_type: "HIFI_SEPA_ONRAMP";
1070
1073
  status: OrderStatuses;
1071
1074
  created_at: string;
1072
1075
  info: string;
@@ -1099,7 +1102,7 @@ export declare namespace API {
1099
1102
  to_uuid: string;
1100
1103
  amount_from: number;
1101
1104
  amount_to: number;
1102
- order_type: 'HIFI_WIRE_OFFRAMP';
1105
+ order_type: "HIFI_WIRE_OFFRAMP";
1103
1106
  status: OrderStatuses;
1104
1107
  created_at: string;
1105
1108
  info: string;
@@ -1132,7 +1135,7 @@ export declare namespace API {
1132
1135
  to_uuid: string;
1133
1136
  amount_from: number;
1134
1137
  amount_to: number;
1135
- order_type: 'HIFI_ACH_OFFRAMP';
1138
+ order_type: "HIFI_ACH_OFFRAMP";
1136
1139
  status: OrderStatuses;
1137
1140
  created_at: string;
1138
1141
  info: string;
@@ -1185,7 +1188,7 @@ export declare namespace API {
1185
1188
  from_uuid: string;
1186
1189
  to_uuid: string;
1187
1190
  amount_from: number;
1188
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
1191
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
1189
1192
  status: OrderStatuses;
1190
1193
  amount_to: number;
1191
1194
  info: string;
@@ -1309,7 +1312,7 @@ export declare namespace API {
1309
1312
  network_fee: number;
1310
1313
  transaction_fee: number;
1311
1314
  rate: number;
1312
- direction: 'c2f' | 'f2c' | 'c2c';
1315
+ direction: "c2f" | "f2c" | "c2c";
1313
1316
  }
1314
1317
  export {};
1315
1318
  }
@@ -1322,7 +1325,7 @@ export declare namespace API {
1322
1325
  id: string;
1323
1326
  transaction_type: string;
1324
1327
  description: string | null;
1325
- direction: 'deposit' | 'withdrawal';
1328
+ direction: "deposit" | "withdrawal";
1326
1329
  is_internal: boolean;
1327
1330
  order_types_kyc_rails: OrderTypeKycRail[];
1328
1331
  payment_method: OrderType | string;
@@ -1378,7 +1381,7 @@ export declare namespace API {
1378
1381
  network_fee: number;
1379
1382
  transaction_fee: number;
1380
1383
  rate: number;
1381
- direction: 'c2f' | 'f2c' | 'c2c';
1384
+ direction: "c2f" | "f2c" | "c2c";
1382
1385
  }
1383
1386
  export {};
1384
1387
  }
@@ -1415,7 +1418,7 @@ export declare namespace API {
1415
1418
  to_uuid: string;
1416
1419
  amount_from: number;
1417
1420
  amount_to: number;
1418
- order_type: 'HIFI_WIRE_ONRAMP';
1421
+ order_type: "HIFI_WIRE_ONRAMP";
1419
1422
  status: OrderStatuses;
1420
1423
  created_at: string;
1421
1424
  info: string;
@@ -1451,7 +1454,7 @@ export declare namespace API {
1451
1454
  to_uuid: string;
1452
1455
  amount_from: number;
1453
1456
  amount_to: number;
1454
- order_type: 'HIFI_ACH_ONRAMP';
1457
+ order_type: "HIFI_ACH_ONRAMP";
1455
1458
  status: OrderStatuses;
1456
1459
  created_at: string;
1457
1460
  info: string;
@@ -1487,7 +1490,7 @@ export declare namespace API {
1487
1490
  to_uuid: string;
1488
1491
  amount_from: number;
1489
1492
  amount_to: number;
1490
- order_type: 'HIFI_SEPA_ONRAMP';
1493
+ order_type: "HIFI_SEPA_ONRAMP";
1491
1494
  status: OrderStatuses;
1492
1495
  created_at: string;
1493
1496
  info: string;
@@ -1525,7 +1528,7 @@ export declare namespace API {
1525
1528
  to_uuid: string;
1526
1529
  amount_from: number;
1527
1530
  amount_to: number;
1528
- order_type: 'HIFI_WIRE_OFFRAMP';
1531
+ order_type: "HIFI_WIRE_OFFRAMP";
1529
1532
  status: OrderStatuses;
1530
1533
  created_at: string;
1531
1534
  info: string;
@@ -1563,7 +1566,7 @@ export declare namespace API {
1563
1566
  to_uuid: string;
1564
1567
  amount_from: number;
1565
1568
  amount_to: number;
1566
- order_type: 'HIFI_ACH_OFFRAMP';
1569
+ order_type: "HIFI_ACH_OFFRAMP";
1567
1570
  status: OrderStatuses;
1568
1571
  created_at: string;
1569
1572
  info: string;
@@ -1601,7 +1604,7 @@ export declare namespace API {
1601
1604
  to_uuid: string;
1602
1605
  amount_from: number;
1603
1606
  amount_to: number;
1604
- order_type: 'HIFI_SEPA_OFFRAMP';
1607
+ order_type: "HIFI_SEPA_OFFRAMP";
1605
1608
  status: OrderStatuses;
1606
1609
  created_at: string;
1607
1610
  info: string;
@@ -1637,7 +1640,7 @@ export declare namespace API {
1637
1640
  to_uuid: string;
1638
1641
  amount_from: number;
1639
1642
  amount_to: number;
1640
- order_type: 'HIFI_SEPA_OFFRAMP';
1643
+ order_type: "HIFI_SEPA_OFFRAMP";
1641
1644
  status: OrderStatuses;
1642
1645
  created_at: string;
1643
1646
  info: string;
@@ -1674,7 +1677,7 @@ export declare namespace API {
1674
1677
  from_uuid: string;
1675
1678
  to_uuid: string;
1676
1679
  amount_from: number;
1677
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
1680
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
1678
1681
  status: OrderStatuses;
1679
1682
  amount_to: number;
1680
1683
  info: string;
@@ -1713,7 +1716,7 @@ export declare namespace API {
1713
1716
  from_uuid: string;
1714
1717
  to_uuid: string;
1715
1718
  amount_from: number;
1716
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
1719
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
1717
1720
  status: OrderStatuses;
1718
1721
  amount_to: number;
1719
1722
  info: string;
@@ -1752,7 +1755,7 @@ export declare namespace API {
1752
1755
  from_uuid: string;
1753
1756
  to_uuid: string;
1754
1757
  amount_from: number;
1755
- order_type: 'OMNIBUS_CRYPTO_WITHDRAWAL';
1758
+ order_type: "OMNIBUS_CRYPTO_WITHDRAWAL";
1756
1759
  status: OrderStatuses;
1757
1760
  amount_to: number;
1758
1761
  info: string;
@@ -1790,7 +1793,7 @@ export declare namespace API {
1790
1793
  to_uuid: string;
1791
1794
  amount_from: number;
1792
1795
  amount_to: number;
1793
- order_type: 'RN_CARDS_OFFRAMP';
1796
+ order_type: "RN_CARDS_OFFRAMP";
1794
1797
  status: OrderStatuses;
1795
1798
  created_at: string;
1796
1799
  info: string;
@@ -1817,7 +1820,7 @@ export declare namespace API {
1817
1820
  id: string;
1818
1821
  transaction_type: string;
1819
1822
  description: string | null;
1820
- direction: 'deposit' | 'withdrawal';
1823
+ direction: "deposit" | "withdrawal";
1821
1824
  is_internal: boolean;
1822
1825
  kyc_rails_id: string | null;
1823
1826
  payment_method: OrderType | string;
@@ -1830,21 +1833,21 @@ export declare namespace API {
1830
1833
  }
1831
1834
  namespace Persona {
1832
1835
  namespace Inquiries {
1833
- type InquiryType = operations['PersonaController_initInquiry']['parameters']['path']['type'];
1836
+ type InquiryType = operations["PersonaController_initInquiry"]["parameters"]["path"]["type"];
1834
1837
  namespace Init {
1835
- type Request = operations['PersonaController_initInquiry']['parameters']['path'];
1836
- type Response = operations['PersonaController_initInquiry']['responses']['200']['content']['application/json'];
1838
+ type Request = operations["PersonaController_initInquiry"]["parameters"]["path"];
1839
+ type Response = operations["PersonaController_initInquiry"]["responses"]["200"]["content"]["application/json"];
1837
1840
  }
1838
1841
  namespace Resume {
1839
- type Request = operations['PersonaController_resumeInquiry']['parameters']['path'];
1840
- type Response = operations['PersonaController_resumeInquiry']['responses']['200']['content']['application/json'];
1842
+ type Request = operations["PersonaController_resumeInquiry"]["parameters"]["path"];
1843
+ type Response = operations["PersonaController_resumeInquiry"]["responses"]["200"]["content"]["application/json"];
1841
1844
  }
1842
1845
  }
1843
1846
  }
1844
1847
  namespace TOTP {
1845
1848
  namespace OTPVerification {
1846
- type OTPVerificationChannelType = 'EMAIL' | 'SMS' | 'TOTP' | 'APP' | 'TG_TEST';
1847
- type OTPVerificationStatus = 'PENDING' | 'APPROVED' | 'DENIED';
1849
+ type OTPVerificationChannelType = "EMAIL" | "SMS" | "TOTP" | "APP" | "TG_TEST";
1850
+ type OTPVerificationStatus = "PENDING" | "APPROVED" | "DENIED";
1848
1851
  type OTPVerificationChannelInfo = {
1849
1852
  channel: OTPVerificationChannelType;
1850
1853
  validity: number;
@@ -2153,38 +2156,38 @@ export declare namespace API {
2153
2156
  }
2154
2157
  }
2155
2158
  namespace User {
2156
- type User = components['schemas']['UserEntity'];
2159
+ type User = components["schemas"]["UserEntity"];
2157
2160
  namespace Get {
2158
- type Request = operations['UserController_getMe']['parameters']['query'];
2159
- type Response = operations['UserController_getMe']['responses']['200']['content']['application/json'];
2161
+ type Request = operations["UserController_getMe"]["parameters"]["query"];
2162
+ type Response = operations["UserController_getMe"]["responses"]["200"]["content"]["application/json"];
2160
2163
  }
2161
2164
  namespace UpdateUser {
2162
2165
  namespace Phone {
2163
2166
  namespace RequestOTP {
2164
- type Request = operations['AuthenticatedUserController_changePhone']['requestBody']['content']['application/json'];
2167
+ type Request = operations["AuthenticatedUserController_changePhone"]["requestBody"]["content"]["application/json"];
2165
2168
  }
2166
2169
  namespace Confirm {
2167
- type Request = operations['AuthenticatedUserController_changePhoneNumberConfirm']['requestBody']['content']['application/json'];
2170
+ type Request = operations["AuthenticatedUserController_changePhoneNumberConfirm"]["requestBody"]["content"]["application/json"];
2168
2171
  }
2169
2172
  }
2170
2173
  namespace Email {
2171
2174
  namespace RequestOTP {
2172
- type Request = operations['AuthenticatedUserController_changeEmail']['requestBody']['content']['application/json'];
2175
+ type Request = operations["AuthenticatedUserController_changeEmail"]["requestBody"]["content"]["application/json"];
2173
2176
  }
2174
2177
  namespace Confirm {
2175
- type Request = operations['AuthenticatedUserController_changeEmailConfirm']['requestBody']['content']['application/json'];
2178
+ type Request = operations["AuthenticatedUserController_changeEmailConfirm"]["requestBody"]["content"]["application/json"];
2176
2179
  }
2177
2180
  }
2178
2181
  }
2179
2182
  namespace UserData {
2180
- type UserData = components['schemas']['UserDataEntity'];
2183
+ type UserData = components["schemas"]["UserDataEntity"];
2181
2184
  namespace Get {
2182
- type Request = operations['UserController_getMyUserData']['parameters']['query'];
2183
- type Response = operations['UserController_getMyUserData']['responses']['200']['content']['application/json'];
2185
+ type Request = operations["UserController_getMyUserData"]["parameters"]["query"];
2186
+ type Response = operations["UserController_getMyUserData"]["responses"]["200"]["content"]["application/json"];
2184
2187
  }
2185
2188
  namespace Update {
2186
- type Request = operations['UserController_updateMyUserData']['requestBody']['content']['application/json'];
2187
- type Response = operations['UserController_updateMyUserData']['responses']['200']['content']['application/json'];
2189
+ type Request = operations["UserController_updateMyUserData"]["requestBody"]["content"]["application/json"];
2190
+ type Response = operations["UserController_updateMyUserData"]["responses"]["200"]["content"]["application/json"];
2188
2191
  }
2189
2192
  }
2190
2193
  }
@@ -2314,7 +2317,7 @@ export declare namespace API {
2314
2317
  wallet_uuid: string;
2315
2318
  limit: number;
2316
2319
  offset: number;
2317
- filter?: Partial<components['schemas']['TransactionsFilter']>;
2320
+ filter?: Partial<components["schemas"]["TransactionsFilter"]>;
2318
2321
  };
2319
2322
  type Response = {
2320
2323
  total: number;
@@ -2323,7 +2326,7 @@ export declare namespace API {
2323
2326
  namespace ExportCsv {
2324
2327
  type Request = {
2325
2328
  wallet_uuid: string;
2326
- filter?: Partial<components['schemas']['TransactionsFilter']>;
2329
+ filter?: Partial<components["schemas"]["TransactionsFilter"]>;
2327
2330
  };
2328
2331
  type Response = string;
2329
2332
  }
File without changes
File without changes
package/dist/api/types.js CHANGED
File without changes
File without changes
package/dist/api/user.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/constants.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes