@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
|
@@ -4,5 +4,6 @@ export declare enum ActivitiesOperationName {
|
|
|
4
4
|
GetComponentActivitiesWithoutRelationFiltering = "getComponentActivitiesWithoutRelationFiltering",
|
|
5
5
|
FireTrigger = "fireTrigger",
|
|
6
6
|
FireGenericTransition = "fireGenericTransition",
|
|
7
|
-
GetActiveProcessesByTableAndKey = "getActiveProcessesByTableAndKey"
|
|
7
|
+
GetActiveProcessesByTableAndKey = "getActiveProcessesByTableAndKey",
|
|
8
|
+
GetWorkflowProcessInfoPerStatus = "getWorkflowProcessInfoPerStatus"
|
|
8
9
|
}
|
|
@@ -9,4 +9,5 @@ var ActivitiesOperationName;
|
|
|
9
9
|
ActivitiesOperationName["FireTrigger"] = "fireTrigger";
|
|
10
10
|
ActivitiesOperationName["FireGenericTransition"] = "fireGenericTransition";
|
|
11
11
|
ActivitiesOperationName["GetActiveProcessesByTableAndKey"] = "getActiveProcessesByTableAndKey";
|
|
12
|
+
ActivitiesOperationName["GetWorkflowProcessInfoPerStatus"] = "getWorkflowProcessInfoPerStatus";
|
|
12
13
|
})(ActivitiesOperationName = exports.ActivitiesOperationName || (exports.ActivitiesOperationName = {}));
|
|
@@ -15,7 +15,7 @@ const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/de
|
|
|
15
15
|
class CoSubReport extends business_object_1.BusinessObject {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
|
-
date_field_decorator_1.DateField(),
|
|
18
|
+
(0, date_field_decorator_1.DateField)(),
|
|
19
19
|
__metadata("design:type", Date)
|
|
20
20
|
], CoSubReport.prototype, "templateModified", void 0);
|
|
21
21
|
exports.CoSubReport = CoSubReport;
|
|
@@ -63,6 +63,7 @@ export declare abstract class MainApiConnection {
|
|
|
63
63
|
abstract fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<DataServiceResponseData>;
|
|
64
64
|
abstract lockTask(id: number): Promise<DataServiceResponseData>;
|
|
65
65
|
abstract getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<DataServiceResponseData>;
|
|
66
|
+
abstract getWorkflowProcessInfoPerStatus(workflowCategoryName: string): Promise<DataServiceResponseData>;
|
|
66
67
|
abstract selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
67
68
|
protected endPoint: string;
|
|
68
69
|
}
|
package/build/main-api.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export declare class MainApi {
|
|
|
75
75
|
deleteActivity(activity: Activity): Promise<DataServiceResponseData>;
|
|
76
76
|
getTaskCategories(): Promise<DataServiceResponseData>;
|
|
77
77
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<DataServiceResponseData>;
|
|
78
|
+
getWorkflowProcessInfoPerStatus(workflowCategoryName: string): Promise<DataServiceResponseData>;
|
|
78
79
|
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<DataServiceResponseData>;
|
|
79
80
|
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<DataServiceResponseData>;
|
|
80
81
|
lockTask(id: number): Promise<DataServiceResponseData>;
|
package/build/main-api.js
CHANGED
|
@@ -199,6 +199,11 @@ class MainApi {
|
|
|
199
199
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key) {
|
|
200
200
|
return this.mainApi.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
|
|
201
201
|
}
|
|
202
|
+
getWorkflowProcessInfoPerStatus(workflowCategoryName) {
|
|
203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
+
return this.mainApi.getWorkflowProcessInfoPerStatus(workflowCategoryName);
|
|
205
|
+
});
|
|
206
|
+
}
|
|
202
207
|
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
203
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
204
209
|
return this.mainApi.fireTrigger(workFlowProcessId, sequence, triggerId);
|
package/build/main-auth.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export declare class MainAuth extends MainApiConnection {
|
|
|
58
58
|
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<DataServiceResponseData>;
|
|
59
59
|
getTaskCategories(): Promise<DataServiceResponseData>;
|
|
60
60
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<DataServiceResponseData>;
|
|
61
|
+
getWorkflowProcessInfoPerStatus(workflowCategory: string): Promise<DataServiceResponseData>;
|
|
61
62
|
selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
62
63
|
private _call;
|
|
63
64
|
}
|
package/build/main-auth.js
CHANGED
|
@@ -564,6 +564,20 @@ class MainAuth extends main_api_connection_1.MainApiConnection {
|
|
|
564
564
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
+
getWorkflowProcessInfoPerStatus(workflowCategory) {
|
|
568
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
569
|
+
const params = {
|
|
570
|
+
workflowCategory: workflowCategory
|
|
571
|
+
};
|
|
572
|
+
const data = {
|
|
573
|
+
moduleName: module_name_enum_1.ModuleName.Workflow,
|
|
574
|
+
methodName: activities_operation_name_enum_1.ActivitiesOperationName.GetWorkflowProcessInfoPerStatus,
|
|
575
|
+
refCursorAsArray: true,
|
|
576
|
+
parameterValues: params
|
|
577
|
+
};
|
|
578
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
579
|
+
});
|
|
580
|
+
}
|
|
567
581
|
selectMultiple(moduleName, objectName, operationName, parameterValues, showLoader) {
|
|
568
582
|
if (showLoader === undefined) {
|
|
569
583
|
showLoader = false;
|
package/build/main-public.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export declare class MainPublic extends MainApiConnection {
|
|
|
57
57
|
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<DataServiceResponseData>;
|
|
58
58
|
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<DataServiceResponseData>;
|
|
59
59
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<DataServiceResponseData>;
|
|
60
|
+
getWorkflowProcessInfoPerStatus(workflowCategoryName: string): Promise<DataServiceResponseData>;
|
|
60
61
|
selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
61
62
|
private createServiceRequestData;
|
|
62
63
|
private _call;
|
package/build/main-public.js
CHANGED
|
@@ -236,6 +236,12 @@ class MainPublic extends main_api_connection_1.MainApiConnection {
|
|
|
236
236
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
|
+
getWorkflowProcessInfoPerStatus(workflowCategoryName) {
|
|
240
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
console.warn('getWorkflowProcessInfoPerStatus not implemented');
|
|
242
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
243
|
+
});
|
|
244
|
+
}
|
|
239
245
|
selectMultiple(moduleName, objectName, operationName, parameterValues, showLoader) {
|
|
240
246
|
console.warn('getOrderLineSetCategories not implemented');
|
|
241
247
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ActivityViewModel = void 0;
|
|
4
4
|
class ActivityViewModel {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.showing = true;
|
|
7
|
-
this.position = 0;
|
|
8
|
-
this.deleted = false;
|
|
9
|
-
this.guid = this._generateGUID();
|
|
10
|
-
}
|
|
11
5
|
get overDue() {
|
|
12
6
|
if (this.activity) {
|
|
13
7
|
return this.activity.overDue;
|
|
14
8
|
}
|
|
15
9
|
return false;
|
|
16
10
|
}
|
|
11
|
+
constructor() {
|
|
12
|
+
this.showing = true;
|
|
13
|
+
this.position = 0;
|
|
14
|
+
this.deleted = false;
|
|
15
|
+
this.guid = this._generateGUID();
|
|
16
|
+
}
|
|
17
17
|
refreshViewModel() {
|
|
18
18
|
this.parent.setAmount();
|
|
19
19
|
}
|
|
@@ -35,31 +35,31 @@ class ActivityWorkflow 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
|
], ActivityWorkflow.prototype, "stateDate", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
boolean_decorator_1.BooleanText(),
|
|
42
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
43
43
|
__metadata("design:type", Boolean)
|
|
44
44
|
], ActivityWorkflow.prototype, "closed", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
boolean_decorator_1.BooleanText(),
|
|
46
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
47
47
|
__metadata("design:type", Boolean)
|
|
48
48
|
], ActivityWorkflow.prototype, "ended", void 0);
|
|
49
49
|
__decorate([
|
|
50
|
-
boolean_decorator_1.BooleanText(),
|
|
50
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
51
51
|
__metadata("design:type", Boolean)
|
|
52
52
|
], ActivityWorkflow.prototype, "beginState", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
complex_array_decorator_1.ComplexArray(workflow_trigger_bo_1.WorkflowTrigger),
|
|
54
|
+
(0, complex_array_decorator_1.ComplexArray)(workflow_trigger_bo_1.WorkflowTrigger),
|
|
55
55
|
__metadata("design:type", Array)
|
|
56
56
|
], ActivityWorkflow.prototype, "manualTriggers", void 0);
|
|
57
57
|
__decorate([
|
|
58
|
-
complex_array_decorator_1.ComplexArray(workflow_generic_transition_bo_1.WorkflowGenericTransition),
|
|
58
|
+
(0, complex_array_decorator_1.ComplexArray)(workflow_generic_transition_bo_1.WorkflowGenericTransition),
|
|
59
59
|
__metadata("design:type", Array)
|
|
60
60
|
], ActivityWorkflow.prototype, "manualGenericTriggers", void 0);
|
|
61
61
|
__decorate([
|
|
62
|
-
no_db_field_decorator_1.NoDbField(),
|
|
62
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
63
63
|
__metadata("design:type", Boolean),
|
|
64
64
|
__metadata("design:paramtypes", [])
|
|
65
65
|
], ActivityWorkflow.prototype, "hasCloseStateTriggers", null);
|
|
@@ -25,11 +25,6 @@ const transition_bo_1 = require("./transition.bo");
|
|
|
25
25
|
const form_bo_1 = require("./form.bo");
|
|
26
26
|
const ione_module_name_enum_1 = require("../enum/ione-module-name.enum");
|
|
27
27
|
class Activity extends business_object_1.BusinessObject {
|
|
28
|
-
constructor() {
|
|
29
|
-
super();
|
|
30
|
-
this.isNew = false;
|
|
31
|
-
this.editting = false;
|
|
32
|
-
}
|
|
33
28
|
get activityTypeSecondary() {
|
|
34
29
|
return this.activityType === activity_type_1.ActivityType.Work ? "WORK2" : this.activityType;
|
|
35
30
|
}
|
|
@@ -92,11 +87,11 @@ class Activity extends business_object_1.BusinessObject {
|
|
|
92
87
|
}
|
|
93
88
|
get creationDateTimeAsNumber() {
|
|
94
89
|
const creation = this.creationDateTime;
|
|
95
|
-
return (is_nill_function_1.isNill(creation)) ? null : creation.getTime();
|
|
90
|
+
return ((0, is_nill_function_1.isNill)(creation)) ? null : creation.getTime();
|
|
96
91
|
}
|
|
97
92
|
get deadlineDateTimeAsNumber() {
|
|
98
93
|
const date = this.deadlineDateTime;
|
|
99
|
-
return (is_nill_function_1.isNill(date)) ? null : date.getTime();
|
|
94
|
+
return ((0, is_nill_function_1.isNill)(date)) ? null : date.getTime();
|
|
100
95
|
}
|
|
101
96
|
get linkLabel() {
|
|
102
97
|
switch (this.activityType) {
|
|
@@ -282,6 +277,11 @@ class Activity extends business_object_1.BusinessObject {
|
|
|
282
277
|
return false;
|
|
283
278
|
}
|
|
284
279
|
}
|
|
280
|
+
constructor() {
|
|
281
|
+
super();
|
|
282
|
+
this.isNew = false;
|
|
283
|
+
this.editting = false;
|
|
284
|
+
}
|
|
285
285
|
getId() {
|
|
286
286
|
switch (this.activityType) {
|
|
287
287
|
case activity_type_1.ActivityType.Remark:
|
|
@@ -318,166 +318,166 @@ class Activity extends business_object_1.BusinessObject {
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
__decorate([
|
|
321
|
-
date_field_decorator_1.DateField(),
|
|
321
|
+
(0, date_field_decorator_1.DateField)(),
|
|
322
322
|
__metadata("design:type", Date)
|
|
323
323
|
], Activity.prototype, "lastActionDateTime", void 0);
|
|
324
324
|
__decorate([
|
|
325
|
-
date_field_decorator_1.DateField(),
|
|
325
|
+
(0, date_field_decorator_1.DateField)(),
|
|
326
326
|
__metadata("design:type", Date)
|
|
327
327
|
], Activity.prototype, "targetDateTime", void 0);
|
|
328
328
|
__decorate([
|
|
329
|
-
date_field_decorator_1.DateField(),
|
|
329
|
+
(0, date_field_decorator_1.DateField)(),
|
|
330
330
|
__metadata("design:type", Date)
|
|
331
331
|
], Activity.prototype, "deadlineDateTime", void 0);
|
|
332
332
|
__decorate([
|
|
333
|
-
complex_field_decorator_1.ComplexField(workflow_bo_1.Workflow),
|
|
333
|
+
(0, complex_field_decorator_1.ComplexField)(workflow_bo_1.Workflow),
|
|
334
334
|
__metadata("design:type", workflow_bo_1.Workflow)
|
|
335
335
|
], Activity.prototype, "workflow", void 0);
|
|
336
336
|
__decorate([
|
|
337
|
-
complex_field_decorator_1.ComplexField(task_bo_1.Task),
|
|
337
|
+
(0, complex_field_decorator_1.ComplexField)(task_bo_1.Task),
|
|
338
338
|
__metadata("design:type", task_bo_1.Task)
|
|
339
339
|
], Activity.prototype, "task", void 0);
|
|
340
340
|
__decorate([
|
|
341
|
-
complex_field_decorator_1.ComplexField(transition_bo_1.Transition),
|
|
341
|
+
(0, complex_field_decorator_1.ComplexField)(transition_bo_1.Transition),
|
|
342
342
|
__metadata("design:type", transition_bo_1.Transition)
|
|
343
343
|
], Activity.prototype, "stateChange", void 0);
|
|
344
344
|
__decorate([
|
|
345
|
-
complex_field_decorator_1.ComplexField(remark_bo_1.Remark),
|
|
345
|
+
(0, complex_field_decorator_1.ComplexField)(remark_bo_1.Remark),
|
|
346
346
|
__metadata("design:type", remark_bo_1.Remark)
|
|
347
347
|
], Activity.prototype, "remark", void 0);
|
|
348
348
|
__decorate([
|
|
349
|
-
complex_field_decorator_1.ComplexField(work_bo_1.Work),
|
|
349
|
+
(0, complex_field_decorator_1.ComplexField)(work_bo_1.Work),
|
|
350
350
|
__metadata("design:type", work_bo_1.Work)
|
|
351
351
|
], Activity.prototype, "work", void 0);
|
|
352
352
|
__decorate([
|
|
353
|
-
complex_field_decorator_1.ComplexField(form_bo_1.Form),
|
|
353
|
+
(0, complex_field_decorator_1.ComplexField)(form_bo_1.Form),
|
|
354
354
|
__metadata("design:type", form_bo_1.Form)
|
|
355
355
|
], Activity.prototype, "form", void 0);
|
|
356
356
|
__decorate([
|
|
357
|
-
no_db_field_decorator_1.NoDbField(),
|
|
357
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
358
358
|
__metadata("design:type", Boolean)
|
|
359
359
|
], Activity.prototype, "isNew", void 0);
|
|
360
360
|
__decorate([
|
|
361
|
-
no_db_field_decorator_1.NoDbField(),
|
|
361
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
362
362
|
__metadata("design:type", Boolean)
|
|
363
363
|
], Activity.prototype, "editting", void 0);
|
|
364
364
|
__decorate([
|
|
365
|
-
no_db_field_decorator_1.NoDbField(),
|
|
365
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
366
366
|
__metadata("design:type", String),
|
|
367
367
|
__metadata("design:paramtypes", [])
|
|
368
368
|
], Activity.prototype, "activityTypeSecondary", null);
|
|
369
369
|
__decorate([
|
|
370
|
-
no_db_field_decorator_1.NoDbField(),
|
|
370
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
371
371
|
__metadata("design:type", Boolean),
|
|
372
372
|
__metadata("design:paramtypes", [])
|
|
373
373
|
], Activity.prototype, "IsRemark", null);
|
|
374
374
|
__decorate([
|
|
375
|
-
no_db_field_decorator_1.NoDbField(),
|
|
375
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
376
376
|
__metadata("design:type", Boolean),
|
|
377
377
|
__metadata("design:paramtypes", [])
|
|
378
378
|
], Activity.prototype, "IsWorkflowStatus", null);
|
|
379
379
|
__decorate([
|
|
380
|
-
no_db_field_decorator_1.NoDbField(),
|
|
380
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
381
381
|
__metadata("design:type", Boolean),
|
|
382
382
|
__metadata("design:paramtypes", [])
|
|
383
383
|
], Activity.prototype, "IsWork", null);
|
|
384
384
|
__decorate([
|
|
385
|
-
no_db_field_decorator_1.NoDbField(),
|
|
385
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
386
386
|
__metadata("design:type", Boolean),
|
|
387
387
|
__metadata("design:paramtypes", [])
|
|
388
388
|
], Activity.prototype, "IsTask", null);
|
|
389
389
|
__decorate([
|
|
390
|
-
no_db_field_decorator_1.NoDbField(),
|
|
390
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
391
391
|
__metadata("design:type", Boolean),
|
|
392
392
|
__metadata("design:paramtypes", [])
|
|
393
393
|
], Activity.prototype, "IsStateChange", null);
|
|
394
394
|
__decorate([
|
|
395
|
-
no_db_field_decorator_1.NoDbField(),
|
|
395
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
396
396
|
__metadata("design:type", Boolean),
|
|
397
397
|
__metadata("design:paramtypes", [])
|
|
398
398
|
], Activity.prototype, "IsForm", null);
|
|
399
399
|
__decorate([
|
|
400
|
-
no_db_field_decorator_1.NoDbField(),
|
|
400
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
401
401
|
__metadata("design:type", Object),
|
|
402
402
|
__metadata("design:paramtypes", [])
|
|
403
403
|
], Activity.prototype, "link", null);
|
|
404
404
|
__decorate([
|
|
405
|
-
no_db_field_decorator_1.NoDbField(),
|
|
405
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
406
406
|
__metadata("design:type", String),
|
|
407
407
|
__metadata("design:paramtypes", [])
|
|
408
408
|
], Activity.prototype, "linkDescription", null);
|
|
409
409
|
__decorate([
|
|
410
|
-
no_db_field_decorator_1.NoDbField(),
|
|
410
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
411
411
|
__metadata("design:type", String),
|
|
412
412
|
__metadata("design:paramtypes", [])
|
|
413
413
|
], Activity.prototype, "name", null);
|
|
414
414
|
__decorate([
|
|
415
|
-
no_db_field_decorator_1.NoDbField(),
|
|
415
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
416
416
|
__metadata("design:type", Date),
|
|
417
417
|
__metadata("design:paramtypes", [])
|
|
418
418
|
], Activity.prototype, "creationDateTime", null);
|
|
419
419
|
__decorate([
|
|
420
|
-
no_db_field_decorator_1.NoDbField(),
|
|
420
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
421
421
|
__metadata("design:type", Number),
|
|
422
422
|
__metadata("design:paramtypes", [])
|
|
423
423
|
], Activity.prototype, "creationDateTimeAsNumber", null);
|
|
424
424
|
__decorate([
|
|
425
|
-
no_db_field_decorator_1.NoDbField(),
|
|
425
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
426
426
|
__metadata("design:type", Number),
|
|
427
427
|
__metadata("design:paramtypes", [])
|
|
428
428
|
], Activity.prototype, "deadlineDateTimeAsNumber", null);
|
|
429
429
|
__decorate([
|
|
430
|
-
no_db_field_decorator_1.NoDbField(),
|
|
430
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
431
431
|
__metadata("design:type", String),
|
|
432
432
|
__metadata("design:paramtypes", [])
|
|
433
433
|
], Activity.prototype, "linkLabel", null);
|
|
434
434
|
__decorate([
|
|
435
|
-
no_db_field_decorator_1.NoDbField(),
|
|
435
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
436
436
|
__metadata("design:type", String),
|
|
437
437
|
__metadata("design:paramtypes", [])
|
|
438
438
|
], Activity.prototype, "subDescription", null);
|
|
439
439
|
__decorate([
|
|
440
|
-
no_db_field_decorator_1.NoDbField(),
|
|
440
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
441
441
|
__metadata("design:type", String),
|
|
442
442
|
__metadata("design:paramtypes", [])
|
|
443
443
|
], Activity.prototype, "label", null);
|
|
444
444
|
__decorate([
|
|
445
|
-
no_db_field_decorator_1.NoDbField(),
|
|
445
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
446
446
|
__metadata("design:type", Boolean),
|
|
447
447
|
__metadata("design:paramtypes", [])
|
|
448
448
|
], Activity.prototype, "canEdit", null);
|
|
449
449
|
__decorate([
|
|
450
|
-
no_db_field_decorator_1.NoDbField(),
|
|
450
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
451
451
|
__metadata("design:type", Array),
|
|
452
452
|
__metadata("design:paramtypes", [])
|
|
453
453
|
], Activity.prototype, "documents", null);
|
|
454
454
|
__decorate([
|
|
455
|
-
no_db_field_decorator_1.NoDbField(),
|
|
455
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
456
456
|
__metadata("design:type", Number),
|
|
457
457
|
__metadata("design:paramtypes", [])
|
|
458
458
|
], Activity.prototype, "time", null);
|
|
459
459
|
__decorate([
|
|
460
|
-
no_db_field_decorator_1.NoDbField(),
|
|
460
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
461
461
|
__metadata("design:type", String),
|
|
462
462
|
__metadata("design:paramtypes", [])
|
|
463
463
|
], Activity.prototype, "executiveName", null);
|
|
464
464
|
__decorate([
|
|
465
|
-
no_db_field_decorator_1.NoDbField(),
|
|
465
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
466
466
|
__metadata("design:type", String),
|
|
467
467
|
__metadata("design:paramtypes", [])
|
|
468
468
|
], Activity.prototype, "authorName", null);
|
|
469
469
|
__decorate([
|
|
470
|
-
no_db_field_decorator_1.NoDbField(),
|
|
470
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
471
471
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject),
|
|
472
472
|
__metadata("design:paramtypes", [])
|
|
473
473
|
], Activity.prototype, "executive", null);
|
|
474
474
|
__decorate([
|
|
475
|
-
no_db_field_decorator_1.NoDbField(),
|
|
475
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
476
476
|
__metadata("design:type", relation_small_object_bo_1.RelationSmallObject),
|
|
477
477
|
__metadata("design:paramtypes", [])
|
|
478
478
|
], Activity.prototype, "author", null);
|
|
479
479
|
__decorate([
|
|
480
|
-
no_db_field_decorator_1.NoDbField(),
|
|
480
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
481
481
|
__metadata("design:type", Object),
|
|
482
482
|
__metadata("design:paramtypes", [])
|
|
483
483
|
], Activity.prototype, "classType", null);
|
|
@@ -26,16 +26,6 @@ const object_right_type_enum_1 = require("@colijnit/ioneconnector/build/enum/obj
|
|
|
26
26
|
const file_utils_1 = require("../utils/file-utils");
|
|
27
27
|
const co_document_image_display_kind_enum_1 = require("../enum/co-document-image-display-kind.enum");
|
|
28
28
|
class CoDocument extends business_object_1.BusinessObject {
|
|
29
|
-
constructor(rawData = {}) {
|
|
30
|
-
super();
|
|
31
|
-
this.pathIsUrl = false;
|
|
32
|
-
this.tags = [];
|
|
33
|
-
this.rights = [];
|
|
34
|
-
this.seoTitles = [];
|
|
35
|
-
this.retailFormulas = [];
|
|
36
|
-
this.documentBodyChange = new rxjs_1.Subject();
|
|
37
|
-
this._idObject = {};
|
|
38
|
-
}
|
|
39
29
|
set documentId(value) {
|
|
40
30
|
this._documentId = value;
|
|
41
31
|
this._idObject.docId = value;
|
|
@@ -104,6 +94,16 @@ class CoDocument extends business_object_1.BusinessObject {
|
|
|
104
94
|
get readonly() {
|
|
105
95
|
return this.rightLevel === object_right_type_enum_1.ObjectRightType.ReadOnly;
|
|
106
96
|
}
|
|
97
|
+
constructor(rawData = {}) {
|
|
98
|
+
super();
|
|
99
|
+
this.pathIsUrl = false;
|
|
100
|
+
this.tags = [];
|
|
101
|
+
this.rights = [];
|
|
102
|
+
this.seoTitles = [];
|
|
103
|
+
this.retailFormulas = [];
|
|
104
|
+
this.documentBodyChange = new rxjs_1.Subject();
|
|
105
|
+
this._idObject = {};
|
|
106
|
+
}
|
|
107
107
|
getId() {
|
|
108
108
|
return this.documentId;
|
|
109
109
|
}
|
|
@@ -118,63 +118,63 @@ class CoDocument extends business_object_1.BusinessObject {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
__decorate([
|
|
121
|
-
date_field_decorator_1.DateField(),
|
|
121
|
+
(0, date_field_decorator_1.DateField)(),
|
|
122
122
|
__metadata("design:type", Date)
|
|
123
123
|
], CoDocument.prototype, "creationDate", void 0);
|
|
124
124
|
__decorate([
|
|
125
|
-
date_field_decorator_1.DateField(),
|
|
125
|
+
(0, date_field_decorator_1.DateField)(),
|
|
126
126
|
__metadata("design:type", Date)
|
|
127
127
|
], CoDocument.prototype, "modifiedDate", void 0);
|
|
128
128
|
__decorate([
|
|
129
|
-
boolean_decorator_1.BooleanText("T"),
|
|
129
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
130
130
|
__metadata("design:type", Boolean)
|
|
131
131
|
], CoDocument.prototype, "downloadable", void 0);
|
|
132
132
|
__decorate([
|
|
133
|
-
boolean_decorator_1.BooleanText("T"),
|
|
133
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
134
134
|
__metadata("design:type", Boolean)
|
|
135
135
|
], CoDocument.prototype, "attachToNotification", void 0);
|
|
136
136
|
__decorate([
|
|
137
|
-
boolean_decorator_1.BooleanText("T"),
|
|
137
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
138
138
|
__metadata("design:type", Boolean)
|
|
139
139
|
], CoDocument.prototype, "pathIsUrl", void 0);
|
|
140
140
|
__decorate([
|
|
141
|
-
complex_array_decorator_1.ComplexArray(tag_1.Tag),
|
|
141
|
+
(0, complex_array_decorator_1.ComplexArray)(tag_1.Tag),
|
|
142
142
|
__metadata("design:type", Array)
|
|
143
143
|
], CoDocument.prototype, "tags", void 0);
|
|
144
144
|
__decorate([
|
|
145
|
-
complex_array_decorator_1.ComplexArray(co_document_right_1.CoDocumentRight),
|
|
145
|
+
(0, complex_array_decorator_1.ComplexArray)(co_document_right_1.CoDocumentRight),
|
|
146
146
|
__metadata("design:type", Array)
|
|
147
147
|
], CoDocument.prototype, "rights", void 0);
|
|
148
148
|
__decorate([
|
|
149
|
-
complex_array_decorator_1.ComplexArray(article_seo_value_1.ArticleSeoValue),
|
|
149
|
+
(0, complex_array_decorator_1.ComplexArray)(article_seo_value_1.ArticleSeoValue),
|
|
150
150
|
__metadata("design:type", Array)
|
|
151
151
|
], CoDocument.prototype, "seoTitles", void 0);
|
|
152
152
|
__decorate([
|
|
153
|
-
no_db_field_decorator_1.NoDbField(),
|
|
153
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
154
154
|
__metadata("design:type", Number)
|
|
155
155
|
], CoDocument.prototype, "idForLink", void 0);
|
|
156
156
|
__decorate([
|
|
157
|
-
db_field_alias_decorator_1.DbFieldAlias("documentBody"),
|
|
157
|
+
(0, db_field_alias_decorator_1.DbFieldAlias)("documentBody"),
|
|
158
158
|
__metadata("design:type", String)
|
|
159
159
|
], CoDocument.prototype, "_documentBody", void 0);
|
|
160
160
|
__decorate([
|
|
161
|
-
db_field_alias_decorator_1.DbFieldAlias("documentId"),
|
|
161
|
+
(0, db_field_alias_decorator_1.DbFieldAlias)("documentId"),
|
|
162
162
|
__metadata("design:type", Number)
|
|
163
163
|
], CoDocument.prototype, "_documentId", void 0);
|
|
164
164
|
__decorate([
|
|
165
|
-
no_db_field_decorator_1.NoDbField(),
|
|
165
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
166
166
|
__metadata("design:type", rxjs_1.Subject)
|
|
167
167
|
], CoDocument.prototype, "documentBodyChange", void 0);
|
|
168
168
|
__decorate([
|
|
169
|
-
no_db_field_decorator_1.NoDbField(),
|
|
169
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
170
170
|
__metadata("design:type", Number)
|
|
171
171
|
], CoDocument.prototype, "_fileTypeInternal", void 0);
|
|
172
172
|
__decorate([
|
|
173
|
-
no_db_field_decorator_1.NoDbField(),
|
|
173
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
174
174
|
__metadata("design:type", String)
|
|
175
175
|
], CoDocument.prototype, "_mimeTypeInternal", void 0);
|
|
176
176
|
__decorate([
|
|
177
|
-
no_db_field_decorator_1.NoDbField(),
|
|
177
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
178
178
|
__metadata("design:type", Object)
|
|
179
179
|
], CoDocument.prototype, "_idObject", void 0);
|
|
180
180
|
exports.CoDocument = CoDocument;
|
|
@@ -4,12 +4,12 @@ exports.CoDomainValue = void 0;
|
|
|
4
4
|
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
5
|
const number_utils_1 = require("@colijnit/ioneconnector/build/utils/number-utils");
|
|
6
6
|
class CoDomainValue extends business_object_1.BusinessObject {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
}
|
|
10
7
|
get codeAsNumber() {
|
|
11
8
|
return number_utils_1.NumberUtils.ParseInt(this.code);
|
|
12
9
|
}
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
13
|
getId() {
|
|
14
14
|
return this.code;
|
|
15
15
|
}
|
|
@@ -47,23 +47,23 @@ let CoNotition = class CoNotition extends business_object_1.BusinessObject {
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
__decorate([
|
|
50
|
-
date_field_decorator_1.DateField(),
|
|
50
|
+
(0, date_field_decorator_1.DateField)(),
|
|
51
51
|
__metadata("design:type", Date)
|
|
52
52
|
], CoNotition.prototype, "creationDate", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
boolean_decorator_1.BooleanText("T"),
|
|
54
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
55
55
|
__metadata("design:type", Boolean)
|
|
56
56
|
], CoNotition.prototype, "manual", void 0);
|
|
57
57
|
__decorate([
|
|
58
|
-
date_field_decorator_1.DateField(),
|
|
58
|
+
(0, date_field_decorator_1.DateField)(),
|
|
59
59
|
__metadata("design:type", Date)
|
|
60
60
|
], CoNotition.prototype, "modifiedDate", void 0);
|
|
61
61
|
__decorate([
|
|
62
|
-
complex_array_decorator_1.ComplexArray(co_notition_right_bo_1.CoNotitionRight),
|
|
62
|
+
(0, complex_array_decorator_1.ComplexArray)(co_notition_right_bo_1.CoNotitionRight),
|
|
63
63
|
__metadata("design:type", Array)
|
|
64
64
|
], CoNotition.prototype, "rights", void 0);
|
|
65
65
|
CoNotition = __decorate([
|
|
66
|
-
business_object_data_decorator_1.BusinessObjectData({
|
|
66
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
67
67
|
name: "Note",
|
|
68
68
|
mapping: data_mapping_enum_1.DataMapping.General,
|
|
69
69
|
searchProperties: [
|
|
@@ -34,35 +34,35 @@ class CoReport extends business_object_1.BusinessObject {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
__decorate([
|
|
37
|
-
date_field_decorator_1.DateField(),
|
|
37
|
+
(0, date_field_decorator_1.DateField)(),
|
|
38
38
|
__metadata("design:type", Date)
|
|
39
39
|
], CoReport.prototype, "templateModified", void 0);
|
|
40
40
|
__decorate([
|
|
41
|
-
complex_array_decorator_1.ComplexArray(report_param_1.ReportParam),
|
|
41
|
+
(0, complex_array_decorator_1.ComplexArray)(report_param_1.ReportParam),
|
|
42
42
|
__metadata("design:type", Array)
|
|
43
43
|
], CoReport.prototype, "reportParameters", 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
|
], CoReport.prototype, "images", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
complex_array_decorator_1.ComplexArray(co_sub_report_bo_1.CoSubReport),
|
|
49
|
+
(0, complex_array_decorator_1.ComplexArray)(co_sub_report_bo_1.CoSubReport),
|
|
50
50
|
__metadata("design:type", Array)
|
|
51
51
|
], CoReport.prototype, "subReports", void 0);
|
|
52
52
|
__decorate([
|
|
53
|
-
complex_array_decorator_1.ComplexArray(co_report_sjablonen_documenten_bo_1.CoReportSjablonenDocumenten),
|
|
53
|
+
(0, complex_array_decorator_1.ComplexArray)(co_report_sjablonen_documenten_bo_1.CoReportSjablonenDocumenten),
|
|
54
54
|
__metadata("design:type", Array)
|
|
55
55
|
], CoReport.prototype, "documentLinksToBodyTemplate", void 0);
|
|
56
56
|
__decorate([
|
|
57
|
-
complex_array_decorator_1.ComplexArray(branch_bo_1.Branch),
|
|
57
|
+
(0, complex_array_decorator_1.ComplexArray)(branch_bo_1.Branch),
|
|
58
58
|
__metadata("design:type", Array)
|
|
59
59
|
], CoReport.prototype, "branchAvailability", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
complex_array_decorator_1.ComplexArray(co_report_category_link_bo_1.CoReportCategoryLink),
|
|
61
|
+
(0, complex_array_decorator_1.ComplexArray)(co_report_category_link_bo_1.CoReportCategoryLink),
|
|
62
62
|
__metadata("design:type", Array)
|
|
63
63
|
], CoReport.prototype, "categoryLinks", void 0);
|
|
64
64
|
__decorate([
|
|
65
|
-
complex_array_decorator_1.ComplexArray(report_category_bo_1.ReportCategory),
|
|
65
|
+
(0, complex_array_decorator_1.ComplexArray)(report_category_bo_1.ReportCategory),
|
|
66
66
|
__metadata("design:type", Array)
|
|
67
67
|
], CoReport.prototype, "categories", void 0);
|
|
68
68
|
exports.CoReport = CoReport;
|
|
@@ -4,12 +4,12 @@ exports.CoRVDomainValue = void 0;
|
|
|
4
4
|
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
5
|
const number_utils_1 = require("@colijnit/ioneconnector/build/utils/number-utils");
|
|
6
6
|
class CoRVDomainValue extends business_object_1.BusinessObject {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
}
|
|
10
7
|
get codeAsNumber() {
|
|
11
8
|
return number_utils_1.NumberUtils.ParseInt(this.code);
|
|
12
9
|
}
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
13
|
getId() {
|
|
14
14
|
return this.code;
|
|
15
15
|
}
|
package/build/model/co-text.js
CHANGED
|
@@ -18,11 +18,11 @@ class CoText extends business_object_1.BusinessObject {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
__decorate([
|
|
21
|
-
boolean_decorator_1.BooleanText(),
|
|
21
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
22
22
|
__metadata("design:type", Boolean)
|
|
23
23
|
], CoText.prototype, "articleBound", void 0);
|
|
24
24
|
__decorate([
|
|
25
|
-
boolean_decorator_1.BooleanText("T"),
|
|
25
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
26
26
|
__metadata("design:type", Boolean)
|
|
27
27
|
], CoText.prototype, "warning", void 0);
|
|
28
28
|
exports.CoText = CoText;
|