@platform-modules/foreign-ministry 1.0.109 → 1.0.111
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/data-source.js +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/BankAccountChangeRequestsModel.js +1 -1
- package/dist/models/BankNamesModel.d.ts +9 -0
- package/dist/models/BankNamesModel.js +49 -0
- package/package.json +1 -1
- package/src/data-source.ts +3 -1
- package/src/index.ts +1 -0
- package/src/models/BankAccountChangeRequestsModel.ts +1 -1
- package/src/models/BankNamesModel.ts +36 -0
package/dist/data-source.js
CHANGED
|
@@ -67,6 +67,7 @@ const FinancialWorkFlowModel_1 = require("./models/FinancialWorkFlowModel");
|
|
|
67
67
|
const FinancialAttachmentsModel_1 = require("./models/FinancialAttachmentsModel");
|
|
68
68
|
const RequestTypeMasterModel_1 = require("./models/RequestTypeMasterModel");
|
|
69
69
|
const AllowanceTypesModel_1 = require("./models/AllowanceTypesModel");
|
|
70
|
+
const BankNamesModel_1 = require("./models/BankNamesModel");
|
|
70
71
|
const WorkflowTask_1 = require("./models/WorkflowTask");
|
|
71
72
|
const WorkflowTaskNames_1 = require("./models/WorkflowTaskNames");
|
|
72
73
|
const WorkflowDefinitions_1 = require("./models/WorkflowDefinitions");
|
|
@@ -150,6 +151,7 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
150
151
|
WorkflowHierarchy_1.WorkflowHierarchy,
|
|
151
152
|
importantLinksModel_1.ImportantLinks,
|
|
152
153
|
DelegateSettingsModel_1.DelegateSettings,
|
|
153
|
-
AllowanceTypesModel_1.AllowanceTypes
|
|
154
|
+
AllowanceTypesModel_1.AllowanceTypes,
|
|
155
|
+
BankNamesModel_1.BankNames
|
|
154
156
|
],
|
|
155
157
|
});
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -82,3 +82,4 @@ __exportStar(require("./models/WorkflowHierarchy"), exports);
|
|
|
82
82
|
__exportStar(require("./models/importantLinksModel"), exports);
|
|
83
83
|
__exportStar(require("./models/DelegateSettingsModel"), exports);
|
|
84
84
|
__exportStar(require("./models/AllowanceTypesModel"), exports);
|
|
85
|
+
__exportStar(require("./models/BankNamesModel"), exports);
|
|
@@ -58,7 +58,7 @@ __decorate([
|
|
|
58
58
|
__metadata("design:type", String)
|
|
59
59
|
], BankAccountChangeRequests.prototype, "reason_for_change", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ type: 'date',
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
62
62
|
__metadata("design:type", String)
|
|
63
63
|
], BankAccountChangeRequests.prototype, "effective_from_date", void 0);
|
|
64
64
|
exports.BankAccountChangeRequests = BankAccountChangeRequests = __decorate([
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class BankNames extends BaseModel {
|
|
3
|
+
bank_name: string;
|
|
4
|
+
bank_code: string;
|
|
5
|
+
bank_description: string;
|
|
6
|
+
country: string;
|
|
7
|
+
is_active: boolean;
|
|
8
|
+
constructor(bank_name: string, bank_code: string, bank_description?: string, country?: string);
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.BankNames = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let BankNames = class BankNames extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(bank_name, bank_code, bank_description, country) {
|
|
17
|
+
super();
|
|
18
|
+
this.bank_name = bank_name;
|
|
19
|
+
this.bank_code = bank_code;
|
|
20
|
+
this.bank_description = bank_description || '';
|
|
21
|
+
this.country = country || '';
|
|
22
|
+
this.is_active = true;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.BankNames = BankNames;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false, unique: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], BankNames.prototype, "bank_name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true, unique: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BankNames.prototype, "bank_code", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], BankNames.prototype, "bank_description", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], BankNames.prototype, "country", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], BankNames.prototype, "is_active", void 0);
|
|
46
|
+
exports.BankNames = BankNames = __decorate([
|
|
47
|
+
(0, typeorm_1.Entity)({ name: 'bank_names' }),
|
|
48
|
+
__metadata("design:paramtypes", [String, String, String, String])
|
|
49
|
+
], BankNames);
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -69,6 +69,7 @@ import { FinancialWorkFlow } from './models/FinancialWorkFlowModel';
|
|
|
69
69
|
import { FinancialAttachments } from './models/FinancialAttachmentsModel';
|
|
70
70
|
import { RequestTypeMaster } from './models/RequestTypeMasterModel';
|
|
71
71
|
import { AllowanceTypes } from './models/AllowanceTypesModel';
|
|
72
|
+
import { BankNames } from './models/BankNamesModel';
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
import { WorkflowTask } from './models/WorkflowTask';
|
|
@@ -156,6 +157,7 @@ export const AppDataSource = new DataSource({
|
|
|
156
157
|
WorkflowHierarchy,
|
|
157
158
|
ImportantLinks,
|
|
158
159
|
DelegateSettings,
|
|
159
|
-
AllowanceTypes
|
|
160
|
+
AllowanceTypes,
|
|
161
|
+
BankNames
|
|
160
162
|
],
|
|
161
163
|
});
|
package/src/index.ts
CHANGED
|
@@ -30,7 +30,7 @@ export class BankAccountChangeRequests extends BaseModel {
|
|
|
30
30
|
@Column({ type: 'text' })
|
|
31
31
|
reason_for_change: string;
|
|
32
32
|
|
|
33
|
-
@Column({ type: 'date',
|
|
33
|
+
@Column({ type: 'date', nullable: true })
|
|
34
34
|
effective_from_date: string;
|
|
35
35
|
|
|
36
36
|
constructor(
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Column, Entity } from "typeorm";
|
|
2
|
+
import { BaseModel } from './BaseModel';
|
|
3
|
+
|
|
4
|
+
@Entity({ name: 'bank_names' })
|
|
5
|
+
export class BankNames extends BaseModel {
|
|
6
|
+
|
|
7
|
+
@Column({ type: 'varchar', length: 100, nullable: false, unique: true })
|
|
8
|
+
bank_name: string;
|
|
9
|
+
|
|
10
|
+
@Column({ type: 'varchar', length: 50, nullable: true, unique: true })
|
|
11
|
+
bank_code: string;
|
|
12
|
+
|
|
13
|
+
@Column({ type: 'text', nullable: true })
|
|
14
|
+
bank_description: string;
|
|
15
|
+
|
|
16
|
+
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
17
|
+
country: string;
|
|
18
|
+
|
|
19
|
+
@Column({ type: 'boolean', default: true })
|
|
20
|
+
is_active: boolean;
|
|
21
|
+
|
|
22
|
+
constructor(
|
|
23
|
+
bank_name: string,
|
|
24
|
+
bank_code: string,
|
|
25
|
+
bank_description?: string,
|
|
26
|
+
country?: string
|
|
27
|
+
) {
|
|
28
|
+
super();
|
|
29
|
+
this.bank_name = bank_name;
|
|
30
|
+
this.bank_code = bank_code;
|
|
31
|
+
this.bank_description = bank_description || '';
|
|
32
|
+
this.country = country || '';
|
|
33
|
+
this.is_active = true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|