@fiado/type-kit 1.0.97 → 1.0.99

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.
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,6 +8,7 @@ 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';
11
12
  export * from './dtos/CardActivateRequest';
12
13
  export * from './dtos/CardApplicationRequest';
13
14
  export * from './dtos/CardUpdateRequest';
@@ -16,6 +17,7 @@ export * from './dtos/CardBalanceResponse';
16
17
  export * from './dtos/CardResponse';
17
18
  export * from './dtos/CardShipmentQueueMessage';
18
19
  export * from './dtos/CardShipmentUpdateRequest';
20
+ export * from './dtos/CardAdditionalRequest';
19
21
  export * from './enums/CardType';
20
22
  export * from './enums/CardUpdateKey';
21
23
  export * from './enums/IssuanceType';
package/bin/card/index.js CHANGED
@@ -25,6 +25,7 @@ __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);
28
29
  //dtos
29
30
  __exportStar(require("./dtos/CardActivateRequest"), exports);
30
31
  __exportStar(require("./dtos/CardApplicationRequest"), exports);
@@ -34,6 +35,7 @@ __exportStar(require("./dtos/CardBalanceResponse"), exports);
34
35
  __exportStar(require("./dtos/CardResponse"), exports);
35
36
  __exportStar(require("./dtos/CardShipmentQueueMessage"), exports);
36
37
  __exportStar(require("./dtos/CardShipmentUpdateRequest"), exports);
38
+ __exportStar(require("./dtos/CardAdditionalRequest"), exports);
37
39
  //enums
38
40
  __exportStar(require("./enums/CardType"), exports);
39
41
  __exportStar(require("./enums/CardUpdateKey"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -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,7 @@ 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';
13
14
 
14
15
  //dtos
15
16
  export * from './dtos/CardActivateRequest';
@@ -20,6 +21,7 @@ export * from './dtos/CardBalanceResponse';
20
21
  export * from './dtos/CardResponse';
21
22
  export * from './dtos/CardShipmentQueueMessage'
22
23
  export * from './dtos/CardShipmentUpdateRequest'
24
+ export * from './dtos/CardAdditionalRequest'
23
25
 
24
26
  //enums
25
27
  export * from './enums/CardType';