@platform-modules/foreign-ministry 1.1.54 → 1.1.56

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.
@@ -3,6 +3,60 @@ export declare enum MembershipType {
3
3
  SINGLE = "Single",
4
4
  FAMILY = "Family"
5
5
  }
6
+ export declare enum RequestType {
7
+ EMPLOYEE_FAMILY = "Employee Family",
8
+ EMPLOYEE_SELF = "Employee Self",
9
+ NON_EMPLOYEE = "Non Employee"
10
+ }
11
+ export declare enum RequestStatus {
12
+ DRAFT = "Draft",
13
+ SUBMITTED = "Submitted",
14
+ PENDING = "Pending",
15
+ IN_PROGRESS = "In Progress",
16
+ APPROVED = "Approved",
17
+ REJECTED = "Rejected",
18
+ COMPLETED = "Completed",
19
+ CANCELLED = "Cancelled"
20
+ }
21
+ export declare enum DiplomaticClubCardApprovalStatus {
22
+ PENDING = "Pending",
23
+ APPROVED = "Approved",
24
+ REJECTED = "Rejected",
25
+ SKIPPED = "Skipped",
26
+ IN_PROGRESS = "In Progress"
27
+ }
28
+ export { DiplomaticWorkFlowStatus as DiplomaticClubCardWorkFlowStatus } from './DiplomaticWorkFlowModel';
29
+ export declare enum PassportType {
30
+ DIPLOMATIC = "Diplomatic Passport",
31
+ SERVICE = "Service passport"
32
+ }
33
+ export declare enum ApplicationFor {
34
+ SELF = "Self",
35
+ DEPENDENTS = "Dependents",
36
+ BOTH = "Both"
37
+ }
38
+ export declare enum PassportRequestType {
39
+ NEW = "New",
40
+ RENEWAL = "Renewal",
41
+ REPLACEMENT = "Replacement"
42
+ }
43
+ export declare enum PassportRequestStatus {
44
+ DRAFT = "Draft",
45
+ SUBMITTED = "Submitted",
46
+ PENDING = "Pending",
47
+ IN_PROGRESS = "In Progress",
48
+ APPROVED = "Approved",
49
+ REJECTED = "Rejected",
50
+ COMPLETED = "Completed",
51
+ CANCELLED = "Cancelled"
52
+ }
53
+ export declare enum PassportRequestApprovalStatus {
54
+ PENDING = "Pending",
55
+ APPROVED = "Approved",
56
+ REJECTED = "Rejected",
57
+ SKIPPED = "Skipped",
58
+ IN_PROGRESS = "In Progress"
59
+ }
6
60
  export declare class SubscriptionAmounts extends BaseModel {
7
61
  membership_type: MembershipType;
8
62
  amount: number;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SubscriptionAmounts = exports.MembershipType = void 0;
12
+ exports.SubscriptionAmounts = exports.PassportRequestApprovalStatus = exports.PassportRequestStatus = exports.PassportRequestType = exports.ApplicationFor = exports.PassportType = exports.DiplomaticClubCardWorkFlowStatus = exports.DiplomaticClubCardApprovalStatus = exports.RequestStatus = exports.RequestType = exports.MembershipType = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  var MembershipType;
@@ -17,6 +17,71 @@ var MembershipType;
17
17
  MembershipType["SINGLE"] = "Single";
18
18
  MembershipType["FAMILY"] = "Family";
19
19
  })(MembershipType || (exports.MembershipType = MembershipType = {}));
