@ironcode/vas-lib 0.0.40 → 1.0.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/cjs/lib/entity/index.d.ts +10 -0
- package/cjs/lib/entity/index.d.ts.map +1 -1
- package/cjs/lib/entity/index.js +10 -0
- package/cjs/lib/entity/index.js.map +1 -1
- package/cjs/lib/entity/vas-account-object.model.d.ts +3 -1
- package/cjs/lib/entity/vas-account-object.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-account-object.model.js +4 -2
- package/cjs/lib/entity/vas-account-object.model.js.map +1 -1
- package/cjs/lib/entity/vas-base.dto.d.ts +2 -0
- package/cjs/lib/entity/vas-base.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-base.dto.js.map +1 -1
- package/cjs/lib/entity/vas-base.model.d.ts +3 -10
- package/cjs/lib/entity/vas-base.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-base.model.js +3 -10
- package/cjs/lib/entity/vas-base.model.js.map +1 -1
- package/cjs/lib/entity/vas-branch.model.d.ts +3 -1
- package/cjs/lib/entity/vas-branch.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-branch.model.js +7 -3
- package/cjs/lib/entity/vas-branch.model.js.map +1 -1
- package/cjs/lib/entity/vas-contact.dto.d.ts +7 -0
- package/cjs/lib/entity/vas-contact.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-contact.dto.js.map +1 -1
- package/cjs/lib/entity/vas-contact.model.d.ts +11 -1
- package/cjs/lib/entity/vas-contact.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-contact.model.js +24 -3
- package/cjs/lib/entity/vas-contact.model.js.map +1 -1
- package/cjs/lib/entity/vas-control-type.model.d.ts +5 -9
- package/cjs/lib/entity/vas-control-type.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-control-type.model.js +13 -13
- package/cjs/lib/entity/vas-control-type.model.js.map +1 -1
- package/cjs/lib/entity/vas-control.dto.d.ts +3 -1
- package/cjs/lib/entity/vas-control.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-control.dto.js.map +1 -1
- package/cjs/lib/entity/vas-control.model.d.ts +11 -37
- package/cjs/lib/entity/vas-control.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-control.model.js +40 -50
- package/cjs/lib/entity/vas-control.model.js.map +1 -1
- package/cjs/lib/entity/vas-field.model.d.ts +3 -1
- package/cjs/lib/entity/vas-field.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-field.model.js +7 -3
- package/cjs/lib/entity/vas-field.model.js.map +1 -1
- package/cjs/lib/entity/vas-file.model.d.ts +4 -2
- package/cjs/lib/entity/vas-file.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-file.model.js +9 -5
- package/cjs/lib/entity/vas-file.model.js.map +1 -1
- package/cjs/lib/entity/vas-fire-user.model.d.ts +6 -1
- package/cjs/lib/entity/vas-fire-user.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-fire-user.model.js +14 -4
- package/cjs/lib/entity/vas-fire-user.model.js.map +1 -1
- package/cjs/lib/entity/vas-form.dto.d.ts +1 -0
- package/cjs/lib/entity/vas-form.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-form.dto.js.map +1 -1
- package/cjs/lib/entity/vas-form.model.d.ts +7 -22
- package/cjs/lib/entity/vas-form.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-form.model.js +27 -42
- package/cjs/lib/entity/vas-form.model.js.map +1 -1
- package/cjs/lib/entity/vas-group.model.d.ts +3 -22
- package/cjs/lib/entity/vas-group.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-group.model.js +7 -24
- package/cjs/lib/entity/vas-group.model.js.map +1 -1
- package/cjs/lib/entity/vas-instruction-job-field.dto.d.ts +6 -0
- package/cjs/lib/entity/vas-instruction-job-field.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction-job-field.dto.js +3 -0
- package/cjs/lib/entity/vas-instruction-job-field.dto.js.map +1 -0
- package/cjs/lib/entity/vas-instruction-job-field.model.d.ts +23 -0
- package/cjs/lib/entity/vas-instruction-job-field.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction-job-field.model.js +46 -0
- package/cjs/lib/entity/vas-instruction-job-field.model.js.map +1 -0
- package/cjs/lib/entity/vas-instruction-job.dto.d.ts +16 -0
- package/cjs/lib/entity/vas-instruction-job.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction-job.dto.js +3 -0
- package/cjs/lib/entity/vas-instruction-job.dto.js.map +1 -0
- package/cjs/lib/entity/vas-instruction-job.model.d.ts +58 -0
- package/cjs/lib/entity/vas-instruction-job.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction-job.model.js +85 -0
- package/cjs/lib/entity/vas-instruction-job.model.js.map +1 -0
- package/cjs/lib/entity/vas-instruction-provider.dto.d.ts +9 -0
- package/cjs/lib/entity/vas-instruction-provider.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction-provider.dto.js +3 -0
- package/cjs/lib/entity/vas-instruction-provider.dto.js.map +1 -0
- package/cjs/lib/entity/vas-instruction-provider.model.d.ts +34 -0
- package/cjs/lib/entity/vas-instruction-provider.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction-provider.model.js +62 -0
- package/cjs/lib/entity/vas-instruction-provider.model.js.map +1 -0
- package/cjs/lib/entity/vas-instruction.dto.d.ts +6 -0
- package/cjs/lib/entity/vas-instruction.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction.dto.js +3 -0
- package/cjs/lib/entity/vas-instruction.dto.js.map +1 -0
- package/cjs/lib/entity/vas-instruction.model.d.ts +30 -0
- package/cjs/lib/entity/vas-instruction.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-instruction.model.js +53 -0
- package/cjs/lib/entity/vas-instruction.model.js.map +1 -0
- package/cjs/lib/entity/vas-invitation.d.ts +36 -3
- package/cjs/lib/entity/vas-invitation.d.ts.map +1 -1
- package/cjs/lib/entity/vas-invitation.js +57 -4
- package/cjs/lib/entity/vas-invitation.js.map +1 -1
- package/cjs/lib/entity/vas-job-data.model.d.ts +3 -12
- package/cjs/lib/entity/vas-job-data.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job-data.model.js +4 -13
- package/cjs/lib/entity/vas-job-data.model.js.map +1 -1
- package/cjs/lib/entity/vas-job.model.d.ts +8 -37
- package/cjs/lib/entity/vas-job.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.model.js +16 -48
- package/cjs/lib/entity/vas-job.model.js.map +1 -1
- package/cjs/lib/entity/vas-job.model.spec-data.d.ts +1 -2
- package/cjs/lib/entity/vas-job.model.spec-data.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.model.spec-data.js +15 -55
- package/cjs/lib/entity/vas-job.model.spec-data.js.map +1 -1
- package/cjs/lib/entity/vas-membership.model.d.ts +3 -1
- package/cjs/lib/entity/vas-membership.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-membership.model.js +7 -3
- package/cjs/lib/entity/vas-membership.model.js.map +1 -1
- package/cjs/lib/entity/vas-note.dto.d.ts +7 -0
- package/cjs/lib/entity/vas-note.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-note.dto.js +3 -0
- package/cjs/lib/entity/vas-note.dto.js.map +1 -0
- package/cjs/lib/entity/vas-note.model.d.ts +31 -0
- package/cjs/lib/entity/vas-note.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-note.model.js +54 -0
- package/cjs/lib/entity/vas-note.model.js.map +1 -0
- package/cjs/lib/entity/vas-report-layout.model.d.ts +3 -1
- package/cjs/lib/entity/vas-report-layout.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-report-layout.model.js +4 -2
- package/cjs/lib/entity/vas-report-layout.model.js.map +1 -1
- package/cjs/lib/entity/vas-report-request.model.d.ts +3 -1
- package/cjs/lib/entity/vas-report-request.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-report-request.model.js +7 -3
- package/cjs/lib/entity/vas-report-request.model.js.map +1 -1
- package/cjs/lib/entity/vas-report.model.d.ts +5 -3
- package/cjs/lib/entity/vas-report.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-report.model.js +10 -12
- package/cjs/lib/entity/vas-report.model.js.map +1 -1
- package/cjs/lib/entity/vas-restricted-account-object.model.d.ts +3 -1
- package/cjs/lib/entity/vas-restricted-account-object.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-restricted-account-object.model.js +4 -2
- package/cjs/lib/entity/vas-restricted-account-object.model.js.map +1 -1
- package/cjs/lib/entity/vas-user.dto.d.ts +3 -0
- package/cjs/lib/entity/vas-user.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-user.dto.js.map +1 -1
- package/cjs/lib/entity/vas-user.model.d.ts +6 -1
- package/cjs/lib/entity/vas-user.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-user.model.js +14 -4
- package/cjs/lib/entity/vas-user.model.js.map +1 -1
- package/cjs/package.json +12 -6
- package/esm2020/lib/entity/index.mjs +11 -1
- package/esm2020/lib/entity/vas-account-object.model.mjs +5 -3
- package/esm2020/lib/entity/vas-base.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-base.model.mjs +4 -11
- package/esm2020/lib/entity/vas-branch.model.mjs +8 -4
- package/esm2020/lib/entity/vas-contact.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-contact.model.mjs +44 -4
- package/esm2020/lib/entity/vas-control-type.model.mjs +14 -14
- package/esm2020/lib/entity/vas-control.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-control.model.mjs +45 -51
- package/esm2020/lib/entity/vas-field.model.mjs +8 -4
- package/esm2020/lib/entity/vas-file.model.mjs +10 -6
- package/esm2020/lib/entity/vas-fire-user.model.mjs +15 -5
- package/esm2020/lib/entity/vas-form.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-form.model.mjs +28 -42
- package/esm2020/lib/entity/vas-group.model.mjs +8 -25
- package/esm2020/lib/entity/vas-instruction-job-field.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-instruction-job-field.model.mjs +42 -0
- package/esm2020/lib/entity/vas-instruction-job.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-instruction-job.model.mjs +81 -0
- package/esm2020/lib/entity/vas-instruction-provider.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-instruction-provider.model.mjs +63 -0
- package/esm2020/lib/entity/vas-instruction.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-instruction.model.mjs +49 -0
- package/esm2020/lib/entity/vas-invitation.mjs +60 -4
- package/esm2020/lib/entity/vas-job-data.model.mjs +5 -14
- package/esm2020/lib/entity/vas-job.model.mjs +17 -49
- package/esm2020/lib/entity/vas-membership.model.mjs +8 -4
- package/esm2020/lib/entity/vas-note.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-note.model.mjs +50 -0
- package/esm2020/lib/entity/vas-report-layout.model.mjs +5 -3
- package/esm2020/lib/entity/vas-report-request.model.mjs +8 -4
- package/esm2020/lib/entity/vas-report.model.mjs +11 -13
- package/esm2020/lib/entity/vas-restricted-account-object.model.mjs +5 -3
- package/esm2020/lib/entity/vas-user.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-user.model.mjs +15 -5
- package/fesm2015/ironcode-vas-lib.mjs +626 -329
- package/fesm2015/ironcode-vas-lib.mjs.map +1 -1
- package/fesm2020/ironcode-vas-lib.mjs +655 -326
- package/fesm2020/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/index.d.ts +10 -0
- package/lib/entity/vas-account-object.model.d.ts +3 -1
- package/lib/entity/vas-base.dto.d.ts +2 -0
- package/lib/entity/vas-base.model.d.ts +3 -10
- package/lib/entity/vas-branch.model.d.ts +3 -1
- package/lib/entity/vas-contact.dto.d.ts +7 -0
- package/lib/entity/vas-contact.model.d.ts +11 -1
- package/lib/entity/vas-control-type.model.d.ts +5 -9
- package/lib/entity/vas-control.dto.d.ts +3 -1
- package/lib/entity/vas-control.model.d.ts +11 -37
- package/lib/entity/vas-field.model.d.ts +3 -1
- package/lib/entity/vas-file.model.d.ts +4 -2
- package/lib/entity/vas-fire-user.model.d.ts +6 -1
- package/lib/entity/vas-form.dto.d.ts +1 -0
- package/lib/entity/vas-form.model.d.ts +7 -22
- package/lib/entity/vas-group.model.d.ts +3 -22
- package/lib/entity/vas-instruction-job-field.dto.d.ts +5 -0
- package/lib/entity/vas-instruction-job-field.model.d.ts +22 -0
- package/lib/entity/vas-instruction-job.dto.d.ts +15 -0
- package/lib/entity/vas-instruction-job.model.d.ts +57 -0
- package/lib/entity/vas-instruction-provider.dto.d.ts +8 -0
- package/lib/entity/vas-instruction-provider.model.d.ts +33 -0
- package/lib/entity/vas-instruction.dto.d.ts +5 -0
- package/lib/entity/vas-instruction.model.d.ts +29 -0
- package/lib/entity/vas-invitation.d.ts +36 -3
- package/lib/entity/vas-job-data.model.d.ts +3 -12
- package/lib/entity/vas-job.model.d.ts +8 -37
- package/lib/entity/vas-membership.model.d.ts +3 -1
- package/lib/entity/vas-note.dto.d.ts +6 -0
- package/lib/entity/vas-note.model.d.ts +30 -0
- package/lib/entity/vas-report-layout.model.d.ts +3 -1
- package/lib/entity/vas-report-request.model.d.ts +3 -1
- package/lib/entity/vas-report.model.d.ts +5 -3
- package/lib/entity/vas-restricted-account-object.model.d.ts +3 -1
- package/lib/entity/vas-user.dto.d.ts +3 -0
- package/lib/entity/vas-user.model.d.ts +6 -1
- package/package.json +1 -1
package/lib/entity/index.d.ts
CHANGED
|
@@ -24,6 +24,14 @@ export * from './vas-form.model';
|
|
|
24
24
|
export * from './vas-invitation';
|
|
25
25
|
export * from './vas-group.dto';
|
|
26
26
|
export * from './vas-group.model';
|
|
27
|
+
export * from './vas-instruction.dto';
|
|
28
|
+
export * from './vas-instruction.model';
|
|
29
|
+
export * from './vas-instruction-job.dto';
|
|
30
|
+
export * from './vas-instruction-job.model';
|
|
31
|
+
export * from './vas-instruction-job-field.dto';
|
|
32
|
+
export * from './vas-instruction-job-field.model';
|
|
33
|
+
export * from './vas-instruction-provider.dto';
|
|
34
|
+
export * from './vas-instruction-provider.model';
|
|
27
35
|
export * from './vas-job-data.dto';
|
|
28
36
|
export * from './vas-job-data.model';
|
|
29
37
|
export * from './vas-job.dto';
|
|
@@ -34,6 +42,8 @@ export * from './vas-lookup.dto';
|
|
|
34
42
|
export * from './vas-lookup-type.dto';
|
|
35
43
|
export * from './vas-membership.dto';
|
|
36
44
|
export * from './vas-membership.model';
|
|
45
|
+
export * from './vas-note.dto';
|
|
46
|
+
export * from './vas-note.model';
|
|
37
47
|
export * from './vas-report.dto';
|
|
38
48
|
export * from './vas-report.model';
|
|
39
49
|
export * from './vas-report-layout.dto';
|
|
@@ -7,7 +7,9 @@ export declare class VasAccountObjectModel extends VasBaseModel {
|
|
|
7
7
|
modified: string;
|
|
8
8
|
serverModified: string;
|
|
9
9
|
modifiedBy: string;
|
|
10
|
+
createdByName: string;
|
|
11
|
+
modifiedByName: string;
|
|
10
12
|
account: string;
|
|
11
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string);
|
|
13
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string);
|
|
12
14
|
toApiDto(options?: any): Record<string, string | number | boolean>;
|
|
13
15
|
}
|
|
@@ -10,14 +10,7 @@ export declare class VasBaseModel implements VasBaseDto {
|
|
|
10
10
|
modified: string;
|
|
11
11
|
serverModified: string;
|
|
12
12
|
modifiedBy: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* @param {string} serverCreated
|
|
17
|
-
* @param {string} createdBy
|
|
18
|
-
* @param {string} modified
|
|
19
|
-
* @param {string} serverModified
|
|
20
|
-
* @param {string} modifiedBy
|
|
21
|
-
*/
|
|
22
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string);
|
|
13
|
+
createdByName: string;
|
|
14
|
+
modifiedByName: string;
|
|
15
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string);
|
|
23
16
|
}
|
|
@@ -10,6 +10,8 @@ export declare class VasBranchModel extends VasRestrictedAccountObjectModel impl
|
|
|
10
10
|
modified: string;
|
|
11
11
|
serverModified: string;
|
|
12
12
|
modifiedBy: string;
|
|
13
|
+
createdByName: string;
|
|
14
|
+
modifiedByName: string;
|
|
13
15
|
account: string;
|
|
14
16
|
accessGroup: string;
|
|
15
17
|
branchType: string;
|
|
@@ -28,7 +30,7 @@ export declare class VasBranchModel extends VasRestrictedAccountObjectModel impl
|
|
|
28
30
|
hourSunday: Array<VasTimeRangeModel>;
|
|
29
31
|
exceptions: string;
|
|
30
32
|
active: boolean;
|
|
31
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, branchType: 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, hourWeekdays: Array<VasTimeRangeModel>, hourSaturday: Array<VasTimeRangeModel>, hourSunday: Array<VasTimeRangeModel>, exceptions: string, active: boolean);
|
|
33
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, branchType: 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, hourWeekdays: Array<VasTimeRangeModel>, hourSaturday: Array<VasTimeRangeModel>, hourSunday: Array<VasTimeRangeModel>, exceptions: string, active: boolean);
|
|
32
34
|
static fromDto(dto: Partial<VasBranchDto>): VasBranchModel;
|
|
33
35
|
toDto(): VasBranchDto;
|
|
34
36
|
}
|
|
@@ -6,4 +6,11 @@ export interface VasContactDto extends VasRestrictedAccountObjectDto {
|
|
|
6
6
|
mobile: string;
|
|
7
7
|
phone: string;
|
|
8
8
|
address: string;
|
|
9
|
+
address2: string;
|
|
10
|
+
address3: string;
|
|
11
|
+
billingCode: string;
|
|
12
|
+
business: string;
|
|
13
|
+
fax: string;
|
|
14
|
+
vatNumber: string;
|
|
15
|
+
website: string;
|
|
9
16
|
}
|
|
@@ -8,6 +8,8 @@ export declare class VasContactModel extends VasRestrictedAccountObjectModel imp
|
|
|
8
8
|
modified: string;
|
|
9
9
|
serverModified: string;
|
|
10
10
|
modifiedBy: string;
|
|
11
|
+
createdByName: string;
|
|
12
|
+
modifiedByName: string;
|
|
11
13
|
account: string;
|
|
12
14
|
accessGroup: string;
|
|
13
15
|
contactType: string;
|
|
@@ -16,7 +18,15 @@ export declare class VasContactModel extends VasRestrictedAccountObjectModel imp
|
|
|
16
18
|
mobile: string;
|
|
17
19
|
phone: string;
|
|
18
20
|
address: string;
|
|
19
|
-
|
|
21
|
+
address2: string;
|
|
22
|
+
address3: string;
|
|
23
|
+
billingCode: string;
|
|
24
|
+
business: string;
|
|
25
|
+
fax: string;
|
|
26
|
+
vatNumber: string;
|
|
27
|
+
website: string;
|
|
28
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, contactType: string, name: string, email: string, mobile: string, phone: string, address: string, address2: string, address3: string, billingCode: string, business: string, fax: string, vatNumber: string, website: string);
|
|
20
29
|
static fromDto(dto: Partial<VasContactDto>): VasContactModel;
|
|
21
30
|
toDto(): VasContactDto;
|
|
31
|
+
toApiDto(options?: any): Record<string, string | number | boolean>;
|
|
22
32
|
}
|
|
@@ -11,18 +11,14 @@ export declare class VasControlTypeModel extends VasBaseModel {
|
|
|
11
11
|
modified: string;
|
|
12
12
|
serverModified: string;
|
|
13
13
|
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
14
16
|
name: string;
|
|
17
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, name: string);
|
|
15
18
|
/**
|
|
16
|
-
* @
|
|
17
|
-
* @param {string} created
|
|
18
|
-
* @param {string} serverCreated
|
|
19
|
-
* @param {string} createdBy
|
|
20
|
-
* @param {string} modified
|
|
21
|
-
* @param {string} serverModified
|
|
22
|
-
* @param {string} modifiedBy
|
|
23
|
-
* @param {string} name
|
|
19
|
+
* @return VasControlTypeModel
|
|
24
20
|
*/
|
|
25
|
-
|
|
21
|
+
static empty(): VasControlTypeModel;
|
|
26
22
|
/**
|
|
27
23
|
* @param {VasControlTypeDto} dto
|
|
28
24
|
* @return {VasControlTypeModel}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VasRestrictedAccountObjectDto } from './vas-restricted-account-object.dto';
|
|
2
|
+
import { VasControlTypeDto } from './vas-control-type.dto';
|
|
2
3
|
export interface VasControlDto extends VasRestrictedAccountObjectDto {
|
|
3
|
-
controlType:
|
|
4
|
+
controlType: VasControlTypeDto;
|
|
4
5
|
group: string;
|
|
5
6
|
validators: string[];
|
|
6
7
|
name: string;
|
|
@@ -11,4 +12,5 @@ export interface VasControlDto extends VasRestrictedAccountObjectDto {
|
|
|
11
12
|
descriptionImage: string;
|
|
12
13
|
defaultValue: string;
|
|
13
14
|
config: string;
|
|
15
|
+
portalEnabled: boolean;
|
|
14
16
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { VasBaseModel } from './vas-base.model';
|
|
2
1
|
import { VasControlTypeModel } from './vas-control-type.model';
|
|
3
2
|
import { VasControlDto } from './vas-control.dto';
|
|
3
|
+
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
4
4
|
export declare type VasControlModelDefaultValueType = string | number | object;
|
|
5
5
|
/**
|
|
6
6
|
* ControlModel
|
|
7
7
|
*/
|
|
8
|
-
export declare class VasControlModel extends
|
|
8
|
+
export declare class VasControlModel extends VasAccountObjectModel {
|
|
9
9
|
id: string;
|
|
10
10
|
created: string;
|
|
11
11
|
serverCreated: string;
|
|
@@ -13,9 +13,11 @@ export declare class VasControlModel extends VasBaseModel implements VasControlD
|
|
|
13
13
|
modified: string;
|
|
14
14
|
serverModified: string;
|
|
15
15
|
modifiedBy: string;
|
|
16
|
+
createdByName: string;
|
|
17
|
+
modifiedByName: string;
|
|
16
18
|
account: string;
|
|
17
19
|
accessGroup: string;
|
|
18
|
-
controlType:
|
|
20
|
+
controlType: VasControlTypeModel;
|
|
19
21
|
group: string;
|
|
20
22
|
validators: string[];
|
|
21
23
|
name: string;
|
|
@@ -24,41 +26,12 @@ export declare class VasControlModel extends VasBaseModel implements VasControlD
|
|
|
24
26
|
sequence: number;
|
|
25
27
|
description: string;
|
|
26
28
|
defaultValue: string;
|
|
27
|
-
|
|
29
|
+
config: Record<string, any>;
|
|
28
30
|
descriptionImage: string;
|
|
29
|
-
|
|
30
|
-
protected
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* @param {string} created
|
|
34
|
-
* @param {string} serverCreated
|
|
35
|
-
* @param {string} createdBy
|
|
36
|
-
* @param {string} modified
|
|
37
|
-
* @param {string} serverModified
|
|
38
|
-
* @param {string} modifiedBy
|
|
39
|
-
* @param {string} account
|
|
40
|
-
* @param {string} accessGroup
|
|
41
|
-
* @param {string} controlType
|
|
42
|
-
* @param {string} group
|
|
43
|
-
* @param {string[]} validators
|
|
44
|
-
* @param {string} name
|
|
45
|
-
* @param {string} title
|
|
46
|
-
* @param {boolean} linkable
|
|
47
|
-
* @param {number} sequence
|
|
48
|
-
* @param {string} description
|
|
49
|
-
* @param {string} defaultValue
|
|
50
|
-
* @param {object} config
|
|
51
|
-
* @param {string} descriptionImage
|
|
52
|
-
*/
|
|
53
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, controlType: string, group: string, validators: string[], name: string, title: string, linkable: boolean, sequence: number, description: string, defaultValue: string, _config: string, descriptionImage: string);
|
|
54
|
-
/**
|
|
55
|
-
* The config property is returned from the api as a json string, this getter
|
|
56
|
-
* will deserialize it
|
|
57
|
-
* @return {T}
|
|
58
|
-
*/
|
|
59
|
-
getConfigModel<T>(): T;
|
|
60
|
-
get config(): string;
|
|
61
|
-
set config(config: string);
|
|
31
|
+
portalEnabled: boolean;
|
|
32
|
+
protected controlTypeId: string;
|
|
33
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, controlType: VasControlTypeModel, group: string, validators: string[], name: string, title: string, linkable: boolean, sequence: number, description: string, defaultValue: string, config: Record<string, any>, descriptionImage: string, portalEnabled: boolean);
|
|
34
|
+
get controlTypeName(): string;
|
|
62
35
|
/**
|
|
63
36
|
* The defaultValue property is returned from the api as a string or number,
|
|
64
37
|
* in the case of string, it maybe a json. This getter will return an
|
|
@@ -93,4 +66,5 @@ export declare class VasControlModel extends VasBaseModel implements VasControlD
|
|
|
93
66
|
* @return {VasControlDto}
|
|
94
67
|
*/
|
|
95
68
|
toDto(): VasControlDto;
|
|
69
|
+
toApiDto(options?: any): Record<string, string | number | boolean>;
|
|
96
70
|
}
|
|
@@ -11,13 +11,15 @@ export declare class VasFieldModel extends VasJobDataModel {
|
|
|
11
11
|
modified: string;
|
|
12
12
|
serverModified: string;
|
|
13
13
|
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
14
16
|
account: string;
|
|
15
17
|
job: string;
|
|
16
18
|
control: string;
|
|
17
19
|
fieldJobPointers: Array<string>;
|
|
18
20
|
value: VasFieldDtoValue;
|
|
19
21
|
version: number;
|
|
20
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, job: string, control: string, fieldJobPointers: Array<string>, value: VasFieldDtoValue, version: number);
|
|
22
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, job: string, control: string, fieldJobPointers: Array<string>, value: VasFieldDtoValue, version: number);
|
|
21
23
|
/**
|
|
22
24
|
* @param {VasFieldDto} fieldDto
|
|
23
25
|
* @return {VasFieldModel}
|
|
@@ -14,6 +14,8 @@ export declare class VasFileModel extends VasJobDataModel {
|
|
|
14
14
|
modified: string;
|
|
15
15
|
serverModified: string;
|
|
16
16
|
modifiedBy: string;
|
|
17
|
+
createdByName: string;
|
|
18
|
+
modifiedByName: string;
|
|
17
19
|
account: string;
|
|
18
20
|
job: string;
|
|
19
21
|
name: string;
|
|
@@ -26,9 +28,9 @@ export declare class VasFileModel extends VasJobDataModel {
|
|
|
26
28
|
message: string;
|
|
27
29
|
status: string;
|
|
28
30
|
uri: string;
|
|
29
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, job: string, name: string, fileSize: number, mimeType: string, sequence: number, config: VasFileDtoConfigDto, url: string, controlPath: string, message: string, status: string, uri: string);
|
|
31
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, job: string, name: string, fileSize: number, mimeType: string, sequence: number, config: VasFileDtoConfigDto, url: string, controlPath: string, message: string, status: string, uri: string);
|
|
30
32
|
static empty(): VasFileModel;
|
|
31
|
-
static fromDto(
|
|
33
|
+
static fromDto(dto: Partial<VasFileDto>): VasFileModel;
|
|
32
34
|
static parseConfig(config?: string): VasFileDtoConfigDto;
|
|
33
35
|
/**
|
|
34
36
|
* @return {VasFileDto}
|
|
@@ -8,14 +8,19 @@ export declare class VasFireUserModel extends VasUserModel implements VasFireUse
|
|
|
8
8
|
modified: string;
|
|
9
9
|
serverModified: string;
|
|
10
10
|
modifiedBy: string;
|
|
11
|
+
createdByName: string;
|
|
12
|
+
modifiedByName: string;
|
|
11
13
|
email: string;
|
|
14
|
+
name: string;
|
|
12
15
|
username: string;
|
|
16
|
+
memberships: Array<string>;
|
|
17
|
+
instructionProviders: Array<string>;
|
|
13
18
|
accounts: VasFireUserDtoAccountType;
|
|
14
19
|
tokens: Array<string>;
|
|
15
20
|
topics: Array<string>;
|
|
16
21
|
language: string;
|
|
17
22
|
displayName: string;
|
|
18
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, email: string, username: string, accounts: VasFireUserDtoAccountType, tokens: Array<string>, topics: Array<string>, language: string, displayName: string);
|
|
23
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, email: string, name: string, username: string, memberships: Array<string>, instructionProviders: Array<string>, accounts: VasFireUserDtoAccountType, tokens: Array<string>, topics: Array<string>, language: string, displayName: string);
|
|
19
24
|
static fromDto(dto: VasFireUserDto): VasFireUserModel;
|
|
20
25
|
static newUser(uid: string, displayName: string, email: string): VasFireUserModel;
|
|
21
26
|
toDto(): VasFireUserDto;
|
|
@@ -16,6 +16,8 @@ export declare class VasFormModel extends VasRestrictedAccountObjectModel {
|
|
|
16
16
|
modified: string;
|
|
17
17
|
serverModified: string;
|
|
18
18
|
modifiedBy: string;
|
|
19
|
+
createdByName: string;
|
|
20
|
+
modifiedByName: string;
|
|
19
21
|
account: string;
|
|
20
22
|
accessGroup: string;
|
|
21
23
|
jobType: string;
|
|
@@ -27,27 +29,8 @@ export declare class VasFormModel extends VasRestrictedAccountObjectModel {
|
|
|
27
29
|
pipelineName: string;
|
|
28
30
|
config: string;
|
|
29
31
|
geoLocationEnabled: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
* @param {string} created
|
|
33
|
-
* @param {string} serverCreated
|
|
34
|
-
* @param {string} createdBy
|
|
35
|
-
* @param {string} modified
|
|
36
|
-
* @param {string} serverModified
|
|
37
|
-
* @param {string} modifiedBy
|
|
38
|
-
* @param {string} account
|
|
39
|
-
* @param {string} accessGroup
|
|
40
|
-
* @param {string} jobType
|
|
41
|
-
* @param {string} title
|
|
42
|
-
* @param {string} description
|
|
43
|
-
* @param {VasGroupModel[]} groups
|
|
44
|
-
* @param {string} dynamicDescriptor
|
|
45
|
-
* @param {string} indexName
|
|
46
|
-
* @param {string} pipelineName
|
|
47
|
-
* @param {string} config
|
|
48
|
-
* @param {boolean} geoLocationEnabled
|
|
49
|
-
*/
|
|
50
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, jobType: string, title: string, description: string, groups: VasGroupModel[], dynamicDescriptor: string, indexName: string, pipelineName: string, config: string, geoLocationEnabled: boolean);
|
|
32
|
+
filesEnabled: boolean;
|
|
33
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, jobType: string, title: string, description: string, groups: VasGroupModel[], dynamicDescriptor: string, indexName: string, pipelineName: string, config: string, geoLocationEnabled: boolean, filesEnabled: boolean);
|
|
51
34
|
/**
|
|
52
35
|
* Returns the name of this form in a "safe" way, i.e. no spaces, special
|
|
53
36
|
* characters
|
|
@@ -62,14 +45,16 @@ export declare class VasFormModel extends VasRestrictedAccountObjectModel {
|
|
|
62
45
|
* @param {VasFormDto} formDto
|
|
63
46
|
* @param {Array<VasControlTypeDto>} controlTypeDtos
|
|
64
47
|
* @return {VasFormModel}
|
|
48
|
+
* @deprecated vas-rest has been updated to inline control types into the
|
|
49
|
+
* control so this method is no longer required. use VasFormModel.fromDto()
|
|
65
50
|
*/
|
|
66
51
|
static fromApiResponse(formDto: VasFormDto, controlTypeDtos: Array<VasControlTypeDto>): VasFormModel;
|
|
52
|
+
static empty(): VasFormModel;
|
|
67
53
|
/**
|
|
68
54
|
* @param {VasFormDto} dto
|
|
69
55
|
* @return {VasFormModel}
|
|
70
56
|
*/
|
|
71
57
|
static fromDto(dto: Partial<VasFormDto>): VasFormModel;
|
|
72
|
-
addControlTypesToControl(controlTypes: Array<VasControlTypeDto>): void;
|
|
73
58
|
/**
|
|
74
59
|
* @param {string} id
|
|
75
60
|
* @return {VasControlModel | undefined}
|
|
@@ -13,6 +13,8 @@ export declare class VasGroupModel extends VasBaseModel {
|
|
|
13
13
|
modified: string;
|
|
14
14
|
serverModified: string;
|
|
15
15
|
modifiedBy: string;
|
|
16
|
+
createdByName: string;
|
|
17
|
+
modifiedByName: string;
|
|
16
18
|
account: string;
|
|
17
19
|
accessGroup: string;
|
|
18
20
|
name: string;
|
|
@@ -25,28 +27,7 @@ export declare class VasGroupModel extends VasBaseModel {
|
|
|
25
27
|
visibleIfEquals: string;
|
|
26
28
|
controls: VasControlModel[];
|
|
27
29
|
scoreWeight: number;
|
|
28
|
-
|
|
29
|
-
* @param {string} id
|
|
30
|
-
* @param {string} created
|
|
31
|
-
* @param {string} serverCreated
|
|
32
|
-
* @param {string} createdBy
|
|
33
|
-
* @param {string} modified
|
|
34
|
-
* @param {string} serverModified
|
|
35
|
-
* @param {string} modifiedBy
|
|
36
|
-
* @param {string} account
|
|
37
|
-
* @param {string} accessGroup
|
|
38
|
-
* @param {string} name
|
|
39
|
-
* @param {string} title
|
|
40
|
-
* @param {string} description
|
|
41
|
-
* @param {number} sequence
|
|
42
|
-
* @param {boolean} includeInSummary
|
|
43
|
-
* @param {string[]} forms
|
|
44
|
-
* @param {string} visibilityControl
|
|
45
|
-
* @param {string} visibleIfEquals
|
|
46
|
-
* @param {VasControlModel[]} controls
|
|
47
|
-
* @param {number} scoreWeight
|
|
48
|
-
*/
|
|
49
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, name: string, title: string, description: string, sequence: number, includeInSummary: boolean, forms: string[], visibilityControl: string, visibleIfEquals: string, controls: VasControlModel[], scoreWeight: number);
|
|
30
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, name: string, title: string, description: string, sequence: number, includeInSummary: boolean, forms: string[], visibilityControl: string, visibleIfEquals: string, controls: VasControlModel[], scoreWeight: number);
|
|
50
31
|
/**
|
|
51
32
|
* @param {VasGroupDto} dto
|
|
52
33
|
* @return {VasGroupModel}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { VasBaseModel } from './vas-base.model';
|
|
2
|
+
import { VasInstructionJobFieldDto } from './vas-instruction-job-field.dto';
|
|
3
|
+
/**
|
|
4
|
+
* VasInstructionJobFieldModel
|
|
5
|
+
*/
|
|
6
|
+
export declare class VasInstructionJobFieldModel extends VasBaseModel {
|
|
7
|
+
id: string;
|
|
8
|
+
created: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
serverModified: string;
|
|
13
|
+
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
16
|
+
value: string;
|
|
17
|
+
name: string;
|
|
18
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, value: string, name: string);
|
|
19
|
+
static empty(): VasInstructionJobFieldModel;
|
|
20
|
+
static fromDto(dto: Partial<VasInstructionJobFieldDto>): VasInstructionJobFieldModel;
|
|
21
|
+
toDto(): VasInstructionJobFieldDto;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VasBaseDto } from './vas-base.dto';
|
|
2
|
+
import { VasNoteDto } from './vas-note.dto';
|
|
3
|
+
import { VasInstructionJobFieldDto } from './vas-instruction-job-field.dto';
|
|
4
|
+
import { VasReportDto } from './vas-report.dto';
|
|
5
|
+
import { VasFileDto } from './vas-file.dto';
|
|
6
|
+
export interface VasInstructionJobDto extends VasBaseDto {
|
|
7
|
+
reference: string;
|
|
8
|
+
jobStatus: string;
|
|
9
|
+
createdByName: string;
|
|
10
|
+
modifiedByName: string;
|
|
11
|
+
notes: Array<VasNoteDto>;
|
|
12
|
+
fields: Array<VasInstructionJobFieldDto>;
|
|
13
|
+
files: Array<VasFileDto>;
|
|
14
|
+
reports: Array<VasReportDto>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { VasBaseModel } from './vas-base.model';
|
|
2
|
+
import { VasInstructionJobDto } from './vas-instruction-job.dto';
|
|
3
|
+
import { VasNoteModel } from './vas-note.model';
|
|
4
|
+
import { VasInstructionJobFieldModel } from './vas-instruction-job-field.model';
|
|
5
|
+
import { VasFileModel } from './vas-file.model';
|
|
6
|
+
import { VasReportModel } from './vas-report.model';
|
|
7
|
+
/**
|
|
8
|
+
* VasNoteModel
|
|
9
|
+
*/
|
|
10
|
+
export declare class VasInstructionJobModel extends VasBaseModel {
|
|
11
|
+
id: string;
|
|
12
|
+
created: string;
|
|
13
|
+
serverCreated: string;
|
|
14
|
+
createdBy: string;
|
|
15
|
+
modified: string;
|
|
16
|
+
serverModified: string;
|
|
17
|
+
modifiedBy: string;
|
|
18
|
+
createdByName: string;
|
|
19
|
+
modifiedByName: string;
|
|
20
|
+
reference: string;
|
|
21
|
+
jobStatus: string;
|
|
22
|
+
notes: Array<VasNoteModel>;
|
|
23
|
+
fields: Array<VasInstructionJobFieldModel>;
|
|
24
|
+
files: Array<VasFileModel>;
|
|
25
|
+
reports: Array<VasReportModel>;
|
|
26
|
+
/**
|
|
27
|
+
* @param id id
|
|
28
|
+
* @param created created
|
|
29
|
+
* @param serverCreated serverCreated
|
|
30
|
+
* @param createdBy createdBy
|
|
31
|
+
* @param modified modified
|
|
32
|
+
* @param serverModified serverModified
|
|
33
|
+
* @param modifiedBy modifiedBy
|
|
34
|
+
* @param reference reference
|
|
35
|
+
* @param jobStatus jobStatus
|
|
36
|
+
* @param createdByName createdByName
|
|
37
|
+
* @param modifiedByName modifiedByName
|
|
38
|
+
* @param notes notes
|
|
39
|
+
* @param fields fields
|
|
40
|
+
* @param files files
|
|
41
|
+
* @param reports reports
|
|
42
|
+
*/
|
|
43
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, reference: string, jobStatus: string, notes: Array<VasNoteModel>, fields: Array<VasInstructionJobFieldModel>, files: Array<VasFileModel>, reports: Array<VasReportModel>);
|
|
44
|
+
/**
|
|
45
|
+
* @return empty VasInstructionJobModel
|
|
46
|
+
*/
|
|
47
|
+
static empty(): VasInstructionJobModel;
|
|
48
|
+
/**
|
|
49
|
+
* @param dto VasInstructionDto
|
|
50
|
+
* @return VasInstructionModel
|
|
51
|
+
*/
|
|
52
|
+
static fromDto(dto: Partial<VasInstructionJobDto>): VasInstructionJobModel;
|
|
53
|
+
/**
|
|
54
|
+
* @returns VasNoteDto
|
|
55
|
+
*/
|
|
56
|
+
toDto(): VasInstructionJobDto;
|
|
57
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
import { VasFormDto } from './vas-form.dto';
|
|
3
|
+
export interface VasInstructionProviderDto extends VasAccountObjectDto {
|
|
4
|
+
form: VasFormDto;
|
|
5
|
+
title: string;
|
|
6
|
+
secret: string;
|
|
7
|
+
portalEnabled: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
2
|
+
import { VasInstructionProviderDto } from './vas-instruction-provider.dto';
|
|
3
|
+
import { VasFormModel } from './vas-form.model';
|
|
4
|
+
/**
|
|
5
|
+
* VasInstructionProviderModel
|
|
6
|
+
*/
|
|
7
|
+
export declare class VasInstructionProviderModel extends VasAccountObjectModel {
|
|
8
|
+
id: string;
|
|
9
|
+
created: string;
|
|
10
|
+
serverCreated: string;
|
|
11
|
+
createdBy: string;
|
|
12
|
+
modified: string;
|
|
13
|
+
serverModified: string;
|
|
14
|
+
modifiedBy: string;
|
|
15
|
+
createdByName: string;
|
|
16
|
+
modifiedByName: string;
|
|
17
|
+
account: string;
|
|
18
|
+
form: VasFormModel;
|
|
19
|
+
title: string;
|
|
20
|
+
secret: string;
|
|
21
|
+
portalEnabled: boolean;
|
|
22
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, form: VasFormModel, title: string, secret: string, portalEnabled: boolean);
|
|
23
|
+
/**
|
|
24
|
+
* @param dto VasInstructionDto
|
|
25
|
+
* @return VasInstructionModel
|
|
26
|
+
*/
|
|
27
|
+
static fromDto(dto: Partial<VasInstructionProviderDto>): VasInstructionProviderModel;
|
|
28
|
+
/**
|
|
29
|
+
* @returns VasNoteDto
|
|
30
|
+
*/
|
|
31
|
+
toDto(): VasInstructionProviderDto;
|
|
32
|
+
toApiDto(options?: any): Record<string, string | number | boolean>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
2
|
+
import { VasInstructionDto } from './vas-instruction.dto';
|
|
3
|
+
import { VasInstructionJobModel } from './vas-instruction-job.model';
|
|
4
|
+
/**
|
|
5
|
+
* VasNoteModel
|
|
6
|
+
*/
|
|
7
|
+
export declare class VasInstructionModel extends VasAccountObjectModel {
|
|
8
|
+
id: string;
|
|
9
|
+
created: string;
|
|
10
|
+
serverCreated: string;
|
|
11
|
+
createdBy: string;
|
|
12
|
+
modified: string;
|
|
13
|
+
serverModified: string;
|
|
14
|
+
modifiedBy: string;
|
|
15
|
+
createdByName: string;
|
|
16
|
+
modifiedByName: string;
|
|
17
|
+
account: string;
|
|
18
|
+
job: VasInstructionJobModel;
|
|
19
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, job: VasInstructionJobModel);
|
|
20
|
+
/**
|
|
21
|
+
* @param dto VasInstructionDto
|
|
22
|
+
* @return VasInstructionModel
|
|
23
|
+
*/
|
|
24
|
+
static fromDto(dto: Partial<VasInstructionDto>): VasInstructionModel;
|
|
25
|
+
/**
|
|
26
|
+
* @returns VasNoteDto
|
|
27
|
+
*/
|
|
28
|
+
toDto(): VasInstructionDto;
|
|
29
|
+
}
|
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
2
1
|
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
import { VasAccessGroupDto } from './vas-access-group.dto';
|
|
3
|
+
import { VasContactTypeDto } from './vas-contact-type.dto';
|
|
4
|
+
import { VasInstructionProviderDto } from './vas-instruction-provider.dto';
|
|
5
|
+
import { VasJobStatusDto } from './vas-job-status.dto';
|
|
6
|
+
import { VasJobTypeDto } from './vas-job-type.dto';
|
|
7
|
+
import { VasLookupTypeDto } from './vas-lookup-type.dto';
|
|
8
|
+
import { VasTaskTypeDto } from './vas-task-type.dto';
|
|
9
|
+
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
10
|
+
export declare enum VasInvitationTypeEnum {
|
|
11
|
+
TYPE_VAS_DESKTOP = "vas-desktop",
|
|
12
|
+
TYPE_VAS_MOBILE = "vas-mobile",
|
|
13
|
+
TYPE_VAS_PORTAL = "vas-portal",
|
|
14
|
+
TYPE_P2C_DESKTOP = "p2c-desktop",
|
|
15
|
+
TYPE_P2C_MOBILE = "p2c-mobile"
|
|
16
|
+
}
|
|
3
17
|
export interface VasInvitationDto extends VasAccountObjectDto {
|
|
4
18
|
secret: string;
|
|
19
|
+
type: VasInvitationTypeEnum;
|
|
20
|
+
accessGroups: Array<VasAccessGroupDto>;
|
|
21
|
+
contactTypes: Array<VasContactTypeDto>;
|
|
22
|
+
jobStatuses: Array<VasJobStatusDto>;
|
|
23
|
+
jobTypes: Array<VasJobTypeDto>;
|
|
24
|
+
lookupTypes: Array<VasLookupTypeDto>;
|
|
25
|
+
taskTypes: Array<VasTaskTypeDto>;
|
|
26
|
+
instructionProviders: Array<VasInstructionProviderDto>;
|
|
5
27
|
}
|
|
6
28
|
export declare class VasInvitationModel extends VasAccountObjectModel implements VasAccountObjectDto {
|
|
7
29
|
id: string;
|
|
@@ -11,9 +33,20 @@ export declare class VasInvitationModel extends VasAccountObjectModel implements
|
|
|
11
33
|
modified: string;
|
|
12
34
|
serverModified: string;
|
|
13
35
|
modifiedBy: string;
|
|
36
|
+
createdByName: string;
|
|
37
|
+
modifiedByName: string;
|
|
14
38
|
account: string;
|
|
15
39
|
secret: string;
|
|
16
|
-
|
|
40
|
+
type: VasInvitationTypeEnum;
|
|
41
|
+
accessGroups: Array<VasAccessGroupDto>;
|
|
42
|
+
contactTypes: Array<VasContactTypeDto>;
|
|
43
|
+
jobStatuses: Array<VasJobStatusDto>;
|
|
44
|
+
jobTypes: Array<VasJobTypeDto>;
|
|
45
|
+
lookupTypes: Array<VasLookupTypeDto>;
|
|
46
|
+
taskTypes: Array<VasTaskTypeDto>;
|
|
47
|
+
instructionProviders: Array<VasInstructionProviderDto>;
|
|
48
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, secret: string, type: VasInvitationTypeEnum, accessGroups: Array<VasAccessGroupDto>, contactTypes: Array<VasContactTypeDto>, jobStatuses: Array<VasJobStatusDto>, jobTypes: Array<VasJobTypeDto>, lookupTypes: Array<VasLookupTypeDto>, taskTypes: Array<VasTaskTypeDto>, instructionProviders: Array<VasInstructionProviderDto>);
|
|
17
49
|
toDto(): VasInvitationDto;
|
|
18
|
-
static fromDto(dto: VasInvitationDto): VasInvitationModel;
|
|
50
|
+
static fromDto(dto: Partial<VasInvitationDto>): VasInvitationModel;
|
|
51
|
+
toApiDto(options?: any): Record<string, string | number | boolean>;
|
|
19
52
|
}
|