@fiado/type-kit 3.1.30 → 3.2.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/cognitoConnector/dtos/SignUpBackofficeRequest.d.ts +13 -0
- package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.js +71 -0
- package/bin/comission-business/dtos/GenerateReportRequest.d.ts +10 -0
- package/bin/comission-business/dtos/GenerateReportRequest.js +2 -0
- package/bin/comission-business/dtos/GenerateReportResponse.d.ts +6 -0
- package/bin/comission-business/dtos/GenerateReportResponse.js +2 -0
- package/bin/comission-business/enums/PaymentStatusEnum.d.ts +5 -0
- package/bin/comission-business/enums/PaymentStatusEnum.js +9 -0
- package/bin/credit/dtos/BannerStateResponse.d.ts +19 -4
- package/bin/credit/dtos/BannerStateResponse.js +7 -1
- package/bin/credit/dtos/CreditBannerStateResponse.d.ts +10 -0
- package/bin/credit/dtos/CreditBannerStateResponse.js +6 -0
- package/bin/credit/dtos/CreditDetailResponse.d.ts +23 -0
- package/bin/credit/dtos/CreditDetailResponse.js +6 -0
- package/bin/credit/dtos/CreditEligibilityResponse.d.ts +9 -0
- package/bin/credit/dtos/CreditEligibilityResponse.js +6 -0
- package/bin/credit/dtos/CreditMovementResponse.d.ts +20 -0
- package/bin/credit/dtos/CreditMovementResponse.js +9 -0
- package/bin/credit/dtos/CreditOfferOptionItem.d.ts +6 -0
- package/bin/credit/dtos/CreditRequestCreate.d.ts +4 -0
- package/bin/credit/dtos/CreditRequestCreate.js +26 -0
- package/bin/credit/dtos/CreditRequestResponse.d.ts +7 -0
- package/bin/credit/dtos/CreditRequestResponse.js +6 -0
- package/bin/credit/dtos/CreditScheduleResponse.d.ts +18 -0
- package/bin/credit/dtos/CreditScheduleResponse.js +9 -0
- package/bin/credit/dtos/CreditStatementResponse.d.ts +11 -0
- package/bin/credit/dtos/CreditStatementResponse.js +9 -0
- package/bin/credit/dtos/EarlyPaymentRequest.d.ts +7 -0
- package/bin/credit/dtos/EarlyPaymentRequest.js +37 -0
- package/bin/credit/dtos/EarlyPaymentResponse.d.ts +11 -0
- package/bin/credit/dtos/EarlyPaymentResponse.js +6 -0
- package/bin/credit/dtos/EligibilityResponse.d.ts +2 -2
- package/bin/credit/dtos/internal/CreditBalanceRequest.d.ts +3 -0
- package/bin/credit/dtos/internal/CreditBalanceRequest.js +21 -0
- package/bin/credit/dtos/internal/CreditCollectionRequest.d.ts +11 -0
- package/bin/credit/dtos/internal/CreditCollectionRequest.js +59 -0
- package/bin/credit/dtos/internal/CreditCollectionResponse.d.ts +12 -0
- package/bin/credit/dtos/internal/CreditCollectionResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditDisbursementRequest.d.ts +7 -0
- package/bin/credit/dtos/internal/CreditDisbursementRequest.js +43 -0
- package/bin/credit/dtos/internal/CreditDisbursementResponse.d.ts +8 -0
- package/bin/credit/dtos/internal/CreditDisbursementResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditProfileRequest.d.ts +3 -0
- package/bin/credit/dtos/internal/CreditProfileRequest.js +23 -0
- package/bin/credit/dtos/internal/CreditReversalRequest.d.ts +5 -0
- package/bin/credit/dtos/internal/CreditReversalRequest.js +31 -0
- package/bin/credit/dtos/internal/CreditReversalResponse.d.ts +7 -0
- package/bin/credit/dtos/internal/CreditReversalResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoRequest.d.ts +8 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoRequest.js +46 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoResponse.d.ts +8 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoResponse.js +6 -0
- package/bin/credit/dtos/internal/DocumentSignRequest.d.ts +3 -0
- package/bin/credit/dtos/internal/DocumentSignRequest.js +21 -0
- package/bin/credit/dtos/internal/LienApplyRequest.d.ts +7 -0
- package/bin/credit/dtos/internal/LienApplyRequest.js +45 -0
- package/bin/credit/enums/CollectionFrequencyEnum.d.ts +5 -0
- package/bin/credit/enums/CollectionFrequencyEnum.js +9 -0
- package/bin/credit/enums/CreditOperationEnum.d.ts +11 -0
- package/bin/credit/enums/CreditOperationEnum.js +15 -0
- package/bin/credit/enums/CreditStatusEnum.d.ts +12 -0
- package/bin/credit/enums/CreditStatusEnum.js +16 -0
- package/bin/credit/enums/DelinquencyLevelEnum.d.ts +9 -0
- package/bin/credit/enums/DelinquencyLevelEnum.js +13 -0
- package/bin/credit/enums/DocumentTypeEnum.d.ts +8 -0
- package/bin/credit/enums/DocumentTypeEnum.js +12 -0
- package/bin/credit/enums/OfferStatusEnum.d.ts +8 -0
- package/bin/credit/enums/OfferStatusEnum.js +12 -0
- package/bin/credit/enums/PaymentTypeEnum.d.ts +9 -0
- package/bin/credit/enums/PaymentTypeEnum.js +13 -0
- package/bin/credit/enums/ReconciliationStatusEnum.d.ts +6 -0
- package/bin/credit/enums/ReconciliationStatusEnum.js +10 -0
- package/bin/credit/enums/TransferStatusEnum.d.ts +8 -0
- package/bin/credit/enums/TransferStatusEnum.js +12 -0
- package/bin/creditBackoffice/dtos/BackofficeApplicationDetail.d.ts +36 -0
- package/bin/creditBackoffice/dtos/BackofficeApplicationDetail.js +14 -0
- package/bin/creditBackoffice/dtos/BackofficeApplicationsListItem.d.ts +11 -0
- package/bin/creditBackoffice/dtos/BackofficeApplicationsListItem.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficeCreditDetail.d.ts +80 -0
- package/bin/creditBackoffice/dtos/BackofficeCreditDetail.js +21 -0
- package/bin/creditBackoffice/dtos/BackofficeCreditsListItem.d.ts +14 -0
- package/bin/creditBackoffice/dtos/BackofficeCreditsListItem.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficeIncomeSourceItem.d.ts +13 -0
- package/bin/creditBackoffice/dtos/BackofficeIncomeSourceItem.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficeOfferDetail.d.ts +35 -0
- package/bin/creditBackoffice/dtos/BackofficeOfferDetail.js +14 -0
- package/bin/creditBackoffice/dtos/BackofficeOffersListItem.d.ts +16 -0
- package/bin/creditBackoffice/dtos/BackofficeOffersListItem.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficePagination.d.ts +6 -0
- package/bin/creditBackoffice/dtos/BackofficePagination.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficePipeline.d.ts +11 -0
- package/bin/creditBackoffice/dtos/BackofficePipeline.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficePipelineByLevel.d.ts +6 -0
- package/bin/creditBackoffice/dtos/BackofficePipelineByLevel.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficeProfileDetail.d.ts +68 -0
- package/bin/creditBackoffice/dtos/BackofficeProfileDetail.js +13 -0
- package/bin/creditBackoffice/dtos/BackofficeProfilesListItem.d.ts +17 -0
- package/bin/creditBackoffice/dtos/BackofficeProfilesListItem.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficeProfilesListResponse.d.ts +6 -0
- package/bin/creditBackoffice/dtos/BackofficeProfilesListResponse.js +6 -0
- package/bin/creditBackoffice/dtos/BackofficeProfilesSummary.d.ts +19 -0
- package/bin/creditBackoffice/dtos/BackofficeProfilesSummary.js +6 -0
- package/bin/creditBackoffice/dtos/ConfigSnapshotListItem.d.ts +10 -0
- package/bin/creditBackoffice/dtos/ConfigSnapshotListItem.js +9 -0
- package/bin/creditBackoffice/dtos/SimulateImpactRequest.d.ts +9 -0
- package/bin/creditBackoffice/dtos/SimulateImpactRequest.js +34 -0
- package/bin/creditBackoffice/dtos/SimulateImpactResult.d.ts +46 -0
- package/bin/creditBackoffice/dtos/SimulateImpactResult.js +18 -0
- package/bin/creditBackoffice/dtos/SimulateInterestRequest.d.ts +8 -0
- package/bin/creditBackoffice/dtos/SimulateInterestRequest.js +30 -0
- package/bin/creditBackoffice/dtos/SimulateInterestResult.d.ts +10 -0
- package/bin/creditBackoffice/dtos/SimulateInterestResult.js +9 -0
- package/bin/creditBackoffice/dtos/UpdateConfigRequest.d.ts +10 -0
- package/bin/creditBackoffice/dtos/UpdateConfigRequest.js +40 -0
- package/bin/creditBackoffice/enums/ConfigType.d.ts +17 -0
- package/bin/creditBackoffice/enums/ConfigType.js +21 -0
- package/bin/creditBackoffice/index.d.ts +21 -0
- package/bin/creditBackoffice/index.js +39 -0
- package/bin/creditDashboard/dtos/CohortQualityItem.d.ts +8 -0
- package/bin/creditDashboard/dtos/CohortQualityItem.js +6 -0
- package/bin/creditDashboard/dtos/DashboardSummary.d.ts +8 -0
- package/bin/creditDashboard/dtos/DashboardSummary.js +6 -0
- package/bin/creditDashboard/dtos/NurturingFunnelItem.d.ts +5 -0
- package/bin/creditDashboard/dtos/NurturingFunnelItem.js +6 -0
- package/bin/creditDashboard/dtos/OriginationCompositionResult.d.ts +13 -0
- package/bin/creditDashboard/dtos/OriginationCompositionResult.js +6 -0
- package/bin/creditDashboard/dtos/OriginationEfficiencyResult.d.ts +8 -0
- package/bin/creditDashboard/dtos/OriginationEfficiencyResult.js +6 -0
- package/bin/creditDashboard/dtos/OriginationMonthlyItem.d.ts +6 -0
- package/bin/creditDashboard/dtos/OriginationMonthlyItem.js +6 -0
- package/bin/creditDashboard/dtos/OriginationSummaryResult.d.ts +6 -0
- package/bin/creditDashboard/dtos/OriginationSummaryResult.js +6 -0
- package/bin/creditDashboard/dtos/OriginationWeeklyItem.d.ts +7 -0
- package/bin/creditDashboard/dtos/OriginationWeeklyItem.js +6 -0
- package/bin/creditDashboard/dtos/PipelineLevelRow.d.ts +26 -0
- package/bin/creditDashboard/dtos/PipelineLevelRow.js +6 -0
- package/bin/creditDashboard/dtos/PipelineWeek.d.ts +6 -0
- package/bin/creditDashboard/dtos/PipelineWeek.js +6 -0
- package/bin/creditDashboard/dtos/PortfolioActiveItem.d.ts +12 -0
- package/bin/creditDashboard/dtos/PortfolioActiveItem.js +6 -0
- package/bin/creditDashboard/dtos/PortfolioBalance.d.ts +5 -0
- package/bin/creditDashboard/dtos/PortfolioBalance.js +6 -0
- package/bin/creditDashboard/dtos/PortfolioBalanceMonthlyItem.d.ts +5 -0
- package/bin/creditDashboard/dtos/PortfolioBalanceMonthlyItem.js +6 -0
- package/bin/creditDashboard/dtos/PortfolioByLevelItem.d.ts +7 -0
- package/bin/creditDashboard/dtos/PortfolioByLevelItem.js +6 -0
- package/bin/creditDashboard/dtos/PortfolioResolutionItem.d.ts +8 -0
- package/bin/creditDashboard/dtos/PortfolioResolutionItem.js +6 -0
- package/bin/creditDashboard/dtos/PortfolioUpcomingWeek.d.ts +7 -0
- package/bin/creditDashboard/dtos/PortfolioUpcomingWeek.js +6 -0
- package/bin/creditDashboard/index.d.ts +16 -0
- package/bin/creditDashboard/index.js +32 -0
- package/bin/creditEngine/dtos/AdvancedPaymentRequest.d.ts +8 -0
- package/bin/creditEngine/dtos/AdvancedPaymentRequest.js +30 -0
- package/bin/creditEngine/dtos/AnticipatedPaymentRequest.d.ts +8 -0
- package/bin/creditEngine/dtos/AnticipatedPaymentRequest.js +30 -0
- package/bin/creditEngine/dtos/CreditDetailResponse.d.ts +25 -11
- package/bin/creditEngine/dtos/CreditOriginationRequest.d.ts +4 -1
- package/bin/creditEngine/dtos/CreditOriginationRequest.js +11 -0
- package/bin/creditEngine/dtos/CreditRequestResult.d.ts +9 -0
- package/bin/creditEngine/dtos/CreditRequestResult.js +9 -0
- package/bin/creditEngine/dtos/CreditSignatureResult.d.ts +8 -0
- package/bin/creditEngine/dtos/CreditSignatureResult.js +9 -0
- package/bin/creditEngine/dtos/EarlyPaymentResult.d.ts +9 -0
- package/bin/creditEngine/dtos/EarlyPaymentResult.js +9 -0
- package/bin/creditEngine/dtos/OfferResult.d.ts +15 -0
- package/bin/creditEngine/dtos/OfferResult.js +12 -0
- package/bin/creditEngine/dtos/PaymentScheduleItemResponse.d.ts +7 -6
- package/bin/creditEngine/dtos/SettlementPaymentRequest.d.ts +7 -0
- package/bin/creditEngine/dtos/SettlementPaymentRequest.js +25 -0
- package/bin/creditEngine/dtos/SettlementQuote.d.ts +14 -0
- package/bin/creditEngine/dtos/SettlementQuote.js +9 -0
- package/bin/creditEngine/index.d.ts +8 -0
- package/bin/creditEngine/index.js +8 -0
- package/bin/customerFile/dtos/CustomerFileSearchRequest.d.ts +5 -0
- package/bin/customerFile/dtos/CustomerFileSearchRequest.js +32 -0
- package/bin/customerFile/index.d.ts +1 -0
- package/bin/customerFile/index.js +17 -0
- package/bin/index.d.ts +3 -0
- package/bin/index.js +4 -1
- package/package.json +1 -1
- package/src/credit/dtos/BannerStateResponse.ts +20 -1
- package/src/credit/dtos/CreditOfferOptionItem.ts +6 -0
- package/src/credit/dtos/EligibilityResponse.ts +2 -2
- package/src/creditBackoffice/dtos/BackofficeApplicationDetail.ts +33 -0
- package/src/creditBackoffice/dtos/BackofficeApplicationsListItem.ts +11 -0
- package/src/creditBackoffice/dtos/BackofficeCreditDetail.ts +78 -0
- package/src/creditBackoffice/dtos/BackofficeCreditsListItem.ts +14 -0
- package/src/creditBackoffice/dtos/BackofficeIncomeSourceItem.ts +13 -0
- package/src/creditBackoffice/dtos/BackofficeOfferDetail.ts +29 -0
- package/src/creditBackoffice/dtos/BackofficeOffersListItem.ts +13 -0
- package/src/creditBackoffice/dtos/BackofficePagination.ts +6 -0
- package/src/creditBackoffice/dtos/BackofficePipeline.ts +9 -0
- package/src/creditBackoffice/dtos/BackofficePipelineByLevel.ts +6 -0
- package/src/creditBackoffice/dtos/BackofficeProfileDetail.ts +79 -0
- package/src/creditBackoffice/dtos/BackofficeProfilesListItem.ts +17 -0
- package/src/creditBackoffice/dtos/BackofficeProfilesListResponse.ts +7 -0
- package/src/creditBackoffice/dtos/BackofficeProfilesSummary.ts +12 -0
- package/src/creditBackoffice/dtos/ConfigSnapshotListItem.ts +10 -0
- package/src/creditBackoffice/dtos/SimulateImpactRequest.ts +18 -0
- package/src/creditBackoffice/dtos/SimulateImpactResult.ts +41 -0
- package/src/creditBackoffice/dtos/SimulateInterestRequest.ts +15 -0
- package/src/creditBackoffice/dtos/SimulateInterestResult.ts +11 -0
- package/src/creditBackoffice/dtos/UpdateConfigRequest.ts +23 -0
- package/src/creditBackoffice/enums/ConfigType.ts +17 -0
- package/src/creditBackoffice/index.ts +24 -0
- package/src/creditDashboard/dtos/CohortQualityItem.ts +8 -0
- package/src/creditDashboard/dtos/DashboardSummary.ts +8 -0
- package/src/creditDashboard/dtos/NurturingFunnelItem.ts +5 -0
- package/src/creditDashboard/dtos/OriginationCompositionResult.ts +5 -0
- package/src/creditDashboard/dtos/OriginationEfficiencyResult.ts +8 -0
- package/src/creditDashboard/dtos/OriginationMonthlyItem.ts +6 -0
- package/src/creditDashboard/dtos/OriginationSummaryResult.ts +6 -0
- package/src/creditDashboard/dtos/OriginationWeeklyItem.ts +7 -0
- package/src/creditDashboard/dtos/PipelineLevelRow.ts +10 -0
- package/src/creditDashboard/dtos/PipelineWeek.ts +7 -0
- package/src/creditDashboard/dtos/PortfolioActiveItem.ts +12 -0
- package/src/creditDashboard/dtos/PortfolioBalance.ts +5 -0
- package/src/creditDashboard/dtos/PortfolioBalanceMonthlyItem.ts +5 -0
- package/src/creditDashboard/dtos/PortfolioByLevelItem.ts +7 -0
- package/src/creditDashboard/dtos/PortfolioResolutionItem.ts +8 -0
- package/src/creditDashboard/dtos/PortfolioUpcomingWeek.ts +7 -0
- package/src/creditDashboard/index.ts +16 -0
- package/src/creditEngine/dtos/AdvancedPaymentRequest.ts +15 -0
- package/src/creditEngine/dtos/AnticipatedPaymentRequest.ts +15 -0
- package/src/creditEngine/dtos/CreditDetailResponse.ts +25 -11
- package/src/creditEngine/dtos/CreditOriginationRequest.ts +12 -2
- package/src/creditEngine/dtos/CreditRequestResult.ts +9 -0
- package/src/creditEngine/dtos/CreditSignatureResult.ts +8 -0
- package/src/creditEngine/dtos/EarlyPaymentResult.ts +9 -0
- package/src/creditEngine/dtos/OfferResult.ts +16 -0
- package/src/creditEngine/dtos/PaymentScheduleItemResponse.ts +7 -6
- package/src/creditEngine/dtos/SettlementPaymentRequest.ts +11 -0
- package/src/creditEngine/dtos/SettlementQuote.ts +14 -0
- package/src/creditEngine/index.ts +8 -0
- package/src/customerFile/dtos/CustomerFileSearchRequest.ts +16 -0
- package/src/customerFile/index.ts +1 -0
- package/src/index.ts +3 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class SignUpBackofficeRequest {
|
|
2
|
+
name: string;
|
|
3
|
+
phoneNumber: string;
|
|
4
|
+
countryOfBirth: string;
|
|
5
|
+
MEX_DebitAccountWish: boolean;
|
|
6
|
+
USA_DebitAccountWish: boolean;
|
|
7
|
+
countryOfDomicile: string;
|
|
8
|
+
myReferralCode?: string;
|
|
9
|
+
referralCode?: string;
|
|
10
|
+
groupId?: string;
|
|
11
|
+
isAgent: boolean;
|
|
12
|
+
agentGroupId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.SignUpBackofficeRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SignUpBackofficeRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.SignUpBackofficeRequest = SignUpBackofficeRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SignUpBackofficeRequest.prototype, "name", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SignUpBackofficeRequest.prototype, "phoneNumber", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], SignUpBackofficeRequest.prototype, "countryOfBirth", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsBoolean)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], SignUpBackofficeRequest.prototype, "MEX_DebitAccountWish", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsBoolean)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], SignUpBackofficeRequest.prototype, "USA_DebitAccountWish", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], SignUpBackofficeRequest.prototype, "countryOfDomicile", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], SignUpBackofficeRequest.prototype, "myReferralCode", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], SignUpBackofficeRequest.prototype, "referralCode", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], SignUpBackofficeRequest.prototype, "groupId", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsBoolean)(),
|
|
64
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], SignUpBackofficeRequest.prototype, "isAgent", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsString)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], SignUpBackofficeRequest.prototype, "agentGroupId", void 0);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { ReportConceptEnum } from "../enums/ReportConceptEnum";
|
|
3
|
+
export interface GenerateReportRequest {
|
|
4
|
+
dateFrom: string;
|
|
5
|
+
dateTo: string;
|
|
6
|
+
groupId?: string;
|
|
7
|
+
currency: CountryId;
|
|
8
|
+
amountPerReferral: number;
|
|
9
|
+
concept: ReportConceptEnum;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentStatusEnum = void 0;
|
|
4
|
+
var PaymentStatusEnum;
|
|
5
|
+
(function (PaymentStatusEnum) {
|
|
6
|
+
PaymentStatusEnum["PENDING"] = "PENDING";
|
|
7
|
+
PaymentStatusEnum["PAID"] = "PAID";
|
|
8
|
+
PaymentStatusEnum["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
9
|
+
})(PaymentStatusEnum || (exports.PaymentStatusEnum = PaymentStatusEnum = {}));
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CTA asociado al banner state (boton y accion a ejecutar).
|
|
3
|
+
*/
|
|
4
|
+
export declare class BannerCta {
|
|
5
|
+
text: string;
|
|
6
|
+
action: string;
|
|
7
|
+
}
|
|
1
8
|
/**
|
|
2
9
|
* Respuesta del endpoint GET /credit/{partnerId}/banner-state/{directoryId}
|
|
3
10
|
*/
|
|
@@ -8,10 +15,18 @@ export declare class BannerStateResponse {
|
|
|
8
15
|
title: string;
|
|
9
16
|
subtitle: string;
|
|
10
17
|
progress_pct: number | null;
|
|
11
|
-
cta:
|
|
12
|
-
text: string;
|
|
13
|
-
action: string;
|
|
14
|
-
} | null;
|
|
18
|
+
cta: BannerCta | null;
|
|
15
19
|
credit_level: string | null;
|
|
16
20
|
max_credit_amount_mxn: number | null;
|
|
21
|
+
/** Presente cuando el banner refleja un credito activo/delinquent/defaulted. */
|
|
22
|
+
credit_id?: string | null;
|
|
23
|
+
/** Pago del proximo cupon pendiente. */
|
|
24
|
+
next_payment_amount_mxn?: number | null;
|
|
25
|
+
next_payment_date?: string | null;
|
|
26
|
+
next_coupon_number?: number | null;
|
|
27
|
+
/** Montos de cupones vencidos (solo DELINQUENT). */
|
|
28
|
+
overdue_amount_mxn?: number | null;
|
|
29
|
+
overdue_count?: number | null;
|
|
30
|
+
/** Saldo insoluto del credito activo. */
|
|
31
|
+
outstanding_balance_mxn?: number | null;
|
|
17
32
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BannerStateResponse = void 0;
|
|
3
|
+
exports.BannerStateResponse = exports.BannerCta = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* CTA asociado al banner state (boton y accion a ejecutar).
|
|
6
|
+
*/
|
|
7
|
+
class BannerCta {
|
|
8
|
+
}
|
|
9
|
+
exports.BannerCta = BannerCta;
|
|
4
10
|
/**
|
|
5
11
|
* Respuesta del endpoint GET /credit/{partnerId}/banner-state/{directoryId}
|
|
6
12
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OfferStatusEnum } from "../enums/OfferStatusEnum";
|
|
2
|
+
import { CreditStatusEnum } from "../enums/CreditStatusEnum";
|
|
3
|
+
export declare class CreditBannerStateResponse {
|
|
4
|
+
showBanner: boolean;
|
|
5
|
+
bannerType: 'NURTURING' | 'OFFER_AVAILABLE' | 'ACTIVE_CREDIT' | 'NONE';
|
|
6
|
+
offerStatus: OfferStatusEnum | null;
|
|
7
|
+
creditStatus: CreditStatusEnum | null;
|
|
8
|
+
message: string | null;
|
|
9
|
+
maxOfferAmount: number | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CreditStatusEnum } from "../enums/CreditStatusEnum";
|
|
2
|
+
import { DelinquencyLevelEnum } from "../enums/DelinquencyLevelEnum";
|
|
3
|
+
import { CollectionFrequencyEnum } from "../enums/CollectionFrequencyEnum";
|
|
4
|
+
export declare class CreditDetailResponse {
|
|
5
|
+
creditId: string;
|
|
6
|
+
status: CreditStatusEnum;
|
|
7
|
+
delinquencyLevel: DelinquencyLevelEnum;
|
|
8
|
+
originalAmount: number;
|
|
9
|
+
currentBalance: number;
|
|
10
|
+
paidAmount: number;
|
|
11
|
+
nextPaymentAmount: number;
|
|
12
|
+
nextPaymentDate: string;
|
|
13
|
+
overdueDays: number;
|
|
14
|
+
overdueAmount: number;
|
|
15
|
+
termWeeks: number;
|
|
16
|
+
currentWeek: number;
|
|
17
|
+
frequency: CollectionFrequencyEnum;
|
|
18
|
+
annualInterestRate: number;
|
|
19
|
+
cat: number;
|
|
20
|
+
disbursementDate: string;
|
|
21
|
+
maturityDate: string;
|
|
22
|
+
contractDocumentId: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OfferStatusEnum } from "../enums/OfferStatusEnum";
|
|
2
|
+
export declare class CreditEligibilityResponse {
|
|
3
|
+
eligible: boolean;
|
|
4
|
+
status: OfferStatusEnum;
|
|
5
|
+
maxAmount: number | null;
|
|
6
|
+
minAmount: number | null;
|
|
7
|
+
reason: string | null;
|
|
8
|
+
expiresAt: string | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CreditOperationEnum } from "../enums/CreditOperationEnum";
|
|
2
|
+
export declare class CreditMovementItem {
|
|
3
|
+
movementId: string;
|
|
4
|
+
date: string;
|
|
5
|
+
type: CreditOperationEnum;
|
|
6
|
+
description: string;
|
|
7
|
+
amount: number;
|
|
8
|
+
principal: number;
|
|
9
|
+
interest: number;
|
|
10
|
+
iva: number;
|
|
11
|
+
balance: number;
|
|
12
|
+
}
|
|
13
|
+
export declare class CreditMovementResponse {
|
|
14
|
+
creditId: string;
|
|
15
|
+
movements: CreditMovementItem[];
|
|
16
|
+
pagination: {
|
|
17
|
+
lastKey: string | null;
|
|
18
|
+
hasMore: boolean;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditMovementResponse = exports.CreditMovementItem = void 0;
|
|
4
|
+
class CreditMovementItem {
|
|
5
|
+
}
|
|
6
|
+
exports.CreditMovementItem = CreditMovementItem;
|
|
7
|
+
class CreditMovementResponse {
|
|
8
|
+
}
|
|
9
|
+
exports.CreditMovementResponse = CreditMovementResponse;
|
|
@@ -9,4 +9,10 @@ export declare class CreditOfferOptionItem {
|
|
|
9
9
|
total_interest_mxn: number;
|
|
10
10
|
savings_vs_longest: number;
|
|
11
11
|
is_recommended: boolean;
|
|
12
|
+
/** IVA (16%) sobre intereses del cupon. */
|
|
13
|
+
total_iva_mxn?: number;
|
|
14
|
+
/** Costo Anual Total (tasa efectiva anual de la operacion). */
|
|
15
|
+
cat?: number;
|
|
16
|
+
/** Fecha del primer pago (ISO, 7 dias desde la originacion). */
|
|
17
|
+
first_payment_date?: string;
|
|
12
18
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.CreditRequestCreate = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreditRequestCreate {
|
|
15
|
+
}
|
|
16
|
+
exports.CreditRequestCreate = CreditRequestCreate;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreditRequestCreate.prototype, "offerId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreditRequestCreate.prototype, "acceptedTerms", void 0);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class ScheduleItem {
|
|
2
|
+
couponNumber: number;
|
|
3
|
+
dueDate: string;
|
|
4
|
+
principal: number;
|
|
5
|
+
interest: number;
|
|
6
|
+
iva: number;
|
|
7
|
+
payment: number;
|
|
8
|
+
balance: number;
|
|
9
|
+
status: 'PENDING' | 'PAID' | 'OVERDUE' | 'PARTIAL';
|
|
10
|
+
paidDate: string | null;
|
|
11
|
+
paidAmount: number | null;
|
|
12
|
+
}
|
|
13
|
+
export declare class CreditScheduleResponse {
|
|
14
|
+
creditId: string;
|
|
15
|
+
schedule: ScheduleItem[];
|
|
16
|
+
totalPaid: number;
|
|
17
|
+
totalRemaining: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditScheduleResponse = exports.ScheduleItem = void 0;
|
|
4
|
+
class ScheduleItem {
|
|
5
|
+
}
|
|
6
|
+
exports.ScheduleItem = ScheduleItem;
|
|
7
|
+
class CreditScheduleResponse {
|
|
8
|
+
}
|
|
9
|
+
exports.CreditScheduleResponse = CreditScheduleResponse;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class CreditStatementItem {
|
|
2
|
+
statementId: string;
|
|
3
|
+
period: string;
|
|
4
|
+
generatedAt: string;
|
|
5
|
+
documentId: string;
|
|
6
|
+
downloadUrl: string | null;
|
|
7
|
+
}
|
|
8
|
+
export declare class CreditStatementListResponse {
|
|
9
|
+
creditId: string;
|
|
10
|
+
statements: CreditStatementItem[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditStatementListResponse = exports.CreditStatementItem = void 0;
|
|
4
|
+
class CreditStatementItem {
|
|
5
|
+
}
|
|
6
|
+
exports.CreditStatementItem = CreditStatementItem;
|
|
7
|
+
class CreditStatementListResponse {
|
|
8
|
+
}
|
|
9
|
+
exports.CreditStatementListResponse = CreditStatementListResponse;
|
|
@@ -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.EarlyPaymentRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const PaymentTypeEnum_1 = require("../enums/PaymentTypeEnum");
|
|
15
|
+
class EarlyPaymentRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.EarlyPaymentRequest = EarlyPaymentRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], EarlyPaymentRequest.prototype, "creditId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsEnum)(PaymentTypeEnum_1.PaymentTypeEnum),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EarlyPaymentRequest.prototype, "type", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], EarlyPaymentRequest.prototype, "amount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], EarlyPaymentRequest.prototype, "numberOfCoupons", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PaymentTypeEnum } from "../enums/PaymentTypeEnum";
|
|
2
|
+
export declare class EarlyPaymentResponse {
|
|
3
|
+
creditId: string;
|
|
4
|
+
type: PaymentTypeEnum;
|
|
5
|
+
amountCharged: number;
|
|
6
|
+
principalPaid: number;
|
|
7
|
+
interestSaved: number;
|
|
8
|
+
newBalance: number;
|
|
9
|
+
newMaturityDate: string | null;
|
|
10
|
+
transactionId: string;
|
|
11
|
+
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Respuesta del endpoint GET /credit/{partnerId}/eligibility/{directoryId}
|
|
3
3
|
*/
|
|
4
4
|
export declare class EligibilityResponse {
|
|
5
|
-
partner_id
|
|
6
|
-
directory_id
|
|
5
|
+
partner_id?: string;
|
|
6
|
+
directory_id?: string;
|
|
7
7
|
is_eligible: boolean;
|
|
8
8
|
credit_level: string | null;
|
|
9
9
|
max_credit_amount_mxn: number | null;
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CreditBalanceRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreditBalanceRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.CreditBalanceRequest = CreditBalanceRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreditBalanceRequest.prototype, "creditId", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PaymentTypeEnum } from "../../enums/PaymentTypeEnum";
|
|
2
|
+
export declare class CreditCollectionRequest {
|
|
3
|
+
creditId: string;
|
|
4
|
+
directoryId: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
couponNumber: number;
|
|
7
|
+
paymentType: PaymentTypeEnum;
|
|
8
|
+
pagoConfiadoAccountId: string;
|
|
9
|
+
fiadoIncAccountId: string;
|
|
10
|
+
idempotencyKey?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.CreditCollectionRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../../helpers/constans/regex");
|
|
15
|
+
const PaymentTypeEnum_1 = require("../../enums/PaymentTypeEnum");
|
|
16
|
+
class CreditCollectionRequest {
|
|
17
|
+
}
|
|
18
|
+
exports.CreditCollectionRequest = CreditCollectionRequest;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreditCollectionRequest.prototype, "creditId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, { message: 'directoryId must be a valid UUID v4' }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreditCollectionRequest.prototype, "directoryId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], CreditCollectionRequest.prototype, "amount", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsNumber)(),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], CreditCollectionRequest.prototype, "couponNumber", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsEnum)(PaymentTypeEnum_1.PaymentTypeEnum),
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreditCollectionRequest.prototype, "paymentType", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CreditCollectionRequest.prototype, "pagoConfiadoAccountId", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreditCollectionRequest.prototype, "fiadoIncAccountId", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreditCollectionRequest.prototype, "idempotencyKey", void 0);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class CreditCollectionResponse {
|
|
2
|
+
creditId: string;
|
|
3
|
+
transactionId: string;
|
|
4
|
+
idempotencyKey: string;
|
|
5
|
+
amountCollected: number;
|
|
6
|
+
principal: number;
|
|
7
|
+
interest: number;
|
|
8
|
+
iva: number;
|
|
9
|
+
newBalance: number;
|
|
10
|
+
status: 'COMPLETED' | 'FAILED' | 'INSUFFICIENT_FUNDS';
|
|
11
|
+
timestamp: string;
|
|
12
|
+
}
|