@platform-modules/foreign-ministry 1.3.48 → 1.3.50
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.
|
@@ -18,5 +18,7 @@ export declare class TelephoneDirectory extends BaseModel {
|
|
|
18
18
|
zip_code: string;
|
|
19
19
|
country: string;
|
|
20
20
|
photo_url: string;
|
|
21
|
-
|
|
21
|
+
service_id: number;
|
|
22
|
+
sub_service_id: number;
|
|
23
|
+
constructor(category?: "FM" | "Embassy", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, location?: string, department_id?: number, employee_id?: number, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number);
|
|
22
24
|
}
|
|
@@ -13,7 +13,7 @@ exports.TelephoneDirectory = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let TelephoneDirectory = class TelephoneDirectory extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(category, name, position, diplomatic_title, embassy_id, contextual_search, email, contact_number, extension_number, location, department_id, employee_id, city, state, zip_code, country, photo_url) {
|
|
16
|
+
constructor(category, name, position, diplomatic_title, embassy_id, contextual_search, email, contact_number, extension_number, location, department_id, employee_id, city, state, zip_code, country, photo_url, service_id, sub_service_id) {
|
|
17
17
|
super();
|
|
18
18
|
this.category = category || "FM";
|
|
19
19
|
this.name = name || "";
|
|
@@ -32,6 +32,8 @@ let TelephoneDirectory = class TelephoneDirectory extends BaseModel_1.BaseModel
|
|
|
32
32
|
this.zip_code = zip_code || "";
|
|
33
33
|
this.country = country || "";
|
|
34
34
|
this.photo_url = photo_url || "";
|
|
35
|
+
this.service_id = service_id || 0;
|
|
36
|
+
this.sub_service_id = sub_service_id || 0;
|
|
35
37
|
}
|
|
36
38
|
};
|
|
37
39
|
exports.TelephoneDirectory = TelephoneDirectory;
|
|
@@ -107,7 +109,15 @@ __decorate([
|
|
|
107
109
|
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
108
110
|
__metadata("design:type", String)
|
|
109
111
|
], TelephoneDirectory.prototype, "photo_url", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
114
|
+
__metadata("design:type", Number)
|
|
115
|
+
], TelephoneDirectory.prototype, "service_id", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
118
|
+
__metadata("design:type", Number)
|
|
119
|
+
], TelephoneDirectory.prototype, "sub_service_id", void 0);
|
|
110
120
|
exports.TelephoneDirectory = TelephoneDirectory = __decorate([
|
|
111
121
|
(0, typeorm_1.Entity)({ name: "telephone_directory" }),
|
|
112
|
-
__metadata("design:paramtypes", [String, String, String, String, Object, Object, String, String, String, String, Number, Number, String, String, String, String, String])
|
|
122
|
+
__metadata("design:paramtypes", [String, String, String, String, Object, Object, String, String, String, String, Number, Number, String, String, String, String, String, Number, Number])
|
|
113
123
|
], TelephoneDirectory);
|
package/package.json
CHANGED
|
@@ -63,7 +63,13 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
63
63
|
@Column({ type: "varchar", length: 500, nullable: true })
|
|
64
64
|
photo_url: string;
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
@Column({ type: "int", nullable: true })
|
|
67
|
+
service_id: number;
|
|
68
|
+
|
|
69
|
+
@Column({ type: "int", nullable: true })
|
|
70
|
+
sub_service_id: number;
|
|
71
|
+
|
|
72
|
+
constructor(category?: "FM" | "Embassy", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, location?: string, department_id?: number, employee_id?: number, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number) {
|
|
67
73
|
super();
|
|
68
74
|
this.category = category || "FM";
|
|
69
75
|
this.name = name || "";
|
|
@@ -82,6 +88,8 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
82
88
|
this.zip_code = zip_code || "";
|
|
83
89
|
this.country = country || "";
|
|
84
90
|
this.photo_url = photo_url || "";
|
|
91
|
+
this.service_id = service_id || 0;
|
|
92
|
+
this.sub_service_id = sub_service_id || 0;
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
}
|