-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from route4me/1.0.16
1.0.16
- Loading branch information
Showing
27 changed files
with
4,550 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<a id="AutomaticTerritories" name="AutomaticTerritories"></a> | ||
|
||
## AutomaticTerritories ℗ | ||
|
||
AutomaticTerritories facility | ||
|
||
**Category**: AutomaticTerritories | ||
**Access**: private | ||
**Since**: 1.0.16 | ||
|
||
* [AutomaticTerritories](#AutomaticTerritories) ℗ | ||
* [new AutomaticTerritories(requestManager)](#new_AutomaticTerritories_new) | ||
* [.createJob(addresses, [mode], [params], callback)](#AutomaticTerritories+createJob) | ||
* [.getJobStatus(jobId, callback)](#AutomaticTerritories+getJobStatus) | ||
* [.getJobResult(jobId, callback)](#AutomaticTerritories+getJobResult) | ||
|
||
<a id="new_AutomaticTerritories_new" name="new_AutomaticTerritories_new"></a> | ||
|
||
### new AutomaticTerritories(requestManager) | ||
|
||
Constructor | ||
|
||
**Returns**: [<code>AutomaticTerritories</code>](#AutomaticTerritories) - - AutomaticTerritories facility | ||
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| requestManager | <code>RequestManager</code> | Request Manager | | ||
|
||
<a id="AutomaticTerritories+createJob" name="AutomaticTerritories+createJob"></a> | ||
|
||
### automaticTerritories.createJob(addresses, [mode], [params], callback) | ||
|
||
Create job. | ||
|
||
**Since**: 1.0.16 | ||
|
||
| Param | Type | Default | Description | | ||
| --- | --- | --- | --- | | ||
| addresses | <code>Array.<Object></code> | | An array of the address objects. | | ||
| addresses.id | <code>String</code> | | Address ID. | | ||
| addresses.lat | <code>Number</code> | | Address latitude. | | ||
| addresses.lng | <code>Number</code> | | Address longitude. | | ||
| [mode] | <code>Number</code> | <code>0</code> | | | ||
| [params] | <code>Array.<String></code> | <code>[]</code> | An array of parameters. | | ||
| callback | <code>module:route4me-node~RequestCallback.<jsonschema:AutomaticTerritories.JobID></code> | | | | ||
|
||
<a id="AutomaticTerritories+getJobStatus" name="AutomaticTerritories+getJobStatus"></a> | ||
|
||
### automaticTerritories.getJobStatus(jobId, callback) | ||
|
||
Check the asynchronous job status by specifying the 'job_id' path parameter. | ||
|
||
**Since**: 1.0.16 | ||
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| jobId | <code>String</code> | Job ID to check status. | | ||
| callback | <code>module:route4me-node~RequestCallback.<jsonschema:AutomaticTerritories.ResponseStatus></code> | | | ||
|
||
<a id="AutomaticTerritories+getJobResult" name="AutomaticTerritories+getJobResult"></a> | ||
|
||
### automaticTerritories.getJobResult(jobId, callback) | ||
|
||
Get the asynchronous job result by specifying the 'job_id' path parameter. | ||
|
||
**Since**: 1.0.16 | ||
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| jobId | <code>String</code> | Job ID to get result. | | ||
| callback | <code>module:route4me-node~RequestCallback.<jsonschema:AutomaticTerritories.ResponseJob></code> | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.