@fiado/type-kit 1.0.98 → 1.1.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/bin/card/dtos/Internal/AssignCardRequest.d.ts +4 -0
- package/bin/card/dtos/Internal/AssignCardRequest.js +2 -0
- package/bin/card/dtos/Internal/GetBankAccountCardResponse.d.ts +31 -0
- package/bin/card/dtos/Internal/GetBankAccountCardResponse.js +2 -0
- package/bin/card/index.d.ts +2 -0
- package/bin/card/index.js +2 -0
- package/package.json +1 -1
- package/src/card/dtos/Internal/AssignCardRequest.ts +8 -0
- package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +33 -0
- package/src/card/index.ts +2 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CountryId } from "../../../country";
|
|
2
|
+
import { Provider } from "../../../provider";
|
|
3
|
+
import { CreditOrDebit } from "../../enums/CreditOrDebit";
|
|
4
|
+
import { Status } from "../../enums/Status";
|
|
5
|
+
import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
|
|
6
|
+
export interface GetBankAccountCardResponse {
|
|
7
|
+
countryId: CountryId;
|
|
8
|
+
holder?: {
|
|
9
|
+
name?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
};
|
|
12
|
+
expirationMonth?: string;
|
|
13
|
+
expirationYear?: string;
|
|
14
|
+
mii?: string;
|
|
15
|
+
typeOfCardId?: VirtualOrPhysical;
|
|
16
|
+
creditOrDebit?: CreditOrDebit;
|
|
17
|
+
nominated?: boolean;
|
|
18
|
+
pan?: string;
|
|
19
|
+
panLastDigits?: string;
|
|
20
|
+
activationValue?: string;
|
|
21
|
+
provider: {
|
|
22
|
+
id: Provider;
|
|
23
|
+
externalUserId?: string;
|
|
24
|
+
externalCardId: string;
|
|
25
|
+
externalAccountId?: string;
|
|
26
|
+
};
|
|
27
|
+
address?: object;
|
|
28
|
+
status: Status;
|
|
29
|
+
statusDetail?: string;
|
|
30
|
+
createDate?: string;
|
|
31
|
+
}
|
package/bin/card/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './dtos/Internal/GetBankAccountShippingRequest';
|
|
|
8
8
|
export * from './dtos/Internal/GetBankAccountShippingResponse';
|
|
9
9
|
export * from './dtos/Internal/UpdateBankAccountCardRequest';
|
|
10
10
|
export * from './dtos/Internal/UpdateBankAccountCardResponse';
|
|
11
|
+
export * from './dtos/Internal/GetBankAccountCardResponse';
|
|
12
|
+
export * from './dtos/Internal/AssignCardRequest';
|
|
11
13
|
export * from './dtos/CardActivateRequest';
|
|
12
14
|
export * from './dtos/CardApplicationRequest';
|
|
13
15
|
export * from './dtos/CardUpdateRequest';
|
package/bin/card/index.js
CHANGED
|
@@ -25,6 +25,8 @@ __exportStar(require("./dtos/Internal/GetBankAccountShippingRequest"), exports);
|
|
|
25
25
|
__exportStar(require("./dtos/Internal/GetBankAccountShippingResponse"), exports);
|
|
26
26
|
__exportStar(require("./dtos/Internal/UpdateBankAccountCardRequest"), exports);
|
|
27
27
|
__exportStar(require("./dtos/Internal/UpdateBankAccountCardResponse"), exports);
|
|
28
|
+
__exportStar(require("./dtos/Internal/GetBankAccountCardResponse"), exports);
|
|
29
|
+
__exportStar(require("./dtos/Internal/AssignCardRequest"), exports);
|
|
28
30
|
//dtos
|
|
29
31
|
__exportStar(require("./dtos/CardActivateRequest"), exports);
|
|
30
32
|
__exportStar(require("./dtos/CardApplicationRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CountryId } from "../../../country";
|
|
2
|
+
import { Provider } from "../../../provider";
|
|
3
|
+
import { CreditOrDebit } from "../../enums/CreditOrDebit";
|
|
4
|
+
import { Status } from "../../enums/Status";
|
|
5
|
+
import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export interface GetBankAccountCardResponse {
|
|
9
|
+
countryId: CountryId;
|
|
10
|
+
holder?: {
|
|
11
|
+
name?: string;
|
|
12
|
+
lastName?: string;
|
|
13
|
+
};
|
|
14
|
+
expirationMonth?: string;
|
|
15
|
+
expirationYear?: string;
|
|
16
|
+
mii?: string;
|
|
17
|
+
typeOfCardId?: VirtualOrPhysical;
|
|
18
|
+
creditOrDebit?: CreditOrDebit;
|
|
19
|
+
nominated?: boolean;
|
|
20
|
+
pan?: string;
|
|
21
|
+
panLastDigits?: string;
|
|
22
|
+
activationValue?: string;
|
|
23
|
+
provider: {
|
|
24
|
+
id: Provider,
|
|
25
|
+
externalUserId?: string;
|
|
26
|
+
externalCardId: string;
|
|
27
|
+
externalAccountId?: string;
|
|
28
|
+
};
|
|
29
|
+
address?: object;
|
|
30
|
+
status: Status;
|
|
31
|
+
statusDetail?: string;
|
|
32
|
+
createDate?: string;
|
|
33
|
+
}
|
package/src/card/index.ts
CHANGED
|
@@ -10,6 +10,8 @@ export * from './dtos/Internal/GetBankAccountShippingRequest';
|
|
|
10
10
|
export * from './dtos/Internal/GetBankAccountShippingResponse';
|
|
11
11
|
export * from './dtos/Internal/UpdateBankAccountCardRequest';
|
|
12
12
|
export * from './dtos/Internal/UpdateBankAccountCardResponse';
|
|
13
|
+
export * from './dtos/Internal/GetBankAccountCardResponse';
|
|
14
|
+
export * from './dtos/Internal/AssignCardRequest';
|
|
13
15
|
|
|
14
16
|
//dtos
|
|
15
17
|
export * from './dtos/CardActivateRequest';
|