@colijnit/mainapi 1.0.41 → 254.1.1
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/build/enum/activities-operation-name.enum.d.ts +2 -1
- package/build/enum/activities-operation-name.enum.js +1 -0
- package/build/enum/co-sub-report.bo.js +1 -1
- package/build/main-api-connection.d.ts +1 -0
- package/build/main-api.d.ts +1 -0
- package/build/main-api.js +5 -0
- package/build/main-auth.d.ts +1 -0
- package/build/main-auth.js +14 -0
- package/build/main-public.d.ts +1 -0
- package/build/main-public.js +6 -0
- package/build/model/activity-view-model.js +6 -6
- package/build/model/activity-workflow.js +7 -7
- package/build/model/activity.bo.js +42 -42
- package/build/model/co-document.js +25 -25
- package/build/model/co-domain-value.bo.js +3 -3
- package/build/model/co-notition.bo.js +5 -5
- package/build/model/co-report.bo.js +8 -8
- package/build/model/co-rv-domain-value.bo.js +3 -3
- package/build/model/co-text.js +2 -2
- package/build/model/contact-moment.bo.js +3 -3
- package/build/model/currency.bo.js +3 -3
- package/build/model/department.bo.js +1 -1
- package/build/model/form-question-response.bo.js +2 -2
- package/build/model/insured-interest.bo.js +3 -3
- package/build/model/own-risk.bo.js +3 -3
- package/build/model/payment-condition.bo.js +2 -2
- package/build/model/relation-small-object.bo.js +4 -4
- package/build/model/remark.bo.js +5 -5
- package/build/model/role-email-address.js +1 -1
- package/build/model/role-emailaddress.bo.js +1 -1
- package/build/model/tag-stock-item.bo.js +1 -1
- package/build/model/tag-tree-item.bo.js +3 -3
- package/build/model/tag.js +4 -4
- package/build/model/task-category.bo.js +1 -1
- package/build/model/task.bo.js +26 -26
- package/build/model/transition.bo.js +1 -1
- package/build/model/tree-object.js +3 -3
- package/build/model/work.bo.js +4 -4
- package/build/model/workflow-generic-transition.bo.js +1 -1
- package/build/model/workflow-process-info-per-status.d.ts +4 -0
- package/build/model/workflow-process-info-per-status.js +6 -0
- package/build/model/workflow-trigger.bo.js +3 -3
- package/build/model/workflow.bo.js +14 -14
- package/build/utils/file-utils.js +5 -1
- package/build/utils/time-utils.js +3 -3
- package/package.json +5 -5
|
@@ -23,15 +23,15 @@ let ContactMoment = class ContactMoment extends business_object_1.BusinessObject
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
__decorate([
|
|
26
|
-
date_field_decorator_1.DateField(),
|
|
26
|
+
(0, date_field_decorator_1.DateField)(),
|
|
27
27
|
__metadata("design:type", Date)
|
|
28
28
|
], ContactMoment.prototype, "contactMomentDate", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
date_field_decorator_1.DateField(),
|
|
30
|
+
(0, date_field_decorator_1.DateField)(),
|
|
31
31
|
__metadata("design:type", Date)
|
|
32
32
|
], ContactMoment.prototype, "followUpDate", void 0);
|
|
33
33
|
ContactMoment = __decorate([
|
|
34
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
34
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
35
35
|
mapping: data_mapping_enum_1.DataMapping.General
|
|
36
36
|
}),
|
|
37
37
|
__metadata("design:paramtypes", [])
|
|
@@ -17,15 +17,15 @@ const data_mapping_enum_1 = require("../enum/data-mapping.enum");
|
|
|
17
17
|
let Currency = class Currency extends business_object_1.BusinessObject {
|
|
18
18
|
};
|
|
19
19
|
__decorate([
|
|
20
|
-
date_field_decorator_1.DateField(),
|
|
20
|
+
(0, date_field_decorator_1.DateField)(),
|
|
21
21
|
__metadata("design:type", Date)
|
|
22
22
|
], Currency.prototype, "startDate", void 0);
|
|
23
23
|
__decorate([
|
|
24
|
-
date_field_decorator_1.DateField(),
|
|
24
|
+
(0, date_field_decorator_1.DateField)(),
|
|
25
25
|
__metadata("design:type", Date)
|
|
26
26
|
], Currency.prototype, "endDate", void 0);
|
|
27
27
|
Currency = __decorate([
|
|
28
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
28
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
29
29
|
name: "Currency",
|
|
30
30
|
mapping: data_mapping_enum_1.DataMapping.Simplebasedata
|
|
31
31
|
})
|
|
@@ -26,7 +26,7 @@ let Department = class Department extends business_object_1.BusinessObject {
|
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
Department = __decorate([
|
|
29
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
29
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
30
30
|
name: "DepartmentDTO",
|
|
31
31
|
mapping: data_mapping_enum_1.DataMapping.Simplebasedata,
|
|
32
32
|
label: "DEPARTMENT",
|
|
@@ -21,11 +21,11 @@ class FormQuestionResponse extends business_object_1.BusinessObject {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
__decorate([
|
|
24
|
-
date_field_decorator_1.DateField(),
|
|
24
|
+
(0, date_field_decorator_1.DateField)(),
|
|
25
25
|
__metadata("design:type", Date)
|
|
26
26
|
], FormQuestionResponse.prototype, "dateResponse", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
date_field_decorator_1.DateField(),
|
|
28
|
+
(0, date_field_decorator_1.DateField)(),
|
|
29
29
|
__metadata("design:type", Date)
|
|
30
30
|
], FormQuestionResponse.prototype, "timeResponse", void 0);
|
|
31
31
|
exports.FormQuestionResponse = FormQuestionResponse;
|
|
@@ -23,15 +23,15 @@ let InsuredInterest = class InsuredInterest extends business_object_1.BusinessOb
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
__decorate([
|
|
26
|
-
no_db_field_decorator_1.NoDbField(),
|
|
26
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], InsuredInterest.prototype, "supplierName", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
no_db_field_decorator_1.NoDbField(),
|
|
30
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
31
31
|
__metadata("design:type", Boolean)
|
|
32
32
|
], InsuredInterest.prototype, "supplierNameLoaded", void 0);
|
|
33
33
|
InsuredInterest = __decorate([
|
|
34
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
34
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
35
35
|
mapping: data_mapping_enum_1.DataMapping.Simplebasedata
|
|
36
36
|
}),
|
|
37
37
|
__metadata("design:paramtypes", [])
|
|
@@ -23,15 +23,15 @@ let OwnRisk = class OwnRisk extends business_object_1.BusinessObject {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
__decorate([
|
|
26
|
-
date_field_decorator_1.DateField(),
|
|
26
|
+
(0, date_field_decorator_1.DateField)(),
|
|
27
27
|
__metadata("design:type", Date)
|
|
28
28
|
], OwnRisk.prototype, "startDate", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
date_field_decorator_1.DateField(),
|
|
30
|
+
(0, date_field_decorator_1.DateField)(),
|
|
31
31
|
__metadata("design:type", Date)
|
|
32
32
|
], OwnRisk.prototype, "endDate", void 0);
|
|
33
33
|
OwnRisk = __decorate([
|
|
34
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
34
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
35
35
|
mapping: data_mapping_enum_1.DataMapping.Simplebasedata
|
|
36
36
|
}),
|
|
37
37
|
__metadata("design:paramtypes", [])
|
|
@@ -22,11 +22,11 @@ let PaymentCondition = class PaymentCondition extends business_object_1.Business
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
__decorate([
|
|
25
|
-
complex_array_decorator_1.ComplexArray(payment_condition_ledger_account_bo_1.PaymentConditionLedgerAccount),
|
|
25
|
+
(0, complex_array_decorator_1.ComplexArray)(payment_condition_ledger_account_bo_1.PaymentConditionLedgerAccount),
|
|
26
26
|
__metadata("design:type", Array)
|
|
27
27
|
], PaymentCondition.prototype, "ledgers", void 0);
|
|
28
28
|
PaymentCondition = __decorate([
|
|
29
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
29
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
30
30
|
name: "PaymentCondition",
|
|
31
31
|
mapping: data_mapping_enum_1.DataMapping.Simplebasedata
|
|
32
32
|
})
|
|
@@ -15,9 +15,6 @@ const complex_field_decorator_1 = require("@colijnit/ioneconnector/build/factory
|
|
|
15
15
|
const co_document_1 = require("./co-document");
|
|
16
16
|
const business_object_utils_1 = require("@colijnit/ioneconnector/build/utils/business-object-utils");
|
|
17
17
|
class RelationSmallObject extends business_object_1.BusinessObject {
|
|
18
|
-
constructor() {
|
|
19
|
-
super();
|
|
20
|
-
}
|
|
21
18
|
get displayName() {
|
|
22
19
|
return business_object_utils_1.BusinessObjectUtils.GetDisplayName(this.firstName, this.prefix, this.familyName);
|
|
23
20
|
}
|
|
@@ -49,6 +46,9 @@ class RelationSmallObject extends business_object_1.BusinessObject {
|
|
|
49
46
|
get imageDocId() {
|
|
50
47
|
return this.image ? this.image.documentId : null;
|
|
51
48
|
}
|
|
49
|
+
constructor() {
|
|
50
|
+
super();
|
|
51
|
+
}
|
|
52
52
|
getId() {
|
|
53
53
|
return this.relationId;
|
|
54
54
|
}
|
|
@@ -57,7 +57,7 @@ class RelationSmallObject extends business_object_1.BusinessObject {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
__decorate([
|
|
60
|
-
complex_field_decorator_1.ComplexField(co_document_1.CoDocument),
|
|
60
|
+
(0, complex_field_decorator_1.ComplexField)(co_document_1.CoDocument),
|
|
61
61
|
__metadata("design:type", co_document_1.CoDocument)
|
|
62
62
|
], RelationSmallObject.prototype, "image", void 0);
|
|
63
63
|
exports.RelationSmallObject = RelationSmallObject;
|
package/build/model/remark.bo.js
CHANGED
|
@@ -30,23 +30,23 @@ class Remark extends business_object_1.BusinessObject {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
__decorate([
|
|
33
|
-
complex_field_decorator_1.ComplexField(relation_small_object_bo_1.RelationSmallObject),
|
|
33
|
+
(0, complex_field_decorator_1.ComplexField)(relation_small_object_bo_1.RelationSmallObject),
|
|
34
34
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject)
|
|
35
35
|
], Remark.prototype, "author", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
-
boolean_decorator_1.BooleanText("T"),
|
|
37
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
38
38
|
__metadata("design:type", Boolean)
|
|
39
39
|
], Remark.prototype, "current", void 0);
|
|
40
40
|
__decorate([
|
|
41
|
-
date_field_decorator_1.DateField(),
|
|
41
|
+
(0, date_field_decorator_1.DateField)(),
|
|
42
42
|
__metadata("design:type", Date)
|
|
43
43
|
], Remark.prototype, "dateTime", void 0);
|
|
44
44
|
__decorate([
|
|
45
|
-
complex_array_decorator_1.ComplexArray(co_document_1.CoDocument),
|
|
45
|
+
(0, complex_array_decorator_1.ComplexArray)(co_document_1.CoDocument),
|
|
46
46
|
__metadata("design:type", Array)
|
|
47
47
|
], Remark.prototype, "documents", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
boolean_decorator_1.BooleanText("T"),
|
|
49
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
50
50
|
__metadata("design:type", Boolean)
|
|
51
51
|
], Remark.prototype, "read", void 0);
|
|
52
52
|
exports.Remark = Remark;
|
|
@@ -22,7 +22,7 @@ class RoleEmailaddress extends business_object_1.BusinessObject {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
no_db_field_decorator_1.NoDbField(),
|
|
25
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], RoleEmailaddress.prototype, "id", void 0);
|
|
28
28
|
exports.RoleEmailaddress = RoleEmailaddress;
|
|
@@ -22,7 +22,7 @@ class RoleEmailaddress extends business_object_1.BusinessObject {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
no_db_field_decorator_1.NoDbField(),
|
|
25
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], RoleEmailaddress.prototype, "id", void 0);
|
|
28
28
|
exports.RoleEmailaddress = RoleEmailaddress;
|
|
@@ -15,7 +15,7 @@ const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decor
|
|
|
15
15
|
class TagStockItem extends business_object_1.BusinessObject {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
|
-
boolean_decorator_1.BooleanText(),
|
|
18
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
19
19
|
__metadata("design:type", Boolean)
|
|
20
20
|
], TagStockItem.prototype, "piecePrice", void 0);
|
|
21
21
|
exports.TagStockItem = TagStockItem;
|
|
@@ -28,15 +28,15 @@ let TagTreeItem = class TagTreeItem extends tree_object_1.TreeObject {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
__decorate([
|
|
31
|
-
date_field_decorator_1.DateField(),
|
|
31
|
+
(0, date_field_decorator_1.DateField)(),
|
|
32
32
|
__metadata("design:type", Date)
|
|
33
33
|
], TagTreeItem.prototype, "creationDate", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
complex_field_decorator_1.ComplexField(co_document_1.CoDocument),
|
|
35
|
+
(0, complex_field_decorator_1.ComplexField)(co_document_1.CoDocument),
|
|
36
36
|
__metadata("design:type", co_document_1.CoDocument)
|
|
37
37
|
], TagTreeItem.prototype, "image", void 0);
|
|
38
38
|
TagTreeItem = __decorate([
|
|
39
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
39
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
40
40
|
name: "TagTreeItem",
|
|
41
41
|
mapping: data_mapping_enum_1.DataMapping.Tags,
|
|
42
42
|
searchProperties: [
|
package/build/model/tag.js
CHANGED
|
@@ -26,16 +26,16 @@ class Tag extends business_object_1.BusinessObject {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
__decorate([
|
|
29
|
-
map_property_decorator_1.MapProperty('OMSCHRIJVING'),
|
|
29
|
+
(0, map_property_decorator_1.MapProperty)('OMSCHRIJVING'),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], Tag.prototype, "description", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
map_property_decorator_1.MapProperty('TAG_CODE_ID'),
|
|
33
|
+
(0, map_property_decorator_1.MapProperty)('TAG_CODE_ID'),
|
|
34
34
|
__metadata("design:type", Number)
|
|
35
35
|
], Tag.prototype, "tagCodeId", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
-
map_property_decorator_1.MapProperty('OMSCHRIJVING'),
|
|
38
|
-
complex_field_decorator_1.ComplexField(co_document_1.CoDocument),
|
|
37
|
+
(0, map_property_decorator_1.MapProperty)('OMSCHRIJVING'),
|
|
38
|
+
(0, complex_field_decorator_1.ComplexField)(co_document_1.CoDocument),
|
|
39
39
|
__metadata("design:type", co_document_1.CoDocument)
|
|
40
40
|
], Tag.prototype, "image", void 0);
|
|
41
41
|
exports.Tag = Tag;
|
|
@@ -22,7 +22,7 @@ class TaskCategory extends business_object_1.BusinessObject {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
boolean_decorator_1.BooleanText("T"),
|
|
25
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
26
26
|
__metadata("design:type", Boolean)
|
|
27
27
|
], TaskCategory.prototype, "stdToPlan", void 0);
|
|
28
28
|
exports.TaskCategory = TaskCategory;
|
package/build/model/task.bo.js
CHANGED
|
@@ -153,104 +153,104 @@ class Task extends business_object_1.BusinessObject {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
__decorate([
|
|
156
|
-
boolean_decorator_1.BooleanText("T"),
|
|
156
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
157
157
|
__metadata("design:type", Boolean)
|
|
158
158
|
], Task.prototype, "workMandatory", void 0);
|
|
159
159
|
__decorate([
|
|
160
|
-
boolean_decorator_1.BooleanText("T"),
|
|
160
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
161
161
|
__metadata("design:type", Boolean)
|
|
162
162
|
], Task.prototype, "isInvoiced", void 0);
|
|
163
163
|
__decorate([
|
|
164
|
-
complex_field_decorator_1.ComplexField(relation_small_object_bo_1.RelationSmallObject),
|
|
164
|
+
(0, complex_field_decorator_1.ComplexField)(relation_small_object_bo_1.RelationSmallObject),
|
|
165
165
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject)
|
|
166
166
|
], Task.prototype, "executive", void 0);
|
|
167
167
|
__decorate([
|
|
168
|
-
complex_field_decorator_1.ComplexField(relation_small_object_bo_1.RelationSmallObject),
|
|
168
|
+
(0, complex_field_decorator_1.ComplexField)(relation_small_object_bo_1.RelationSmallObject),
|
|
169
169
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject)
|
|
170
170
|
], Task.prototype, "relation", void 0);
|
|
171
171
|
__decorate([
|
|
172
|
-
complex_field_decorator_1.ComplexField(relation_small_object_bo_1.RelationSmallObject),
|
|
172
|
+
(0, complex_field_decorator_1.ComplexField)(relation_small_object_bo_1.RelationSmallObject),
|
|
173
173
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject)
|
|
174
174
|
], Task.prototype, "reporter", void 0);
|
|
175
175
|
__decorate([
|
|
176
|
-
complex_field_decorator_1.ComplexField(relation_small_object_bo_1.RelationSmallObject),
|
|
176
|
+
(0, complex_field_decorator_1.ComplexField)(relation_small_object_bo_1.RelationSmallObject),
|
|
177
177
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject)
|
|
178
178
|
], Task.prototype, "supervisor", void 0);
|
|
179
179
|
__decorate([
|
|
180
|
-
boolean_decorator_1.BooleanText("T"),
|
|
180
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
181
181
|
__metadata("design:type", Boolean)
|
|
182
182
|
], Task.prototype, "needsPlanning", void 0);
|
|
183
183
|
__decorate([
|
|
184
|
-
date_field_decorator_1.DateField(),
|
|
184
|
+
(0, date_field_decorator_1.DateField)(),
|
|
185
185
|
__metadata("design:type", Date)
|
|
186
186
|
], Task.prototype, "creationDateTime", void 0);
|
|
187
187
|
__decorate([
|
|
188
|
-
date_field_decorator_1.DateField(),
|
|
188
|
+
(0, date_field_decorator_1.DateField)(),
|
|
189
189
|
__metadata("design:type", Date)
|
|
190
190
|
], Task.prototype, "executionDateTime", void 0);
|
|
191
191
|
__decorate([
|
|
192
|
-
date_field_decorator_1.DateField(),
|
|
192
|
+
(0, date_field_decorator_1.DateField)(),
|
|
193
193
|
__metadata("design:type", Date)
|
|
194
194
|
], Task.prototype, "preferredDateTime", void 0);
|
|
195
195
|
__decorate([
|
|
196
|
-
date_field_decorator_1.DateField(),
|
|
196
|
+
(0, date_field_decorator_1.DateField)(),
|
|
197
197
|
__metadata("design:type", Date)
|
|
198
198
|
], Task.prototype, "startDateTime", void 0);
|
|
199
199
|
__decorate([
|
|
200
|
-
date_field_decorator_1.DateField(),
|
|
200
|
+
(0, date_field_decorator_1.DateField)(),
|
|
201
201
|
__metadata("design:type", Date)
|
|
202
202
|
], Task.prototype, "executedOnDateTime", void 0);
|
|
203
203
|
__decorate([
|
|
204
|
-
boolean_decorator_1.BooleanText("T"),
|
|
204
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
205
205
|
__metadata("design:type", Boolean)
|
|
206
206
|
], Task.prototype, "dateDefinate", void 0);
|
|
207
207
|
__decorate([
|
|
208
|
-
boolean_decorator_1.BooleanText("T"),
|
|
208
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
209
209
|
__metadata("design:type", Boolean)
|
|
210
210
|
], Task.prototype, "bookmarked", void 0);
|
|
211
211
|
__decorate([
|
|
212
|
-
date_field_decorator_1.DateField(),
|
|
212
|
+
(0, date_field_decorator_1.DateField)(),
|
|
213
213
|
__metadata("design:type", Date)
|
|
214
214
|
], Task.prototype, "lastModifiedDate", void 0);
|
|
215
215
|
__decorate([
|
|
216
|
-
db_field_alias_decorator_1.DbFieldAlias("estimate"),
|
|
216
|
+
(0, db_field_alias_decorator_1.DbFieldAlias)("estimate"),
|
|
217
217
|
__metadata("design:type", Number)
|
|
218
218
|
], Task.prototype, "_estimate", void 0);
|
|
219
219
|
__decorate([
|
|
220
|
-
complex_array_decorator_1.ComplexArray(co_document_1.CoDocument),
|
|
220
|
+
(0, complex_array_decorator_1.ComplexArray)(co_document_1.CoDocument),
|
|
221
221
|
__metadata("design:type", Array)
|
|
222
222
|
], Task.prototype, "documents", void 0);
|
|
223
223
|
__decorate([
|
|
224
|
-
complex_array_decorator_1.ComplexArray(remark_bo_1.Remark),
|
|
224
|
+
(0, complex_array_decorator_1.ComplexArray)(remark_bo_1.Remark),
|
|
225
225
|
__metadata("design:type", Array)
|
|
226
226
|
], Task.prototype, "remarks", void 0);
|
|
227
227
|
__decorate([
|
|
228
|
-
complex_array_decorator_1.ComplexArray(tag_tree_item_bo_1.TagTreeItem),
|
|
228
|
+
(0, complex_array_decorator_1.ComplexArray)(tag_tree_item_bo_1.TagTreeItem),
|
|
229
229
|
__metadata("design:type", Array)
|
|
230
230
|
], Task.prototype, "tags", void 0);
|
|
231
231
|
__decorate([
|
|
232
|
-
complex_array_decorator_1.ComplexArray(work_bo_1.Work),
|
|
233
|
-
db_field_alias_decorator_1.DbFieldAlias("workLog"),
|
|
232
|
+
(0, complex_array_decorator_1.ComplexArray)(work_bo_1.Work),
|
|
233
|
+
(0, db_field_alias_decorator_1.DbFieldAlias)("workLog"),
|
|
234
234
|
__metadata("design:type", Array)
|
|
235
235
|
], Task.prototype, "_workLog", void 0);
|
|
236
236
|
__decorate([
|
|
237
|
-
no_db_field_decorator_1.NoDbField(),
|
|
237
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
238
238
|
__metadata("design:type", Number)
|
|
239
239
|
], Task.prototype, "remainingTime", void 0);
|
|
240
240
|
__decorate([
|
|
241
|
-
no_db_field_decorator_1.NoDbField(),
|
|
241
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
242
242
|
__metadata("design:type", Number)
|
|
243
243
|
], Task.prototype, "_workedTime", void 0);
|
|
244
244
|
__decorate([
|
|
245
|
-
no_db_field_decorator_1.NoDbField(),
|
|
245
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
246
246
|
__metadata("design:type", Number)
|
|
247
247
|
], Task.prototype, "_progress", void 0);
|
|
248
248
|
__decorate([
|
|
249
|
-
no_db_field_decorator_1.NoDbField(),
|
|
249
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
250
250
|
__metadata("design:type", Number)
|
|
251
251
|
], Task.prototype, "_hoursPerDay", void 0);
|
|
252
252
|
__decorate([
|
|
253
|
-
no_db_field_decorator_1.NoDbField(),
|
|
253
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
254
254
|
__metadata("design:type", String),
|
|
255
255
|
__metadata("design:paramtypes", [])
|
|
256
256
|
], Task.prototype, "lastModifiedDisplayName", null);
|
|
@@ -15,7 +15,7 @@ const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decor
|
|
|
15
15
|
class Transition extends business_object_1.BusinessObject {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
|
-
boolean_decorator_1.BooleanText("T"),
|
|
18
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
19
19
|
__metadata("design:type", Boolean)
|
|
20
20
|
], Transition.prototype, "workflowEnded", void 0);
|
|
21
21
|
exports.Transition = Transition;
|
|
@@ -15,15 +15,15 @@ const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decor
|
|
|
15
15
|
class TreeObject extends business_object_1.BusinessObject {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
|
-
boolean_decorator_1.BooleanText("T"),
|
|
18
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
19
19
|
__metadata("design:type", Boolean)
|
|
20
20
|
], TreeObject.prototype, "nodeOpen", void 0);
|
|
21
21
|
__decorate([
|
|
22
|
-
boolean_decorator_1.BooleanText("T"),
|
|
22
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
23
23
|
__metadata("design:type", Boolean)
|
|
24
24
|
], TreeObject.prototype, "parentNodeOpen", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
boolean_decorator_1.BooleanText("T"),
|
|
26
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
27
27
|
__metadata("design:type", Boolean)
|
|
28
28
|
], TreeObject.prototype, "hasChildren", void 0);
|
|
29
29
|
exports.TreeObject = TreeObject;
|
package/build/model/work.bo.js
CHANGED
|
@@ -35,19 +35,19 @@ class Work extends business_object_1.BusinessObject {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
__decorate([
|
|
38
|
-
date_field_decorator_1.DateField(),
|
|
38
|
+
(0, date_field_decorator_1.DateField)(),
|
|
39
39
|
__metadata("design:type", Date)
|
|
40
40
|
], Work.prototype, "dateTime", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
complex_array_decorator_1.ComplexArray(co_document_1.CoDocument),
|
|
42
|
+
(0, complex_array_decorator_1.ComplexArray)(co_document_1.CoDocument),
|
|
43
43
|
__metadata("design:type", Array)
|
|
44
44
|
], Work.prototype, "documents", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
complex_field_decorator_1.ComplexField(relation_small_object_bo_1.RelationSmallObject),
|
|
46
|
+
(0, complex_field_decorator_1.ComplexField)(relation_small_object_bo_1.RelationSmallObject),
|
|
47
47
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject)
|
|
48
48
|
], Work.prototype, "executive", void 0);
|
|
49
49
|
__decorate([
|
|
50
|
-
no_db_field_decorator_1.NoDbField(),
|
|
50
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
51
51
|
__metadata("design:type", Number)
|
|
52
52
|
], Work.prototype, "_hoursPerDay", void 0);
|
|
53
53
|
exports.Work = Work;
|
|
@@ -22,7 +22,7 @@ class WorkflowGenericTransition extends business_object_1.BusinessObject {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
boolean_decorator_1.BooleanText(),
|
|
25
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
26
26
|
__metadata("design:type", Boolean)
|
|
27
27
|
], WorkflowGenericTransition.prototype, "typeGenericTransition", void 0);
|
|
28
28
|
exports.WorkflowGenericTransition = WorkflowGenericTransition;
|
|
@@ -38,15 +38,15 @@ class WorkflowTrigger extends business_object_1.BusinessObject {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
__decorate([
|
|
41
|
-
date_field_decorator_1.DateField(),
|
|
41
|
+
(0, date_field_decorator_1.DateField)(),
|
|
42
42
|
__metadata("design:type", Date)
|
|
43
43
|
], WorkflowTrigger.prototype, "executionDateTime", void 0);
|
|
44
44
|
__decorate([
|
|
45
|
-
boolean_decorator_1.BooleanText(),
|
|
45
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
46
46
|
__metadata("design:type", Boolean)
|
|
47
47
|
], WorkflowTrigger.prototype, "taskRequired", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
boolean_decorator_1.BooleanText(),
|
|
49
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
50
50
|
__metadata("design:type", Boolean)
|
|
51
51
|
], WorkflowTrigger.prototype, "toClosedState", void 0);
|
|
52
52
|
exports.WorkflowTrigger = WorkflowTrigger;
|
|
@@ -84,67 +84,67 @@ class Workflow extends business_object_1.BusinessObject {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
__decorate([
|
|
87
|
-
boolean_decorator_1.BooleanText("T"),
|
|
87
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
88
88
|
__metadata("design:type", Boolean)
|
|
89
89
|
], Workflow.prototype, "closed", void 0);
|
|
90
90
|
__decorate([
|
|
91
|
-
boolean_decorator_1.BooleanText("T"),
|
|
91
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
92
92
|
__metadata("design:type", Boolean)
|
|
93
93
|
], Workflow.prototype, "ended", void 0);
|
|
94
94
|
__decorate([
|
|
95
|
-
boolean_decorator_1.BooleanText("T"),
|
|
95
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
96
96
|
__metadata("design:type", Boolean)
|
|
97
97
|
], Workflow.prototype, "beginState", void 0);
|
|
98
98
|
__decorate([
|
|
99
|
-
complex_array_decorator_1.ComplexArray(workflow_trigger_bo_1.WorkflowTrigger),
|
|
99
|
+
(0, complex_array_decorator_1.ComplexArray)(workflow_trigger_bo_1.WorkflowTrigger),
|
|
100
100
|
__metadata("design:type", Array)
|
|
101
101
|
], Workflow.prototype, "manualTriggers", void 0);
|
|
102
102
|
__decorate([
|
|
103
|
-
no_db_field_decorator_1.NoDbField(),
|
|
103
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
104
104
|
__metadata("design:type", Boolean)
|
|
105
105
|
], Workflow.prototype, "useSingleTaskTriggerAsTask", void 0);
|
|
106
106
|
__decorate([
|
|
107
|
-
no_db_field_decorator_1.NoDbField(),
|
|
107
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
108
108
|
__metadata("design:type", Boolean),
|
|
109
109
|
__metadata("design:paramtypes", [])
|
|
110
110
|
], Workflow.prototype, "workFlowHasOneTaskTrigger", null);
|
|
111
111
|
__decorate([
|
|
112
|
-
no_db_field_decorator_1.NoDbField(),
|
|
112
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
113
113
|
__metadata("design:type", Boolean),
|
|
114
114
|
__metadata("design:paramtypes", [])
|
|
115
115
|
], Workflow.prototype, "hasTriggers", null);
|
|
116
116
|
__decorate([
|
|
117
|
-
no_db_field_decorator_1.NoDbField(),
|
|
117
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
118
118
|
__metadata("design:type", String),
|
|
119
119
|
__metadata("design:paramtypes", [])
|
|
120
120
|
], Workflow.prototype, "linkLabel", null);
|
|
121
121
|
__decorate([
|
|
122
|
-
no_db_field_decorator_1.NoDbField(),
|
|
122
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
123
123
|
__metadata("design:type", Number),
|
|
124
124
|
__metadata("design:paramtypes", [])
|
|
125
125
|
], Workflow.prototype, "taskIdFromTaskTrigger", null);
|
|
126
126
|
__decorate([
|
|
127
|
-
no_db_field_decorator_1.NoDbField(),
|
|
127
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
128
128
|
__metadata("design:type", String),
|
|
129
129
|
__metadata("design:paramtypes", [])
|
|
130
130
|
], Workflow.prototype, "name", null);
|
|
131
131
|
__decorate([
|
|
132
|
-
no_db_field_decorator_1.NoDbField(),
|
|
132
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
133
133
|
__metadata("design:type", String),
|
|
134
134
|
__metadata("design:paramtypes", [])
|
|
135
135
|
], Workflow.prototype, "description", null);
|
|
136
136
|
__decorate([
|
|
137
|
-
no_db_field_decorator_1.NoDbField(),
|
|
137
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
138
138
|
__metadata("design:type", Array),
|
|
139
139
|
__metadata("design:paramtypes", [])
|
|
140
140
|
], Workflow.prototype, "urls", null);
|
|
141
141
|
__decorate([
|
|
142
|
-
no_db_field_decorator_1.NoDbField(),
|
|
142
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
143
143
|
__metadata("design:type", Boolean),
|
|
144
144
|
__metadata("design:paramtypes", [])
|
|
145
145
|
], Workflow.prototype, "overDue", null);
|
|
146
146
|
__decorate([
|
|
147
|
-
no_db_field_decorator_1.NoDbField(),
|
|
147
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
148
148
|
__metadata("design:type", String),
|
|
149
149
|
__metadata("design:paramtypes", [])
|
|
150
150
|
], Workflow.prototype, "combinedTriggerIds", null);
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -6,11 +6,11 @@ class TimeUtils {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
}
|
|
8
8
|
static ConvertToMinutes(duration, hoursPerDay = 8) {
|
|
9
|
-
if (is_nill_function_1.isNill(duration)) {
|
|
9
|
+
if ((0, is_nill_function_1.isNill)(duration)) {
|
|
10
10
|
return undefined;
|
|
11
11
|
}
|
|
12
12
|
const match = new RegExp(TimeUtils.DURATION_REGEX).exec(duration);
|
|
13
|
-
if (is_nill_function_1.isNill(match)) {
|
|
13
|
+
if ((0, is_nill_function_1.isNill)(match)) {
|
|
14
14
|
return undefined;
|
|
15
15
|
}
|
|
16
16
|
const days = match[1];
|
|
@@ -29,7 +29,7 @@ class TimeUtils {
|
|
|
29
29
|
return newMinutes;
|
|
30
30
|
}
|
|
31
31
|
static ConvertToDuration(minutes, hoursPerDay = 8, long = false) {
|
|
32
|
-
if (is_nill_function_1.isNill(minutes)) {
|
|
32
|
+
if ((0, is_nill_function_1.isNill)(minutes)) {
|
|
33
33
|
return undefined;
|
|
34
34
|
}
|
|
35
35
|
const m = minutes % 60;
|