@@ -8,18 +8,17 @@ In order to use this library you need to have access to an Oracle Field Service
88
99## Installation
1010
11-
12111 . Add the dependency to your project
13-
14- ` npm install <LOCAL REPOSITORY DIR> ` (if you have cloned the repository)
1512
16- ` npm install https://github.com/oracle-samples/ofs-proxy-js.git ` (when installing directly from GitHub)
13+ ` npm install <LOCAL REPOSITORY DIR> ` (if you have cloned the repository)
14+
15+ ` npm install https://github.com/oracle-samples/ofs-proxy-js.git ` (when installing directly from GitHub)
1716
18- ` npm install @ofs-users/proxy ` (when installing from npm)
17+ ` npm install @ofs-users/proxy ` (when installing from npm)
1918
20192 . To use the library in your code:
2120
22- ` import {OFS} from "@ofs-users/proxy" `
21+ ` import {OFS} from "@ofs-users/proxy" `
2322
2423## Functions implemented (may not be complete)
2524
@@ -35,6 +34,28 @@ In order to use this library you need to have access to an Oracle Field Service
3534
3635` updateActivity(activityId, activityData) ` : Update activity details
3736
37+ ` moveActivity(activityId, activityData) ` : Move activity
38+
39+ ` delayActivity(activityId, activityData) ` : Delay activity
40+
41+ ` reopenActivity(activityId, activityData) ` : Reopen activity
42+
43+ ` startActivity(activityId, activityData) ` : Start activity
44+
45+ ` suspendActivity(activityId, activityData) ` : Suspend activity
46+
47+ ` completeActivity(activityId, activityData) ` : Complete activity
48+
49+ ` cancelActivity(activityId, activityData) ` : Cancel activity
50+
51+ ` notDoneActivity(activityId, activityData) ` : Set activity to Not Done status
52+
53+ ` startPrework(activityId, activityData) ` : Start activity prework
54+
55+ ` stopTravel(activityId, activityData) ` : Stop Travel ( From Enroute to Pending )
56+
57+ ` enrouteActivity(activityId, activityData) ` : Stop Travel ( From Pending to Enroute )
58+
3859` setActivityFileProperty(activityId, propertyId, file) ` : Set file property
3960
4061` getActivityFilePropertyMetadata(activityId, propertyId) ` : Get file property metadata
@@ -75,13 +96,13 @@ Please see the `docs/` directory for documentation and a simple example
7596
7697## Version History
7798
78- | Version | Comments |
79- | --------- | ----------- |
80- | 0.1| Added ` getActivityDetails ` , ` updateActivity ` , ` getSubscriptions ` |
81- | 1.1| Added ` importPlugins ` |
82- | 1.2| Added ` createActivity ` , ` deleteActivity ` |
83- | 1.6| Added ` getUsers ` , ` getUserDetails ` , ` getAllUsers ` |
84- | 1.8| Added ` getProperties ` , ` getPropertyDetails ` , ` updateProperty ` ` createReplaceProperty ` |
99+ | Version | Comments |
100+ | ------- | -------------------------------------------------------------------------- ----------- |
101+ | 0.1 | Added ` getActivityDetails ` , ` updateActivity ` , ` getSubscriptions ` |
102+ | 1.1 | Added ` importPlugins ` |
103+ | 1.2 | Added ` createActivity ` , ` deleteActivity ` |
104+ | 1.6 | Added ` getUsers ` , ` getUserDetails ` , ` getAllUsers ` |
105+ | 1.8 | Added ` getProperties ` , ` getPropertyDetails ` , ` updateProperty ` ` createReplaceProperty ` |
85106
86107## Contributing
87108
0 commit comments