@ironcode/vas-lib 0.0.20 → 0.0.22
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 +5 -0
- package/cjs/lib/entity/index.d.ts.map +1 -1
- package/cjs/lib/entity/index.js +5 -0
- package/cjs/lib/entity/index.js.map +1 -1
- package/cjs/lib/entity/vas-fire-user.dto.d.ts +10 -0
- package/cjs/lib/entity/vas-fire-user.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-fire-user.dto.js +3 -0
- package/cjs/lib/entity/vas-fire-user.dto.js.map +1 -0
- package/cjs/lib/entity/vas-fire-user.model.d.ts +19 -0
- package/cjs/lib/entity/vas-fire-user.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-fire-user.model.js +43 -0
- package/cjs/lib/entity/vas-fire-user.model.js.map +1 -0
- package/cjs/lib/entity/vas-job.dto.d.ts +2 -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 +6 -2
- package/cjs/lib/entity/vas-job.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.model.js +11 -5
- package/cjs/lib/entity/vas-job.model.js.map +1 -1
- package/cjs/lib/entity/vas-membership.model.d.ts +28 -0
- package/cjs/lib/entity/vas-membership.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-membership.model.js +62 -0
- package/cjs/lib/entity/vas-membership.model.js.map +1 -0
- package/cjs/lib/entity/vas-report-request.dto.d.ts +2 -2
- package/cjs/lib/entity/vas-report-request.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-report-request.dto.js.map +1 -1
- package/cjs/lib/entity/vas-report-request.model.d.ts +4 -3
- package/cjs/lib/entity/vas-report-request.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-report-request.model.js +7 -5
- package/cjs/lib/entity/vas-report-request.model.js.map +1 -1
- package/cjs/lib/entity/vas-report.dto.d.ts +13 -0
- package/cjs/lib/entity/vas-report.dto.d.ts.map +1 -0
- package/cjs/lib/entity/vas-report.dto.js +3 -0
- package/cjs/lib/entity/vas-report.dto.js.map +1 -0
- package/cjs/lib/entity/vas-report.model.d.ts +27 -0
- package/cjs/lib/entity/vas-report.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-report.model.js +63 -0
- package/cjs/lib/entity/vas-report.model.js.map +1 -0
- package/cjs/lib/entity/vas-user.dto.d.ts +1 -1
- 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 +2 -3
- package/cjs/lib/entity/vas-user.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-user.model.js +0 -15
- package/cjs/lib/entity/vas-user.model.js.map +1 -1
- package/esm2020/lib/entity/index.mjs +6 -1
- package/esm2020/lib/entity/vas-fire-user.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-fire-user.model.mjs +38 -0
- package/esm2020/lib/entity/vas-job.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-job.model.mjs +12 -6
- package/esm2020/lib/entity/vas-membership.model.mjs +58 -0
- package/esm2020/lib/entity/vas-report-request.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-report-request.model.mjs +8 -6
- package/esm2020/lib/entity/vas-report.dto.mjs +2 -0
- package/esm2020/lib/entity/vas-report.model.mjs +59 -0
- package/esm2020/lib/entity/vas-user.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-user.model.mjs +1 -15
- package/fesm2015/ironcode-vas-lib.mjs +196 -51
- package/fesm2015/ironcode-vas-lib.mjs.map +1 -1
- package/fesm2020/ironcode-vas-lib.mjs +196 -51
- package/fesm2020/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/index.d.ts +5 -0
- package/lib/entity/vas-fire-user.dto.d.ts +9 -0
- package/lib/entity/vas-fire-user.model.d.ts +18 -0
- package/lib/entity/vas-job.dto.d.ts +2 -0
- package/lib/entity/vas-job.model.d.ts +6 -2
- package/lib/entity/vas-membership.model.d.ts +27 -0
- package/lib/entity/vas-report-request.dto.d.ts +2 -2
- package/lib/entity/vas-report-request.model.d.ts +4 -3
- package/lib/entity/vas-report.dto.d.ts +12 -0
- package/lib/entity/vas-report.model.d.ts +26 -0
- package/lib/entity/vas-user.dto.d.ts +1 -1
- package/lib/entity/vas-user.model.d.ts +2 -3
- package/package.json +1 -1
|
@@ -36,6 +36,8 @@ export declare class VasJobModel extends VasRestrictedAccountObjectModel {
|
|
|
36
36
|
version: number;
|
|
37
37
|
fields: Array<VasFieldDto>;
|
|
38
38
|
files: Array<VasFileDto>;
|
|
39
|
+
createdByDisplayName: string;
|
|
40
|
+
modifiedByDisplayName: string;
|
|
39
41
|
/**
|
|
40
42
|
* @param {string} id
|
|
41
43
|
* @param {string} created
|
|
@@ -57,9 +59,11 @@ export declare class VasJobModel extends VasRestrictedAccountObjectModel {
|
|
|
57
59
|
* @param {string} childModified
|
|
58
60
|
* @param {number} version
|
|
59
61
|
* @param {Array<VasFieldDto>} fields
|
|
60
|
-
* @param {Array<VasFileDto>} files
|
|
62
|
+
* @param {Array<VasFileDto>} files,
|
|
63
|
+
* @param {string} createdByDisplayName
|
|
64
|
+
* @param {string} modifiedByDisplayName
|
|
61
65
|
*/
|
|
62
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, reference: string, jobDate: string, jobStatus: string, jobType: string, assigneeId: string, formId: string, timeZoneOffset: number, pendingFields: number, childModified: string, version: number, fields: Array<VasFieldDto>, files: Array<VasFileDto
|
|
66
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, reference: string, jobDate: string, jobStatus: string, jobType: string, assigneeId: string, formId: string, timeZoneOffset: number, pendingFields: number, childModified: string, version: number, fields: Array<VasFieldDto>, files: Array<VasFileDto>, createdByDisplayName: string, modifiedByDisplayName: string);
|
|
63
67
|
/**
|
|
64
68
|
* Returns this with the dynamic interface
|
|
65
69
|
* @return {VasJobModelDynamicInterface}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { VasMembershipDto } from './vas-membership.dto';
|
|
2
|
+
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
3
|
+
/**
|
|
4
|
+
* VasMembershipModel
|
|
5
|
+
*/
|
|
6
|
+
export declare class VasMembershipModel extends VasAccountObjectModel {
|
|
7
|
+
id: string;
|
|
8
|
+
created: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
serverModified: string;
|
|
13
|
+
modifiedBy: string;
|
|
14
|
+
account: string;
|
|
15
|
+
user: string;
|
|
16
|
+
admin: boolean;
|
|
17
|
+
lookupTypes: Array<string>;
|
|
18
|
+
contactTypes: Array<string>;
|
|
19
|
+
accessGroups: Array<string>;
|
|
20
|
+
jobStatuses: Array<string>;
|
|
21
|
+
jobTypes: Array<string>;
|
|
22
|
+
taskTypes: Array<string>;
|
|
23
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, user: string, admin: boolean, lookupTypes: Array<string>, contactTypes: Array<string>, accessGroups: Array<string>, jobStatuses: Array<string>, jobTypes: Array<string>, taskTypes: Array<string>);
|
|
24
|
+
static empty(): VasMembershipModel;
|
|
25
|
+
static fromDto(dto: Partial<VasMembershipDto>): VasMembershipModel;
|
|
26
|
+
toDto(): VasMembershipDto;
|
|
27
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface VasReportRequestDto extends
|
|
1
|
+
import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
2
|
+
export interface VasReportRequestDto extends VasAccountObjectDto {
|
|
3
3
|
error: string;
|
|
4
4
|
jobId: string;
|
|
5
5
|
title: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VasBaseModel } from './vas-base.model';
|
|
2
1
|
import { VasReportRequestDto } from './vas-report-request.dto';
|
|
3
|
-
|
|
2
|
+
import { VasAccountObjectModel } from './vas-account-object.model';
|
|
3
|
+
export declare class VasReportRequestModel extends VasAccountObjectModel {
|
|
4
4
|
id: string;
|
|
5
5
|
created: string;
|
|
6
6
|
serverCreated: string;
|
|
@@ -8,12 +8,13 @@ export declare class VasReportRequestModel extends VasBaseModel {
|
|
|
8
8
|
modified: string;
|
|
9
9
|
serverModified: string;
|
|
10
10
|
modifiedBy: string;
|
|
11
|
+
account: string;
|
|
11
12
|
error: string;
|
|
12
13
|
jobId: string;
|
|
13
14
|
title: string;
|
|
14
15
|
url: string;
|
|
15
16
|
reportId: string;
|
|
16
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, error: string, jobId: string, title: string, url: string, reportId: string);
|
|
17
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, error: string, jobId: string, title: string, url: string, reportId: string);
|
|
17
18
|
static fromDto(dto: Partial<VasReportRequestDto>): VasReportRequestModel;
|
|
18
19
|
toDto(): VasReportRequestDto;
|
|
19
20
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VasJobDataDto } from './vas-job-data.dto';
|
|
2
|
+
export interface VasReportDto extends VasJobDataDto {
|
|
3
|
+
reportLayoutId: string;
|
|
4
|
+
title: string;
|
|
5
|
+
sendEmail: string;
|
|
6
|
+
message: string;
|
|
7
|
+
attempted: string;
|
|
8
|
+
completed: string;
|
|
9
|
+
succeeded: string;
|
|
10
|
+
attempts: number;
|
|
11
|
+
notificationId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VasJobDataModel } from './vas-job-data.model';
|
|
2
|
+
import { VasReportDto } from './vas-report.dto';
|
|
3
|
+
export declare class VasReportModel extends VasJobDataModel implements VasReportDto {
|
|
4
|
+
id: string;
|
|
5
|
+
created: string;
|
|
6
|
+
createdBy: string;
|
|
7
|
+
modified: string;
|
|
8
|
+
modifiedBy: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
serverModified: string;
|
|
11
|
+
account: string;
|
|
12
|
+
job: string;
|
|
13
|
+
reportLayoutId: string;
|
|
14
|
+
title: string;
|
|
15
|
+
sendEmail: string;
|
|
16
|
+
message: string;
|
|
17
|
+
attempted: string;
|
|
18
|
+
completed: string;
|
|
19
|
+
succeeded: string;
|
|
20
|
+
attempts: number;
|
|
21
|
+
notificationId: string;
|
|
22
|
+
constructor(id: string, created: string, createdBy: string, modified: string, modifiedBy: string, serverCreated: string, serverModified: string, account: string, job: string, reportLayoutId: string, title: string, sendEmail: string, message: string, attempted: string, completed: string, succeeded: string, attempts: number, notificationId: string);
|
|
23
|
+
static empty(): VasReportModel;
|
|
24
|
+
static fromDto(dto: Partial<VasReportModel>): VasReportModel;
|
|
25
|
+
toDto(): VasReportDto;
|
|
26
|
+
}
|
|
@@ -9,9 +9,8 @@ export declare class VasUserModel extends VasBaseModel implements VasUserDto {
|
|
|
9
9
|
serverModified: string;
|
|
10
10
|
modifiedBy: string;
|
|
11
11
|
email: string;
|
|
12
|
-
username
|
|
13
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, email: string, username
|
|
12
|
+
username: string;
|
|
13
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, email: string, username: string);
|
|
14
14
|
static fromDto(dto: VasUserDto): VasUserModel;
|
|
15
|
-
static newUser(uid: string, displayName: string, email: string): VasUserDto;
|
|
16
15
|
toDto(): VasUserDto;
|
|
17
16
|
}
|