plac-micro-common 1.2.67 → 1.2.69

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,6 +18,7 @@ export declare class ApplicationEntity extends _BaseEntity {
18
18
  owner_org_staff_id: string;
19
19
  assigned_org_staff_id?: string | null;
20
20
  status: ApplicationStatus;
21
+ completed_at?: Date | null;
21
22
  submitted_at?: Date | null;
22
23
  review_started_at?: Date | null;
23
24
  accepted_at?: Date | null;
@@ -27,6 +28,7 @@ export declare class ApplicationEntity extends _BaseEntity {
27
28
  quotation_id?: string | null;
28
29
  created_by_user_id: string;
29
30
  updated_by_user_id?: string | null;
31
+ completed_by_user_id?: string | null;
30
32
  submitted_by_user_id?: string | null;
31
33
  reviewed_by_user_id?: string | null;
32
34
  accepted_by_user_id?: string | null;
@@ -84,6 +84,10 @@ __decorate([
84
84
  }),
85
85
  __metadata("design:type", String)
86
86
  ], ApplicationEntity.prototype, "status", void 0);
87
+ __decorate([
88
+ (0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
89
+ __metadata("design:type", Object)
90
+ ], ApplicationEntity.prototype, "completed_at", void 0);
87
91
  __decorate([
88
92
  (0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
89
93
  __metadata("design:type", Object)
@@ -122,6 +126,11 @@ __decorate([
122
126
  (0, typeorm_1.Column)({ type: "uuid", nullable: true }),
123
127
  __metadata("design:type", Object)
124
128
  ], ApplicationEntity.prototype, "updated_by_user_id", void 0);
129
+ __decorate([
130
+ (0, typeorm_1.Index)(),
131
+ (0, typeorm_1.Column)({ type: "uuid", nullable: true }),
132
+ __metadata("design:type", Object)
133
+ ], ApplicationEntity.prototype, "completed_by_user_id", void 0);
125
134
  __decorate([
126
135
  (0, typeorm_1.Index)(),
127
136
  (0, typeorm_1.Column)({ type: "uuid", nullable: true }),
@@ -1,12 +1,13 @@
1
1
  export declare enum ApplicationStatus {
2
2
  New = "new",// Agent drafting
3
+ Completed = "completed",// Agent completed but not yet submitted
3
4
  Submitted = "submitted",// Agent submitted to Admin
4
5
  InReview = "in_review",// Admin picked up / reviewing
5
6
  EditRequired = "edit_required",// Admin requires Agent to edit/resubmit
6
7
  MoreDocRequired = "more_doc_required",// Admin requires additional docs upload
7
8
  Resubmitted = "resubmitted",// Agent resubmitted after edit/docs
8
9
  Rejected = "rejected",// final reject
9
- Accepted = "accepted",// final accept
10
+ Accepted = "accepted",// final accept
10
11
  Transferred = "transferred",// pushed to core successfully
11
12
  Cancelled = "cancelled"
12
13
  }
@@ -4,6 +4,7 @@ exports.UwAnswerValueType = exports.AppCoverageType = exports.AppPhLaRelation =
4
4
  var ApplicationStatus;
5
5
  (function (ApplicationStatus) {
6
6
  ApplicationStatus["New"] = "new";
7
+ ApplicationStatus["Completed"] = "completed";
7
8
  ApplicationStatus["Submitted"] = "submitted";
8
9
  ApplicationStatus["InReview"] = "in_review";
9
10
  ApplicationStatus["EditRequired"] = "edit_required";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.2.67",
3
+ "version": "1.2.69",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {