@ironcode/vas-lib 0.0.2 → 0.0.5
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/cjs/lib/entity/index.d.ts +11 -0
- package/cjs/lib/entity/index.d.ts.map +1 -1
- package/cjs/lib/entity/index.js +11 -0
- package/cjs/lib/entity/index.js.map +1 -1
- package/cjs/lib/entity/vas-access-group.dto.d.ts +7 -0
- package/cjs/lib/entity/vas-access-group.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-access-group.dto.js +3 -0
- package/cjs/lib/entity/vas-access-group.dto.js.map +1 -0
- package/cjs/lib/entity/vas-account.dto.d.ts +33 -0
- package/cjs/lib/entity/vas-account.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-account.dto.js +3 -0
- package/cjs/lib/entity/vas-account.dto.js.map +1 -0
- package/cjs/lib/entity/vas-branch.dto.d.ts +22 -0
- package/cjs/lib/entity/vas-branch.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-branch.dto.js +3 -0
- package/cjs/lib/entity/vas-branch.dto.js.map +1 -0
- package/cjs/lib/entity/vas-branch.model.d.ts +34 -0
- package/cjs/lib/entity/vas-branch.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-branch.model.js +66 -0
- package/cjs/lib/entity/vas-branch.model.js.map +1 -0
- package/cjs/lib/entity/vas-contact-type.dto.d.ts +8 -0
- package/cjs/lib/entity/vas-contact-type.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-contact-type.dto.js +3 -0
- package/cjs/lib/entity/vas-contact-type.dto.js.map +1 -0
- package/cjs/lib/entity/vas-contact.dto.d.ts +11 -0
- package/cjs/lib/entity/vas-contact.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-contact.dto.js +3 -0
- package/cjs/lib/entity/vas-contact.dto.js.map +1 -0
- package/cjs/lib/entity/vas-form.model.d.ts +7 -0
- package/cjs/lib/entity/vas-form.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-form.model.js +30 -0
- package/cjs/lib/entity/vas-form.model.js.map +1 -1
- package/cjs/lib/entity/vas-job-status.dto.d.ts +8 -0
- package/cjs/lib/entity/vas-job-status.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-status.dto.js +3 -0
- package/cjs/lib/entity/vas-job-status.dto.js.map +1 -0
- package/cjs/lib/entity/vas-job-type.dto.d.ts +8 -0
- package/cjs/lib/entity/vas-job-type.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-type.dto.js +3 -0
- package/cjs/lib/entity/vas-job-type.dto.js.map +1 -0
- package/cjs/lib/entity/vas-job.dto.d.ts +1 -0
- package/cjs/lib/entity/vas-job.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.dto.js.map +1 -1
- package/cjs/lib/entity/vas-job.model.d.ts +39 -1
- package/cjs/lib/entity/vas-job.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.model.js +85 -3
- package/cjs/lib/entity/vas-job.model.js.map +1 -1
- package/cjs/lib/entity/vas-lookup-type.dto.d.ts +7 -0
- package/cjs/lib/entity/vas-lookup-type.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-lookup-type.dto.js +3 -0
- package/cjs/lib/entity/vas-lookup-type.dto.js.map +1 -0
- package/cjs/lib/entity/vas-lookup.dto.d.ts +16 -0
- package/cjs/lib/entity/vas-lookup.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-lookup.dto.js +3 -0
- package/cjs/lib/entity/vas-lookup.dto.js.map +1 -0
- package/cjs/lib/entity/vas-membership.dto.d.ts +12 -0
- package/cjs/lib/entity/vas-membership.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-membership.dto.js +3 -0
- package/cjs/lib/entity/vas-membership.dto.js.map +1 -0
- package/cjs/lib/entity/vas-task-type.dto.d.ts +7 -0
- package/cjs/lib/entity/vas-task-type.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-task-type.dto.js +3 -0
- package/cjs/lib/entity/vas-task-type.dto.js.map +1 -0
- package/cjs/lib/model/index.d.ts +2 -0
- package/cjs/lib/model/index.d.ts.map +1 -0
- package/cjs/lib/model/index.js +5 -0
- package/cjs/lib/model/index.js.map +1 -0
- package/cjs/lib/model/vas-time-range.model.d.ts +5 -0
- package/cjs/lib/model/vas-time-range.model.d.ts.map +1 -0
- package/cjs/lib/model/vas-time-range.model.js +3 -0
- package/cjs/lib/model/vas-time-range.model.js.map +1 -0
- package/cjs/package.json +7 -2
- package/cjs/public-api.d.ts +1 -0
- package/cjs/public-api.d.ts.map +1 -1
- package/cjs/public-api.js +1 -0
- package/cjs/public-api.js.map +1 -1
- package/esm2020/lib/entity/index.mjs +12 -1
- package/esm2020/lib/entity/vas-access-group.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-account.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-branch.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-contact-type.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-contact.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-form.model.mjs +31 -1
- package/esm2020/lib/entity/vas-job-status.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-job-type.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-job.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-job.model.mjs +85 -4
- package/esm2020/lib/entity/vas-lookup-type.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-lookup.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-membership.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-task-type.dto.mjs +2 -0
- package/esm2020/lib/model/index.mjs +2 -0
- package/esm2020/lib/model/vas-time-range.model.mjs +2 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/ironcode-vas-lib.mjs +113 -3
- package/fesm2015/ironcode-vas-lib.mjs.map +1 -1
- package/fesm2020/ironcode-vas-lib.mjs +113 -3
- package/fesm2020/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/index.d.ts +11 -0
- package/lib/entity/vas-access-group.dto.d.ts +6 -0
- package/lib/entity/vas-account.dto.d.ts +32 -0
- package/lib/entity/vas-branch.dto.d.ts +21 -0
- package/lib/entity/vas-contact-type.dto.d.ts +7 -0
- package/lib/entity/vas-contact.dto.d.ts +10 -0
- package/lib/entity/vas-form.model.d.ts +7 -0
- package/lib/entity/vas-job-status.dto.d.ts +7 -0
- package/lib/entity/vas-job-type.dto.d.ts +7 -0
- package/lib/entity/vas-job.dto.d.ts +1 -0
- package/lib/entity/vas-job.model.d.ts +39 -1
- package/lib/entity/vas-lookup-type.dto.d.ts +6 -0
- package/lib/entity/vas-lookup.dto.d.ts +15 -0
- package/lib/entity/vas-membership.dto.d.ts +11 -0
- package/lib/entity/vas-task-type.dto.d.ts +6 -0
- package/lib/model/index.d.ts +1 -0
- package/lib/model/vas-time-range.model.d.ts +4 -0
- package/package.json +2 -6
- package/public-api.d.ts +1 -0
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
export * from './vas-access-group.dto';
|
|
2
|
+
export * from './vas-account.dto';
|
|
1
3
|
export * from './vas-account-object.dto';
|
|
2
4
|
export * from './vas-base.dto';
|
|
3
5
|
export * from './vas-base.model';
|
|
6
|
+
export * from './vas-branch.dto';
|
|
7
|
+
export * from './vas-contact.dto';
|
|
8
|
+
export * from './vas-contact-type.dto';
|
|
4
9
|
export * from './vas-control.dto';
|
|
5
10
|
export * from './vas-control.model';
|
|
6
11
|
export * from './vas-control-type.dto';
|
|
@@ -14,10 +19,16 @@ export * from './vas-group.model';
|
|
|
14
19
|
export * from './vas-job-data.dto';
|
|
15
20
|
export * from './vas-job.dto';
|
|
16
21
|
export * from './vas-job.model';
|
|
22
|
+
export * from './vas-job-status.dto';
|
|
23
|
+
export * from './vas-job-type.dto';
|
|
24
|
+
export * from './vas-lookup.dto';
|
|
25
|
+
export * from './vas-lookup-type.dto';
|
|
26
|
+
export * from './vas-membership.dto';
|
|
17
27
|
export * from './vas-report-layout.dto';
|
|
18
28
|
export * from './vas-report-request.dto';
|
|
19
29
|
export * from './vas-report-request.model';
|
|
20
30
|
export * from './vas-restricted-account-object.dto';
|
|
31
|
+
export * from './vas-task-type.dto';
|
|
21
32
|
export * from './vas-user.dto';
|
|
22
33
|
export * from './vas-user.model';
|
|
23
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
|
package/cjs/lib/entity/index.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./vas-access-group.dto"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./vas-account.dto"), exports);
|
|
4
6
|
tslib_1.__exportStar(require("./vas-account-object.dto"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./vas-base.dto"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./vas-base.model"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./vas-branch.dto"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./vas-contact.dto"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./vas-contact-type.dto"), exports);
|
|
7
12
|
tslib_1.__exportStar(require("./vas-control.dto"), exports);
|
|
8
13
|
tslib_1.__exportStar(require("./vas-control.model"), exports);
|
|
9
14
|
tslib_1.__exportStar(require("./vas-control-type.dto"), exports);
|
|
@@ -17,10 +22,16 @@ tslib_1.__exportStar(require("./vas-group.model"), exports);
|
|
|
17
22
|
tslib_1.__exportStar(require("./vas-job-data.dto"), exports);
|
|
18
23
|
tslib_1.__exportStar(require("./vas-job.dto"), exports);
|
|
19
24
|
tslib_1.__exportStar(require("./vas-job.model"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./vas-job-status.dto"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./vas-job-type.dto"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./vas-lookup.dto"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./vas-lookup-type.dto"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./vas-membership.dto"), exports);
|
|
20
30
|
tslib_1.__exportStar(require("./vas-report-layout.dto"), exports);
|
|
21
31
|
tslib_1.__exportStar(require("./vas-report-request.dto"), exports);
|
|
22
32
|
tslib_1.__exportStar(require("./vas-report-request.model"), exports);
|
|
23
33
|
tslib_1.__exportStar(require("./vas-restricted-account-object.dto"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./vas-task-type.dto"), exports);
|
|
24
35
|
tslib_1.__exportStar(require("./vas-user.dto"), exports);
|
|
25
36
|
tslib_1.__exportStar(require("./vas-user.model"), exports);
|
|
26
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/index.ts"],"names":[],"mappings":";;;AAAA,mEAAyC;AACzC,yDAA+B;AAC/B,2DAAiC;AACjC,4DAAkC;AAClC,8DAAoC;AACpC,iEAAuC;AACvC,mEAAyC;AACzC,0DAAgC;AAChC,yDAA+B;AAC/B,yDAA+B;AAC/B,2DAAiC;AACjC,0DAAgC;AAChC,4DAAkC;AAClC,6DAAmC;AACnC,wDAA8B;AAC9B,0DAAgC;AAChC,kEAAwC;AACxC,mEAAyC;AACzC,qEAA2C;AAC3C,8EAAoD;AACpD,yDAA+B;AAC/B,2DAAiC","sourcesContent":["export * from './vas-account-object.dto';\nexport * from './vas-base.dto';\nexport * from './vas-base.model';\nexport * from './vas-control.dto';\nexport * from './vas-control.model';\nexport * from './vas-control-type.dto';\nexport * from './vas-control-type.model';\nexport * from './vas-field.dto';\nexport * from './vas-file.dto';\nexport * from './vas-form.dto';\nexport * from './vas-form.model';\nexport * from './vas-group.dto';\nexport * from './vas-group.model';\nexport * from './vas-job-data.dto';\nexport * from './vas-job.dto';\nexport * from './vas-job.model';\nexport * from './vas-report-layout.dto';\nexport * from './vas-report-request.dto';\nexport * from './vas-report-request.model';\nexport * from './vas-restricted-account-object.dto';\nexport * from './vas-user.dto';\nexport * from './vas-user.model';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC;AACvC,4DAAkC;AAClC,mEAAyC;AACzC,yDAA+B;AAC/B,2DAAiC;AACjC,2DAAiC;AACjC,4DAAkC;AAClC,iEAAuC;AACvC,4DAAkC;AAClC,8DAAoC;AACpC,iEAAuC;AACvC,mEAAyC;AACzC,0DAAgC;AAChC,yDAA+B;AAC/B,yDAA+B;AAC/B,2DAAiC;AACjC,0DAAgC;AAChC,4DAAkC;AAClC,6DAAmC;AACnC,wDAA8B;AAC9B,0DAAgC;AAChC,+DAAqC;AACrC,6DAAmC;AACnC,2DAAiC;AACjC,gEAAsC;AACtC,+DAAqC;AACrC,kEAAwC;AACxC,mEAAyC;AACzC,qEAA2C;AAC3C,8EAAoD;AACpD,8DAAoC;AACpC,yDAA+B;AAC/B,2DAAiC","sourcesContent":["export * from './vas-access-group.dto';\nexport * from './vas-account.dto';\nexport * from './vas-account-object.dto';\nexport * from './vas-base.dto';\nexport * from './vas-base.model';\nexport * from './vas-branch.dto';\nexport * from './vas-contact.dto';\nexport * from './vas-contact-type.dto';\nexport * from './vas-control.dto';\nexport * from './vas-control.model';\nexport * from './vas-control-type.dto';\nexport * from './vas-control-type.model';\nexport * from './vas-field.dto';\nexport * from './vas-file.dto';\nexport * from './vas-form.dto';\nexport * from './vas-form.model';\nexport * from './vas-group.dto';\nexport * from './vas-group.model';\nexport * from './vas-job-data.dto';\nexport * from './vas-job.dto';\nexport * from './vas-job.model';\nexport * from './vas-job-status.dto';\nexport * from './vas-job-type.dto';\nexport * from './vas-lookup.dto';\nexport * from './vas-lookup-type.dto';\nexport * from './vas-membership.dto';\nexport * from './vas-report-layout.dto';\nexport * from './vas-report-request.dto';\nexport * from './vas-report-request.model';\nexport * from './vas-restricted-account-object.dto';\nexport * from './vas-task-type.dto';\nexport * from './vas-user.dto';\nexport * from './vas-user.model';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-access-group.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-access-group.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-access-group.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-access-group.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\n\nexport interface VasAccessGroupDto extends VasAccountObjectDto {\n title: string;\n sequence: number;\n categoryGroups: Array<string>;\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { VasBaseDto } from './vas-base.dto';
|
|
2
|
+
import { VasContactDto } from './vas-contact.dto';
|
|
3
|
+
import { VasLookupDto } from './vas-lookup.dto';
|
|
4
|
+
import { VasReportLayoutDto } from './vas-report-layout.dto';
|
|
5
|
+
import { VasAccessGroupDto } from './vas-access-group.dto';
|
|
6
|
+
import { VasContactTypeDto } from './vas-contact-type.dto';
|
|
7
|
+
import { VasJobStatusDto } from './vas-job-status.dto';
|
|
8
|
+
import { VasJobTypeDto } from './vas-job-type.dto';
|
|
9
|
+
import { VasLookupTypeDto } from './vas-lookup-type.dto';
|
|
10
|
+
import { VasTaskTypeDto } from './vas-task-type.dto';
|
|
11
|
+
import { VasMembershipDto } from './vas-membership.dto';
|
|
12
|
+
export interface VasAccountDto extends VasBaseDto {
|
|
13
|
+
business: string;
|
|
14
|
+
title: string;
|
|
15
|
+
email: string;
|
|
16
|
+
emailFooter: string;
|
|
17
|
+
phone: string;
|
|
18
|
+
address: string;
|
|
19
|
+
vatNumber: string;
|
|
20
|
+
owner: string;
|
|
21
|
+
workflowEnabled: boolean;
|
|
22
|
+
contacts: Array<VasContactDto>;
|
|
23
|
+
lookups: Array<VasLookupDto>;
|
|
24
|
+
reportLayouts: Array<VasReportLayoutDto>;
|
|
25
|
+
accessGroups: Array<VasAccessGroupDto>;
|
|
26
|
+
contactTypes: Array<VasContactTypeDto>;
|
|
27
|
+
jobStatuses: Array<VasJobStatusDto>;
|
|
28
|
+
jobTypes: Array<VasJobTypeDto>;
|
|
29
|
+
lookupTypes: Array<VasLookupTypeDto>;
|
|
30
|
+
taskTypes: Array<VasTaskTypeDto>;
|
|
31
|
+
memberships: Array<VasMembershipDto>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=vas-account.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-account.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-account.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,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,cAAc,CAAC,CAAC;IACjC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-account.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-account.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasBaseDto } from './vas-base.dto';\nimport { VasContactDto } from './vas-contact.dto';\nimport { VasLookupDto } from './vas-lookup.dto';\nimport { VasReportLayoutDto } from './vas-report-layout.dto';\nimport { VasAccessGroupDto } from './vas-access-group.dto';\nimport { VasContactTypeDto } from './vas-contact-type.dto';\nimport { VasJobStatusDto } from './vas-job-status.dto';\nimport { VasJobTypeDto } from './vas-job-type.dto';\nimport { VasLookupTypeDto } from './vas-lookup-type.dto';\nimport { VasTaskTypeDto } from './vas-task-type.dto';\nimport { VasMembershipDto } from './vas-membership.dto';\n\nexport interface VasAccountDto extends VasBaseDto {\n business: string;\n title: string;\n email: string;\n emailFooter: string;\n phone: string;\n address: string;\n vatNumber: string;\n owner: string;\n workflowEnabled: boolean;\n contacts: Array<VasContactDto>;\n lookups: Array<VasLookupDto>;\n reportLayouts: Array<VasReportLayoutDto>,\n accessGroups: Array<VasAccessGroupDto>;\n contactTypes: Array<VasContactTypeDto>,\n jobStatuses: Array<VasJobStatusDto>;\n jobTypes: Array<VasJobTypeDto>;\n lookupTypes: Array<VasLookupTypeDto>;\n taskTypes: Array<VasTaskTypeDto>;\n memberships: Array<VasMembershipDto>;\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
import { VasTimeRangeModel } from '../model/vas-time-range.model';
|
|
3
|
+
import { VasContactDto } from './vas-contact.dto';
|
|
4
|
+
export interface VasBranchDto extends VasAccountObjectDto {
|
|
5
|
+
storeCode: string;
|
|
6
|
+
address: string;
|
|
7
|
+
city: string;
|
|
8
|
+
postcode: string;
|
|
9
|
+
email: string;
|
|
10
|
+
locationManager: VasContactDto | undefined;
|
|
11
|
+
areaManager: VasContactDto | undefined;
|
|
12
|
+
regionalDirector: VasContactDto | undefined;
|
|
13
|
+
salesManager: VasContactDto | undefined;
|
|
14
|
+
cluster: string;
|
|
15
|
+
storeType: string;
|
|
16
|
+
hourWeekdays: Array<VasTimeRangeModel>;
|
|
17
|
+
hourSaturday: Array<VasTimeRangeModel>;
|
|
18
|
+
hourSunday: Array<VasTimeRangeModel>;
|
|
19
|
+
exceptions: string;
|
|
20
|
+
active: boolean;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=vas-branch.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-branch.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-branch.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,YAAa,SAAQ,mBAAmB;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,aAAa,GAAG,SAAS,CAAC;IAC3C,WAAW,EAAE,aAAa,GAAG,SAAS,CAAC;IACvC,gBAAgB,EAAE,aAAa,GAAG,SAAS,CAAC;IAC5C,YAAY,EAAE,aAAa,GAAG,SAAS,CAAA;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAA;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-branch.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-branch.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\nimport { VasTimeRangeModel } from '../model/vas-time-range.model';\nimport { VasContactDto } from './vas-contact.dto';\n\nexport interface VasBranchDto extends VasAccountObjectDto {\n storeCode: string;\n address: string;\n city: string;\n postcode: string;\n email: string;\n locationManager: VasContactDto | undefined;\n areaManager: VasContactDto | undefined;\n regionalDirector: VasContactDto | undefined;\n salesManager: VasContactDto | undefined\n cluster: string;\n storeType: string;\n hourWeekdays: Array<VasTimeRangeModel>;\n hourSaturday: Array<VasTimeRangeModel>;\n hourSunday: Array<VasTimeRangeModel>;\n exceptions: string;\n active: boolean\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { VasBaseModel } from './vas-base.model';
|
|
2
|
+
import { VasBranchDto } from './vas-branch.dto';
|
|
3
|
+
import { VasContactDto } from './vas-contact.dto';
|
|
4
|
+
import { VasTimeRangeModel } from '../model/vas-time-range.model';
|
|
5
|
+
export declare class VasBranchModel extends VasBaseModel implements VasBranchDto {
|
|
6
|
+
id: string;
|
|
7
|
+
created: string;
|
|
8
|
+
serverCreated: string;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
modified: string;
|
|
11
|
+
serverModified: string;
|
|
12
|
+
modifiedBy: string;
|
|
13
|
+
account: string;
|
|
14
|
+
storeCode: string;
|
|
15
|
+
address: string;
|
|
16
|
+
city: string;
|
|
17
|
+
postcode: string;
|
|
18
|
+
email: string;
|
|
19
|
+
locationManager: VasContactDto | undefined;
|
|
20
|
+
areaManager: VasContactDto | undefined;
|
|
21
|
+
regionalDirector: VasContactDto | undefined;
|
|
22
|
+
salesManager: VasContactDto | undefined;
|
|
23
|
+
cluster: string;
|
|
24
|
+
storeType: string;
|
|
25
|
+
hourWeekdays: Array<VasTimeRangeModel>;
|
|
26
|
+
hourSaturday: Array<VasTimeRangeModel>;
|
|
27
|
+
hourSunday: Array<VasTimeRangeModel>;
|
|
28
|
+
exceptions: string;
|
|
29
|
+
active: boolean;
|
|
30
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, storeCode: string, address: string, city: string, postcode: string, email: string, locationManager: VasContactDto | undefined, areaManager: VasContactDto | undefined, regionalDirector: VasContactDto | undefined, salesManager: VasContactDto | undefined, cluster: string, storeType: string, hourWeekdays: Array<VasTimeRangeModel>, hourSaturday: Array<VasTimeRangeModel>, hourSunday: Array<VasTimeRangeModel>, exceptions: string, active: boolean);
|
|
31
|
+
static fromDto(dto: Partial<VasBranchDto>): VasBranchModel;
|
|
32
|
+
toDto(): VasBranchDto;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=vas-branch.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-branch.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-branch.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,qBAAa,cAAe,SAAQ,YAAa,YAAW,YAAY;IAEpD,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,UAAU,EAAE,MAAM;IAC3B,O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,GAAG,EAAE,OAAO,CAAC,YAAY,CAAC,GACzB,cAAc;IA6BjB,KAAK,IAAI,YAAY;CA4BtB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VasBranchModel = void 0;
|
|
4
|
+
const vas_base_model_1 = require("./vas-base.model");
|
|
5
|
+
class VasBranchModel extends vas_base_model_1.VasBaseModel {
|
|
6
|
+
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, account, storeCode, address, city, postcode, email, locationManager, areaManager, regionalDirector, salesManager, cluster, storeType, hourWeekdays, hourSaturday, hourSunday, exceptions, active) {
|
|
7
|
+
super(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy);
|
|
8
|
+
this.id = id;
|
|
9
|
+
this.created = created;
|
|
10
|
+
this.serverCreated = serverCreated;
|
|
11
|
+
this.createdBy = createdBy;
|
|
12
|
+
this.modified = modified;
|
|
13
|
+
this.serverModified = serverModified;
|
|
14
|
+
this.modifiedBy = modifiedBy;
|
|
15
|
+
this.account = account;
|
|
16
|
+
this.storeCode = storeCode;
|
|
17
|
+
this.address = address;
|
|
18
|
+
this.city = city;
|
|
19
|
+
this.postcode = postcode;
|
|
20
|
+
this.email = email;
|
|
21
|
+
this.locationManager = locationManager;
|
|
22
|
+
this.areaManager = areaManager;
|
|
23
|
+
this.regionalDirector = regionalDirector;
|
|
24
|
+
this.salesManager = salesManager;
|
|
25
|
+
this.cluster = cluster;
|
|
26
|
+
this.storeType = storeType;
|
|
27
|
+
this.hourWeekdays = hourWeekdays;
|
|
28
|
+
this.hourSaturday = hourSaturday;
|
|
29
|
+
this.hourSunday = hourSunday;
|
|
30
|
+
this.exceptions = exceptions;
|
|
31
|
+
this.active = active;
|
|
32
|
+
}
|
|
33
|
+
static fromDto(dto) {
|
|
34
|
+
return new VasBranchModel(dto.id || '', dto.created || '', dto.serverCreated || '', dto.createdBy || '', dto.modified || '', dto.serverModified || '', dto.modifiedBy || '', dto.account || '', dto.storeCode || '', dto.address || '', dto.city || '', dto.postcode || '', dto.email || '', dto.locationManager || undefined, dto.areaManager || undefined, dto.regionalDirector || undefined, dto.salesManager || undefined, dto.cluster || '', dto.storeType || '', dto.hourWeekdays || [], dto.hourSaturday || [], dto.hourSunday || [], dto.exceptions || '', dto.active || true);
|
|
35
|
+
}
|
|
36
|
+
toDto() {
|
|
37
|
+
return {
|
|
38
|
+
id: this.id,
|
|
39
|
+
created: this.created,
|
|
40
|
+
serverCreated: this.serverCreated,
|
|
41
|
+
createdBy: this.createdBy,
|
|
42
|
+
modified: this.modified,
|
|
43
|
+
serverModified: this.serverModified,
|
|
44
|
+
modifiedBy: this.modifiedBy,
|
|
45
|
+
account: this.account,
|
|
46
|
+
storeCode: this.storeCode,
|
|
47
|
+
address: this.address,
|
|
48
|
+
city: this.city,
|
|
49
|
+
postcode: this.postcode,
|
|
50
|
+
email: this.email,
|
|
51
|
+
locationManager: this.locationManager,
|
|
52
|
+
areaManager: this.areaManager,
|
|
53
|
+
regionalDirector: this.regionalDirector,
|
|
54
|
+
salesManager: this.salesManager,
|
|
55
|
+
cluster: this.cluster,
|
|
56
|
+
storeType: this.storeType,
|
|
57
|
+
hourWeekdays: this.hourWeekdays,
|
|
58
|
+
hourSaturday: this.hourSaturday,
|
|
59
|
+
hourSunday: this.hourSunday,
|
|
60
|
+
exceptions: this.exceptions,
|
|
61
|
+
active: this.active
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.VasBranchModel = VasBranchModel;
|
|
66
|
+
//# sourceMappingURL=vas-branch.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-branch.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-branch.model.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAKhD,MAAa,cAAe,SAAQ,6BAAY;IAC9C,YACkB,EAAU,EACV,OAA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CAAC,SAAS;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAA;IACH,CAAC;CACF;AAjGD,wCAiGC","sourcesContent":["import { VasBaseModel } from './vas-base.model';\nimport { VasBranchDto } from './vas-branch.dto';\nimport { VasContactDto } from './vas-contact.dto';\nimport { VasTimeRangeModel } from '../model/vas-time-range.model';\n\nexport class VasBranchModel extends VasBaseModel implements VasBranchDto {\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public account: string,\n public storeCode: string,\n public address: string,\n public city: string,\n public postcode: string,\n public email: string,\n public locationManager: VasContactDto | undefined,\n public areaManager: VasContactDto | undefined,\n public regionalDirector: VasContactDto | undefined,\n public salesManager: VasContactDto | undefined,\n public cluster: string,\n public storeType: string,\n public hourWeekdays: Array<VasTimeRangeModel>,\n public hourSaturday: Array<VasTimeRangeModel>,\n public hourSunday: Array<VasTimeRangeModel>,\n public exceptions: string,\n public active: boolean\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy\n );\n }\n\n static fromDto(\n dto: Partial<VasBranchDto>\n ): VasBranchModel {\n return new VasBranchModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.account || '',\n dto.storeCode || '',\n dto.address || '',\n dto.city || '',\n dto.postcode || '',\n dto.email || '',\n dto.locationManager || undefined,\n dto.areaManager || undefined,\n dto.regionalDirector || undefined,\n dto.salesManager || undefined,\n dto.cluster || '',\n dto.storeType || '',\n dto.hourWeekdays || [],\n dto.hourSaturday || [],\n dto.hourSunday || [],\n dto.exceptions || '',\n dto.active || true,\n );\n }\n\n toDto(): VasBranchDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n account: this.account,\n storeCode: this.storeCode,\n address: this.address,\n city: this.city,\n postcode: this.postcode,\n email: this.email,\n locationManager: this.locationManager,\n areaManager: this.areaManager,\n regionalDirector: this.regionalDirector,\n salesManager: this.salesManager,\n cluster: this.cluster,\n storeType: this.storeType,\n hourWeekdays: this.hourWeekdays,\n hourSaturday: this.hourSaturday,\n hourSunday: this.hourSunday,\n exceptions: this.exceptions,\n active: this.active\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
export interface VasContactTypeDto extends VasAccountObjectDto {
|
|
3
|
+
account: string;
|
|
4
|
+
title: string;
|
|
5
|
+
sequence: number;
|
|
6
|
+
categoryGroups: Array<string>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=vas-contact-type.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-contact-type.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-contact-type.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-contact-type.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-contact-type.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\n\nexport interface VasContactTypeDto extends VasAccountObjectDto {\n account: string;\n title: string;\n sequence: number;\n categoryGroups: Array<string>;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
export interface VasContactDto extends VasAccountObjectDto {
|
|
3
|
+
accessGroup: string;
|
|
4
|
+
contactType: string;
|
|
5
|
+
name: string;
|
|
6
|
+
email: string;
|
|
7
|
+
mobile: string;
|
|
8
|
+
phone: string;
|
|
9
|
+
address: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=vas-contact.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-contact.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-contact.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,WAAW,aAAc,SAAQ,mBAAmB;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-contact.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-contact.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\n\nexport interface VasContactDto extends VasAccountObjectDto {\n accessGroup: string;\n contactType: string;\n name: string;\n email: string;\n mobile: string;\n phone: string;\n address: string;\n}\n"]}
|
|
@@ -53,11 +53,18 @@ export declare class VasFormModel extends VasBaseModel {
|
|
|
53
53
|
* @return {VasFormModel}
|
|
54
54
|
*/
|
|
55
55
|
static fromDto(dto: Partial<VasFormDto>): VasFormModel;
|
|
56
|
+
addControlTypesToControl(controlTypes: Array<VasControlTypeDto>): void;
|
|
56
57
|
/**
|
|
57
58
|
* @param {string} id
|
|
58
59
|
* @return {VasControlModel | undefined}
|
|
59
60
|
*/
|
|
60
61
|
findControlModelById(id: string): VasControlModel | undefined;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {string} name
|
|
65
|
+
* @return {VasControlModel | undefined}
|
|
66
|
+
*/
|
|
67
|
+
findControlModelByName(name: string): VasControlModel | undefined;
|
|
61
68
|
/**
|
|
62
69
|
*
|
|
63
70
|
* @return {Array<Array<string>>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-form.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-form.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB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E,gBAAgB,GAAG,SAAS,CAAA;KAAC,CAAC;IAe3D;;OAEG;IACH,KAAK,IAAI,UAAU;CAiBpB"}
|
|
1
|
+
{"version":3,"file":"vas-form.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-form.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C;;GAEG;AACH,qBAAa,YAAa,SAAQ,YAAY;IAiB1B,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,UAAU,EAAE,MAAM;IAC3B,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,MAAM;IACnB,MAAM,EAAE,aAAa,EAAE;IA5BhC;;;;;;;;;;;;;;OAcG;gBAEe,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAC3B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,aAAa,EAAE;IAahC;;;;;;;;OAQG;WACW,eAAe,CAC3B,OAAO,EAAE,UAAU,EACnB,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,GACxC,YAAY;IAef;;;OAGG;WACW,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,YAAY;IAoB7D,wBAAwB,CAAC,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI;IAatE;;;OAGG;IACH,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS;IAc7D;;;;OAIG;IACH,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS;IAcjE;;;OAGG;IACH,qBAAqB,IAAI,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAa7C;;;OAGG;IACH,oBAAoB,CAClB,QAAQ,EAAE,WAAW,GACpB,KAAK,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,gBAAgB,GAAG,SAAS,CAAA;KAAC,CAAC;IAe3D;;OAEG;IACH,KAAK,IAAI,UAAU;CAiBpB"}
|
|
@@ -71,6 +71,18 @@ class VasFormModel extends vas_base_model_1.VasBaseModel {
|
|
|
71
71
|
.sort((a, b) => a.sequence - b.sequence)
|
|
72
72
|
.map(g => vas_group_model_1.VasGroupModel.fromDto(g)));
|
|
73
73
|
}
|
|
74
|
+
addControlTypesToControl(controlTypes) {
|
|
75
|
+
const controlTypeModels = controlTypes
|
|
76
|
+
.map(ct => vas_control_type_model_1.VasControlTypeModel.fromDto(ct));
|
|
77
|
+
this.groups
|
|
78
|
+
.forEach(group => {
|
|
79
|
+
group.controls
|
|
80
|
+
.forEach(control => {
|
|
81
|
+
control.controlTypeModel = controlTypeModels
|
|
82
|
+
.find(ctm => ctm.id === control.controlType);
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
}
|
|
74
86
|
/**
|
|
75
87
|
* @param {string} id
|
|
76
88
|
* @return {VasControlModel | undefined}
|
|
@@ -88,6 +100,24 @@ class VasFormModel extends vas_base_model_1.VasBaseModel {
|
|
|
88
100
|
}));
|
|
89
101
|
return result;
|
|
90
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @param {string} name
|
|
106
|
+
* @return {VasControlModel | undefined}
|
|
107
|
+
*/
|
|
108
|
+
findControlModelByName(name) {
|
|
109
|
+
let result;
|
|
110
|
+
this.groups
|
|
111
|
+
.find(group => group.controls
|
|
112
|
+
.find(control => {
|
|
113
|
+
if (control.name !== name) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
result = control;
|
|
117
|
+
return true;
|
|
118
|
+
}));
|
|
119
|
+
return result;
|
|
120
|
+
}
|
|
91
121
|
/**
|
|
92
122
|
*
|
|
93
123
|
* @return {Array<Array<string>>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-form.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-form.model.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAChD,uDAAkD;AAGlD,qEAA+D;AAK/D;;GAEG;AACH,MAAa,YAAa,SAAQ,6BAAY;IAC5C;;;;;;;;;;;;;;OAcG;IACH,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAgB,EAChB,cAAsB,EACtB,UAAkB,EAC3B,OAAe,EACf,WAAmB,EACnB,OAAe,EACf,KAAa,EACb,WAAmB,EACnB,MAAuB;QAE9B,KAAK,CACH,EAAE,EACF,OAAO,EACP,aAAa,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,UAAU,CACX,CAAC;QAtBc,OAAE,GAAF,EAAE,CAAQ;QACV,YAAO,GAAP,OAAO,CAAQ;QACf,kBAAa,GAAb,aAAa,CAAQ;QACrB,cAAS,GAAT,SAAS,CAAQ;QACjB,aAAQ,GAAR,QAAQ,CAAQ;QA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ACf,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAClB,QAAqB;QAErB,MAAM,KAAK,GAA6D,EAAE,CAAC;QAC3E,IAAI,CAAC,MAAM;aACR,OAAO,CAAC,KAAK,CAAC,EAAE;YACf,KAAK,CAAC,QAAQ;iBACX,OAAO,CAAC,OAAO,CAAC,EAAE;gBACjB,KAAK,CAAC,IAAI,CAAC;oBACT,EAAE,EAAE,OAAO,CAAC,EAAE;oBACd,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;iBAC/D,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QACL,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;SAChD,CAAC;IACJ,CAAC;CACF;AAzKD,oCAyKC","sourcesContent":["import { VasBaseModel } from './vas-base.model';\nimport { VasGroupModel } from './vas-group.model';\nimport { VasControlModel } from './vas-control.model';\nimport { VasFormDto } from './vas-form.dto';\nimport { VasControlTypeModel } from './vas-control-type.model';\nimport { VasControlTypeDto } from './vas-control-type.dto';\nimport { VasFieldDtoValue } from './vas-field.dto';\nimport { VasJobModel } from './vas-job.model';\n\n/**\n * VasFormModel\n */\nexport class VasFormModel extends VasBaseModel {\n /**\n * @param {string} id\n * @param {string} created\n * @param {string} serverCreated\n * @param {string} createdBy\n * @param {string} modified\n * @param {string} serverModified\n * @param {string} modifiedBy\n * @param {string} account\n * @param {string} accessGroup\n * @param {string} jobType\n * @param {string} title\n * @param {string} description\n * @param {VasGroupModel[]} groups\n */\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public account: string,\n public accessGroup: string,\n public jobType: string,\n public title: string,\n public description: string,\n public groups: VasGroupModel[]\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy\n );\n }\n\n /**\n * The VAS API response for Form will inline Group and Control but not\n * ControlType. This method is a help which will allows us to construct an\n * instance of VasFormModel with the ControlType model set appropriately into\n * each VasControlModel\n * @param {VasFormDto} formDto\n * @param {Array<VasControlTypeDto>} controlTypeDtos\n * @return {VasFormModel}\n */\n public static fromApiResponse(\n formDto: VasFormDto,\n controlTypeDtos: Array<VasControlTypeDto>\n ): VasFormModel {\n const controlTypeModels = controlTypeDtos\n .map(ctDto => VasControlTypeModel.fromDto(ctDto));\n const formModel = VasFormModel.fromDto(formDto);\n formModel.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n control.controlTypeModel = controlTypeModels\n .find(ct => ct.id === control.controlType);\n });\n });\n return formModel;\n }\n\n /**\n * @param {VasFormDto} dto\n * @return {VasFormModel}\n */\n public static fromDto(dto: Partial<VasFormDto>): VasFormModel {\n return new VasFormModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.account || '',\n dto.accessGroup || '',\n dto.jobType || '',\n dto.title || '',\n dto.description || '',\n (dto.groups || [])\n .sort((a, b) => a.sequence - b.sequence)\n .map(g => VasGroupModel.fromDto(g))\n );\n }\n\n /**\n * @param {string} id\n * @return {VasControlModel | undefined}\n */\n findControlModelById(id: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.id !== id) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @return {Array<Array<string>>}\n */\n getCameraControlPaths(): Array<Array<string>> {\n const paths: string[][] = [];\n this.groups.forEach(group => {\n group.controls.forEach(control => {\n if (control.controlTypeModel?.name !== 'camera') {\n return;\n }\n paths.push([group.name, control.safeName]);\n });\n });\n return paths;\n }\n\n /**\n * @param {VasJobModel} jobModel\n * @return {Array<{id: string, value: VasFieldDtoValue}>}\n */\n getValuesByControlId(\n jobModel: VasJobModel\n ): Array<{id: string, value: VasFieldDtoValue | undefined}> {\n const items: Array<{id: string, value: VasFieldDtoValue | undefined}> = [];\n this.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n items.push({\n id: control.id,\n value: jobModel.getValueByPath([group.name, control.safeName])\n });\n });\n });\n return items;\n }\n\n /**\n * @return {VasFormDto}\n */\n toDto(): VasFormDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n account: this.account,\n accessGroup: this.accessGroup,\n jobType: this.jobType,\n title: this.title,\n description: this.description,\n groups: this.groups.map(group => group.toDto()),\n };\n }\n}\n\n"]}
|
|
1
|
+
{"version":3,"file":"vas-form.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-form.model.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAChD,uDAAkD;AAGlD,qEAA+D;AAK/D;;GAEG;AACH,MAAa,YAAa,SAAQ,6BAAY;IAC5C;;;;;;;;;;;;;;OAcG;IACH,YACkB,EAAU,EACV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AAK,CAAC;IACf,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAClB,QAAqB;QAErB,MAAM,KAAK,GAA6D,EAAE,CAAC;QAC3E,IAAI,CAAC,MAAM;aACR,OAAO,CAAC,KAAK,CAAC,EAAE;YACf,KAAK,CAAC,QAAQ;iBACX,OAAO,CAAC,OAAO,CAAC,EAAE;gBACjB,KAAK,CAAC,IAAI,CAAC;oBACT,EAAE,EAAE,OAAO,CAAC,EAAE;oBACd,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;iBAC/D,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QACL,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;SAChD,CAAC;IACJ,CAAC;CACF;AAzMD,oCAyMC","sourcesContent":["import { VasBaseModel } from './vas-base.model';\nimport { VasGroupModel } from './vas-group.model';\nimport { VasControlModel } from './vas-control.model';\nimport { VasFormDto } from './vas-form.dto';\nimport { VasControlTypeModel } from './vas-control-type.model';\nimport { VasControlTypeDto } from './vas-control-type.dto';\nimport { VasFieldDtoValue } from './vas-field.dto';\nimport { VasJobModel } from './vas-job.model';\n\n/**\n * VasFormModel\n */\nexport class VasFormModel extends VasBaseModel {\n /**\n * @param {string} id\n * @param {string} created\n * @param {string} serverCreated\n * @param {string} createdBy\n * @param {string} modified\n * @param {string} serverModified\n * @param {string} modifiedBy\n * @param {string} account\n * @param {string} accessGroup\n * @param {string} jobType\n * @param {string} title\n * @param {string} description\n * @param {VasGroupModel[]} groups\n */\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public account: string,\n public accessGroup: string,\n public jobType: string,\n public title: string,\n public description: string,\n public groups: VasGroupModel[]\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy\n );\n }\n\n /**\n * The VAS API response for Form will inline Group and Control but not\n * ControlType. This method is a help which will allows us to construct an\n * instance of VasFormModel with the ControlType model set appropriately into\n * each VasControlModel\n * @param {VasFormDto} formDto\n * @param {Array<VasControlTypeDto>} controlTypeDtos\n * @return {VasFormModel}\n */\n public static fromApiResponse(\n formDto: VasFormDto,\n controlTypeDtos: Array<VasControlTypeDto>\n ): VasFormModel {\n const controlTypeModels = controlTypeDtos\n .map(ctDto => VasControlTypeModel.fromDto(ctDto));\n const formModel = VasFormModel.fromDto(formDto);\n formModel.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n control.controlTypeModel = controlTypeModels\n .find(ct => ct.id === control.controlType);\n });\n });\n return formModel;\n }\n\n /**\n * @param {VasFormDto} dto\n * @return {VasFormModel}\n */\n public static fromDto(dto: Partial<VasFormDto>): VasFormModel {\n return new VasFormModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.account || '',\n dto.accessGroup || '',\n dto.jobType || '',\n dto.title || '',\n dto.description || '',\n (dto.groups || [])\n .sort((a, b) => a.sequence - b.sequence)\n .map(g => VasGroupModel.fromDto(g))\n );\n }\n\n addControlTypesToControl(controlTypes: Array<VasControlTypeDto>): void {\n const controlTypeModels = controlTypes\n .map(ct => VasControlTypeModel.fromDto(ct))\n this.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n control.controlTypeModel = controlTypeModels\n .find(ctm => ctm.id === control.controlType)\n });\n });\n }\n\n /**\n * @param {string} id\n * @return {VasControlModel | undefined}\n */\n findControlModelById(id: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.id !== id) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @param {string} name\n * @return {VasControlModel | undefined}\n */\n findControlModelByName(name: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.name !== name) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @return {Array<Array<string>>}\n */\n getCameraControlPaths(): Array<Array<string>> {\n const paths: string[][] = [];\n this.groups.forEach(group => {\n group.controls.forEach(control => {\n if (control.controlTypeModel?.name !== 'camera') {\n return;\n }\n paths.push([group.name, control.safeName]);\n });\n });\n return paths;\n }\n\n /**\n * @param {VasJobModel} jobModel\n * @return {Array<{id: string, value: VasFieldDtoValue}>}\n */\n getValuesByControlId(\n jobModel: VasJobModel\n ): Array<{id: string, value: VasFieldDtoValue | undefined}> {\n const items: Array<{id: string, value: VasFieldDtoValue | undefined}> = [];\n this.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n items.push({\n id: control.id,\n value: jobModel.getValueByPath([group.name, control.safeName])\n });\n });\n });\n return items;\n }\n\n /**\n * @return {VasFormDto}\n */\n toDto(): VasFormDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n account: this.account,\n accessGroup: this.accessGroup,\n jobType: this.jobType,\n title: this.title,\n description: this.description,\n groups: this.groups.map(group => group.toDto()),\n };\n }\n}\n\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
export interface VasJobStatusDto extends VasAccountObjectDto {
|
|
3
|
+
title: string;
|
|
4
|
+
sequence: number;
|
|
5
|
+
categoryGroups: Array<string>;
|
|
6
|
+
closed: boolean;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=vas-job-status.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-status.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-status.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-status.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-status.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\n\nexport interface VasJobStatusDto extends VasAccountObjectDto {\n title: string;\n sequence: number;\n categoryGroups: Array<string>;\n closed: boolean;\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
export interface VasJobTypeDto extends VasAccountObjectDto {
|
|
3
|
+
account: string;
|
|
4
|
+
title: string;
|
|
5
|
+
sequence: number;
|
|
6
|
+
categoryGroups: Array<string>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=vas-job-type.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-type.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-type.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,WAAW,aAAc,SAAQ,mBAAmB;IACxD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-type.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-type.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\n\nexport interface VasJobTypeDto extends VasAccountObjectDto {\n account: string;\n title: string;\n sequence: number;\n categoryGroups: Array<string>;\n}\n"]}
|
|
@@ -7,6 +7,7 @@ export interface VasJobStaticDto extends VasRestrictedAccountObjectDto {
|
|
|
7
7
|
jobType: string;
|
|
8
8
|
assignee: string;
|
|
9
9
|
formId: string;
|
|
10
|
+
timeZoneOffset: number;
|
|
10
11
|
}
|
|
11
12
|
export declare type VasJobDto = VasJobStaticDto & Record<string, VasFieldDtoValue>;
|
|
12
13
|
//# sourceMappingURL=vas-job.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-job.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,WAAW,eAAgB,SAAQ,6BAA6B;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"vas-job.dto.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,WAAW,eAAgB,SAAQ,6BAA6B;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAA;CACvB;AACD,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-job.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasRestrictedAccountObjectDto } from './vas-restricted-account-object.dto';\nimport { VasFieldDtoValue } from './vas-field.dto';\n\nexport interface VasJobStaticDto extends VasRestrictedAccountObjectDto {\n reference: string;\n jobDate: string;\n jobStatus: string;\n jobType: string;\n assignee: string;\n formId: string;\n}\nexport declare type VasJobDto = VasJobStaticDto & Record<string, VasFieldDtoValue>;\n"]}
|
|
1
|
+
{"version":3,"file":"vas-job.dto.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job.dto.ts"],"names":[],"mappings":"","sourcesContent":["import { VasRestrictedAccountObjectDto } from './vas-restricted-account-object.dto';\nimport { VasFieldDtoValue } from './vas-field.dto';\n\nexport interface VasJobStaticDto extends VasRestrictedAccountObjectDto {\n reference: string;\n jobDate: string;\n jobStatus: string;\n jobType: string;\n assignee: string;\n formId: string;\n timeZoneOffset: number\n}\nexport declare type VasJobDto = VasJobStaticDto & Record<string, VasFieldDtoValue>;\n"]}
|