@platform-modules/foreign-ministry 1.1.113 → 1.1.114

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.
Files changed (40) hide show
  1. package/dist/models/DiplomaticClubCardApprovalModel.d.ts +16 -0
  2. package/dist/models/DiplomaticClubCardApprovalModel.js +58 -0
  3. package/dist/models/DiplomaticClubCardAttachmentModel.d.ts +9 -0
  4. package/dist/models/DiplomaticClubCardAttachmentModel.js +44 -0
  5. package/dist/models/DiplomaticClubCardChatModel.d.ts +7 -0
  6. package/dist/models/DiplomaticClubCardChatModel.js +36 -0
  7. package/dist/models/DiplomaticClubCardMemberModel.d.ts +13 -0
  8. package/dist/models/DiplomaticClubCardMemberModel.js +60 -0
  9. package/dist/models/DiplomaticClubCardRequestModel.d.ts +33 -0
  10. package/dist/models/DiplomaticClubCardRequestModel.js +98 -0
  11. package/dist/models/DiplomaticClubCardWorkFlowModel.d.ts +12 -0
  12. package/dist/models/DiplomaticClubCardWorkFlowModel.js +42 -0
  13. package/dist/models/DiplomaticServiceDetailsModel.d.ts +20 -0
  14. package/dist/models/DiplomaticServiceDetailsModel.js +65 -0
  15. package/dist/models/DiplomaticSettingsModel.d.ts +11 -0
  16. package/dist/models/DiplomaticSettingsModel.js +59 -0
  17. package/dist/models/DiplomaticTitleModel.d.ts +12 -0
  18. package/dist/models/DiplomaticTitleModel.js +45 -0
  19. package/dist/models/FinancialApprovalsModel.d.ts +0 -1
  20. package/dist/models/FinancialApprovalsModel.js +0 -4
  21. package/dist/models/LeaveConfigModel.d.ts +1 -3
  22. package/dist/models/LeaveConfigModel.js +2 -12
  23. package/dist/models/PassportRequestApprovalModel.d.ts +22 -0
  24. package/dist/models/PassportRequestApprovalModel.js +91 -0
  25. package/dist/models/PassportRequestAttachmentModel.d.ts +10 -0
  26. package/dist/models/PassportRequestAttachmentModel.js +54 -0
  27. package/dist/models/PassportRequestChatModel.d.ts +8 -0
  28. package/dist/models/PassportRequestChatModel.js +44 -0
  29. package/dist/models/PassportRequestDependentModel.d.ts +20 -0
  30. package/dist/models/PassportRequestDependentModel.js +85 -0
  31. package/dist/models/PassportRequestModel.d.ts +40 -0
  32. package/dist/models/PassportRequestModel.js +128 -0
  33. package/dist/models/PassportRequestWorkFlowModel.d.ts +15 -0
  34. package/dist/models/PassportRequestWorkFlowModel.js +60 -0
  35. package/dist/models/SubscriptionAmountModel.d.ts +67 -0
  36. package/dist/models/SubscriptionAmountModel.js +114 -0
  37. package/package.json +1 -1
  38. package/src/models/DiplomaticRequestsModel.ts +154 -154
  39. package/src/models/FinancialApprovalsModel.ts +0 -4
  40. package/src/models/LeaveConfigModel.ts +63 -71
