@fiado/type-kit 1.0.76 → 1.0.78
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/account/dtos/CreateBankAccountInput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountInput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserInput.d.ts +14 -0
- package/bin/account/dtos/CreateBankAccountUserInput.js +6 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.d.ts +8 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.js +6 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.d.ts +3 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardRequest.d.ts +16 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardRequest.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardResponse.d.ts +7 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardResponse.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.d.ts +14 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.d.ts +11 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.js +6 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingRequest.d.ts +3 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingRequest.js +6 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingResponse.d.ts +19 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingResponse.js +6 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.d.ts +20 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.js +6 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.d.ts +4 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.js +6 -0
- package/bin/card/enums/CardIssuing.d.ts +5 -0
- package/bin/card/enums/CardIssuing.js +9 -0
- package/bin/card/enums/ShippingStatus.d.ts +1 -1
- package/bin/card/enums/ShippingStatus.js +8 -8
- package/bin/card/index.d.ts +10 -1
- package/bin/card/index.js +11 -1
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
- package/bin/tern/dtos/TernAddress.d.ts +8 -0
- package/bin/tern/dtos/TernAddress.js +40 -0
- package/bin/tern/dtos/TernCreateAccountRequest.d.ts +7 -0
- package/bin/tern/dtos/TernCreateAccountRequest.js +33 -0
- package/bin/tern/dtos/TernCreateAccountResponse.d.ts +5 -0
- package/bin/tern/dtos/TernCreateAccountResponse.js +25 -0
- package/bin/tern/dtos/TernCreateUserRequest.d.ts +15 -0
- package/bin/tern/dtos/TernCreateUserRequest.js +70 -0
- package/bin/tern/dtos/TernCreateUserResponse.d.ts +8 -0
- package/bin/tern/dtos/TernCreateUserResponse.js +37 -0
- package/bin/tern/dtos/TernGetAccountRequest.d.ts +5 -0
- package/bin/tern/dtos/TernGetAccountRequest.js +25 -0
- package/bin/tern/dtos/TernGetAccountResponse.d.ts +22 -0
- package/bin/tern/dtos/TernGetAccountResponse.js +87 -0
- package/bin/tern/dtos/TernGetUserRequest.d.ts +3 -0
- package/bin/tern/dtos/TernGetUserRequest.js +20 -0
- package/bin/tern/dtos/TernGetUserResponse.d.ts +24 -0
- package/bin/tern/dtos/TernGetUserResponse.js +96 -0
- package/bin/tern/enums/TernAccountStatusEnum.d.ts +4 -0
- package/bin/tern/enums/TernAccountStatusEnum.js +8 -0
- package/bin/tern/enums/TernAccountTypeEnum.d.ts +5 -0
- package/bin/tern/enums/TernAccountTypeEnum.js +9 -0
- package/bin/tern/index.d.ts +11 -0
- package/bin/tern/index.js +29 -0
- package/package.json +1 -1
- package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +10 -0
- package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +5 -0
- package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +17 -0
- package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +9 -0
- package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +15 -0
- package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +13 -0
- package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +6 -0
- package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +20 -0
- package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +22 -0
- package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +6 -0
- package/src/card/enums/CardIssuing.ts +7 -0
- package/src/card/enums/ShippingStatus.ts +1 -1
- package/src/card/index.ts +12 -1
- package/.idea/aws.xml +0 -11
- package/.idea/fiado-type-kit.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
- package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -2
- package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
- package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
- package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
- package/.idea/sonarlint/issuestore/3/7/37a0f1ea15e5f94c2fc86540cc529be06a155756 +0 -2
- package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
- package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
- package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
- package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
- package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
- package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
- package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
- package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
- package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
- package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
- package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
- package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
- package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
- package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
- package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
- package/.idea/sonarlint/issuestore/d/3/d3d6982c02d9d56dc2122ebca0b84b00a90b67e5 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +0 -75
- package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/7/37a0f1ea15e5f94c2fc86540cc529be06a155756 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/3/d3d6982c02d9d56dc2122ebca0b84b00a90b67e5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +0 -75
- package/.idea/vcs.xml +0 -6
- package/src/card/dtos/CardCreateRequest.ts +0 -141
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AddressBase } from "../../address/dtos/AddressBase";
|
|
2
|
+
export declare class CreateBankAccountUserInput {
|
|
3
|
+
directoryId: string;
|
|
4
|
+
typeOfDirectoryId: string;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
phoneNumber: string;
|
|
8
|
+
address: AddressBase;
|
|
9
|
+
email: string;
|
|
10
|
+
dob: string;
|
|
11
|
+
documentNumber: string;
|
|
12
|
+
documentType?: string;
|
|
13
|
+
gender?: "M" | "F";
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AddressResponse } from "../../../address";
|
|
2
|
+
import { CardIssuing } from "../../enums/CardIssuing";
|
|
3
|
+
import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
|
|
4
|
+
export declare class CreateBankAccountCardRequest {
|
|
5
|
+
externalUserId?: string;
|
|
6
|
+
externalAccountId?: string;
|
|
7
|
+
cardType: VirtualOrPhysical;
|
|
8
|
+
firstName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
address: AddressResponse;
|
|
11
|
+
nominated: boolean;
|
|
12
|
+
directoryId?: string;
|
|
13
|
+
typeOfDirectoryId?: string;
|
|
14
|
+
previousCardId?: string;
|
|
15
|
+
issuing: CardIssuing;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AddressResponse } from "../../../address";
|
|
2
|
+
import { TypeOfDocument } from "../../../identity/dtos/TypeOfDocument";
|
|
3
|
+
export declare class CreateBankAccountCardShippingRequest {
|
|
4
|
+
externalCardId?: string;
|
|
5
|
+
typeOfDocumentId?: TypeOfDocument;
|
|
6
|
+
documentNumber?: string;
|
|
7
|
+
phoneNumber?: string;
|
|
8
|
+
firstName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
address: AddressResponse;
|
|
11
|
+
nominated: boolean;
|
|
12
|
+
email?: string;
|
|
13
|
+
userId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateBankAccountCardShippingRequest = void 0;
|
|
4
|
+
class CreateBankAccountCardShippingRequest {
|
|
5
|
+
}
|
|
6
|
+
exports.CreateBankAccountCardShippingRequest = CreateBankAccountCardShippingRequest;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateBankAccountCardShippingResponse = void 0;
|
|
4
|
+
class CreateBankAccountCardShippingResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.CreateBankAccountCardShippingResponse = CreateBankAccountCardShippingResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
|
|
2
|
+
import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
|
|
3
|
+
export declare class GetBankAccountShippingResponse {
|
|
4
|
+
id: string;
|
|
5
|
+
courier: {
|
|
6
|
+
company: string;
|
|
7
|
+
trackingNumber?: string;
|
|
8
|
+
trackingUrl?: string;
|
|
9
|
+
};
|
|
10
|
+
status: ExternalShippingStatus;
|
|
11
|
+
statusDetail: ExternalShippingStatusDetail;
|
|
12
|
+
type: string;
|
|
13
|
+
shippingAddress: object;
|
|
14
|
+
reciever: {
|
|
15
|
+
name: string;
|
|
16
|
+
lastName: string;
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AddressResponse } from "../../../address";
|
|
2
|
+
import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
|
|
3
|
+
import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
|
|
4
|
+
import { ShippingStatus } from "../../enums/ShippingStatus";
|
|
5
|
+
import { Status } from "../../enums/Status";
|
|
6
|
+
export declare class UpdateBankAccountCardRequest {
|
|
7
|
+
cardId: string;
|
|
8
|
+
nominated?: boolean | null;
|
|
9
|
+
status?: Status | null;
|
|
10
|
+
pin?: string | null;
|
|
11
|
+
externalShippingId?: string;
|
|
12
|
+
externalShippingStatus?: ExternalShippingStatus | null;
|
|
13
|
+
externalShippingStatusDetail?: ExternalShippingStatusDetail | null;
|
|
14
|
+
shippingStatus?: ShippingStatus | null;
|
|
15
|
+
shippingTrackingNumber?: string | null;
|
|
16
|
+
shippingTrackingUrl?: string | null;
|
|
17
|
+
firstName?: string | null;
|
|
18
|
+
lastName?: string | null;
|
|
19
|
+
address?: AddressResponse | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardIssuing = void 0;
|
|
4
|
+
var CardIssuing;
|
|
5
|
+
(function (CardIssuing) {
|
|
6
|
+
CardIssuing["NEW"] = "NEW";
|
|
7
|
+
CardIssuing["REISSUE"] = "REISSUE";
|
|
8
|
+
CardIssuing["REPLACE"] = "REPLACE";
|
|
9
|
+
})(CardIssuing || (exports.CardIssuing = CardIssuing = {}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})(
|
|
3
|
+
exports.ShippingStatus = void 0;
|
|
4
|
+
var ShippingStatus;
|
|
5
|
+
(function (ShippingStatus) {
|
|
6
|
+
ShippingStatus["REQUESTED"] = "REQUESTED";
|
|
7
|
+
ShippingStatus["IN_TRANSIT"] = "IN_TRANSIT";
|
|
8
|
+
ShippingStatus["DELIVERED"] = "DELIVERED";
|
|
9
|
+
ShippingStatus["WITH_ISSUE"] = "WITH_ISSUE";
|
|
10
|
+
})(ShippingStatus || (exports.ShippingStatus = ShippingStatus = {}));
|
package/bin/card/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
export * from './dtos/Internal/ActivateBankAccountCardRequest';
|
|
2
|
+
export * from './dtos/Internal/ActivateBankAccountCardResponse';
|
|
3
|
+
export * from './dtos/Internal/CreateBankAccountCardRequest';
|
|
4
|
+
export * from './dtos/Internal/CreateBankAccountCardResponse';
|
|
5
|
+
export * from './dtos/Internal/CreateBankAccountCardShippingRequest';
|
|
6
|
+
export * from './dtos/Internal/CreateBankAccountCardShippingResponse';
|
|
7
|
+
export * from './dtos/Internal/GetBankAccountShippingRequest';
|
|
8
|
+
export * from './dtos/Internal/GetBankAccountShippingResponse';
|
|
9
|
+
export * from './dtos/Internal/UpdateBankAccountCardRequest';
|
|
10
|
+
export * from './dtos/Internal/UpdateBankAccountCardResponse';
|
|
1
11
|
export * from './dtos/CardActivateRequest';
|
|
2
12
|
export * from './dtos/CardApplicationRequest';
|
|
3
|
-
export * from './dtos/CardCreateRequest';
|
|
4
13
|
export * from './dtos/CardUpdateRequest';
|
|
5
14
|
export * from './dtos/CardCreateAdditionalRequest';
|
|
6
15
|
export * from './dtos/CardBalanceResponse';
|
package/bin/card/index.js
CHANGED
|
@@ -14,10 +14,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
//dtos/internal
|
|
18
|
+
__exportStar(require("./dtos/Internal/ActivateBankAccountCardRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/Internal/ActivateBankAccountCardResponse"), exports);
|
|
20
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardResponse"), exports);
|
|
22
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardShippingRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardShippingResponse"), exports);
|
|
24
|
+
__exportStar(require("./dtos/Internal/GetBankAccountShippingRequest"), exports);
|
|
25
|
+
__exportStar(require("./dtos/Internal/GetBankAccountShippingResponse"), exports);
|
|
26
|
+
__exportStar(require("./dtos/Internal/UpdateBankAccountCardRequest"), exports);
|
|
27
|
+
__exportStar(require("./dtos/Internal/UpdateBankAccountCardResponse"), exports);
|
|
17
28
|
//dtos
|
|
18
29
|
__exportStar(require("./dtos/CardActivateRequest"), exports);
|
|
19
30
|
__exportStar(require("./dtos/CardApplicationRequest"), exports);
|
|
20
|
-
__exportStar(require("./dtos/CardCreateRequest"), exports);
|
|
21
31
|
__exportStar(require("./dtos/CardUpdateRequest"), exports);
|
|
22
32
|
__exportStar(require("./dtos/CardCreateAdditionalRequest"), exports);
|
|
23
33
|
__exportStar(require("./dtos/CardBalanceResponse"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.Length)(1, 20),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TernAddress = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class TernAddress {
|
|
15
|
+
}
|
|
16
|
+
exports.TernAddress = TernAddress;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], TernAddress.prototype, "address1", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], TernAddress.prototype, "address2", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], TernAddress.prototype, "city", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TernAddress.prototype, "province", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TernAddress.prototype, "postalCode", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], TernAddress.prototype, "country", void 0);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TernCreateAccountRequest = void 0;
|
|
13
|
+
const TernAccountTypeEnum_1 = require("../enums/TernAccountTypeEnum");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class TernCreateAccountRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.TernCreateAccountRequest = TernCreateAccountRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], TernCreateAccountRequest.prototype, "externalUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TernCreateAccountRequest.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], TernCreateAccountRequest.prototype, "lastName", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(TernAccountTypeEnum_1.TernAccountTypeEnum),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], TernCreateAccountRequest.prototype, "type", void 0);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TernCreateAccountResponse = void 0;
|
|
13
|
+
const provider_1 = require("../../provider");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class TernCreateAccountResponse {
|
|
16
|
+
}
|
|
17
|
+
exports.TernCreateAccountResponse = TernCreateAccountResponse;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], TernCreateAccountResponse.prototype, "externalAccountId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(provider_1.Provider),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TernCreateAccountResponse.prototype, "provider", void 0);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SexDocument } from "../../identity";
|
|
2
|
+
import { AddressResponse } from "../../address";
|
|
3
|
+
export declare class TernCreateUserRequest {
|
|
4
|
+
directoryId: string;
|
|
5
|
+
typeOfDirectoryId: string;
|
|
6
|
+
firstName: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
phoneNumber: string;
|
|
9
|
+
address: AddressResponse;
|
|
10
|
+
email: string;
|
|
11
|
+
dob: string;
|
|
12
|
+
documentNumber: string;
|
|
13
|
+
documentType?: string;
|
|
14
|
+
gender?: SexDocument;
|
|
15
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TernCreateUserRequest = void 0;
|
|
13
|
+
const identity_1 = require("../../identity");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const regex_1 = require("../../helpers/constans/regex");
|
|
16
|
+
const directory_1 = require("../../directory");
|
|
17
|
+
const IsPhoneNumberConstraint_1 = require("../../card/validations/IsPhoneNumberConstraint");
|
|
18
|
+
const address_1 = require("../../address");
|
|
19
|
+
class TernCreateUserRequest {
|
|
20
|
+
}
|
|
21
|
+
exports.TernCreateUserRequest = TernCreateUserRequest;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
25
|
+
message: 'directoryId must be a valid UUID v4',
|
|
26
|
+
}),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], TernCreateUserRequest.prototype, "directoryId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsEnum)(directory_1.TypeOfDirectoryId),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TernCreateUserRequest.prototype, "typeOfDirectoryId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TernCreateUserRequest.prototype, "firstName", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], TernCreateUserRequest.prototype, "lastName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, IsPhoneNumberConstraint_1.IsPhoneNumberFiado)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], TernCreateUserRequest.prototype, "phoneNumber", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.ValidateNested)(),
|
|
47
|
+
__metadata("design:type", address_1.AddressResponse)
|
|
48
|
+
], TernCreateUserRequest.prototype, "address", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsEmail)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], TernCreateUserRequest.prototype, "email", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsDateString)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], TernCreateUserRequest.prototype, "dob", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.Length)(1, 30),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], TernCreateUserRequest.prototype, "documentNumber", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
(0, class_validator_1.Length)(1, 30),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], TernCreateUserRequest.prototype, "documentType", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsEnum)(identity_1.SexDocument),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], TernCreateUserRequest.prototype, "gender", void 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TernCreateUserResponse = void 0;
|
|
13
|
+
const provider_1 = require("../../provider");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class TernCreateUserResponse {
|
|
16
|
+
}
|
|
17
|
+
exports.TernCreateUserResponse = TernCreateUserResponse;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], TernCreateUserResponse.prototype, "externalUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TernCreateUserResponse.prototype, "externalAccountId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsEnum)(provider_1.Provider),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], TernCreateUserResponse.prototype, "provider", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], TernCreateUserResponse.prototype, "accountNumber", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], TernCreateUserResponse.prototype, "routingNumber", void 0);
|