cityworks 2.2.12 → 2.2.15
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/dist/audit_logs.d.ts +29 -0
- package/dist/contractor.d.ts +85 -0
- package/dist/equipment.d.ts +97 -0
- package/dist/equipment_changeout.d.ts +127 -0
- package/dist/equipment_cost.d.ts +31 -0
- package/dist/equipment_reservation.d.ts +25 -0
- package/dist/general_admin.d.ts +42 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.m.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/recent_activity.d.ts +72 -0
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export interface RecentActivityUserOptions {
|
|
2
|
+
IncludeCases?: boolean;
|
|
3
|
+
IncludeFireHydFlowTests?: boolean;
|
|
4
|
+
IncludeInspections?: boolean;
|
|
5
|
+
IncludeManholeInspections?: boolean;
|
|
6
|
+
IncludePavementInspections?: boolean;
|
|
7
|
+
IncludeRequests?: boolean;
|
|
8
|
+
IncludeTvInspections?: boolean;
|
|
9
|
+
IncludeWorkOrders?: boolean;
|
|
10
|
+
MaxResults?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface RecentActivityClearOptions {
|
|
13
|
+
EmployeeSids?: Array<number>;
|
|
14
|
+
Cases?: boolean;
|
|
15
|
+
HydrantFlowTests?: boolean;
|
|
16
|
+
Inspections?: boolean;
|
|
17
|
+
ManholeInspections?: boolean;
|
|
18
|
+
PavementInspections?: boolean;
|
|
19
|
+
Requests?: boolean;
|
|
20
|
+
TvInspections?: boolean;
|
|
21
|
+
WorkOrders?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare class RecentActivity {
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
cw: any;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
constructor(cw: any);
|
|
32
|
+
/**
|
|
33
|
+
* Record a user viewing a case.
|
|
34
|
+
*/
|
|
35
|
+
caseViewed(caseId: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
36
|
+
/**
|
|
37
|
+
* Clear recent activity list for current user.
|
|
38
|
+
*/
|
|
39
|
+
clear(options?: RecentActivityClearOptions): Promise<unknown>;
|
|
40
|
+
/**
|
|
41
|
+
* Record a user viewing a fire hydrant flow test.
|
|
42
|
+
*/
|
|
43
|
+
fireHydFlowTestViewed(testId: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
44
|
+
/**
|
|
45
|
+
* Record a user viewing an inspection.
|
|
46
|
+
*/
|
|
47
|
+
inspectionViewed(inspectionId: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
48
|
+
/**
|
|
49
|
+
* Record a user viewing a manhole inspection.
|
|
50
|
+
*/
|
|
51
|
+
manholeInspectionViewed(inspectionId: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
52
|
+
/**
|
|
53
|
+
* Record a user viewing a pavement inspection.
|
|
54
|
+
*/
|
|
55
|
+
pavementInspectionViewed(inspectionSid: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
56
|
+
/**
|
|
57
|
+
* Record a user viewing a request.
|
|
58
|
+
*/
|
|
59
|
+
requestViewed(requestId: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
60
|
+
/**
|
|
61
|
+
* Record a user viewing a TV inspection.
|
|
62
|
+
*/
|
|
63
|
+
tvInspectionViewed(tvId: number, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
64
|
+
/**
|
|
65
|
+
* Get recent activities for current user.
|
|
66
|
+
*/
|
|
67
|
+
user(options?: RecentActivityUserOptions): Promise<unknown>;
|
|
68
|
+
/**
|
|
69
|
+
* Record a user viewing a work order.
|
|
70
|
+
*/
|
|
71
|
+
workOrderViewed(workOrderSid: number, workOrderId?: string, dateTimeStamp?: Date | string): Promise<unknown>;
|
|
72
|
+
}
|