@anthor/entities-types 1.77.4 → 1.80.0-alpha.0
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,17 @@
|
|
|
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.80.0-alpha.0](https://github.com/anthorteam/backend/compare/v1.79.0...v1.80.0-alpha.0) (2022-11-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* create cancel reason types ([0157894](https://github.com/anthorteam/backend/commit/0157894ec26f5b36aabae3983de6937cf4cb0b37))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.77.4](https://github.com/anthorteam/backend/compare/v1.77.4-alpha.0...v1.77.4) (2022-11-08)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @anthor/entities-types
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MissionTypes, ActivityCancelReason } from '../enums';
|
|
2
2
|
import { BaseModel } from './BaseModel';
|
|
3
|
-
import { Activity } from './Activity';
|
|
4
3
|
export interface ActivityCancelJustification extends BaseModel {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
reason: ActivityCancelReason;
|
|
5
|
+
anotherReason: string;
|
|
6
|
+
activityId: string;
|
|
7
7
|
workerId: string;
|
|
8
|
+
canceledByUserId: string;
|
|
9
|
+
jobId: string;
|
|
8
10
|
companyId: string;
|
|
11
|
+
companyName: string;
|
|
9
12
|
establishmentId: string;
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
establishmentName: string;
|
|
14
|
+
activityType: MissionTypes;
|
|
15
|
+
activityStartDateTime: Date;
|
|
16
|
+
cancelationDateTime: Date;
|
|
12
17
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare enum ActivityCancelReason {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
ATTENTION_AT_THE_TIME = "N\u00E3o me atentei ao hor\u00E1rio de in\u00EDcio da miss\u00E3o",
|
|
3
|
+
TO_FAR_AWAY = "Miss\u00E3o muito longe",
|
|
4
|
+
ANOTHER_BETTER_MISSION = "Achei outra miss\u00E3o melhor",
|
|
5
|
+
DONT_FEEL_SAFE = "N\u00E3o me sinto seguro em realizar essa miss\u00E3o",
|
|
6
|
+
WASNT_SURE = "N\u00E3o tinha certeza que iria fazer quando reservei",
|
|
7
|
+
WILL_BE_LATE = "N\u00E3o vou conseguir chegar no hor\u00E1rio",
|
|
8
|
+
HAD_PROBLEM = "Tive um problema com a rede/loja"
|
|
7
9
|
}
|
|
@@ -3,10 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ActivityCancelReason = void 0;
|
|
4
4
|
var ActivityCancelReason;
|
|
5
5
|
(function (ActivityCancelReason) {
|
|
6
|
-
ActivityCancelReason["
|
|
7
|
-
ActivityCancelReason["
|
|
8
|
-
ActivityCancelReason["
|
|
9
|
-
ActivityCancelReason["
|
|
10
|
-
ActivityCancelReason["
|
|
6
|
+
ActivityCancelReason["ATTENTION_AT_THE_TIME"] = "N\u00E3o me atentei ao hor\u00E1rio de in\u00EDcio da miss\u00E3o";
|
|
7
|
+
ActivityCancelReason["TO_FAR_AWAY"] = "Miss\u00E3o muito longe";
|
|
8
|
+
ActivityCancelReason["ANOTHER_BETTER_MISSION"] = "Achei outra miss\u00E3o melhor";
|
|
9
|
+
ActivityCancelReason["DONT_FEEL_SAFE"] = "N\u00E3o me sinto seguro em realizar essa miss\u00E3o";
|
|
10
|
+
ActivityCancelReason["WASNT_SURE"] = "N\u00E3o tinha certeza que iria fazer quando reservei";
|
|
11
|
+
ActivityCancelReason["WILL_BE_LATE"] = "N\u00E3o vou conseguir chegar no hor\u00E1rio";
|
|
12
|
+
ActivityCancelReason["HAD_PROBLEM"] = "Tive um problema com a rede/loja";
|
|
11
13
|
})(ActivityCancelReason = exports.ActivityCancelReason || (exports.ActivityCancelReason = {}));
|
|
12
14
|
//# sourceMappingURL=ActivityCancelReason.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityCancelReason.js","sourceRoot":"","sources":["../../src/enums/ActivityCancelReason.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ActivityCancelReason.js","sourceRoot":"","sources":["../../src/enums/ActivityCancelReason.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAQX;AARD,WAAY,oBAAoB;IAC9B,mHAAuE,CAAA;IACvE,+DAAkC,CAAA;IAClC,iFAAoD,CAAA;IACpD,gGAA8D,CAAA;IAC9D,4FAA+D,CAAA;IAC/D,sFAAoD,CAAA;IACpD,wEAAgD,CAAA;AAClD,CAAC,EARW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAQ/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthor/entities-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.80.0-alpha.0",
|
|
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": "
|
|
24
|
+
"gitHead": "eec72e123834c36f81fa8db91e9f40c1aeef173f"
|
|
25
25
|
}
|