@platform-modules/foreign-ministry 1.0.102 → 1.0.103
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.
|
@@ -8,5 +8,6 @@ export declare class BankAccountChangeRequests extends BaseModel {
|
|
|
8
8
|
new_account_name: string;
|
|
9
9
|
new_branch_ifsc_code: string;
|
|
10
10
|
reason_for_change: string;
|
|
11
|
-
|
|
11
|
+
effective_from_date: Date;
|
|
12
|
+
constructor(financial_request_id: number, new_bank_name: string, new_account_number: string, new_account_name: string, new_branch_ifsc_code: string, reason_for_change: string, effective_from_date: Date);
|
|
12
13
|
}
|
|
@@ -13,7 +13,7 @@ exports.BankAccountChangeRequests = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let BankAccountChangeRequests = class BankAccountChangeRequests extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(financial_request_id, new_bank_name, new_account_number, new_account_name, new_branch_ifsc_code, reason_for_change) {
|
|
16
|
+
constructor(financial_request_id, new_bank_name, new_account_number, new_account_name, new_branch_ifsc_code, reason_for_change, effective_from_date) {
|
|
17
17
|
super();
|
|
18
18
|
this.financial_request_id = financial_request_id;
|
|
19
19
|
this.new_bank_name = new_bank_name;
|
|
@@ -21,6 +21,7 @@ let BankAccountChangeRequests = class BankAccountChangeRequests extends BaseMode
|
|
|
21
21
|
this.new_account_name = new_account_name;
|
|
22
22
|
this.new_branch_ifsc_code = new_branch_ifsc_code;
|
|
23
23
|
this.reason_for_change = reason_for_change;
|
|
24
|
+
this.effective_from_date = effective_from_date;
|
|
24
25
|
}
|
|
25
26
|
};
|
|
26
27
|
exports.BankAccountChangeRequests = BankAccountChangeRequests;
|
|
@@ -56,7 +57,11 @@ __decorate([
|
|
|
56
57
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
57
58
|
__metadata("design:type", String)
|
|
58
59
|
], BankAccountChangeRequests.prototype, "reason_for_change", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
62
|
+
__metadata("design:type", Date)
|
|
63
|
+
], BankAccountChangeRequests.prototype, "effective_from_date", void 0);
|
|
59
64
|
exports.BankAccountChangeRequests = BankAccountChangeRequests = __decorate([
|
|
60
65
|
(0, typeorm_1.Entity)({ name: 'bank_account_change_requests' }),
|
|
61
|
-
__metadata("design:paramtypes", [Number, String, String, String, String, String])
|
|
66
|
+
__metadata("design:paramtypes", [Number, String, String, String, String, String, Date])
|
|
62
67
|
], BankAccountChangeRequests);
|
package/package.json
CHANGED
|
@@ -30,6 +30,9 @@ export class BankAccountChangeRequests extends BaseModel {
|
|
|
30
30
|
@Column({ type: 'text' })
|
|
31
31
|
reason_for_change: string;
|
|
32
32
|
|
|
33
|
+
@Column({ type: 'boolean', default: false })
|
|
34
|
+
effective_from_date: Date;
|
|
35
|
+
|
|
33
36
|
constructor(
|
|
34
37
|
financial_request_id: number,
|
|
35
38
|
new_bank_name: string,
|
|
@@ -37,6 +40,7 @@ export class BankAccountChangeRequests extends BaseModel {
|
|
|
37
40
|
new_account_name: string,
|
|
38
41
|
new_branch_ifsc_code: string,
|
|
39
42
|
reason_for_change: string,
|
|
43
|
+
effective_from_date: Date,
|
|
40
44
|
) {
|
|
41
45
|
super();
|
|
42
46
|
this.financial_request_id = financial_request_id;
|
|
@@ -45,6 +49,7 @@ export class BankAccountChangeRequests extends BaseModel {
|
|
|
45
49
|
this.new_account_name = new_account_name;
|
|
46
50
|
this.new_branch_ifsc_code = new_branch_ifsc_code;
|
|
47
51
|
this.reason_for_change = reason_for_change;
|
|
52
|
+
this.effective_from_date = effective_from_date;
|
|
48
53
|
}
|
|
49
54
|
}
|
|
50
55
|
|