@anthor/entities-types 1.40.0 → 1.41.0-alpha.10
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,70 @@
|
|
|
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.41.0-alpha.10](https://github.com/anthorteam/backend/compare/v1.41.0-alpha.9...v1.41.0-alpha.10) (2022-05-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* added raw requests into entities-sdk and added missing prop at Worker ([6a239bb](https://github.com/anthorteam/backend/commit/6a239bb2201b2e89c6d55b259ac877440cc79a14))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [1.41.0-alpha.8](https://github.com/anthorteam/backend/compare/v1.41.0-alpha.7...v1.41.0-alpha.8) (2022-05-06)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add chain type to worker block list ([7ffdf8d](https://github.com/anthorteam/backend/commit/7ffdf8d93117f9409f53e4c9090faa0de28b81d8))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [1.41.0-alpha.6](https://github.com/anthorteam/backend/compare/v1.41.0-alpha.5...v1.41.0-alpha.6) (2022-05-03)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* lint and compilations issues ([2e7fb5b](https://github.com/anthorteam/backend/commit/2e7fb5bd2a9453b1d17577bb27174471514da707))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* added new fields in Activity ([a9b0b21](https://github.com/anthorteam/backend/commit/a9b0b218848193c882572f0c6063e3f5de8fff08))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# [1.41.0-alpha.1](https://github.com/anthorteam/backend/compare/v1.41.0-alpha.0...v1.41.0-alpha.1) (2022-04-27)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* change version from anthor packages to solve version conflict ([eca3036](https://github.com/anthorteam/backend/commit/eca3036481139916091bcfe5dbefa830f98ebfb0))
|
|
50
|
+
* removing unnecessary version increment from packages ([059b4c5](https://github.com/anthorteam/backend/commit/059b4c50cfee61ac74566a27338e777975b78169))
|
|
51
|
+
* rescheduleCount is a better name than rescheduledCount ([7bd8a34](https://github.com/anthorteam/backend/commit/7bd8a347571c4d5139d9a81379f178bbbe8df937))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
* add rescheduledCount and previousActivityId fields to Activity model ([71af49a](https://github.com/anthorteam/backend/commit/71af49a51823a5e0bbe5b4c65bb6fa7c95e48bb7))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## [1.40.1-alpha.0](https://github.com/anthorteam/backend/compare/v1.40.0...v1.40.1-alpha.0) (2022-04-18)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @anthor/entities-types
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
6
70
|
# [1.40.0](https://github.com/anthorteam/backend/compare/v1.40.0-alpha.0...v1.40.0) (2022-04-18)
|
|
7
71
|
|
|
8
72
|
**Note:** Version bump only for package @anthor/entities-types
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ActivityDynamicProduct } from './ActivityDynamicProduct';
|
|
1
2
|
import { ActivityStatus } from '../enums';
|
|
2
3
|
import { ActivityCheckIn } from './ActivityCheckIn';
|
|
3
|
-
import { ActivityDynamicProduct } from './ActivityDynamicProduct';
|
|
4
4
|
import { Badge } from './Badge';
|
|
5
5
|
import { BaseModel } from './BaseModel';
|
|
6
6
|
import { Company } from './Company';
|
|
@@ -32,6 +32,9 @@ export interface Activity extends BaseModel {
|
|
|
32
32
|
company: Company;
|
|
33
33
|
companyId: string;
|
|
34
34
|
coordinates: Points;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated
|
|
37
|
+
*/
|
|
35
38
|
date: ActivityDate;
|
|
36
39
|
description: string;
|
|
37
40
|
companyExigence: string;
|
|
@@ -53,9 +56,18 @@ export interface Activity extends BaseModel {
|
|
|
53
56
|
* @deprecated
|
|
54
57
|
*/
|
|
55
58
|
expiredProductsId: string[];
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated
|
|
61
|
+
*/
|
|
56
62
|
formattedDate: string | Date;
|
|
57
63
|
foundProductsId: string[];
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated
|
|
66
|
+
*/
|
|
58
67
|
initialDate: ActivityDate;
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated
|
|
70
|
+
*/
|
|
59
71
|
initialFormattedDate: string | Date;
|
|
60
72
|
isRetry: boolean;
|
|
61
73
|
job: Job;
|
|
@@ -84,6 +96,7 @@ export interface Activity extends BaseModel {
|
|
|
84
96
|
picturesStartId: string[];
|
|
85
97
|
poolActivityId: string;
|
|
86
98
|
pointsUsed: number;
|
|
99
|
+
previousActivityId: string;
|
|
87
100
|
price: number;
|
|
88
101
|
productCountIds: string[];
|
|
89
102
|
productGroup: ProductGroup;
|
|
@@ -93,6 +106,7 @@ export interface Activity extends BaseModel {
|
|
|
93
106
|
requiredBadges: Badge[];
|
|
94
107
|
requiredBadgesId: string[];
|
|
95
108
|
requirements: string[];
|
|
109
|
+
rescheduleCount: number;
|
|
96
110
|
restockedProducts: Product[];
|
|
97
111
|
restockedProductsId: string[];
|
|
98
112
|
retryable: boolean;
|
|
@@ -118,4 +132,6 @@ export interface Activity extends BaseModel {
|
|
|
118
132
|
ratingReasonsIds: string[];
|
|
119
133
|
operationClusterId: string;
|
|
120
134
|
availableForGigWorkers: boolean;
|
|
135
|
+
startDateTime: Date;
|
|
136
|
+
endDateTime: Date;
|
|
121
137
|
}
|
|
@@ -5,5 +5,6 @@ var WorkerBlockListTypes;
|
|
|
5
5
|
(function (WorkerBlockListTypes) {
|
|
6
6
|
WorkerBlockListTypes["COMPANY"] = "company";
|
|
7
7
|
WorkerBlockListTypes["ESTABLISHMENT"] = "establishment";
|
|
8
|
+
WorkerBlockListTypes["CHAIN"] = "chain";
|
|
8
9
|
})(WorkerBlockListTypes = exports.WorkerBlockListTypes || (exports.WorkerBlockListTypes = {}));
|
|
9
10
|
//# sourceMappingURL=WorkerBlockListTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkerBlockListTypes.js","sourceRoot":"","sources":["../../src/enums/WorkerBlockListTypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"WorkerBlockListTypes.js","sourceRoot":"","sources":["../../src/enums/WorkerBlockListTypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,uDAA+B,CAAA;IAC/B,uCAAe,CAAA;AACjB,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthor/entities-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.0-alpha.10",
|
|
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": "bccfc516a28ee25d53c489e30be870bca7d8c6da"
|
|
25
25
|
}
|