squarefi-bff-api-module 1.17.8 → 1.17.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.
- package/CHANGELOG.md +13 -0
- package/README.md +10 -5
- package/dist/api/index.d.ts +0 -1
- package/dist/api/index.js +0 -1
- package/dist/api/types.d.ts +4 -1
- package/package.json +1 -1
- package/src/api/index.ts +0 -2
- package/src/api/types.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.17.10] - 2025-04-23
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Integrated location functionality into list module
|
|
13
|
+
- Updated README documentation to reflect module changes
|
|
14
|
+
|
|
15
|
+
## [1.17.9] - 2025-04-23
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Updated Location.Countries.List.Response type to include total count and data array
|
|
20
|
+
|
|
8
21
|
## [1.17.8] - 2025-04-23
|
|
9
22
|
|
|
10
23
|
### Changed
|
package/README.md
CHANGED
|
@@ -54,6 +54,11 @@ const cards = await squarefi_bff_api_client.issuing.cards.byWalletUuid.getAll({
|
|
|
54
54
|
const exchangeRates = await squarefi_bff_api_client.exchange.byOrderType[OrderType.DEPOSIT_FIAT_SEPA].getByFromCurrency(
|
|
55
55
|
'from_uuid'
|
|
56
56
|
);
|
|
57
|
+
|
|
58
|
+
// System operations (currencies, chains, countries)
|
|
59
|
+
const currencies = await squarefi_bff_api_client.list.currencies.getAll();
|
|
60
|
+
const chains = await squarefi_bff_api_client.list.chains.getAll();
|
|
61
|
+
const countries = await squarefi_bff_api_client.list.countries.getAll();
|
|
57
62
|
```
|
|
58
63
|
|
|
59
64
|
## 📚 Available API Modules
|
|
@@ -81,14 +86,14 @@ Access different API functionalities through the client:
|
|
|
81
86
|
- Card status management
|
|
82
87
|
- `squarefi_bff_api_client.kyc` - Know Your Customer procedures
|
|
83
88
|
- Sumsub integration
|
|
84
|
-
- `squarefi_bff_api_client.list` -
|
|
85
|
-
- Currencies list
|
|
86
|
-
- Chains list
|
|
87
|
-
-
|
|
88
|
-
- Countries list
|
|
89
|
+
- `squarefi_bff_api_client.list` - System data operations
|
|
90
|
+
- Currencies list (`/system/currencies`)
|
|
91
|
+
- Chains list (`/system/chains`)
|
|
92
|
+
- Countries list (`/system/countries`)
|
|
89
93
|
- `squarefi_bff_api_client.orders` - Order management
|
|
90
94
|
- Create orders by type
|
|
91
95
|
- Calculate exchange rates
|
|
96
|
+
- Support for INTERNAL_TRANSFER order type
|
|
92
97
|
- `squarefi_bff_api_client.tenants` - Tenant management operations
|
|
93
98
|
- Tenant configuration
|
|
94
99
|
- `squarefi_bff_api_client.user` - User profile operations
|
package/dist/api/index.d.ts
CHANGED
package/dist/api/index.js
CHANGED
package/dist/api/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -19,7 +19,6 @@ type Api = {
|
|
|
19
19
|
issuing: typeof issuing;
|
|
20
20
|
kyc: typeof kyc;
|
|
21
21
|
list: typeof list;
|
|
22
|
-
location: typeof location;
|
|
23
22
|
orders: typeof orders;
|
|
24
23
|
tenants: typeof tenants;
|
|
25
24
|
user: typeof user;
|
|
@@ -34,7 +33,6 @@ export const squarefi_bff_api_client: Api = {
|
|
|
34
33
|
issuing,
|
|
35
34
|
kyc,
|
|
36
35
|
list,
|
|
37
|
-
location,
|
|
38
36
|
orders,
|
|
39
37
|
tenants,
|
|
40
38
|
user,
|
package/src/api/types.ts
CHANGED