@@ -1,72 +1,64 @@
1
- import { Column, Entity } from "typeorm";
2
- import { BaseModel } from './BaseModel';
3
-
4
- export enum enumFrequency {
5
- Monthly = 'Monthly',
6
- Yearly = 'Yearly',
7
- }
8
-
9
- //This model is used to store the Financial Grade declaration on the Admin Side
10
- @Entity({ name: 'leave_configuration' })
11
- export class LeaveConfiguration extends BaseModel {
12
-
13
- @Column({ type: 'varchar', nullable: true })
14
- category: string;
15
-
16
- @Column({ type: 'int', nullable: true })
17
- MandC_id: number;
18
-
19
- @Column({ type: 'int', nullable: true })
20
- leave_type_id: number;
21
-
22
- @Column({ type: 'varchar', nullable: true })
23
- frequency: enumFrequency;
24
-
25
- @Column({ type: 'varchar', nullable: true })
26
- region: string;
27
-
28
- @Column({ type: 'varchar', nullable: true })
29
- country: string;
30
-
31
- @Column({ type: 'varchar', nullable: true })
32
- location: string;
33
-
34
- @Column({ nullable: true, default: false })
35
- is_carryforward: boolean;
36
-
37
- @Column({ type: 'int', nullable: true, default: 0 })
38
- carryforward_limit: number;
39
-
40
- @Column({ type: 'date', nullable: true })
41
- from_date: Date;
42
-
43
- @Column({ type: 'date', nullable: true })
44
- to_date: Date;
45
-
46
- @Column({ type: 'varchar', nullable: true })
47
- reason: string;
48
-
49
- @Column({ type: 'int', nullable: true })
50
- emergency_balance_days: number | null;
51
-
52
- @Column({ type: 'date', nullable: true })
53
- last_credited: Date | null;
54
-
55
- constructor(category: string, MandC_id: number, leave_type_id: number, frequency: enumFrequency, region: string, country: string, location: string, is_carryforward: boolean, carryforward_limit: number, from_date: Date, to_date: Date, reason: string, emergency_balance_days?: number|null, last_credited?: Date|null) {
56
- super();
57
- this.category = category;
58
- this.MandC_id = MandC_id;
59
- this.leave_type_id = leave_type_id;
60
- this.frequency = frequency;
61
- this.region = region;
62
- this.country = country;
63
- this.location = location;
64
- this.is_carryforward = is_carryforward;
65
- this.carryforward_limit = carryforward_limit;
66
- this.from_date = from_date;
67
- this.to_date = to_date;
68
- this.reason = reason;
69
- this.emergency_balance_days = emergency_balance_days ?? null;
70
- this.last_credited = last_credited ?? null;
71
- }
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ export enum enumFrequency {
5
+ Monthly = 'Monthly',
6
+ Yearly = 'Yearly',
7
+ }
8
+
9
+ //This model is used to store the Financial Grade declaration on the Admin Side
10
+ @Entity({ name: 'leave_configuration' })
11
+ export class LeaveConfiguration extends BaseModel {
12
+
13
+ @Column({ type: 'varchar', nullable: true })
14
+ category: string;
15
+
16
+ @Column({ type: 'int', nullable: true })
17
+ MandC_id: number;
18
+
19
+ @Column({ type: 'int', nullable: true })
20
+ leave_type_id: number;
21
+
22
+ @Column({ type: 'varchar', nullable: true })
23
+ frequency: enumFrequency;
24
+
25
+ @Column({ type: 'varchar', nullable: true })
26
+ region: string;
27
+
28
+ @Column({ type: 'varchar', nullable: true })
29
+ country: string;
30
+
31
+ @Column({ type: 'varchar', nullable: true })
32
+ location: string;
33
+
34
+ @Column({ nullable: true, default: false })
35
+ is_carryforward: boolean;
36
+
37
+ @Column({ type: 'int', nullable: true, default: 0 })
38
+ carryforward_limit: number;
39
+
40
+ @Column({ type: 'date', nullable: true })
41
+ from_date: Date;
42
+
43
+ @Column({ type: 'date', nullable: true })
44
+ to_date: Date;
45
+
46
+ @Column({ type: 'varchar', nullable: true })
47
+ reason: string;
48
+
49
+ constructor(category: string, MandC_id: number, leave_type_id: number, frequency: enumFrequency, region: string, country: string, location: string, is_carryforward: boolean, carryforward_limit: number, from_date: Date, to_date: Date, reason: string) {
50
+ super();
51
+ this.category = category;
52
+ this.MandC_id = MandC_id;
53
+ this.leave_type_id = leave_type_id;
54
+ this.frequency = frequency;
55
+ this.region = region;
56
+ this.country = country;
57
+ this.location = location;
58
+ this.is_carryforward = is_carryforward;
59
+ this.carryforward_limit = carryforward_limit;
60
+ this.from_date = from_date;
61
+ this.to_date = to_date;
62
+ this.reason = reason;
63
+ }
72
64
  }