squarefi-bff-api-module 1.10.1 → 1.10.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/types.d.ts +2 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.js +6 -1
- package/package.json +1 -1
- package/src/api/types.ts +2 -0
- package/src/constants.ts +5 -0
package/dist/api/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, KYCStatuses, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionType } from '../constants';
|
|
1
|
+
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus, KYCStatuses, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionType } from '../constants';
|
|
2
2
|
import { WalletType } from '../';
|
|
3
3
|
export declare namespace API {
|
|
4
4
|
namespace Auth {
|
|
@@ -115,6 +115,7 @@ export declare namespace API {
|
|
|
115
115
|
card_issuing_fee: number | null;
|
|
116
116
|
card_monthly_fee: number | null;
|
|
117
117
|
initial_topup: number | null;
|
|
118
|
+
status?: IssuingProgramStatus | string;
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
121
|
interface User {
|
package/dist/constants.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ export declare enum CardStatus {
|
|
|
117
117
|
CANCELED = "CANCELED",
|
|
118
118
|
CLOSED = "CLOSED"
|
|
119
119
|
}
|
|
120
|
+
export declare enum IssuingProgramStatus {
|
|
121
|
+
ACTIVE = "ACTIVE",
|
|
122
|
+
ARCHIVED = "ARCHIVED"
|
|
123
|
+
}
|
|
120
124
|
export declare enum FiatAccountStatus {
|
|
121
125
|
ACTIVE = "ACTIVE",
|
|
122
126
|
BLOCKED = "BLOCKED",
|
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CounterpartyDestinationType = exports.CounterpartyType = exports.SortingDirection = exports.APIKeyRole = exports.OrderType = exports.CurrencyType = exports.SubAccountType = exports.FiatAccountStatus = exports.CardStatus = exports.OrderStatuses = exports.KYCStatuses = exports.defaultPaginationParams = exports.walletType = exports.WalletTypeValues = exports.ResponseStatus = exports.RequestLoadingType = exports.RequestStatus = exports.WalletTransactionRecordType = exports.WalletTransactionMethod = exports.WalletTransactionType = exports.CardTransactionType = exports.CardType = exports.CardFormFactor = exports.AppEnviroment = exports.falsyValues = void 0;
|
|
3
|
+
exports.CounterpartyDestinationType = exports.CounterpartyType = exports.SortingDirection = exports.APIKeyRole = exports.OrderType = exports.CurrencyType = exports.SubAccountType = exports.FiatAccountStatus = exports.IssuingProgramStatus = exports.CardStatus = exports.OrderStatuses = exports.KYCStatuses = exports.defaultPaginationParams = exports.walletType = exports.WalletTypeValues = exports.ResponseStatus = exports.RequestLoadingType = exports.RequestStatus = exports.WalletTransactionRecordType = exports.WalletTransactionMethod = exports.WalletTransactionType = exports.CardTransactionType = exports.CardType = exports.CardFormFactor = exports.AppEnviroment = exports.falsyValues = void 0;
|
|
4
4
|
exports.falsyValues = ['false', '0', '', 'FALSE', false, null, undefined, NaN, 0];
|
|
5
5
|
var AppEnviroment;
|
|
6
6
|
(function (AppEnviroment) {
|
|
@@ -135,6 +135,11 @@ var CardStatus;
|
|
|
135
135
|
CardStatus["CANCELED"] = "CANCELED";
|
|
136
136
|
CardStatus["CLOSED"] = "CLOSED";
|
|
137
137
|
})(CardStatus || (exports.CardStatus = CardStatus = {}));
|
|
138
|
+
var IssuingProgramStatus;
|
|
139
|
+
(function (IssuingProgramStatus) {
|
|
140
|
+
IssuingProgramStatus["ACTIVE"] = "ACTIVE";
|
|
141
|
+
IssuingProgramStatus["ARCHIVED"] = "ARCHIVED";
|
|
142
|
+
})(IssuingProgramStatus || (exports.IssuingProgramStatus = IssuingProgramStatus = {}));
|
|
138
143
|
var FiatAccountStatus;
|
|
139
144
|
(function (FiatAccountStatus) {
|
|
140
145
|
FiatAccountStatus["ACTIVE"] = "ACTIVE";
|
package/package.json
CHANGED
package/src/api/types.ts
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
CounterpartyDestinationType,
|
|
8
8
|
CounterpartyType,
|
|
9
9
|
CurrencyType,
|
|
10
|
+
IssuingProgramStatus,
|
|
10
11
|
KYCStatuses,
|
|
11
12
|
OrderStatuses,
|
|
12
13
|
OrderType,
|
|
@@ -142,6 +143,7 @@ export namespace API {
|
|
|
142
143
|
card_issuing_fee: number | null;
|
|
143
144
|
card_monthly_fee: number | null;
|
|
144
145
|
initial_topup: number | null;
|
|
146
|
+
status?: IssuingProgramStatus | string;
|
|
145
147
|
}
|
|
146
148
|
}
|
|
147
149
|
export interface User {
|
package/src/constants.ts
CHANGED