@silexpert/core 1.1.342 → 1.1.344
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/cjs/api/resources/Card.d.ts +2 -1
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +3 -0
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/Loan.d.ts +9 -11
- package/dist/cjs/api/resources/Loan.d.ts.map +1 -1
- package/dist/cjs/api/resources/Loan.js +23 -17
- package/dist/cjs/api/resources/Loan.js.map +1 -1
- package/dist/cjs/api/resources/Log.d.ts +2 -1
- package/dist/cjs/api/resources/Log.d.ts.map +1 -1
- package/dist/cjs/api/resources/Log.js +3 -0
- package/dist/cjs/api/resources/Log.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +2 -2
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +2 -2
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +5 -3
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/Log.d.ts +229 -1
- package/dist/cjs/types/Enum/Log.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Log.js +228 -0
- package/dist/cjs/types/Enum/Log.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +3 -3
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/bankAccount/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/bankAccount/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/bankAccount/Query.js +7 -0
- package/dist/cjs/types/Interface/api/bankAccount/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +8 -0
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +40 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/ReadExercice.d.ts +7 -0
- package/dist/cjs/types/Interface/api/exercice/ReadExercice.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/exercice/ReadExercice.js +3 -0
- package/dist/cjs/types/Interface/api/exercice/ReadExercice.js.map +1 -0
- package/dist/cjs/types/Interface/api/loan/CreateLoan.d.ts +13 -2
- package/dist/cjs/types/Interface/api/loan/CreateLoan.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/loan/CreateLoan.js +53 -3
- package/dist/cjs/types/Interface/api/loan/CreateLoan.js.map +1 -1
- package/dist/cjs/types/Interface/api/loan/ReadLoan.d.ts +10 -0
- package/dist/cjs/types/Interface/api/loan/ReadLoan.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/loan/ReadLoan.js +3 -0
- package/dist/cjs/types/Interface/api/loan/ReadLoan.js.map +1 -0
- package/dist/cjs/types/Interface/api/loan/UpdateLoan.d.ts +0 -6
- package/dist/cjs/types/Interface/api/loan/UpdateLoan.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/loan/UpdateLoan.js +2 -36
- package/dist/cjs/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.d.ts +9 -0
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.js +56 -6
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +10 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/models/ILoan.d.ts +7 -0
- package/dist/cjs/types/Interface/models/ILoan.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ILoan.js.map +1 -1
- package/dist/cjs/types/Interface/models/ILoanEarlyRepayment.d.ts +12 -0
- package/dist/cjs/types/Interface/models/ILoanEarlyRepayment.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/ILoanEarlyRepayment.js +3 -0
- package/dist/cjs/types/Interface/models/ILoanEarlyRepayment.js.map +1 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +2 -1
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +6 -0
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/Loan.d.ts +9 -11
- package/dist/mjs/api/resources/Loan.d.ts.map +1 -1
- package/dist/mjs/api/resources/Loan.js +23 -17
- package/dist/mjs/api/resources/Loan.js.map +1 -1
- package/dist/mjs/api/resources/Log.d.ts +2 -1
- package/dist/mjs/api/resources/Log.d.ts.map +1 -1
- package/dist/mjs/api/resources/Log.js +3 -0
- package/dist/mjs/api/resources/Log.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +2 -2
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +2 -2
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +5 -3
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/Log.d.ts +229 -1
- package/dist/mjs/types/Enum/Log.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Log.js +228 -0
- package/dist/mjs/types/Enum/Log.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +3 -3
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/bankAccount/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/bankAccount/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/bankAccount/Query.js +8 -0
- package/dist/mjs/types/Interface/api/bankAccount/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +8 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +38 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/ReadExercice.d.ts +7 -0
- package/dist/mjs/types/Interface/api/exercice/ReadExercice.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/exercice/ReadExercice.js +2 -0
- package/dist/mjs/types/Interface/api/exercice/ReadExercice.js.map +1 -0
- package/dist/mjs/types/Interface/api/loan/CreateLoan.d.ts +13 -2
- package/dist/mjs/types/Interface/api/loan/CreateLoan.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/loan/CreateLoan.js +61 -3
- package/dist/mjs/types/Interface/api/loan/CreateLoan.js.map +1 -1
- package/dist/mjs/types/Interface/api/loan/ReadLoan.d.ts +10 -0
- package/dist/mjs/types/Interface/api/loan/ReadLoan.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/loan/ReadLoan.js +2 -0
- package/dist/mjs/types/Interface/api/loan/ReadLoan.js.map +1 -0
- package/dist/mjs/types/Interface/api/loan/UpdateLoan.d.ts +0 -6
- package/dist/mjs/types/Interface/api/loan/UpdateLoan.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/loan/UpdateLoan.js +3 -43
- package/dist/mjs/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.d.ts +9 -0
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.js +57 -5
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +11 -2
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/models/ILoan.d.ts +7 -0
- package/dist/mjs/types/Interface/models/ILoan.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ILoan.js.map +1 -1
- package/dist/mjs/types/Interface/models/ILoanEarlyRepayment.d.ts +12 -0
- package/dist/mjs/types/Interface/models/ILoanEarlyRepayment.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/ILoanEarlyRepayment.js +2 -0
- package/dist/mjs/types/Interface/models/ILoanEarlyRepayment.js.map +1 -0
- package/dist/mjs/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +8 -1
- package/ts/api/resources/Loan.ts +28 -21
- package/ts/api/resources/Log.ts +5 -0
- package/ts/api/resources/Subscription.ts +3 -3
- package/ts/types/Enum/BalanceSheet.ts +5 -3
- package/ts/types/Enum/Log.ts +228 -0
- package/ts/types/Enum/TimeSlot.ts +3 -3
- package/ts/types/Interface/api/bankAccount/Query.ts +6 -0
- package/ts/types/Interface/api/card/QueryUserCards.ts +31 -0
- package/ts/types/Interface/api/exercice/ReadExercice.ts +6 -0
- package/ts/types/Interface/api/loan/CreateLoan.ts +45 -5
- package/ts/types/Interface/api/loan/ReadLoan.ts +9 -0
- package/ts/types/Interface/api/loan/UpdateLoan.ts +3 -31
- package/ts/types/Interface/api/log/QueryLogPagination.ts +40 -1
- package/ts/types/Interface/api/stripe/Create.ts +10 -2
- package/ts/types/Interface/models/ILoan.ts +7 -0
- package/ts/types/Interface/models/ILoanEarlyRepayment.ts +13 -0
- package/ts/types/index.ts +3 -0
|
@@ -93,6 +93,7 @@ export class QueryBankAccount {
|
|
|
93
93
|
isActivated;
|
|
94
94
|
idBankAccountType;
|
|
95
95
|
idPartnerType;
|
|
96
|
+
withCheckBalance;
|
|
96
97
|
}
|
|
97
98
|
__decorate([
|
|
98
99
|
ApiPropertyOptional(),
|
|
@@ -115,4 +116,11 @@ __decorate([
|
|
|
115
116
|
IsEnum(PartnerTransactionType),
|
|
116
117
|
__metadata("design:type", Number)
|
|
117
118
|
], QueryBankAccount.prototype, "idPartnerType", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
ApiPropertyOptional(),
|
|
121
|
+
IsOptional(),
|
|
122
|
+
IsBoolean(),
|
|
123
|
+
ToBoolean(),
|
|
124
|
+
__metadata("design:type", Boolean)
|
|
125
|
+
], QueryBankAccount.prototype, "withCheckBalance", void 0);
|
|
118
126
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankAccount/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE,MAAM,OAAO,uCAAuC;IAGhD,SAAS,CAAS;IAIlB,SAAS,CAAS;IAIlB,OAAO,CAAS;IAKhB,KAAK,CAAU;IAKf,IAAI,CAAU;IAKd,MAAM,CAAU;IAKhB,KAAK,CAAU;IAMf,UAAU,CAAW;IAIrB,YAAY,CAAU;IAKtB,aAAa,CAAU;IAKvB,aAAa,CAAU;CAC1B;AAjDG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;0EACS;AAIlB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;0EACS;AAIlB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;wEACO;AAKhB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACI;AAKf;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qEACG;AAKd;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uEACK;AAKhB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACI;AAMf;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;2EACW;AAIrB;IAFD,mBAAmB,EAAE;IACrB,UAAU,EAAE;;6EACW;AAKtB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8EACY;AAKvB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8EACY;AAG3B,MAAM,OAAO,gBAAgB;IAKzB,WAAW,CAAW;IAMtB,iBAAiB,CAAU;IAM3B,aAAa,CAA0B;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankAccount/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE,MAAM,OAAO,uCAAuC;IAGhD,SAAS,CAAS;IAIlB,SAAS,CAAS;IAIlB,OAAO,CAAS;IAKhB,KAAK,CAAU;IAKf,IAAI,CAAU;IAKd,MAAM,CAAU;IAKhB,KAAK,CAAU;IAMf,UAAU,CAAW;IAIrB,YAAY,CAAU;IAKtB,aAAa,CAAU;IAKvB,aAAa,CAAU;CAC1B;AAjDG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;0EACS;AAIlB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;0EACS;AAIlB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;wEACO;AAKhB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACI;AAKf;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qEACG;AAKd;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uEACK;AAKhB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACI;AAMf;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;2EACW;AAIrB;IAFD,mBAAmB,EAAE;IACrB,UAAU,EAAE;;6EACW;AAKtB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8EACY;AAKvB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8EACY;AAG3B,MAAM,OAAO,gBAAgB;IAKzB,WAAW,CAAW;IAMtB,iBAAiB,CAAU;IAM3B,aAAa,CAA0B;IAMvC,gBAAgB,CAAW;CAC9B;AAnBG;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;qDACY;AAMtB;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,MAAM,CAAC,eAAe,CAAC;;2DACK;AAM3B;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,MAAM,CAAC,sBAAsB,CAAC;;uDACU;AAMvC;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACiB","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString, IsInt, IsEnum } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { PartnerTransactionType } from '../../../Enum/PartnerTransactionType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Nature } from '../../../Enum/Nature';\nimport { BankAccountType } from '../../../Enum/BankAccountType';\n\nexport type FilterByType = 'debit' | 'credit' | null;\n\nexport class QueryTransactionsForComparisonPaginated {\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n startDate: string;\n \n @ApiProperty()\n @IsString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n page?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n order?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n filterByType?: Nature;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n}\n\nexport class QueryBankAccount {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isActivated?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(BankAccountType)\n idBankAccountType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(PartnerTransactionType)\n idPartnerType?: PartnerTransactionType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withCheckBalance?: boolean;\n}"]}
|
|
@@ -7,4 +7,12 @@ export declare class QueryUserCards {
|
|
|
7
7
|
types?: CardType[];
|
|
8
8
|
state?: CardState;
|
|
9
9
|
}
|
|
10
|
+
export declare class QueryUserCardsAdmin {
|
|
11
|
+
idUser?: number;
|
|
12
|
+
startDate?: Date;
|
|
13
|
+
endDate?: Date;
|
|
14
|
+
search?: string;
|
|
15
|
+
types?: CardType[];
|
|
16
|
+
state?: CardState;
|
|
17
|
+
}
|
|
10
18
|
//# sourceMappingURL=QueryUserCards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUserCards.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEzD,qBAAa,cAAc;IAGjB,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"QueryUserCards.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEzD,qBAAa,cAAc;IAGjB,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B;AACD,qBAAa,mBAAmB;IAItB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B"}
|
|
@@ -45,4 +45,42 @@ __decorate([
|
|
|
45
45
|
IsEnum(CardState),
|
|
46
46
|
__metadata("design:type", Number)
|
|
47
47
|
], QueryUserCards.prototype, "state", void 0);
|
|
48
|
+
export class QueryUserCardsAdmin {
|
|
49
|
+
}
|
|
50
|
+
__decorate([
|
|
51
|
+
ApiPropertyOptional(),
|
|
52
|
+
IsOptional(),
|
|
53
|
+
IsInt(),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], QueryUserCardsAdmin.prototype, "idUser", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
ApiPropertyOptional(),
|
|
58
|
+
IsOptional(),
|
|
59
|
+
IsDate(),
|
|
60
|
+
__metadata("design:type", Date)
|
|
61
|
+
], QueryUserCardsAdmin.prototype, "startDate", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
ApiPropertyOptional(),
|
|
64
|
+
IsOptional(),
|
|
65
|
+
IsDate(),
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
|
+
], QueryUserCardsAdmin.prototype, "endDate", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
ApiPropertyOptional(),
|
|
70
|
+
IsOptional(),
|
|
71
|
+
IsString(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], QueryUserCardsAdmin.prototype, "search", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
ApiPropertyOptional(),
|
|
76
|
+
IsOptional(),
|
|
77
|
+
IsArray(),
|
|
78
|
+
__metadata("design:type", Array)
|
|
79
|
+
], QueryUserCardsAdmin.prototype, "types", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
ApiPropertyOptional(),
|
|
82
|
+
IsOptional(),
|
|
83
|
+
IsEnum(CardState),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], QueryUserCardsAdmin.prototype, "state", void 0);
|
|
48
86
|
//# sourceMappingURL=QueryUserCards.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUserCards.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAY,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,OAAO,cAAc;CA2B1B;AAxBS;IAFP,WAAW,EAAE;IACb,KAAK,EAAE;;8CACe;AAIf;IAFP,WAAW,EAAE;IACb,MAAM,EAAE;8BACU,IAAI;iDAAC;AAIhB;IAFP,WAAW,EAAE;IACb,MAAM,EAAE;8BACQ,IAAI;+CAAC;AAKd;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACa;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;6CACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,CAAC;;6CACQ","sourcesContent":["import { IsArray, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardType, CardState } from '../../../Enum/Card';\n\nexport class QueryUserCards {\n @ApiProperty()\n @IsInt()\n declare idUser: number;\n\n @ApiProperty()\n @IsDate()\n declare startDate: Date;\n\n @ApiProperty()\n @IsDate()\n declare endDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}"]}
|
|
1
|
+
{"version":3,"file":"QueryUserCards.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAY,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,OAAO,cAAc;CA2B1B;AAxBS;IAFP,WAAW,EAAE;IACb,KAAK,EAAE;;8CACe;AAIf;IAFP,WAAW,EAAE;IACb,MAAM,EAAE;8BACU,IAAI;iDAAC;AAIhB;IAFP,WAAW,EAAE;IACb,MAAM,EAAE;8BACQ,IAAI;+CAAC;AAKd;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACa;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;6CACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,CAAC;;6CACQ;AAE5B,MAAM,OAAO,mBAAmB;CA8B/B;AA1BS;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;mDACgB;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACW,IAAI;sDAAC;AAKjB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACS,IAAI;oDAAC;AAKf;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACa;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;kDACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,CAAC;;kDACQ","sourcesContent":["import { IsArray, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardType, CardState } from '../../../Enum/Card';\n\nexport class QueryUserCards {\n @ApiProperty()\n @IsInt()\n declare idUser: number;\n\n @ApiProperty()\n @IsDate()\n declare startDate: Date;\n\n @ApiProperty()\n @IsDate()\n declare endDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}\nexport class QueryUserCardsAdmin {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadExercice.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/exercice/ReadExercice.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadExercice.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/exercice/ReadExercice.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadExercice {\n name: string;\n id: number | null;\n startDate: string;\n endDate: string;\n}"]}
|
|
@@ -5,9 +5,20 @@ export declare class CreateLoanForm {
|
|
|
5
5
|
amount: number;
|
|
6
6
|
assetBeforeExercice: number;
|
|
7
7
|
assetAfterExercice: number;
|
|
8
|
-
monthDuration
|
|
9
|
-
rate
|
|
8
|
+
monthDuration: number;
|
|
9
|
+
rate: number;
|
|
10
10
|
idExercice: number;
|
|
11
|
+
annuity: number;
|
|
12
|
+
unlockDate: string;
|
|
13
|
+
firstDueDate: string;
|
|
14
|
+
commission: number;
|
|
15
|
+
insurance: number;
|
|
16
|
+
shouldProrate: boolean;
|
|
11
17
|
files?: File[];
|
|
12
18
|
}
|
|
19
|
+
export declare class CreateEarlyRepayment {
|
|
20
|
+
amount: number;
|
|
21
|
+
date: Date;
|
|
22
|
+
annuity: number;
|
|
23
|
+
}
|
|
13
24
|
//# sourceMappingURL=CreateLoan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLoan.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/CreateLoan.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateLoan.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/CreateLoan.ts"],"names":[],"mappings":"AAIA,qBAAa,cAAc;IAGvB,IAAI,EAAE,MAAM,CAAC;IAIb,iBAAiB,EAAE,MAAM,CAAC;IAI1B,MAAM,EAAE,MAAM,CAAC;IAIf,MAAM,EAAE,MAAM,CAAC;IAIf,mBAAmB,EAAE,MAAM,CAAC;IAI5B,kBAAkB,EAAE,MAAM,CAAC;IAI3B,aAAa,EAAE,MAAM,CAAC;IAItB,IAAI,EAAE,MAAM,CAAC;IAIb,UAAU,EAAE,MAAM,CAAC;IAInB,OAAO,EAAE,MAAM,CAAC;IAIhB,UAAU,EAAE,MAAM,CAAC;IAInB,YAAY,EAAE,MAAM,CAAC;IAIrB,UAAU,EAAE,MAAM,CAAC;IAInB,SAAS,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,OAAO,CAAC;IAGvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB;AAED,qBAAa,oBAAoB;IAG7B,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,IAAI,CAAC;IAIX,OAAO,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -7,8 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { IsBoolean, IsDate, IsNumber, IsString } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
12
13
|
export class CreateLoanForm {
|
|
13
14
|
name;
|
|
14
15
|
lenderDesignation;
|
|
@@ -19,14 +20,22 @@ export class CreateLoanForm {
|
|
|
19
20
|
monthDuration;
|
|
20
21
|
rate;
|
|
21
22
|
idExercice;
|
|
23
|
+
annuity;
|
|
24
|
+
unlockDate;
|
|
25
|
+
firstDueDate;
|
|
26
|
+
commission;
|
|
27
|
+
insurance;
|
|
28
|
+
shouldProrate;
|
|
22
29
|
files;
|
|
23
30
|
}
|
|
24
31
|
__decorate([
|
|
25
32
|
ApiProperty({ description: 'Désignation' }),
|
|
33
|
+
IsString(),
|
|
26
34
|
__metadata("design:type", String)
|
|
27
35
|
], CreateLoanForm.prototype, "name", void 0);
|
|
28
36
|
__decorate([
|
|
29
37
|
ApiProperty({ description: 'Désignation de l\'organisme' }),
|
|
38
|
+
IsString(),
|
|
30
39
|
__metadata("design:type", String)
|
|
31
40
|
], CreateLoanForm.prototype, "lenderDesignation", void 0);
|
|
32
41
|
__decorate([
|
|
@@ -52,13 +61,11 @@ __decorate([
|
|
|
52
61
|
__decorate([
|
|
53
62
|
ApiPropertyOptional(),
|
|
54
63
|
IsNumber(),
|
|
55
|
-
IsOptional(),
|
|
56
64
|
__metadata("design:type", Number)
|
|
57
65
|
], CreateLoanForm.prototype, "monthDuration", void 0);
|
|
58
66
|
__decorate([
|
|
59
67
|
ApiPropertyOptional(),
|
|
60
68
|
IsNumber(),
|
|
61
|
-
IsOptional(),
|
|
62
69
|
__metadata("design:type", Number)
|
|
63
70
|
], CreateLoanForm.prototype, "rate", void 0);
|
|
64
71
|
__decorate([
|
|
@@ -66,8 +73,59 @@ __decorate([
|
|
|
66
73
|
IsNumber(),
|
|
67
74
|
__metadata("design:type", Number)
|
|
68
75
|
], CreateLoanForm.prototype, "idExercice", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
ApiProperty(),
|
|
78
|
+
IsNumber(),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], CreateLoanForm.prototype, "annuity", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
ApiProperty(),
|
|
83
|
+
IsString(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], CreateLoanForm.prototype, "unlockDate", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
ApiProperty(),
|
|
88
|
+
IsString(),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], CreateLoanForm.prototype, "firstDueDate", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
ApiProperty(),
|
|
93
|
+
IsNumber(),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], CreateLoanForm.prototype, "commission", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
ApiProperty(),
|
|
98
|
+
IsNumber(),
|
|
99
|
+
__metadata("design:type", Number)
|
|
100
|
+
], CreateLoanForm.prototype, "insurance", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
ApiProperty(),
|
|
103
|
+
IsBoolean(),
|
|
104
|
+
ToBoolean(),
|
|
105
|
+
__metadata("design:type", Boolean)
|
|
106
|
+
], CreateLoanForm.prototype, "shouldProrate", void 0);
|
|
69
107
|
__decorate([
|
|
70
108
|
ApiPropertyOptional(),
|
|
71
109
|
__metadata("design:type", Array)
|
|
72
110
|
], CreateLoanForm.prototype, "files", void 0);
|
|
111
|
+
export class CreateEarlyRepayment {
|
|
112
|
+
amount;
|
|
113
|
+
date;
|
|
114
|
+
annuity;
|
|
115
|
+
}
|
|
116
|
+
__decorate([
|
|
117
|
+
ApiProperty(),
|
|
118
|
+
IsNumber(),
|
|
119
|
+
__metadata("design:type", Number)
|
|
120
|
+
], CreateEarlyRepayment.prototype, "amount", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
ApiProperty(),
|
|
123
|
+
IsDate(),
|
|
124
|
+
__metadata("design:type", Date)
|
|
125
|
+
], CreateEarlyRepayment.prototype, "date", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
ApiProperty(),
|
|
128
|
+
IsNumber(),
|
|
129
|
+
__metadata("design:type", Number)
|
|
130
|
+
], CreateEarlyRepayment.prototype, "annuity", void 0);
|
|
73
131
|
//# sourceMappingURL=CreateLoan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLoan.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/CreateLoan.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CreateLoan.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/CreateLoan.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,cAAc;IAGvB,IAAI,CAAS;IAIb,iBAAiB,CAAS;IAI1B,MAAM,CAAS;IAIf,MAAM,CAAS;IAIf,mBAAmB,CAAS;IAI5B,kBAAkB,CAAS;IAI3B,aAAa,CAAS;IAItB,IAAI,CAAS;IAIb,UAAU,CAAS;IAInB,OAAO,CAAS;IAIhB,UAAU,CAAS;IAInB,YAAY,CAAS;IAIrB,UAAU,CAAS;IAInB,SAAS,CAAS;IAKlB,aAAa,CAAU;IAGvB,KAAK,CAAU;CAClB;AA7DG;IAFD,WAAW,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IAC3C,QAAQ,EAAE;;4CACI;AAIb;IAFD,WAAW,CAAC,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IAC3D,QAAQ,EAAE;;yDACiB;AAI1B;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;8CACM;AAIf;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;8CACM;AAIf;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;2DACmB;AAI5B;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACkB;AAI3B;IAFD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;qDACa;AAItB;IAFD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;4CACI;AAIb;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACU;AAInB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;+CACO;AAIhB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACU;AAInB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACY;AAIrB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACU;AAInB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;iDACS;AAKlB;IAHD,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;qDACa;AAGvB;IADD,mBAAmB,EAAE;;6CACL;AAGnB,MAAM,OAAO,oBAAoB;IAG7B,MAAM,CAAS;IAIf,IAAI,CAAO;IAIX,OAAO,CAAS;CACnB;AATG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACM;AAIf;IAFD,WAAW,EAAE;IACb,MAAM,EAAE;8BACD,IAAI;kDAAC;AAIX;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACO","sourcesContent":["import { IsBoolean, IsDate, IsNumber, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateLoanForm {\n @ApiProperty({ description: 'Désignation' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Désignation de l\\'organisme' })\n @IsString()\n lenderDesignation: string;\n\n @ApiProperty()\n @IsString()\n number: string;\n\n @ApiProperty()\n @IsNumber()\n amount: number;\n\n @ApiProperty()\n @IsNumber()\n assetBeforeExercice: number;\n\n @ApiProperty()\n @IsNumber()\n assetAfterExercice: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n monthDuration: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n rate: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n annuity: number;\n\n @ApiProperty()\n @IsString()\n unlockDate: string;\n\n @ApiProperty()\n @IsString()\n firstDueDate: string;\n\n @ApiProperty()\n @IsNumber()\n commission: number;\n\n @ApiProperty()\n @IsNumber()\n insurance: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldProrate: boolean;\n\n @ApiPropertyOptional()\n files?: File[];\n}\n\nexport class CreateEarlyRepayment {\n @ApiProperty()\n @IsNumber()\n amount: number;\n\n @ApiProperty()\n @IsDate()\n date: Date;\n\n @ApiProperty()\n @IsNumber()\n annuity: number;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadLoan.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/ReadLoan.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadLoan.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/ReadLoan.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadLoanSchedule = {\n date: string;\n annuity: number;\n interest: number;\n insurance: number;\n commission: number;\n capital: number;\n remain: number;\n};"]}
|
|
@@ -2,11 +2,5 @@ export declare class UpdateLoanForm {
|
|
|
2
2
|
name?: string;
|
|
3
3
|
lenderDesignation?: string;
|
|
4
4
|
number?: string;
|
|
5
|
-
amount?: number;
|
|
6
|
-
assetBeforeExercice?: number;
|
|
7
|
-
assetAfterExercice?: number;
|
|
8
|
-
idExercice?: number;
|
|
9
|
-
monthDuration?: number;
|
|
10
|
-
rate?: number;
|
|
11
5
|
}
|
|
12
6
|
//# sourceMappingURL=UpdateLoan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateLoan.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/UpdateLoan.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"UpdateLoan.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/UpdateLoan.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAIvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -7,21 +7,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
export class UpdateLoanForm {
|
|
13
13
|
name;
|
|
14
14
|
lenderDesignation;
|
|
15
15
|
number;
|
|
16
|
-
amount;
|
|
17
|
-
assetBeforeExercice;
|
|
18
|
-
assetAfterExercice;
|
|
19
|
-
idExercice;
|
|
20
|
-
monthDuration;
|
|
21
|
-
rate;
|
|
22
16
|
}
|
|
23
17
|
__decorate([
|
|
24
18
|
ApiPropertyOptional(),
|
|
19
|
+
IsString(),
|
|
20
|
+
IsOptional(),
|
|
25
21
|
__metadata("design:type", String)
|
|
26
22
|
], UpdateLoanForm.prototype, "name", void 0);
|
|
27
23
|
__decorate([
|
|
@@ -36,40 +32,4 @@ __decorate([
|
|
|
36
32
|
IsOptional(),
|
|
37
33
|
__metadata("design:type", String)
|
|
38
34
|
], UpdateLoanForm.prototype, "number", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
ApiPropertyOptional(),
|
|
41
|
-
IsNumber(),
|
|
42
|
-
IsOptional(),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], UpdateLoanForm.prototype, "amount", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
ApiPropertyOptional(),
|
|
47
|
-
IsNumber(),
|
|
48
|
-
IsOptional(),
|
|
49
|
-
__metadata("design:type", Number)
|
|
50
|
-
], UpdateLoanForm.prototype, "assetBeforeExercice", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
ApiPropertyOptional(),
|
|
53
|
-
IsNumber(),
|
|
54
|
-
IsOptional(),
|
|
55
|
-
__metadata("design:type", Number)
|
|
56
|
-
], UpdateLoanForm.prototype, "assetAfterExercice", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
ApiPropertyOptional(),
|
|
59
|
-
IsNumber(),
|
|
60
|
-
IsOptional(),
|
|
61
|
-
__metadata("design:type", Number)
|
|
62
|
-
], UpdateLoanForm.prototype, "idExercice", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
ApiPropertyOptional(),
|
|
65
|
-
IsNumber(),
|
|
66
|
-
IsOptional(),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], UpdateLoanForm.prototype, "monthDuration", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
ApiPropertyOptional(),
|
|
71
|
-
IsNumber(),
|
|
72
|
-
IsOptional(),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], UpdateLoanForm.prototype, "rate", void 0);
|
|
75
35
|
//# sourceMappingURL=UpdateLoan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateLoan.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/UpdateLoan.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"UpdateLoan.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/loan/UpdateLoan.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,cAAc;IAIvB,IAAI,CAAU;IAKd,iBAAiB,CAAU;IAK3B,MAAM,CAAU;CACnB;AAXG;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACG;AAKd;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;yDACgB;AAK3B;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACK","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateLoanForm {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n name?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n lenderDesignation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n number?: string;\n}"]}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
export declare class QueryLogPagination {
|
|
2
|
+
limit?: number;
|
|
3
|
+
page?: number;
|
|
4
|
+
dateStart?: Date;
|
|
5
|
+
dateEnd?: Date;
|
|
6
|
+
idTypeLog: number;
|
|
7
|
+
idSociety?: number;
|
|
8
|
+
idUser?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class QueryLogPaginationByUser {
|
|
2
11
|
limit?: number;
|
|
3
12
|
page?: number;
|
|
4
13
|
idLogType: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryLogPagination.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/log/QueryLogPagination.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryLogPagination.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/log/QueryLogPagination.ts"],"names":[],"mappings":"AAOA,qBAAa,kBAAkB;IAI3B,KAAK,CAAC,EAAE,MAAM,CAAM;IAKpB,IAAI,CAAC,EAAE,MAAM,CAAK;IAKlB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAMf,SAAS,EAAE,MAAM,CAAC;IAKlB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,wBAAwB;IAIjC,KAAK,CAAC,EAAE,MAAM,CAAM;IAKpB,IAAI,CAAC,EAAE,MAAM,CAAK;IAKlB,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,MAAM,CAAQ;CAC3B"}
|
|
@@ -7,10 +7,62 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsEnum, IsInt, IsOptional, IsString, } from 'class-validator';
|
|
10
|
+
import { IsDate, IsEnum, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { LogType } from '../../../Enum/Log';
|
|
13
13
|
export class QueryLogPagination {
|
|
14
|
+
limit = 25;
|
|
15
|
+
page = 1;
|
|
16
|
+
dateStart;
|
|
17
|
+
dateEnd;
|
|
18
|
+
idTypeLog;
|
|
19
|
+
idSociety;
|
|
20
|
+
idUser;
|
|
21
|
+
}
|
|
22
|
+
__decorate([
|
|
23
|
+
ApiPropertyOptional(),
|
|
24
|
+
IsOptional(),
|
|
25
|
+
IsNumber(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], QueryLogPagination.prototype, "limit", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
ApiPropertyOptional(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
IsNumber(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], QueryLogPagination.prototype, "page", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
ApiPropertyOptional(),
|
|
36
|
+
IsOptional(),
|
|
37
|
+
IsDate(),
|
|
38
|
+
__metadata("design:type", Date)
|
|
39
|
+
], QueryLogPagination.prototype, "dateStart", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
ApiPropertyOptional(),
|
|
42
|
+
IsOptional(),
|
|
43
|
+
IsDate(),
|
|
44
|
+
__metadata("design:type", Date)
|
|
45
|
+
], QueryLogPagination.prototype, "dateEnd", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
ApiPropertyOptional(),
|
|
48
|
+
IsOptional(),
|
|
49
|
+
IsNumber(),
|
|
50
|
+
IsEnum(LogType),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], QueryLogPagination.prototype, "idTypeLog", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiPropertyOptional(),
|
|
55
|
+
IsOptional(),
|
|
56
|
+
IsNumber(),
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
|
+
], QueryLogPagination.prototype, "idSociety", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
ApiPropertyOptional(),
|
|
61
|
+
IsOptional(),
|
|
62
|
+
IsNumber(),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], QueryLogPagination.prototype, "idUser", void 0);
|
|
65
|
+
export class QueryLogPaginationByUser {
|
|
14
66
|
limit = 25;
|
|
15
67
|
page = 1;
|
|
16
68
|
idLogType;
|
|
@@ -21,23 +73,23 @@ __decorate([
|
|
|
21
73
|
IsOptional(),
|
|
22
74
|
IsInt(),
|
|
23
75
|
__metadata("design:type", Number)
|
|
24
|
-
],
|
|
76
|
+
], QueryLogPaginationByUser.prototype, "limit", void 0);
|
|
25
77
|
__decorate([
|
|
26
78
|
ApiPropertyOptional(),
|
|
27
79
|
IsOptional(),
|
|
28
80
|
IsInt(),
|
|
29
81
|
__metadata("design:type", Number)
|
|
30
|
-
],
|
|
82
|
+
], QueryLogPaginationByUser.prototype, "page", void 0);
|
|
31
83
|
__decorate([
|
|
32
84
|
ApiProperty(),
|
|
33
85
|
IsInt(),
|
|
34
86
|
IsEnum(LogType),
|
|
35
87
|
__metadata("design:type", Number)
|
|
36
|
-
],
|
|
88
|
+
], QueryLogPaginationByUser.prototype, "idLogType", void 0);
|
|
37
89
|
__decorate([
|
|
38
90
|
ApiPropertyOptional(),
|
|
39
91
|
IsOptional(),
|
|
40
92
|
IsString(),
|
|
41
93
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
94
|
+
], QueryLogPaginationByUser.prototype, "orderBy", void 0);
|
|
43
95
|
//# sourceMappingURL=QueryLogPagination.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryLogPagination.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/log/QueryLogPagination.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"QueryLogPagination.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/log/QueryLogPagination.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,kBAAkB;IAI3B,KAAK,GAAY,EAAE,CAAC;IAKpB,IAAI,GAAY,CAAC,CAAC;IAKlB,SAAS,CAAQ;IAKjB,OAAO,CAAQ;IAMf,SAAS,CAAS;IAKlB,SAAS,CAAU;IAKnB,MAAM,CAAU;CACnB;AAhCG;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACW;AAKpB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACS;AAKlB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;qDAAC;AAKjB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACG,IAAI;mDAAC;AAMf;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,MAAM,CAAC,OAAO,CAAC;;qDACI;AAKlB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACU;AAKnB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACO;AAGpB,MAAM,OAAO,wBAAwB;IAIjC,KAAK,GAAY,EAAE,CAAC;IAKpB,IAAI,GAAY,CAAC,CAAC;IAKlB,SAAS,CAAS;IAKlB,OAAO,GAAY,IAAI,CAAC;CAC3B;AAhBG;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;uDACc;AAKpB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;sDACY;AAKlB;IAHD,WAAW,EAAE;IACb,KAAK,EAAE;IACP,MAAM,CAAC,OAAO,CAAC;;2DACI;AAKlB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACe","sourcesContent":["import {\n IsDate,\n IsEnum, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { LogType } from '../../../Enum/Log';\n\nexport class QueryLogPagination {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n page?: number = 1;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n dateStart?: Date;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n dateEnd?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsEnum(LogType)\n idTypeLog: number;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n\nexport class QueryLogPaginationByUser {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n limit?: number = 25;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number = 1;\n\n @ApiProperty()\n @IsInt()\n @IsEnum(LogType)\n idLogType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'id';\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAG/B,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAG/B,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,mBAAmB;IAI5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAE7B"}
|
|
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsString } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../utils';
|
|
10
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
export class CreateStripeConnection {
|
|
13
13
|
code;
|
|
14
14
|
}
|
|
@@ -17,4 +17,13 @@ __decorate([
|
|
|
17
17
|
IsString(),
|
|
18
18
|
__metadata("design:type", String)
|
|
19
19
|
], CreateStripeConnection.prototype, "code", void 0);
|
|
20
|
+
export class CreateStripePortals {
|
|
21
|
+
stripeCustomerId;
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsString(),
|
|
26
|
+
IsOptional(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateStripePortals.prototype, "stripeCustomerId", void 0);
|
|
20
29
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAG/B,IAAI,CAAS;CAChB;AADG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACI;AAGjB,MAAM,OAAO,mBAAmB;IAI5B,gBAAgB,CAAU;CAE7B;AAFG;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACe","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n stripeCustomerId?: string;\n\n}"]}
|
|
@@ -2,6 +2,7 @@ import { ISociety } from './ISociety';
|
|
|
2
2
|
import { IExercice } from './IExercice';
|
|
3
3
|
import { IAccount } from './IAccount';
|
|
4
4
|
import { ILoanFile } from './ILoanFile';
|
|
5
|
+
import { ILoanEarlyRepayment } from './ILoanEarlyRepayment';
|
|
5
6
|
export interface ILoan {
|
|
6
7
|
id?: number;
|
|
7
8
|
name: string;
|
|
@@ -13,6 +14,11 @@ export interface ILoan {
|
|
|
13
14
|
assetAfterExercice: number;
|
|
14
15
|
monthDuration?: number;
|
|
15
16
|
rate?: number;
|
|
17
|
+
annuity: number | null;
|
|
18
|
+
unlockDate: Date | null;
|
|
19
|
+
firstDueDate: Date | null;
|
|
20
|
+
commission: number | null;
|
|
21
|
+
insurance: number | null;
|
|
16
22
|
idExercice: number;
|
|
17
23
|
idSociety: number;
|
|
18
24
|
idAccountRefund: number;
|
|
@@ -30,5 +36,6 @@ export interface ILoan {
|
|
|
30
36
|
accountCommission?: IAccount;
|
|
31
37
|
accountReleaseLoanCapital?: IAccount;
|
|
32
38
|
loanFiles?: ILoanFile[];
|
|
39
|
+
earlyRepayments?: ILoanEarlyRepayment[];
|
|
33
40
|
}
|
|
34
41
|
//# sourceMappingURL=ILoan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILoan.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ILoan.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,2BAA2B,EAAE,MAAM,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,yBAAyB,CAAC,EAAE,QAAQ,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILoan.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IAccount } from './IAccount';\nimport { ILoanFile } from './ILoanFile';\n\nexport interface ILoan {\n id?: number;\n name: string;\n lenderDesignation: string;\n number: string;\n accountCount: number;\n amount: number;\n assetBeforeExercice: number;\n assetAfterExercice: number;\n monthDuration?: number;\n rate?: number;\n idExercice: number;\n idSociety: number;\n idAccountRefund: number;\n idAccountBenefit: number;\n idAccountInsurance: number;\n idAccountCommission: number;\n idAccountReleaseLoanCapital: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n accountRefund?: IAccount;\n accountBenefit?: IAccount;\n accountInsurance?: IAccount;\n accountCommission?: IAccount;\n accountReleaseLoanCapital?: IAccount;\n loanFiles?: ILoanFile[];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ILoan.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IAccount } from './IAccount';\nimport { ILoanFile } from './ILoanFile';\nimport { ILoanEarlyRepayment } from './ILoanEarlyRepayment';\n\nexport interface ILoan {\n id?: number;\n name: string;\n lenderDesignation: string;\n number: string;\n accountCount: number;\n amount: number;\n assetBeforeExercice: number;\n assetAfterExercice: number;\n monthDuration?: number;\n rate?: number;\n annuity: number | null;\n unlockDate: Date | null;\n firstDueDate: Date | null;\n commission: number | null;\n insurance: number | null;\n idExercice: number;\n idSociety: number;\n idAccountRefund: number;\n idAccountBenefit: number;\n idAccountInsurance: number;\n idAccountCommission: number;\n idAccountReleaseLoanCapital: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n accountRefund?: IAccount;\n accountBenefit?: IAccount;\n accountInsurance?: IAccount;\n accountCommission?: IAccount;\n accountReleaseLoanCapital?: IAccount;\n loanFiles?: ILoanFile[];\n earlyRepayments?: ILoanEarlyRepayment[];\n}\n"]}
|