@anthor/entities-types 1.48.0 → 1.52.0-alpha.2

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.52.0-alpha.2](https://github.com/anthorteam/backend/compare/v1.52.0-alpha.1...v1.52.0-alpha.2) (2022-07-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * deprecate workerMinimumHealth field ([d6a4799](https://github.com/anthorteam/backend/commit/d6a4799713a92e03ab421c37515fa6d5f01c20ea))
12
+
13
+
14
+
15
+
16
+
17
+ # [1.51.0](https://github.com/anthorteam/backend/compare/v1.51.0-alpha.3...v1.51.0) (2022-06-27)
18
+
19
+ **Note:** Version bump only for package @anthor/entities-types
20
+
21
+
22
+
23
+
24
+
25
+ # [1.51.0-alpha.2](https://github.com/anthorteam/backend/compare/v1.51.0-alpha.1...v1.51.0-alpha.2) (2022-06-23)
26
+
27
+
28
+ ### Features
29
+
30
+ * extend PenaltyTypeIdentifiers with CANCELED_BY_REVIEW ([9fdbb57](https://github.com/anthorteam/backend/commit/9fdbb57673c9121f2ded0782debfdb1393f4b1ef))
31
+
32
+
33
+
34
+
35
+
6
36
  # [1.48.0](https://github.com/anthorteam/backend/compare/v1.48.0-alpha.9...v1.48.0) (2022-06-02)
7
37
 
8
38
  **Note:** Version bump only for package @anthor/entities-types
@@ -126,6 +126,9 @@ export interface Activity extends BaseModel {
126
126
  worker: Worker;
127
127
  workerCommentary: string;
128
128
  workerId: string;
129
+ /**
130
+ * @deprecated
131
+ */
129
132
  workerMinimumHealth: number;
130
133
  certificationId: string;
131
134
  companyName: string;
@@ -59,6 +59,9 @@ export interface Job extends BaseModel {
59
59
  userId: string;
60
60
  userName: string;
61
61
  videoUri: string;
62
+ /**
63
+ * @deprecated
64
+ */
62
65
  workerMinimumHealth: number;
63
66
  workerPrice: number;
64
67
  }
@@ -32,6 +32,9 @@ export interface PoolActivity extends BaseModel {
32
32
  status: PoolActivityStatus;
33
33
  workerId: string;
34
34
  workerCommentary: string;
35
+ /**
36
+ * @deprecated
37
+ */
35
38
  workerMinimumHealth: number;
36
39
  videoUri: string;
37
40
  }
@@ -17,6 +17,9 @@ export interface PoolJob extends BaseModel {
17
17
  retryable: boolean;
18
18
  startDate: string | Date;
19
19
  status: PoolJobStatus;
20
+ /**
21
+ * @deprecated
22
+ */
20
23
  workerMinimumHealth: number;
21
24
  videoUri: string;
22
25
  }
@@ -1,4 +1,5 @@
1
1
  export declare enum ActivityCancelJustificationType {
2
2
  CANCELED_NO_SHOW = "canceled_no_show",
3
- CANCELED = "canceled"
3
+ CANCELED = "canceled",
4
+ CANCELED_BY_REVIEW = "canceled_by_review"
4
5
  }
@@ -5,5 +5,6 @@ var ActivityCancelJustificationType;
5
5
  (function (ActivityCancelJustificationType) {
6
6
  ActivityCancelJustificationType["CANCELED_NO_SHOW"] = "canceled_no_show";
7
7
  ActivityCancelJustificationType["CANCELED"] = "canceled";
8
+ ActivityCancelJustificationType["CANCELED_BY_REVIEW"] = "canceled_by_review";
8
9
  })(ActivityCancelJustificationType = exports.ActivityCancelJustificationType || (exports.ActivityCancelJustificationType = {}));
9
10
  //# sourceMappingURL=ActivityCancelJustificationType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityCancelJustificationType.js","sourceRoot":"","sources":["../../src/enums/ActivityCancelJustificationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAGX;AAHD,WAAY,+BAA+B;IACzC,wEAAqC,CAAA;IACrC,wDAAqB,CAAA;AACvB,CAAC,EAHW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAG1C"}
1
+ {"version":3,"file":"ActivityCancelJustificationType.js","sourceRoot":"","sources":["../../src/enums/ActivityCancelJustificationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAIX;AAJD,WAAY,+BAA+B;IACzC,wEAAqC,CAAA;IACrC,wDAAqB,CAAA;IACrB,4EAAyC,CAAA;AAC3C,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C"}
@@ -1,4 +1,5 @@
1
1
  export declare enum PenaltyTypeIdentifiers {
2
2
  CANCELED = "canceled",
3
- CANCELED_NO_SHOW = "canceled_no_show"
3
+ CANCELED_NO_SHOW = "canceled_no_show",
4
+ CANCELED_BY_REVIEW = "canceled_by_review"
4
5
  }
@@ -5,5 +5,6 @@ var PenaltyTypeIdentifiers;
5
5
  (function (PenaltyTypeIdentifiers) {
6
6
  PenaltyTypeIdentifiers["CANCELED"] = "canceled";
7
7
  PenaltyTypeIdentifiers["CANCELED_NO_SHOW"] = "canceled_no_show";
8
+ PenaltyTypeIdentifiers["CANCELED_BY_REVIEW"] = "canceled_by_review";
8
9
  })(PenaltyTypeIdentifiers = exports.PenaltyTypeIdentifiers || (exports.PenaltyTypeIdentifiers = {}));
9
10
  //# sourceMappingURL=PenaltyTypeIdentifiers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PenaltyTypeIdentifiers.js","sourceRoot":"","sources":["../../src/enums/PenaltyTypeIdentifiers.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,+DAAqC,CAAA;AACvC,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC"}
1
+ {"version":3,"file":"PenaltyTypeIdentifiers.js","sourceRoot":"","sources":["../../src/enums/PenaltyTypeIdentifiers.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,+DAAqC,CAAA;IACrC,mEAAyC,CAAA;AAC3C,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthor/entities-types",
3
- "version": "1.48.0",
3
+ "version": "1.52.0-alpha.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,5 +21,5 @@
21
21
  "geojson": "^0.5.0",
22
22
  "jest-sonar-reporter": "^2.0.0"
23
23
  },
24
- "gitHead": "68802ea5dccf74471d8bc6aca552d2031b985320"
24
+ "gitHead": "afc89ead5bb0721e3a2cb3ab97741b493c4a5783"
25
25
  }