@platform-modules/foreign-ministry 1.1.55 → 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.
@@ -25,6 +25,38 @@ export declare enum DiplomaticClubCardApprovalStatus {
25
25
  SKIPPED = "Skipped",
26
26
  IN_PROGRESS = "In Progress"
27
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
+ }
28
60
  export declare class SubscriptionAmounts extends BaseModel {
29
61
  membership_type: MembershipType;
30
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.DiplomaticClubCardApprovalStatus = exports.RequestStatus = exports.RequestType = 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;
@@ -42,6 +42,46 @@ var DiplomaticClubCardApprovalStatus;
42
42
  DiplomaticClubCardApprovalStatus["SKIPPED"] = "Skipped";
43
43
  DiplomaticClubCardApprovalStatus["IN_PROGRESS"] = "In Progress";
44
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 = {}));
45
85
  let SubscriptionAmounts = class SubscriptionAmounts extends BaseModel_1.BaseModel {
46
86
  };
47
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.55",
3
+ "version": "1.1.56",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -31,6 +31,46 @@ export enum DiplomaticClubCardApprovalStatus {
31
31
  IN_PROGRESS = "In Progress"
32
32
  }
33
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
+
34
74
  @Entity({ name: 'subscription_amounts' })
35
75
  export class SubscriptionAmounts extends BaseModel {
36
76