squarefi-bff-api-module 1.23.0 → 1.23.2
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/list.d.ts +3 -0
- package/dist/api/list.js +3 -0
- package/dist/api/types/autogen/apiV2.types.d.ts +103 -8
- package/dist/api/types/types.d.ts +19 -2
- package/package.json +1 -1
- package/src/api/list.ts +4 -0
- package/src/api/types/autogen/apiV2.types.ts +103 -8
- package/src/api/types/types.ts +19 -2
package/dist/api/list.d.ts
CHANGED
|
@@ -10,4 +10,7 @@ export declare const list: {
|
|
|
10
10
|
countries: {
|
|
11
11
|
getAll: (params?: AxiosRequestConfig) => Promise<API.Location.Countries.List.Response>;
|
|
12
12
|
};
|
|
13
|
+
states: {
|
|
14
|
+
getAll: ({ country_id }: API.Location.States.List.Request) => Promise<API.Location.States.List.Response>;
|
|
15
|
+
};
|
|
13
16
|
};
|
package/dist/api/list.js
CHANGED
|
@@ -13,4 +13,7 @@ exports.list = {
|
|
|
13
13
|
countries: {
|
|
14
14
|
getAll: (params) => apiClientFactory_1.apiClientV2.getRequest('/system/countries', params),
|
|
15
15
|
},
|
|
16
|
+
states: {
|
|
17
|
+
getAll: ({ country_id }) => apiClientFactory_1.apiClientV2.getRequest(`/system/states/${country_id}`),
|
|
18
|
+
},
|
|
16
19
|
};
|
|
@@ -898,6 +898,23 @@ export interface paths {
|
|
|
898
898
|
patch?: never;
|
|
899
899
|
trace?: never;
|
|
900
900
|
};
|
|
901
|
+
"/system/states/{country_id}": {
|
|
902
|
+
parameters: {
|
|
903
|
+
query?: never;
|
|
904
|
+
header?: never;
|
|
905
|
+
path?: never;
|
|
906
|
+
cookie?: never;
|
|
907
|
+
};
|
|
908
|
+
/** List of states of country */
|
|
909
|
+
get: operations["SystemController_states"];
|
|
910
|
+
put?: never;
|
|
911
|
+
post?: never;
|
|
912
|
+
delete?: never;
|
|
913
|
+
options?: never;
|
|
914
|
+
head?: never;
|
|
915
|
+
patch?: never;
|
|
916
|
+
trace?: never;
|
|
917
|
+
};
|
|
901
918
|
"/system/exchange-rates": {
|
|
902
919
|
parameters: {
|
|
903
920
|
query?: never;
|
|
@@ -1913,6 +1930,24 @@ export interface components {
|
|
|
1913
1930
|
type?: "DOMESTIC_WIRE" | "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL";
|
|
1914
1931
|
created_at?: string;
|
|
1915
1932
|
};
|
|
1933
|
+
StateEntity: {
|
|
1934
|
+
id: number;
|
|
1935
|
+
name: string;
|
|
1936
|
+
country_id: number;
|
|
1937
|
+
country_code: string;
|
|
1938
|
+
fips_code: string | null;
|
|
1939
|
+
iso2: string | null;
|
|
1940
|
+
type: string | null;
|
|
1941
|
+
level: number | null;
|
|
1942
|
+
parent_id: number | null;
|
|
1943
|
+
native: string | null;
|
|
1944
|
+
latitude: number | null;
|
|
1945
|
+
longitude: number | null;
|
|
1946
|
+
created_at: string | null;
|
|
1947
|
+
updated_at: string;
|
|
1948
|
+
flag: number;
|
|
1949
|
+
wikiDataId: string | null;
|
|
1950
|
+
};
|
|
1916
1951
|
AddressEntity: {
|
|
1917
1952
|
id?: string;
|
|
1918
1953
|
city?: string | null;
|
|
@@ -1922,13 +1957,16 @@ export interface components {
|
|
|
1922
1957
|
street1?: string | null;
|
|
1923
1958
|
street2?: string | null;
|
|
1924
1959
|
description?: string | null;
|
|
1960
|
+
state_id?: number | null;
|
|
1961
|
+
readonly state?: components["schemas"]["StateEntity"] | null;
|
|
1925
1962
|
};
|
|
1926
1963
|
CounterpartyExternalBankingDataDto: {
|
|
1927
|
-
account_number
|
|
1928
|
-
routing_number
|
|
1964
|
+
account_number?: string | null;
|
|
1965
|
+
routing_number?: string | null;
|
|
1929
1966
|
bank_name: string | null;
|
|
1930
1967
|
note: string | null;
|
|
1931
|
-
swift_bic
|
|
1968
|
+
swift_bic?: string | null;
|
|
1969
|
+
iban?: string | null;
|
|
1932
1970
|
address?: components["schemas"]["AddressEntity"];
|
|
1933
1971
|
};
|
|
1934
1972
|
CryptoEntity: {
|
|
@@ -1959,8 +1997,8 @@ export interface components {
|
|
|
1959
1997
|
/** @enum {string} */
|
|
1960
1998
|
type: "DOMESTIC_WIRE" | "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL";
|
|
1961
1999
|
created_at: string;
|
|
1962
|
-
external_banking_data
|
|
1963
|
-
external_crypto_data
|
|
2000
|
+
external_banking_data?: components["schemas"]["CounterpartyExternalBankingDataDto"];
|
|
2001
|
+
external_crypto_data?: components["schemas"]["CounterpartyExternalCryptoDataDto"];
|
|
1964
2002
|
};
|
|
1965
2003
|
FindAllCounterpartyDestinationsResponseDto: {
|
|
1966
2004
|
/** @example 20 */
|
|
@@ -1975,13 +2013,15 @@ export interface components {
|
|
|
1975
2013
|
street1?: string | null;
|
|
1976
2014
|
street2?: string | null;
|
|
1977
2015
|
description?: string | null;
|
|
2016
|
+
state_id?: number | null;
|
|
1978
2017
|
};
|
|
1979
2018
|
CreateCounterpartyExternalBankingDataDto: {
|
|
1980
|
-
account_number
|
|
1981
|
-
routing_number
|
|
2019
|
+
account_number?: string | null;
|
|
2020
|
+
routing_number?: string | null;
|
|
1982
2021
|
bank_name: string | null;
|
|
1983
2022
|
note: string | null;
|
|
1984
|
-
swift_bic
|
|
2023
|
+
swift_bic?: string | null;
|
|
2024
|
+
iban?: string | null;
|
|
1985
2025
|
address?: components["schemas"]["CreateCounterpartyExternalBankingDataAddressDto"];
|
|
1986
2026
|
};
|
|
1987
2027
|
CreateCounterpartyExternalCryptoDataDto: {
|
|
@@ -2019,6 +2059,28 @@ export interface components {
|
|
|
2019
2059
|
total: number;
|
|
2020
2060
|
data: components["schemas"]["CountryDto"][];
|
|
2021
2061
|
};
|
|
2062
|
+
StateDto: {
|
|
2063
|
+
id: number;
|
|
2064
|
+
name: string;
|
|
2065
|
+
country_id: number;
|
|
2066
|
+
country_code: string;
|
|
2067
|
+
fips_code: string | null;
|
|
2068
|
+
iso2: string | null;
|
|
2069
|
+
type: string | null;
|
|
2070
|
+
level: number | null;
|
|
2071
|
+
parent_id: number | null;
|
|
2072
|
+
native: string | null;
|
|
2073
|
+
latitude: number | null;
|
|
2074
|
+
longitude: number | null;
|
|
2075
|
+
created_at: string | null;
|
|
2076
|
+
updated_at: string;
|
|
2077
|
+
flag: number;
|
|
2078
|
+
wikiDataId: string | null;
|
|
2079
|
+
};
|
|
2080
|
+
SystemStatesResponseDto: {
|
|
2081
|
+
total: number;
|
|
2082
|
+
data: components["schemas"]["StateDto"][];
|
|
2083
|
+
};
|
|
2022
2084
|
SystemExchangeRatesResponseDto: {
|
|
2023
2085
|
total: number;
|
|
2024
2086
|
data: components["schemas"]["ExchangeRateDto"][];
|
|
@@ -3989,6 +4051,7 @@ export interface operations {
|
|
|
3989
4051
|
header?: never;
|
|
3990
4052
|
path: {
|
|
3991
4053
|
counterparty_account_id: string;
|
|
4054
|
+
wallet_id: unknown;
|
|
3992
4055
|
};
|
|
3993
4056
|
cookie?: never;
|
|
3994
4057
|
};
|
|
@@ -4030,6 +4093,7 @@ export interface operations {
|
|
|
4030
4093
|
header?: never;
|
|
4031
4094
|
path: {
|
|
4032
4095
|
counterparty_account_id: string;
|
|
4096
|
+
wallet_id: unknown;
|
|
4033
4097
|
};
|
|
4034
4098
|
cookie?: never;
|
|
4035
4099
|
};
|
|
@@ -4076,6 +4140,7 @@ export interface operations {
|
|
|
4076
4140
|
path: {
|
|
4077
4141
|
counterparty_account_id: string;
|
|
4078
4142
|
counterparty_destination_id: string;
|
|
4143
|
+
wallet_id: unknown;
|
|
4079
4144
|
};
|
|
4080
4145
|
cookie?: never;
|
|
4081
4146
|
};
|
|
@@ -4118,6 +4183,7 @@ export interface operations {
|
|
|
4118
4183
|
path: {
|
|
4119
4184
|
counterparty_account_id: string;
|
|
4120
4185
|
counterparty_destination_id: string;
|
|
4186
|
+
wallet_id: unknown;
|
|
4121
4187
|
};
|
|
4122
4188
|
cookie?: never;
|
|
4123
4189
|
};
|
|
@@ -4160,6 +4226,7 @@ export interface operations {
|
|
|
4160
4226
|
path: {
|
|
4161
4227
|
counterparty_account_id: string;
|
|
4162
4228
|
counterparty_destination_id: string;
|
|
4229
|
+
wallet_id: unknown;
|
|
4163
4230
|
};
|
|
4164
4231
|
cookie?: never;
|
|
4165
4232
|
};
|
|
@@ -4307,6 +4374,34 @@ export interface operations {
|
|
|
4307
4374
|
};
|
|
4308
4375
|
};
|
|
4309
4376
|
};
|
|
4377
|
+
SystemController_states: {
|
|
4378
|
+
parameters: {
|
|
4379
|
+
query?: never;
|
|
4380
|
+
header?: never;
|
|
4381
|
+
path: {
|
|
4382
|
+
country_id: number;
|
|
4383
|
+
};
|
|
4384
|
+
cookie?: never;
|
|
4385
|
+
};
|
|
4386
|
+
requestBody?: never;
|
|
4387
|
+
responses: {
|
|
4388
|
+
200: {
|
|
4389
|
+
headers: {
|
|
4390
|
+
[name: string]: unknown;
|
|
4391
|
+
};
|
|
4392
|
+
content: {
|
|
4393
|
+
"application/json": components["schemas"]["SystemStatesResponseDto"];
|
|
4394
|
+
};
|
|
4395
|
+
};
|
|
4396
|
+
/** @description Invalid tenant */
|
|
4397
|
+
401: {
|
|
4398
|
+
headers: {
|
|
4399
|
+
[name: string]: unknown;
|
|
4400
|
+
};
|
|
4401
|
+
content?: never;
|
|
4402
|
+
};
|
|
4403
|
+
};
|
|
4404
|
+
};
|
|
4310
4405
|
SystemController_findAll: {
|
|
4311
4406
|
parameters: {
|
|
4312
4407
|
query: {
|
|
@@ -372,8 +372,8 @@ export declare namespace API {
|
|
|
372
372
|
namespace Counterparties {
|
|
373
373
|
interface Counterparty {
|
|
374
374
|
id: string;
|
|
375
|
-
email
|
|
376
|
-
phone
|
|
375
|
+
email: string;
|
|
376
|
+
phone: string;
|
|
377
377
|
name: string;
|
|
378
378
|
nickname?: string | null;
|
|
379
379
|
type: CounterpartyType | string;
|
|
@@ -396,6 +396,7 @@ export declare namespace API {
|
|
|
396
396
|
address: {
|
|
397
397
|
city: string;
|
|
398
398
|
country_id: number;
|
|
399
|
+
state_id: number;
|
|
399
400
|
postcode: string;
|
|
400
401
|
street1: string;
|
|
401
402
|
street2?: string;
|
|
@@ -972,6 +973,13 @@ export declare namespace API {
|
|
|
972
973
|
};
|
|
973
974
|
}
|
|
974
975
|
}
|
|
976
|
+
namespace States {
|
|
977
|
+
type State = components['schemas']['StateDto'];
|
|
978
|
+
namespace List {
|
|
979
|
+
type Request = operations['SystemController_states']['parameters']['path'];
|
|
980
|
+
type Response = operations['SystemController_states']['responses']['200']['content']['application/json'];
|
|
981
|
+
}
|
|
982
|
+
}
|
|
975
983
|
}
|
|
976
984
|
namespace Orders {
|
|
977
985
|
namespace Create {
|
|
@@ -1559,6 +1567,8 @@ export declare namespace API {
|
|
|
1559
1567
|
wallet_id: string;
|
|
1560
1568
|
from_currency_id: string;
|
|
1561
1569
|
to_currency_id: string;
|
|
1570
|
+
refference?: string;
|
|
1571
|
+
note?: string;
|
|
1562
1572
|
}
|
|
1563
1573
|
interface Response {
|
|
1564
1574
|
order_uuid: string;
|
|
@@ -1593,6 +1603,8 @@ export declare namespace API {
|
|
|
1593
1603
|
wallet_id: string;
|
|
1594
1604
|
from_currency_id: string;
|
|
1595
1605
|
to_currency_id: string;
|
|
1606
|
+
refference?: string;
|
|
1607
|
+
note?: string;
|
|
1596
1608
|
}
|
|
1597
1609
|
interface Response {
|
|
1598
1610
|
order_uuid: string;
|
|
@@ -1627,6 +1639,8 @@ export declare namespace API {
|
|
|
1627
1639
|
wallet_id: string;
|
|
1628
1640
|
from_currency_id: string;
|
|
1629
1641
|
to_currency_id: string;
|
|
1642
|
+
refference?: string;
|
|
1643
|
+
note?: string;
|
|
1630
1644
|
}
|
|
1631
1645
|
interface Response {
|
|
1632
1646
|
order_uuid: string;
|
|
@@ -1695,6 +1709,7 @@ export declare namespace API {
|
|
|
1695
1709
|
wallet_id: string;
|
|
1696
1710
|
wallet_account_id: string;
|
|
1697
1711
|
from_currency_id: string;
|
|
1712
|
+
note?: string;
|
|
1698
1713
|
}
|
|
1699
1714
|
interface Response {
|
|
1700
1715
|
created_at: string;
|
|
@@ -1731,6 +1746,7 @@ export declare namespace API {
|
|
|
1731
1746
|
wallet_id: string;
|
|
1732
1747
|
wallet_account_id: string;
|
|
1733
1748
|
from_currency_id: string;
|
|
1749
|
+
note?: string;
|
|
1734
1750
|
}
|
|
1735
1751
|
interface Response {
|
|
1736
1752
|
created_at: string;
|
|
@@ -1767,6 +1783,7 @@ export declare namespace API {
|
|
|
1767
1783
|
wallet_id: string;
|
|
1768
1784
|
wallet_account_id: string;
|
|
1769
1785
|
from_currency_id: string;
|
|
1786
|
+
note?: string;
|
|
1770
1787
|
}
|
|
1771
1788
|
interface Response {
|
|
1772
1789
|
created_at: string;
|
package/package.json
CHANGED
package/src/api/list.ts
CHANGED
|
@@ -19,4 +19,8 @@ export const list = {
|
|
|
19
19
|
getAll: (params?: AxiosRequestConfig): Promise<API.Location.Countries.List.Response> =>
|
|
20
20
|
apiClientV2.getRequest<API.Location.Countries.List.Response>('/system/countries', params),
|
|
21
21
|
},
|
|
22
|
+
states: {
|
|
23
|
+
getAll: ({ country_id }: API.Location.States.List.Request): Promise<API.Location.States.List.Response> =>
|
|
24
|
+
apiClientV2.getRequest<API.Location.States.List.Response>(`/system/states/${country_id}`),
|
|
25
|
+
},
|
|
22
26
|
};
|
|
@@ -899,6 +899,23 @@ export interface paths {
|
|
|
899
899
|
patch?: never;
|
|
900
900
|
trace?: never;
|
|
901
901
|
};
|
|
902
|
+
"/system/states/{country_id}": {
|
|
903
|
+
parameters: {
|
|
904
|
+
query?: never;
|
|
905
|
+
header?: never;
|
|
906
|
+
path?: never;
|
|
907
|
+
cookie?: never;
|
|
908
|
+
};
|
|
909
|
+
/** List of states of country */
|
|
910
|
+
get: operations["SystemController_states"];
|
|
911
|
+
put?: never;
|
|
912
|
+
post?: never;
|
|
913
|
+
delete?: never;
|
|
914
|
+
options?: never;
|
|
915
|
+
head?: never;
|
|
916
|
+
patch?: never;
|
|
917
|
+
trace?: never;
|
|
918
|
+
};
|
|
902
919
|
"/system/exchange-rates": {
|
|
903
920
|
parameters: {
|
|
904
921
|
query?: never;
|
|
@@ -1914,6 +1931,24 @@ export interface components {
|
|
|
1914
1931
|
type?: "DOMESTIC_WIRE" | "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL";
|
|
1915
1932
|
created_at?: string;
|
|
1916
1933
|
};
|
|
1934
|
+
StateEntity: {
|
|
1935
|
+
id: number;
|
|
1936
|
+
name: string;
|
|
1937
|
+
country_id: number;
|
|
1938
|
+
country_code: string;
|
|
1939
|
+
fips_code: string | null;
|
|
1940
|
+
iso2: string | null;
|
|
1941
|
+
type: string | null;
|
|
1942
|
+
level: number | null;
|
|
1943
|
+
parent_id: number | null;
|
|
1944
|
+
native: string | null;
|
|
1945
|
+
latitude: number | null;
|
|
1946
|
+
longitude: number | null;
|
|
1947
|
+
created_at: string | null;
|
|
1948
|
+
updated_at: string;
|
|
1949
|
+
flag: number;
|
|
1950
|
+
wikiDataId: string | null;
|
|
1951
|
+
};
|
|
1917
1952
|
AddressEntity: {
|
|
1918
1953
|
id?: string;
|
|
1919
1954
|
city?: string | null;
|
|
@@ -1923,13 +1958,16 @@ export interface components {
|
|
|
1923
1958
|
street1?: string | null;
|
|
1924
1959
|
street2?: string | null;
|
|
1925
1960
|
description?: string | null;
|
|
1961
|
+
state_id?: number | null;
|
|
1962
|
+
readonly state?: components["schemas"]["StateEntity"] | null;
|
|
1926
1963
|
};
|
|
1927
1964
|
CounterpartyExternalBankingDataDto: {
|
|
1928
|
-
account_number
|
|
1929
|
-
routing_number
|
|
1965
|
+
account_number?: string | null;
|
|
1966
|
+
routing_number?: string | null;
|
|
1930
1967
|
bank_name: string | null;
|
|
1931
1968
|
note: string | null;
|
|
1932
|
-
swift_bic
|
|
1969
|
+
swift_bic?: string | null;
|
|
1970
|
+
iban?: string | null;
|
|
1933
1971
|
address?: components["schemas"]["AddressEntity"];
|
|
1934
1972
|
};
|
|
1935
1973
|
CryptoEntity: {
|
|
@@ -1960,8 +1998,8 @@ export interface components {
|
|
|
1960
1998
|
/** @enum {string} */
|
|
1961
1999
|
type: "DOMESTIC_WIRE" | "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL";
|
|
1962
2000
|
created_at: string;
|
|
1963
|
-
external_banking_data
|
|
1964
|
-
external_crypto_data
|
|
2001
|
+
external_banking_data?: components["schemas"]["CounterpartyExternalBankingDataDto"];
|
|
2002
|
+
external_crypto_data?: components["schemas"]["CounterpartyExternalCryptoDataDto"];
|
|
1965
2003
|
};
|
|
1966
2004
|
FindAllCounterpartyDestinationsResponseDto: {
|
|
1967
2005
|
/** @example 20 */
|
|
@@ -1976,13 +2014,15 @@ export interface components {
|
|
|
1976
2014
|
street1?: string | null;
|
|
1977
2015
|
street2?: string | null;
|
|
1978
2016
|
description?: string | null;
|
|
2017
|
+
state_id?: number | null;
|
|
1979
2018
|
};
|
|
1980
2019
|
CreateCounterpartyExternalBankingDataDto: {
|
|
1981
|
-
account_number
|
|
1982
|
-
routing_number
|
|
2020
|
+
account_number?: string | null;
|
|
2021
|
+
routing_number?: string | null;
|
|
1983
2022
|
bank_name: string | null;
|
|
1984
2023
|
note: string | null;
|
|
1985
|
-
swift_bic
|
|
2024
|
+
swift_bic?: string | null;
|
|
2025
|
+
iban?: string | null;
|
|
1986
2026
|
address?: components["schemas"]["CreateCounterpartyExternalBankingDataAddressDto"];
|
|
1987
2027
|
};
|
|
1988
2028
|
CreateCounterpartyExternalCryptoDataDto: {
|
|
@@ -2020,6 +2060,28 @@ export interface components {
|
|
|
2020
2060
|
total: number;
|
|
2021
2061
|
data: components["schemas"]["CountryDto"][];
|
|
2022
2062
|
};
|
|
2063
|
+
StateDto: {
|
|
2064
|
+
id: number;
|
|
2065
|
+
name: string;
|
|
2066
|
+
country_id: number;
|
|
2067
|
+
country_code: string;
|
|
2068
|
+
fips_code: string | null;
|
|
2069
|
+
iso2: string | null;
|
|
2070
|
+
type: string | null;
|
|
2071
|
+
level: number | null;
|
|
2072
|
+
parent_id: number | null;
|
|
2073
|
+
native: string | null;
|
|
2074
|
+
latitude: number | null;
|
|
2075
|
+
longitude: number | null;
|
|
2076
|
+
created_at: string | null;
|
|
2077
|
+
updated_at: string;
|
|
2078
|
+
flag: number;
|
|
2079
|
+
wikiDataId: string | null;
|
|
2080
|
+
};
|
|
2081
|
+
SystemStatesResponseDto: {
|
|
2082
|
+
total: number;
|
|
2083
|
+
data: components["schemas"]["StateDto"][];
|
|
2084
|
+
};
|
|
2023
2085
|
SystemExchangeRatesResponseDto: {
|
|
2024
2086
|
total: number;
|
|
2025
2087
|
data: components["schemas"]["ExchangeRateDto"][];
|
|
@@ -3990,6 +4052,7 @@ export interface operations {
|
|
|
3990
4052
|
header?: never;
|
|
3991
4053
|
path: {
|
|
3992
4054
|
counterparty_account_id: string;
|
|
4055
|
+
wallet_id: unknown;
|
|
3993
4056
|
};
|
|
3994
4057
|
cookie?: never;
|
|
3995
4058
|
};
|
|
@@ -4031,6 +4094,7 @@ export interface operations {
|
|
|
4031
4094
|
header?: never;
|
|
4032
4095
|
path: {
|
|
4033
4096
|
counterparty_account_id: string;
|
|
4097
|
+
wallet_id: unknown;
|
|
4034
4098
|
};
|
|
4035
4099
|
cookie?: never;
|
|
4036
4100
|
};
|
|
@@ -4077,6 +4141,7 @@ export interface operations {
|
|
|
4077
4141
|
path: {
|
|
4078
4142
|
counterparty_account_id: string;
|
|
4079
4143
|
counterparty_destination_id: string;
|
|
4144
|
+
wallet_id: unknown;
|
|
4080
4145
|
};
|
|
4081
4146
|
cookie?: never;
|
|
4082
4147
|
};
|
|
@@ -4119,6 +4184,7 @@ export interface operations {
|
|
|
4119
4184
|
path: {
|
|
4120
4185
|
counterparty_account_id: string;
|
|
4121
4186
|
counterparty_destination_id: string;
|
|
4187
|
+
wallet_id: unknown;
|
|
4122
4188
|
};
|
|
4123
4189
|
cookie?: never;
|
|
4124
4190
|
};
|
|
@@ -4161,6 +4227,7 @@ export interface operations {
|
|
|
4161
4227
|
path: {
|
|
4162
4228
|
counterparty_account_id: string;
|
|
4163
4229
|
counterparty_destination_id: string;
|
|
4230
|
+
wallet_id: unknown;
|
|
4164
4231
|
};
|
|
4165
4232
|
cookie?: never;
|
|
4166
4233
|
};
|
|
@@ -4308,6 +4375,34 @@ export interface operations {
|
|
|
4308
4375
|
};
|
|
4309
4376
|
};
|
|
4310
4377
|
};
|
|
4378
|
+
SystemController_states: {
|
|
4379
|
+
parameters: {
|
|
4380
|
+
query?: never;
|
|
4381
|
+
header?: never;
|
|
4382
|
+
path: {
|
|
4383
|
+
country_id: number;
|
|
4384
|
+
};
|
|
4385
|
+
cookie?: never;
|
|
4386
|
+
};
|
|
4387
|
+
requestBody?: never;
|
|
4388
|
+
responses: {
|
|
4389
|
+
200: {
|
|
4390
|
+
headers: {
|
|
4391
|
+
[name: string]: unknown;
|
|
4392
|
+
};
|
|
4393
|
+
content: {
|
|
4394
|
+
"application/json": components["schemas"]["SystemStatesResponseDto"];
|
|
4395
|
+
};
|
|
4396
|
+
};
|
|
4397
|
+
/** @description Invalid tenant */
|
|
4398
|
+
401: {
|
|
4399
|
+
headers: {
|
|
4400
|
+
[name: string]: unknown;
|
|
4401
|
+
};
|
|
4402
|
+
content?: never;
|
|
4403
|
+
};
|
|
4404
|
+
};
|
|
4405
|
+
};
|
|
4311
4406
|
SystemController_findAll: {
|
|
4312
4407
|
parameters: {
|
|
4313
4408
|
query: {
|
package/src/api/types/types.ts
CHANGED
|
@@ -432,8 +432,8 @@ export namespace API {
|
|
|
432
432
|
export namespace Counterparties {
|
|
433
433
|
export interface Counterparty {
|
|
434
434
|
id: string;
|
|
435
|
-
email
|
|
436
|
-
phone
|
|
435
|
+
email: string;
|
|
436
|
+
phone: string;
|
|
437
437
|
name: string;
|
|
438
438
|
nickname?: string | null;
|
|
439
439
|
type: CounterpartyType | string;
|
|
@@ -457,6 +457,7 @@ export namespace API {
|
|
|
457
457
|
address: {
|
|
458
458
|
city: string;
|
|
459
459
|
country_id: number;
|
|
460
|
+
state_id: number;
|
|
460
461
|
postcode: string;
|
|
461
462
|
street1: string;
|
|
462
463
|
street2?: string;
|
|
@@ -1154,6 +1155,13 @@ export namespace API {
|
|
|
1154
1155
|
};
|
|
1155
1156
|
}
|
|
1156
1157
|
}
|
|
1158
|
+
export namespace States {
|
|
1159
|
+
export type State = components['schemas']['StateDto'];
|
|
1160
|
+
export namespace List {
|
|
1161
|
+
export type Request = operations['SystemController_states']['parameters']['path'];
|
|
1162
|
+
export type Response = operations['SystemController_states']['responses']['200']['content']['application/json'];
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1157
1165
|
}
|
|
1158
1166
|
export namespace Orders {
|
|
1159
1167
|
export namespace Create {
|
|
@@ -1877,6 +1885,8 @@ export namespace API {
|
|
|
1877
1885
|
wallet_id: string;
|
|
1878
1886
|
from_currency_id: string;
|
|
1879
1887
|
to_currency_id: string;
|
|
1888
|
+
refference?: string;
|
|
1889
|
+
note?: string;
|
|
1880
1890
|
}
|
|
1881
1891
|
|
|
1882
1892
|
export interface Response {
|
|
@@ -1913,6 +1923,8 @@ export namespace API {
|
|
|
1913
1923
|
wallet_id: string;
|
|
1914
1924
|
from_currency_id: string;
|
|
1915
1925
|
to_currency_id: string;
|
|
1926
|
+
refference?: string;
|
|
1927
|
+
note?: string;
|
|
1916
1928
|
}
|
|
1917
1929
|
|
|
1918
1930
|
export interface Response {
|
|
@@ -1949,6 +1961,8 @@ export namespace API {
|
|
|
1949
1961
|
wallet_id: string;
|
|
1950
1962
|
from_currency_id: string;
|
|
1951
1963
|
to_currency_id: string;
|
|
1964
|
+
refference?: string;
|
|
1965
|
+
note?: string;
|
|
1952
1966
|
}
|
|
1953
1967
|
|
|
1954
1968
|
export interface Response {
|
|
@@ -2020,6 +2034,7 @@ export namespace API {
|
|
|
2020
2034
|
wallet_id: string;
|
|
2021
2035
|
wallet_account_id: string;
|
|
2022
2036
|
from_currency_id: string;
|
|
2037
|
+
note?: string;
|
|
2023
2038
|
}
|
|
2024
2039
|
|
|
2025
2040
|
export interface Response {
|
|
@@ -2057,6 +2072,7 @@ export namespace API {
|
|
|
2057
2072
|
wallet_id: string;
|
|
2058
2073
|
wallet_account_id: string;
|
|
2059
2074
|
from_currency_id: string;
|
|
2075
|
+
note?: string;
|
|
2060
2076
|
}
|
|
2061
2077
|
|
|
2062
2078
|
export interface Response {
|
|
@@ -2094,6 +2110,7 @@ export namespace API {
|
|
|
2094
2110
|
wallet_id: string;
|
|
2095
2111
|
wallet_account_id: string;
|
|
2096
2112
|
from_currency_id: string;
|
|
2113
|
+
note?: string;
|
|
2097
2114
|
}
|
|
2098
2115
|
|
|
2099
2116
|
export interface Response {
|