squarefi-bff-api-module 1.1.0 → 1.2.0
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/index.d.ts +2 -0
- package/dist/api/index.js +2 -0
- package/dist/api/tenants.d.ts +5 -0
- package/dist/api/tenants.js +9 -0
- package/package.json +1 -1
- package/src/api/index.ts +3 -0
- package/src/api/tenants.ts +7 -0
package/dist/api/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { issuing } from './issuing';
|
|
|
6
6
|
import { kyc } from './kyc';
|
|
7
7
|
import { list } from './list';
|
|
8
8
|
import { orders } from './orders';
|
|
9
|
+
import { tenants } from './tenants';
|
|
9
10
|
import { user } from './user';
|
|
10
11
|
import { wallets } from './wallets';
|
|
11
12
|
type Api = {
|
|
@@ -17,6 +18,7 @@ type Api = {
|
|
|
17
18
|
kyc: typeof kyc;
|
|
18
19
|
list: typeof list;
|
|
19
20
|
orders: typeof orders;
|
|
21
|
+
tenants: typeof tenants;
|
|
20
22
|
user: typeof user;
|
|
21
23
|
wallets: typeof wallets;
|
|
22
24
|
};
|
package/dist/api/index.js
CHANGED
|
@@ -9,6 +9,7 @@ const issuing_1 = require("./issuing");
|
|
|
9
9
|
const kyc_1 = require("./kyc");
|
|
10
10
|
const list_1 = require("./list");
|
|
11
11
|
const orders_1 = require("./orders");
|
|
12
|
+
const tenants_1 = require("./tenants");
|
|
12
13
|
const user_1 = require("./user");
|
|
13
14
|
const wallets_1 = require("./wallets");
|
|
14
15
|
exports.squarefiBffApiClient = {
|
|
@@ -20,6 +21,7 @@ exports.squarefiBffApiClient = {
|
|
|
20
21
|
kyc: kyc_1.kyc,
|
|
21
22
|
list: list_1.list,
|
|
22
23
|
orders: orders_1.orders,
|
|
24
|
+
tenants: tenants_1.tenants,
|
|
23
25
|
user: user_1.user,
|
|
24
26
|
wallets: wallets_1.wallets,
|
|
25
27
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tenants = void 0;
|
|
4
|
+
const apiClientFactory_1 = require("../utils/apiClientFactory");
|
|
5
|
+
exports.tenants = {
|
|
6
|
+
config: {
|
|
7
|
+
get: () => apiClientFactory_1.apiClientV2.getRequest('/tenants/config'),
|
|
8
|
+
},
|
|
9
|
+
};
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { issuing } from './issuing';
|
|
|
6
6
|
import { kyc } from './kyc';
|
|
7
7
|
import { list } from './list';
|
|
8
8
|
import { orders } from './orders';
|
|
9
|
+
import { tenants } from './tenants';
|
|
9
10
|
import { user } from './user';
|
|
10
11
|
import { wallets } from './wallets';
|
|
11
12
|
|
|
@@ -18,6 +19,7 @@ type Api = {
|
|
|
18
19
|
kyc: typeof kyc;
|
|
19
20
|
list: typeof list;
|
|
20
21
|
orders: typeof orders;
|
|
22
|
+
tenants: typeof tenants;
|
|
21
23
|
user: typeof user;
|
|
22
24
|
wallets: typeof wallets;
|
|
23
25
|
};
|
|
@@ -31,6 +33,7 @@ export const squarefiBffApiClient: Api = {
|
|
|
31
33
|
kyc,
|
|
32
34
|
list,
|
|
33
35
|
orders,
|
|
36
|
+
tenants,
|
|
34
37
|
user,
|
|
35
38
|
wallets,
|
|
36
39
|
};
|