@platform-modules/foreign-ministry 1.3.208 → 1.3.210

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.
@@ -53,6 +53,7 @@ export declare class AppointmentRequests extends BaseModel {
53
53
  food_service_required: AppointmentYesNo | null;
54
54
  external_attendees_required_gate_pass: AppointmentYesNo | null;
55
55
  number_of_persons_for_food: number | null;
56
+ menu_preference: string | null;
56
57
  status: AppointmentRequestStatus;
57
58
  workflow_execution_id: string | null;
58
59
  notify_before_me: string | null;
@@ -146,6 +146,10 @@ __decorate([
146
146
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
147
147
  __metadata("design:type", Object)
148
148
  ], AppointmentRequests.prototype, "number_of_persons_for_food", void 0);
149
+ __decorate([
150
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
151
+ __metadata("design:type", Object)
152
+ ], AppointmentRequests.prototype, "menu_preference", void 0);
149
153
  __decorate([
150
154
  (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentRequestStatus, default: AppointmentRequestStatus.PENDING, nullable: false }),
151
155
  __metadata("design:type", String)
@@ -3,5 +3,7 @@ export declare class HallMaster extends BaseModel {
3
3
  name: string;
4
4
  location: string | null;
5
5
  meeting_location: string | null;
6
- constructor(name: string, location?: string | null, meeting_location?: string | null);
6
+ location_name_in_arabic: string | null;
7
+ hall_name_in_arabic: string | null;
8
+ constructor(name: string, location?: string | null, meeting_location?: string | null, location_name_in_arabic?: string | null, hall_name_in_arabic?: string | null);
7
9
  }
@@ -13,11 +13,13 @@ exports.HallMaster = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  let HallMaster = class HallMaster extends BaseModel_1.BaseModel {
16
- constructor(name, location, meeting_location) {
16
+ constructor(name, location, meeting_location, location_name_in_arabic, hall_name_in_arabic) {
17
17
  super();
18
18
  this.name = name;
19
19
  this.location = location ?? null;
20
20
  this.meeting_location = meeting_location ?? null;
21
+ this.location_name_in_arabic = location_name_in_arabic ?? null;
22
+ this.hall_name_in_arabic = hall_name_in_arabic ?? null;
21
23
  }
22
24
  };
23
25
  exports.HallMaster = HallMaster;
@@ -33,7 +35,15 @@ __decorate([
33
35
  (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
34
36
  __metadata("design:type", Object)
35
37
  ], HallMaster.prototype, "meeting_location", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
40
+ __metadata("design:type", Object)
41
+ ], HallMaster.prototype, "location_name_in_arabic", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
44
+ __metadata("design:type", Object)
45
+ ], HallMaster.prototype, "hall_name_in_arabic", void 0);
36
46
  exports.HallMaster = HallMaster = __decorate([
37
47
  (0, typeorm_1.Entity)({ name: 'halls' }),
38
- __metadata("design:paramtypes", [String, Object, Object])
48
+ __metadata("design:paramtypes", [String, Object, Object, Object, Object])
39
49
  ], HallMaster);
@@ -75,6 +75,7 @@ export declare class MeetingRequests extends BaseModel {
75
75
  status: MeetingRequestStatus;
76
76
  workflow_execution_id: string | null;
77
77
  number_of_persons_for_food: number | null;
78
+ menu_preference: string | null;
78
79
  notify_before_me: string | null;
79
80
  follow_up_meeting_id: number | null;
80
81
  /** When true, workflow includes Under Secretary Approval step; when false or null, that step is skipped. */
@@ -198,6 +198,10 @@ __decorate([
198
198
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
199
199
  __metadata("design:type", Object)
200
200
  ], MeetingRequests.prototype, "number_of_persons_for_food", void 0);
201
+ __decorate([
202
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
203
+ __metadata("design:type", Object)
204
+ ], MeetingRequests.prototype, "menu_preference", void 0);
201
205
  __decorate([
202
206
  (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
203
207
  __metadata("design:type", Object)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.3.208",
3
+ "version": "1.3.210",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -111,6 +111,9 @@ export class AppointmentRequests extends BaseModel {
111
111
  @Column({ type: 'int', nullable: true })
112
112
  number_of_persons_for_food: number | null;
113
113
 
114
+ @Column({ type: 'text', nullable: true })
115
+ menu_preference: string | null;
116
+
114
117
  @Column({ type: 'enum', enum: AppointmentRequestStatus, default: AppointmentRequestStatus.PENDING, nullable: false })
115
118
  status: AppointmentRequestStatus;
116
119
 
@@ -12,12 +12,20 @@ export class HallMaster extends BaseModel {
12
12
  @Column({ type: 'varchar', length: 255, nullable: true })
13
13
  meeting_location: string | null;
14
14
 
15
+ @Column({ type: 'varchar', length: 255, nullable: true })
16
+ location_name_in_arabic: string | null;
17
+
18
+ @Column({ type: 'varchar', length: 255, nullable: true })
19
+ hall_name_in_arabic: string | null;
20
+
15
21
 
16
- constructor(name: string, location?: string | null, meeting_location?: string | null) {
22
+ constructor(name: string, location?: string | null, meeting_location?: string | null, location_name_in_arabic?: string | null, hall_name_in_arabic?: string | null) {
17
23
  super();
18
24
  this.name = name;
19
25
  this.location = location ?? null;
20
26
  this.meeting_location = meeting_location ?? null;
27
+ this.location_name_in_arabic = location_name_in_arabic ?? null;
28
+ this.hall_name_in_arabic = hall_name_in_arabic ?? null;
21
29
  }
22
30
  }
23
31
 
@@ -154,6 +154,9 @@ export class MeetingRequests extends BaseModel {
154
154
  @Column({ type: 'int', nullable: true })
155
155
  number_of_persons_for_food: number | null;
156
156
 
157
+ @Column({ type: 'text', nullable: true })
158
+ menu_preference: string | null;
159
+
157
160
  @Column({ type: 'varchar', length: 100, nullable: true })
158
161
  notify_before_me: string | null;
159
162