squarefi-bff-api-module 1.24.28 → 1.24.30
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/types/types.d.ts +3 -28
- package/dist/constants.d.ts +2 -1
- package/dist/constants.js +1 -0
- package/package.json +1 -1
- package/src/api/types/types.ts +2 -28
- package/src/constants.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus,
|
|
1
|
+
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
|
|
2
2
|
import { WalletType } from '../..';
|
|
3
3
|
import { components, operations } from './autogen/apiV2.types';
|
|
4
4
|
export declare namespace API {
|
|
@@ -21,31 +21,6 @@ export declare namespace API {
|
|
|
21
21
|
access_token: string;
|
|
22
22
|
refresh_token: string;
|
|
23
23
|
}
|
|
24
|
-
namespace UserData {
|
|
25
|
-
namespace Update {
|
|
26
|
-
interface Request {
|
|
27
|
-
default_currency: string;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
interface UserData {
|
|
31
|
-
id: number;
|
|
32
|
-
created_at: string;
|
|
33
|
-
user_id: string;
|
|
34
|
-
kyc_status: KYCStatuses | string;
|
|
35
|
-
kyc_date: string;
|
|
36
|
-
turnover_limit?: number;
|
|
37
|
-
default_currency: string;
|
|
38
|
-
tenant_id: string;
|
|
39
|
-
user_group_id: string;
|
|
40
|
-
is_developer: boolean;
|
|
41
|
-
can_invite: boolean;
|
|
42
|
-
total_turnover: {
|
|
43
|
-
onramp: number;
|
|
44
|
-
offramp: number;
|
|
45
|
-
total: number;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
24
|
namespace Update {
|
|
50
25
|
namespace Phone {
|
|
51
26
|
interface Request {
|
|
@@ -2440,8 +2415,8 @@ export declare namespace API {
|
|
|
2440
2415
|
namespace TransactionList {
|
|
2441
2416
|
type Request = {
|
|
2442
2417
|
wallet_uuid: string;
|
|
2443
|
-
limit
|
|
2444
|
-
offset
|
|
2418
|
+
limit: number;
|
|
2419
|
+
offset: number;
|
|
2445
2420
|
filter?: {
|
|
2446
2421
|
created_at?: string;
|
|
2447
2422
|
from?: string;
|
package/dist/constants.d.ts
CHANGED
|
@@ -27,7 +27,8 @@ export declare enum CardTransactionType {
|
|
|
27
27
|
FEE = "FEE",
|
|
28
28
|
DEPOSIT = "DEPOSIT",
|
|
29
29
|
WITHDRAWAL = "WITHDRAWAL",
|
|
30
|
-
PAYMENT = "PAYMENT"
|
|
30
|
+
PAYMENT = "PAYMENT",
|
|
31
|
+
PURCHASE = "PURCHASE"
|
|
31
32
|
}
|
|
32
33
|
export declare enum WalletTransactionType {
|
|
33
34
|
DEPOSIT = "deposit",
|
package/dist/constants.js
CHANGED
|
@@ -28,6 +28,7 @@ var CardTransactionType;
|
|
|
28
28
|
CardTransactionType["DEPOSIT"] = "DEPOSIT";
|
|
29
29
|
CardTransactionType["WITHDRAWAL"] = "WITHDRAWAL";
|
|
30
30
|
CardTransactionType["PAYMENT"] = "PAYMENT";
|
|
31
|
+
CardTransactionType["PURCHASE"] = "PURCHASE";
|
|
31
32
|
})(CardTransactionType || (exports.CardTransactionType = CardTransactionType = {}));
|
|
32
33
|
var WalletTransactionType;
|
|
33
34
|
(function (WalletTransactionType) {
|
package/package.json
CHANGED
package/src/api/types/types.ts
CHANGED
|
@@ -45,32 +45,6 @@ export namespace API {
|
|
|
45
45
|
access_token: string;
|
|
46
46
|
refresh_token: string;
|
|
47
47
|
}
|
|
48
|
-
export namespace UserData {
|
|
49
|
-
export namespace Update {
|
|
50
|
-
export interface Request {
|
|
51
|
-
default_currency: string;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface UserData {
|
|
56
|
-
id: number;
|
|
57
|
-
created_at: string;
|
|
58
|
-
user_id: string;
|
|
59
|
-
kyc_status: KYCStatuses | string;
|
|
60
|
-
kyc_date: string;
|
|
61
|
-
turnover_limit?: number;
|
|
62
|
-
default_currency: string;
|
|
63
|
-
tenant_id: string;
|
|
64
|
-
user_group_id: string;
|
|
65
|
-
is_developer: boolean;
|
|
66
|
-
can_invite: boolean;
|
|
67
|
-
total_turnover: {
|
|
68
|
-
onramp: number;
|
|
69
|
-
offramp: number;
|
|
70
|
-
total: number;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
48
|
|
|
75
49
|
export namespace Update {
|
|
76
50
|
export namespace Phone {
|
|
@@ -2846,8 +2820,8 @@ export namespace API {
|
|
|
2846
2820
|
export namespace TransactionList {
|
|
2847
2821
|
export type Request = {
|
|
2848
2822
|
wallet_uuid: string;
|
|
2849
|
-
limit
|
|
2850
|
-
offset
|
|
2823
|
+
limit: number;
|
|
2824
|
+
offset: number;
|
|
2851
2825
|
filter?: {
|
|
2852
2826
|
created_at?: string;
|
|
2853
2827
|
from?: string;
|