20
+ var RequestType;
21
+ (function (RequestType) {
22
+ RequestType["EMPLOYEE_FAMILY"] = "Employee Family";
23
+ RequestType["EMPLOYEE_SELF"] = "Employee Self";
24
+ RequestType["NON_EMPLOYEE"] = "Non Employee";
25
+ })(RequestType || (exports.RequestType = RequestType = {}));
26
+ var RequestStatus;
27
+ (function (RequestStatus) {
28
+ RequestStatus["DRAFT"] = "Draft";
29
+ RequestStatus["SUBMITTED"] = "Submitted";
30
+ RequestStatus["PENDING"] = "Pending";
31
+ RequestStatus["IN_PROGRESS"] = "In Progress";
32
+ RequestStatus["APPROVED"] = "Approved";
33
+ RequestStatus["REJECTED"] = "Rejected";
34
+ RequestStatus["COMPLETED"] = "Completed";
35
+ RequestStatus["CANCELLED"] = "Cancelled";
36
+ })(RequestStatus || (exports.RequestStatus = RequestStatus = {}));
37
+ var DiplomaticClubCardApprovalStatus;
38
+ (function (DiplomaticClubCardApprovalStatus) {
39
+ DiplomaticClubCardApprovalStatus["PENDING"] = "Pending";
40
+ DiplomaticClubCardApprovalStatus["APPROVED"] = "Approved";
41
+ DiplomaticClubCardApprovalStatus["REJECTED"] = "Rejected";
42
+ DiplomaticClubCardApprovalStatus["SKIPPED"] = "Skipped";
43
+ DiplomaticClubCardApprovalStatus["IN_PROGRESS"] = "In Progress";
44
+ })(DiplomaticClubCardApprovalStatus || (exports.DiplomaticClubCardApprovalStatus = DiplomaticClubCardApprovalStatus = {}));
45
+ // Export alias for compatibility
46
+ var DiplomaticWorkFlowModel_1 = require("./DiplomaticWorkFlowModel");
47
+ Object.defineProperty(exports, "DiplomaticClubCardWorkFlowStatus", { enumerable: true, get: function () { return DiplomaticWorkFlowModel_1.DiplomaticWorkFlowStatus; } });
48
+ // Passport Request Enums
49
+ var PassportType;
50
+ (function (PassportType) {
51
+ PassportType["DIPLOMATIC"] = "Diplomatic Passport";
52
+ PassportType["SERVICE"] = "Service passport";
53
+ })(PassportType || (exports.PassportType = PassportType = {}));
54
+ var ApplicationFor;
55
+ (function (ApplicationFor) {
56
+ ApplicationFor["SELF"] = "Self";
57
+ ApplicationFor["DEPENDENTS"] = "Dependents";
58
+ ApplicationFor["BOTH"] = "Both";
59
+ })(ApplicationFor || (exports.ApplicationFor = ApplicationFor = {}));
60
+ var PassportRequestType;
61
+ (function (PassportRequestType) {
62
+ PassportRequestType["NEW"] = "New";
63
+ PassportRequestType["RENEWAL"] = "Renewal";
64
+ PassportRequestType["REPLACEMENT"] = "Replacement";
65
+ })(PassportRequestType || (exports.PassportRequestType = PassportRequestType = {}));
66
+ var PassportRequestStatus;
67
+ (function (PassportRequestStatus) {
68
+ PassportRequestStatus["DRAFT"] = "Draft";
69
+ PassportRequestStatus["SUBMITTED"] = "Submitted";
70
+ PassportRequestStatus["PENDING"] = "Pending";
71
+ PassportRequestStatus["IN_PROGRESS"] = "In Progress";
72
+ PassportRequestStatus["APPROVED"] = "Approved";
73
+ PassportRequestStatus["REJECTED"] = "Rejected";
74
+ PassportRequestStatus["COMPLETED"] = "Completed";
75
+ PassportRequestStatus["CANCELLED"] = "Cancelled";
76
+ })(PassportRequestStatus || (exports.PassportRequestStatus = PassportRequestStatus = {}));
77
+ var PassportRequestApprovalStatus;
78
+ (function (PassportRequestApprovalStatus) {
79
+ PassportRequestApprovalStatus["PENDING"] = "Pending";
80
+ PassportRequestApprovalStatus["APPROVED"] = "Approved";
81
+ PassportRequestApprovalStatus["REJECTED"] = "Rejected";
82
+ PassportRequestApprovalStatus["SKIPPED"] = "Skipped";
83
+ PassportRequestApprovalStatus["IN_PROGRESS"] = "In Progress";
84
+ })(PassportRequestApprovalStatus || (exports.PassportRequestApprovalStatus = PassportRequestApprovalStatus = {}));
20
85
  let SubscriptionAmounts = class SubscriptionAmounts extends BaseModel_1.BaseModel {
21
86
  };
22
87
  exports.SubscriptionAmounts = SubscriptionAmounts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.1.54",
3
+ "version": "1.1.56",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -6,6 +6,71 @@ export enum MembershipType {
6
6
  FAMILY = "Family"
7
7
  }
8
8
 
9
+ export enum RequestType {
10
+ EMPLOYEE_FAMILY = "Employee Family",
11
+ EMPLOYEE_SELF = "Employee Self",
12
+ NON_EMPLOYEE = "Non Employee"
13
+ }
14
+
15
+ export enum RequestStatus {
16
+ DRAFT = "Draft",
17
+ SUBMITTED = "Submitted",
18
+ PENDING = "Pending",
19
+ IN_PROGRESS = "In Progress",
20
+ APPROVED = "Approved",
21
+ REJECTED = "Rejected",
22
+ COMPLETED = "Completed",
23
+ CANCELLED = "Cancelled"
24
+ }
25
+
26
+ export enum DiplomaticClubCardApprovalStatus {
27
+ PENDING = "Pending",
28
+ APPROVED = "Approved",
29
+ REJECTED = "Rejected",
30
+ SKIPPED = "Skipped",
31
+ IN_PROGRESS = "In Progress"
32
+ }
33
+
34
+ // Export alias for compatibility
35
+ export { DiplomaticWorkFlowStatus as DiplomaticClubCardWorkFlowStatus } from './DiplomaticWorkFlowModel';
36
+
37
+ // Passport Request Enums
38
+ export enum PassportType {
39
+ DIPLOMATIC = "Diplomatic Passport",
40
+ SERVICE = "Service passport"
41
+ }
42
+
43
+ export enum ApplicationFor {
44
+ SELF = "Self",
45
+ DEPENDENTS = "Dependents",
46
+ BOTH = "Both"
47
+ }
48
+
49
+ export enum PassportRequestType {
50
+ NEW = "New",
51
+ RENEWAL = "Renewal",
52
+ REPLACEMENT = "Replacement"
53
+ }
54
+
55
+ export enum PassportRequestStatus {
56
+ DRAFT = "Draft",
57
+ SUBMITTED = "Submitted",
58
+ PENDING = "Pending",
59
+ IN_PROGRESS = "In Progress",
60
+ APPROVED = "Approved",
61
+ REJECTED = "Rejected",
62
+ COMPLETED = "Completed",
63
+ CANCELLED = "Cancelled"
64
+ }
65
+
66
+ export enum PassportRequestApprovalStatus {
67
+ PENDING = "Pending",
68
+ APPROVED = "Approved",
69
+ REJECTED = "Rejected",
70
+ SKIPPED = "Skipped",
71
+ IN_PROGRESS = "In Progress"
72
+ }
73
+
9
74
  @Entity({ name: 'subscription_amounts' })
10
75
  export class SubscriptionAmounts extends BaseModel {
11
76