diff --git a/CHANGELOG.md b/CHANGELOG.md index 59bcb112..dde499e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,156 @@ +## 7.0.0 (2020-05-07) + +- chore: fix renovate config ([8478eeb](https://github.com/Workfront/workfront-api/commit/8478eeb)) +- fix: add missing yarnrc ([45208b4](https://github.com/Workfront/workfront-api/commit/45208b4)) +- fix: generate docs with the latest version of typescript ([3bcbfb3](https://github.com/Workfront/workfront-api/commit/3bcbfb3)) +- fix: upgrade to latest Rollup, switch to Yarn ([9cfcf16](https://github.com/Workfront/workfront-api/commit/9cfcf16)) +- docs: fix CodeClimate badge ([b42de95](https://github.com/Workfront/workfront-api/commit/b42de95)) +- docs: update readme ([9420c1c](https://github.com/Workfront/workfront-api/commit/9420c1c)) +- 6.3.0 ([7d112c2](https://github.com/Workfront/workfront-api/commit/7d112c2)) +- Bump handlebars from 4.1.1 to 4.7.3 ([f562403](https://github.com/Workfront/workfront-api/commit/f562403)) +- Update dependency @types/mocha to v7.0.2 ([f30e8b1](https://github.com/Workfront/workfront-api/commit/f30e8b1)) +- Update dependency codecov to v3.6.1 ([f5dd2ee](https://github.com/Workfront/workfront-api/commit/f5dd2ee)) +- Update dependency codecov to v3.6.2 ([732e33f](https://github.com/Workfront/workfront-api/commit/732e33f)) +- Update dependency codecov to v3.6.4 ([5eaa226](https://github.com/Workfront/workfront-api/commit/5eaa226)) +- Update dependency codecov to v3.6.5 ([2e3f5b4](https://github.com/Workfront/workfront-api/commit/2e3f5b4)) +- Update dependency conventional-changelog-cli to v2.0.23 ([6dd10f5](https://github.com/Workfront/workfront-api/commit/6dd10f5)) +- Update dependency conventional-changelog-cli to v2.0.25 ([d7b95e7](https://github.com/Workfront/workfront-api/commit/d7b95e7)) +- Update dependency conventional-changelog-cli to v2.0.27 ([03d9875](https://github.com/Workfront/workfront-api/commit/03d9875)) +- Update dependency conventional-changelog-cli to v2.0.28 ([65cbc5c](https://github.com/Workfront/workfront-api/commit/65cbc5c)) +- Update dependency conventional-changelog-cli to v2.0.31 ([f6068aa](https://github.com/Workfront/workfront-api/commit/f6068aa)) +- Update dependency form-data to v2.5.1 ([19368c6](https://github.com/Workfront/workfront-api/commit/19368c6)) +- Update dependency form-data to v3 ([c5d2d91](https://github.com/Workfront/workfront-api/commit/c5d2d91)) +- Update dependency http-server to v0.12.0 ([bde2601](https://github.com/Workfront/workfront-api/commit/bde2601)) +- Update dependency http-server to v0.12.1 ([972910a](https://github.com/Workfront/workfront-api/commit/972910a)) +- Update dependency http-server to v0.12.3 ([b937893](https://github.com/Workfront/workfront-api/commit/b937893)) +- Update dependency karma to v4.3.0 ([8f67114](https://github.com/Workfront/workfront-api/commit/8f67114)) +- Update dependency karma to v4.4.1 ([fc25676](https://github.com/Workfront/workfront-api/commit/fc25676)) +- Update dependency karma to v5 ([6c9d6b9](https://github.com/Workfront/workfront-api/commit/6c9d6b9)) +- Update dependency karma to v5.0.2 ([500209d](https://github.com/Workfront/workfront-api/commit/500209d)) +- Update dependency karma to v5.0.4 ([15f6515](https://github.com/Workfront/workfront-api/commit/15f6515)) +- Update dependency karma-chrome-launcher to v3.1.0 ([6011895](https://github.com/Workfront/workfront-api/commit/6011895)) +- Update dependency karma-coverage to v2 ([dd3e2f3](https://github.com/Workfront/workfront-api/commit/dd3e2f3)) +- Update dependency karma-coverage to v2.0.2 ([6b86c6f](https://github.com/Workfront/workfront-api/commit/6b86c6f)) +- Update dependency karma-mocha to v2 ([1de8945](https://github.com/Workfront/workfront-api/commit/1de8945)) +- Update dependency karma-mocha to v2.0.1 ([bc4288e](https://github.com/Workfront/workfront-api/commit/bc4288e)) +- Update dependency karma-rollup-preprocessor to v7.0.3 ([b55ebaa](https://github.com/Workfront/workfront-api/commit/b55ebaa)) +- Update dependency karma-rollup-preprocessor to v7.0.5 ([6364c0d](https://github.com/Workfront/workfront-api/commit/6364c0d)) +- Update dependency lint-staged to v10 ([2458723](https://github.com/Workfront/workfront-api/commit/2458723)) +- Update dependency lint-staged to v10.0.7 ([576a1b6](https://github.com/Workfront/workfront-api/commit/576a1b6)) +- Update dependency lint-staged to v10.0.8 ([e1fc5ea](https://github.com/Workfront/workfront-api/commit/e1fc5ea)) +- Update dependency lint-staged to v10.0.9 ([83faf1d](https://github.com/Workfront/workfront-api/commit/83faf1d)) +- Update dependency lint-staged to v10.1.1 ([2c54196](https://github.com/Workfront/workfront-api/commit/2c54196)) +- Update dependency lint-staged to v10.1.3 ([84d4fda](https://github.com/Workfront/workfront-api/commit/84d4fda)) +- Update dependency lint-staged to v10.1.4 ([f410844](https://github.com/Workfront/workfront-api/commit/f410844)) +- Update dependency lint-staged to v10.1.5 ([3767e9f](https://github.com/Workfront/workfront-api/commit/3767e9f)) +- Update dependency lint-staged to v10.1.7 ([af2b80f](https://github.com/Workfront/workfront-api/commit/af2b80f)) +- Update dependency lint-staged to v10.2.2 ([79c8d1c](https://github.com/Workfront/workfront-api/commit/79c8d1c)) +- Update dependency lint-staged to v9.2.1 ([3c1f519](https://github.com/Workfront/workfront-api/commit/3c1f519)) +- Update dependency lint-staged to v9.2.3 ([34f9601](https://github.com/Workfront/workfront-api/commit/34f9601)) +- Update dependency lint-staged to v9.2.5 ([2068297](https://github.com/Workfront/workfront-api/commit/2068297)) +- Update dependency lint-staged to v9.4.0 ([9d302cf](https://github.com/Workfront/workfront-api/commit/9d302cf)) +- Update dependency lint-staged to v9.4.1 ([c07bb69](https://github.com/Workfront/workfront-api/commit/c07bb69)) +- Update dependency lint-staged to v9.4.2 ([ddc0fe1](https://github.com/Workfront/workfront-api/commit/ddc0fe1)) +- Update dependency lint-staged to v9.4.3 ([af33c99](https://github.com/Workfront/workfront-api/commit/af33c99)) +- Update dependency lint-staged to v9.5.0 ([6830489](https://github.com/Workfront/workfront-api/commit/6830489)) +- Update dependency mocha to v6.2.1 ([577f8c7](https://github.com/Workfront/workfront-api/commit/577f8c7)) +- Update dependency mocha to v6.2.2 ([2c7933e](https://github.com/Workfront/workfront-api/commit/2c7933e)) +- Update dependency mocha to v7 ([bfd6a09](https://github.com/Workfront/workfront-api/commit/bfd6a09)) +- Update dependency mocha to v7.0.1 ([729bd9f](https://github.com/Workfront/workfront-api/commit/729bd9f)) +- Update dependency mocha to v7.1.0 ([2057daf](https://github.com/Workfront/workfront-api/commit/2057daf)) +- Update dependency mocha to v7.1.1 ([20728ce](https://github.com/Workfront/workfront-api/commit/20728ce)) +- Update dependency mocha to v7.1.2 ([4a7e382](https://github.com/Workfront/workfront-api/commit/4a7e382)) +- Update dependency prettier to v1.19.0 ([b078094](https://github.com/Workfront/workfront-api/commit/b078094)) +- Update dependency prettier to v1.19.1 ([cab4169](https://github.com/Workfront/workfront-api/commit/cab4169)) +- Update dependency prettier to v2 ([7328063](https://github.com/Workfront/workfront-api/commit/7328063)) +- Update dependency prettier to v2.0.2 ([3b83ae0](https://github.com/Workfront/workfront-api/commit/3b83ae0)) +- Update dependency prettier to v2.0.4 ([a81a91f](https://github.com/Workfront/workfront-api/commit/a81a91f)) +- Update dependency prettier to v2.0.5 ([f8108bf](https://github.com/Workfront/workfront-api/commit/f8108bf)) +- Update dependency rollup to v1.20.0 ([ad9380e](https://github.com/Workfront/workfront-api/commit/ad9380e)) +- Update dependency rollup to v1.20.2 ([0c5b34f](https://github.com/Workfront/workfront-api/commit/0c5b34f)) +- Update dependency rollup to v1.20.3 ([4b37eb0](https://github.com/Workfront/workfront-api/commit/4b37eb0)) +- Update dependency rollup to v1.21.2 ([57af0ef](https://github.com/Workfront/workfront-api/commit/57af0ef)) +- Update dependency rollup to v1.21.3 ([e1dc3a8](https://github.com/Workfront/workfront-api/commit/e1dc3a8)) +- Update dependency rollup to v1.21.4 ([c18eecd](https://github.com/Workfront/workfront-api/commit/c18eecd)) +- Update dependency rollup to v1.23.0 ([a760860](https://github.com/Workfront/workfront-api/commit/a760860)) +- Update dependency rollup to v1.23.1 ([1ca7c9e](https://github.com/Workfront/workfront-api/commit/1ca7c9e)) +- Update dependency rollup to v1.25.0 ([a8ff3fa](https://github.com/Workfront/workfront-api/commit/a8ff3fa)) +- Update dependency rollup to v1.25.2 ([b2e6c90](https://github.com/Workfront/workfront-api/commit/b2e6c90)) +- Update dependency rollup to v1.26.2 ([9cef9da](https://github.com/Workfront/workfront-api/commit/9cef9da)) +- Update dependency rollup to v1.26.3 ([9ba7606](https://github.com/Workfront/workfront-api/commit/9ba7606)) +- Update dependency rollup to v1.27.0 ([9732b2d](https://github.com/Workfront/workfront-api/commit/9732b2d)) +- Update dependency rollup to v1.27.12 ([d4cc232](https://github.com/Workfront/workfront-api/commit/d4cc232)) +- Update dependency rollup to v1.27.13 ([df16329](https://github.com/Workfront/workfront-api/commit/df16329)) +- Update dependency rollup to v1.27.14 ([825a7ac](https://github.com/Workfront/workfront-api/commit/825a7ac)) +- Update dependency rollup to v1.27.4 ([d00affe](https://github.com/Workfront/workfront-api/commit/d00affe)) +- Update dependency rollup to v1.27.5 ([fc505f7](https://github.com/Workfront/workfront-api/commit/fc505f7)) +- Update dependency rollup to v1.27.6 ([830d385](https://github.com/Workfront/workfront-api/commit/830d385)) +- Update dependency rollup to v1.27.8 ([dcc9637](https://github.com/Workfront/workfront-api/commit/dcc9637)) +- Update dependency rollup to v1.27.9 ([3c5de32](https://github.com/Workfront/workfront-api/commit/3c5de32)) +- Update dependency rollup to v1.28.0 ([07a9d36](https://github.com/Workfront/workfront-api/commit/07a9d36)) +- Update dependency rollup to v1.29.0 ([992b35e](https://github.com/Workfront/workfront-api/commit/992b35e)) +- Update dependency rollup to v1.29.1 ([182d633](https://github.com/Workfront/workfront-api/commit/182d633)) +- Update dependency rollup to v1.31.0 ([7532704](https://github.com/Workfront/workfront-api/commit/7532704)) +- Update dependency rollup to v1.31.1 ([8797931](https://github.com/Workfront/workfront-api/commit/8797931)) +- Update dependency rollup to v1.32.0 ([87932c3](https://github.com/Workfront/workfront-api/commit/87932c3)) +- Update dependency rollup to v1.32.1 ([3572c24](https://github.com/Workfront/workfront-api/commit/3572c24)) +- Update dependency rollup to v2 ([3bbd786](https://github.com/Workfront/workfront-api/commit/3bbd786)) +- Update dependency rollup to v2.0.6 ([071cfef](https://github.com/Workfront/workfront-api/commit/071cfef)) +- Update dependency rollup to v2.1.0 ([437f9e1](https://github.com/Workfront/workfront-api/commit/437f9e1)) +- Update dependency rollup-plugin-commonjs to v10.0.2 ([ec8a6ff](https://github.com/Workfront/workfront-api/commit/ec8a6ff)) +- Update dependency rollup-plugin-commonjs to v10.1.0 ([5cca35f](https://github.com/Workfront/workfront-api/commit/5cca35f)) +- Update dependency rollup-plugin-terser to v5 ([f2eabc9](https://github.com/Workfront/workfront-api/commit/f2eabc9)) +- Update dependency rollup-plugin-terser to v5.1.2 ([f0abb3c](https://github.com/Workfront/workfront-api/commit/f0abb3c)) +- Update dependency rollup-plugin-terser to v5.1.3 ([3eb7148](https://github.com/Workfront/workfront-api/commit/3eb7148)) +- Update dependency rollup-plugin-terser to v5.2.0 ([f88bbb7](https://github.com/Workfront/workfront-api/commit/f88bbb7)) +- Update dependency rollup-plugin-terser to v5.3.0 ([4bef0f0](https://github.com/Workfront/workfront-api/commit/4bef0f0)) +- Update dependency ts-node to v8.4.1 ([7d9f89b](https://github.com/Workfront/workfront-api/commit/7d9f89b)) +- Update dependency ts-node to v8.5.2 ([ba0e865](https://github.com/Workfront/workfront-api/commit/ba0e865)) +- Update dependency ts-node to v8.5.4 ([063ad3b](https://github.com/Workfront/workfront-api/commit/063ad3b)) +- Update dependency ts-node to v8.6.1 ([0c8ee94](https://github.com/Workfront/workfront-api/commit/0c8ee94)) +- Update dependency ts-node to v8.6.2 ([092420a](https://github.com/Workfront/workfront-api/commit/092420a)) +- Update dependency ts-node to v8.7.0 ([b99ad0b](https://github.com/Workfront/workfront-api/commit/b99ad0b)) +- Update dependency ts-node to v8.8.1 ([d8ff315](https://github.com/Workfront/workfront-api/commit/d8ff315)) +- Update dependency ts-node to v8.8.2 ([4adfcaa](https://github.com/Workfront/workfront-api/commit/4adfcaa)) +- Update dependency ts-node to v8.9.1 ([3a37111](https://github.com/Workfront/workfront-api/commit/3a37111)) +- Update dependency tslib to v1.11.0 ([8a80438](https://github.com/Workfront/workfront-api/commit/8a80438)) +- Update dependency tslib to v1.11.1 ([cbc7c28](https://github.com/Workfront/workfront-api/commit/cbc7c28)) +- Update dependency tslint to v5.19.0 ([f3b0553](https://github.com/Workfront/workfront-api/commit/f3b0553)) +- Update dependency tslint to v5.20.0 ([1b132df](https://github.com/Workfront/workfront-api/commit/1b132df)) +- Update dependency tslint to v5.20.1 ([2177749](https://github.com/Workfront/workfront-api/commit/2177749)) +- Update dependency tslint to v6 ([990034f](https://github.com/Workfront/workfront-api/commit/990034f)) +- Update dependency tslint to v6.1.1 ([dbf89b4](https://github.com/Workfront/workfront-api/commit/dbf89b4)) +- Update dependency tslint to v6.1.2 ([3d8279d](https://github.com/Workfront/workfront-api/commit/3d8279d)) +- Update dependency typedoc to v0.15.0 ([4bb3249](https://github.com/Workfront/workfront-api/commit/4bb3249)) +- Update dependency typedoc to v0.15.2 ([4e98c45](https://github.com/Workfront/workfront-api/commit/4e98c45)) +- Update dependency typedoc to v0.15.3 ([1809e31](https://github.com/Workfront/workfront-api/commit/1809e31)) +- Update dependency typedoc to v0.15.4 ([b2621bf](https://github.com/Workfront/workfront-api/commit/b2621bf)) +- Update dependency typedoc to v0.15.5 ([fdc6f0c](https://github.com/Workfront/workfront-api/commit/fdc6f0c)) +- Update dependency typedoc to v0.15.6 ([14ac7db](https://github.com/Workfront/workfront-api/commit/14ac7db)) +- Update dependency typedoc to v0.15.8 ([f6d1ebf](https://github.com/Workfront/workfront-api/commit/f6d1ebf)) +- Update dependency typedoc to v0.16.10 ([f759dc4](https://github.com/Workfront/workfront-api/commit/f759dc4)) +- Update dependency typedoc to v0.16.11 ([e61b677](https://github.com/Workfront/workfront-api/commit/e61b677)) +- Update dependency typedoc to v0.16.7 ([95a2e7c](https://github.com/Workfront/workfront-api/commit/95a2e7c)) +- Update dependency typedoc to v0.16.8 ([70f9c7a](https://github.com/Workfront/workfront-api/commit/70f9c7a)) +- Update dependency typedoc to v0.16.9 ([b68f88f](https://github.com/Workfront/workfront-api/commit/b68f88f)) +- Update dependency typedoc to v0.17.1 ([cd51fee](https://github.com/Workfront/workfront-api/commit/cd51fee)) +- Update dependency typedoc to v0.17.3 ([eee1e86](https://github.com/Workfront/workfront-api/commit/eee1e86)) +- Update dependency typedoc to v0.17.4 ([c70499f](https://github.com/Workfront/workfront-api/commit/c70499f)) +- Update dependency typedoc to v0.17.6 ([e2a4ed6](https://github.com/Workfront/workfront-api/commit/e2a4ed6)) +- Update dependency uuid to v3.3.3 ([b19fa62](https://github.com/Workfront/workfront-api/commit/b19fa62)) +- Update dependency uuid to v3.4.0 ([b27e028](https://github.com/Workfront/workfront-api/commit/b27e028)) +- Update dependency uuid to v7 ([bf1c915](https://github.com/Workfront/workfront-api/commit/bf1c915)) +- Update dependency uuid to v7.0.3 ([9205fff](https://github.com/Workfront/workfront-api/commit/9205fff)) +- Update dependency uuid to v8 ([455e1cc](https://github.com/Workfront/workfront-api/commit/455e1cc)) +- feat: add optional subdomain parameter for login and getApiKey methods ([1150257](https://github.com/Workfront/workfront-api/commit/1150257)) +- feat: login with subdomain ([d49f1c4](https://github.com/Workfront/workfront-api/commit/d49f1c4)) +- style: add prettier task on pre-commit hook with husky and lint-staged ([462a02d](https://github.com/Workfront/workfront-api/commit/462a02d)) +- style: fix tslint on typescript files ([9cb55de](https://github.com/Workfront/workfront-api/commit/9cb55de)) + +### BREAKING CHANGE + +- Node 8 is no longer supported + ## 6.3.0 (2020-04-13) - feat: add optional subdomain parameter for login and getApiKey methods ([1150257](https://github.com/Workfront/workfront-api/commit/1150257)) diff --git a/docs/assets/js/main.js b/docs/assets/js/main.js index cb02e5c6..1ef371fc 100644 --- a/docs/assets/js/main.js +++ b/docs/assets/js/main.js @@ -2107,16 +2107,14 @@ var typedoc, _this.createGroups(), _this.container && (_this.el.classList.add('active'), - _this.el - .querySelectorAll('.tsd-signature') - .forEach(function (signature) { - signature.addEventListener('touchstart', function (event) { - return _this.onClick(event) - }), - signature.addEventListener('click', function (event) { - return _this.onClick(event) - }) + Array.from(_this.el.children).forEach(function (signature) { + signature.addEventListener('touchstart', function (event) { + return _this.onClick(event) }), + signature.addEventListener('click', function (event) { + return _this.onClick(event) + }) + }), _this.container.classList.add('active'), _this.setIndex(0)), _this @@ -2145,15 +2143,15 @@ var typedoc, } }), (Signature.prototype.createGroups = function () { - var _this = this, - signatures = this.el.querySelectorAll('.tsd-signature') + var signatures = this.el.children if (!(signatures.length < 2)) { this.container = this.el.nextElementSibling - var descriptions = this.container.querySelectorAll('.tsd-description') - ;(this.groups = []), - signatures.forEach(function (el, index) { - _this.groups.push(new SignatureGroup(el, descriptions[index])) - }) + var descriptions = this.container.children + this.groups = [] + for (var index = 0; index < signatures.length; index++) + this.groups.push( + new SignatureGroup(signatures[index], descriptions[index]) + ) } }), (Signature.prototype.onClick = function (e) { diff --git a/docs/classes/_api_.api.html b/docs/classes/_api_.api.html index 00c782f4..7aae7d86 100644 --- a/docs/classes/_api_.api.html +++ b/docs/classes/_api_.api.html @@ -159,7 +159,7 @@

constructor

  • Parameters

    @@ -181,7 +181,7 @@

    _httpOptions

    _httpOptions: IHttpOptions
    @@ -191,7 +191,7 @@

    _uriGenerationMode

    _uriGenerationMode: boolean
    @@ -201,7 +201,7 @@

    serverAcceptsJSON

    serverAcceptsJSON: boolean
    @@ -219,7 +219,7 @@

    batch

  • @@ -281,7 +281,7 @@

    Returns Promise

    Parameters

    @@ -328,7 +328,7 @@

    clearApiKey

  • @@ -357,7 +357,7 @@

    copy

  • @@ -416,7 +416,7 @@

    count

  • @@ -455,7 +455,7 @@

    create

  • @@ -501,7 +501,7 @@

    edit

  • @@ -553,7 +553,7 @@

    editMultiple

  • @@ -599,7 +599,7 @@

    execute

  • @@ -651,7 +651,7 @@

    get

  • @@ -700,7 +700,7 @@

    getApiKey

  • @@ -749,7 +749,7 @@

    Protected getHeaders

    Returns Headers

    @@ -766,7 +766,7 @@

    login

  • @@ -816,7 +816,7 @@

    logout

  • @@ -844,7 +844,7 @@

    metadata

  • @@ -884,7 +884,7 @@

    namedQuery

  • @@ -936,7 +936,7 @@

    remove

  • @@ -982,7 +982,7 @@

    report

  • @@ -1028,7 +1028,7 @@

    request

  • @@ -1077,7 +1077,7 @@

    search

  • @@ -1123,7 +1123,7 @@

    setApiKey

  • @@ -1157,7 +1157,7 @@

    setSessionID

  • @@ -1193,7 +1193,7 @@

    setXSRFToken

  • @@ -1229,7 +1229,7 @@

    uploadFileContent

  • Parameters

    @@ -1254,7 +1254,7 @@

    Static Methods

    Methods: object
    @@ -1263,7 +1263,7 @@

    DELETE

    DELETE: string = "DELETE"
    @@ -1273,7 +1273,7 @@

    GET

    GET: string = "GET"
    @@ -1283,7 +1283,7 @@

    POST

    POST: string = "POST"
    @@ -1293,7 +1293,7 @@

    PUT

    PUT: string = "PUT"
    diff --git a/docs/classes/_node_.nodeapi.html b/docs/classes/_node_.nodeapi.html index 799af9c4..bbbca284 100644 --- a/docs/classes/_node_.nodeapi.html +++ b/docs/classes/_node_.nodeapi.html @@ -176,7 +176,7 @@

    constructor

    Parameters

    @@ -199,7 +199,7 @@

    _httpOptions

    @@ -210,7 +210,7 @@

    _uriGenerationMode

    @@ -221,7 +221,7 @@

    serverAcceptsJSON

    @@ -240,7 +240,7 @@

    batch

    @@ -303,7 +303,7 @@

    Returns Promise

    Inherited from Api.batch

    Parameters

    @@ -351,7 +351,7 @@

    clearApiKey

    @@ -381,7 +381,7 @@

    copy

    @@ -441,7 +441,7 @@

    count

    @@ -481,7 +481,7 @@

    create

    @@ -528,7 +528,7 @@

    edit

    @@ -581,7 +581,7 @@

    editMultiple

    @@ -628,7 +628,7 @@

    execute

    @@ -681,7 +681,7 @@

    get

    @@ -731,7 +731,7 @@

    getApiKey

    @@ -781,7 +781,7 @@

    Protected getHeaders

    Inherited from Api.getHeaders

    Returns Headers

    @@ -799,7 +799,7 @@

    login

    @@ -850,7 +850,7 @@

    logout

    @@ -879,7 +879,7 @@

    metadata

    @@ -920,7 +920,7 @@

    namedQuery

    @@ -973,7 +973,7 @@

    remove

    @@ -1020,7 +1020,7 @@

    report

    @@ -1067,7 +1067,7 @@

    request

    @@ -1117,7 +1117,7 @@

    search

    @@ -1164,7 +1164,7 @@

    setApiKey

    @@ -1199,7 +1199,7 @@

    setSessionID

    @@ -1236,7 +1236,7 @@

    setXSRFToken

    @@ -1273,7 +1273,7 @@

    uploadFileContent

    Parameters

    @@ -1299,7 +1299,7 @@

    uploadFromStream

  • Parameters

    @@ -1325,7 +1325,7 @@

    Static Methods

    @@ -1334,7 +1334,7 @@

    DELETE

    DELETE: string = "DELETE"
    @@ -1344,7 +1344,7 @@

    GET

    GET: string = "GET"
    @@ -1354,7 +1354,7 @@

    POST

    POST: string = "POST"
    @@ -1364,7 +1364,7 @@

    PUT

    PUT: string = "PUT"
    diff --git a/docs/index.html b/docs/index.html index 0b55dcc1..4eacca4e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -65,7 +65,7 @@

    workfront-api

    workfront-api

    -

    NPM version NPM downloads Apache v2 License Build Status Coverage Code Climate +

    NPM version NPM downloads Apache v2 License Build Status Coverage Code Climate Build Status

    Build Status

    A client for Workfront API which can be used in both server (NodeJS) and client (browsers).

    @@ -96,19 +96,20 @@

    Documentation

    Examples

    A number of examples can be found under examples directory. It includes examples for both node and browser environments.
    In order to run these examples clone a copy of workfront-api repository:

    -
    git clone git://github.com/Workfront/workfront-api.git
    +
    git clone git://github.com/Workfront/workfront-api.git

    Running node examples

    First enter into workfront-api directory and install all the dependencies:

    -
    cd workfront-api
    -npm install

    Use node to run the examples. For examples:

    +
    cd workfront-api
    +yarn

    Use node to run the examples. For examples:

    node examples/node/get-user-count.js

    Each example script outputs all its results into console and contains comments in the source code explaining what is happening in more details.

    Running browser examples

    To start supplied webserver type:

    -
    npm start

    Visit http://localhost:8000/examples/browser/ to see list of all examples available for browser.

    +
    npm start
    +

    Visit http://localhost:8000/examples/browser/ to see list of all examples available for browser.

    Contributing

    @@ -120,8 +121,8 @@

    Bug Reports

    1. Use the GitHub issue search — check if the issue has already been reported.
    2. -
    3. Isolate the problem — ideally create a reduced test - case.
    4. +
    5. Isolate the problem — ideally create a [reduced test + case](https://css-tricks.com/reduced-test-cases/).
    6. A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report.
    diff --git a/docs/interfaces/_api_.iapiconfig.html b/docs/interfaces/_api_.iapiconfig.html index 7815e879..b3801248 100644 --- a/docs/interfaces/_api_.iapiconfig.html +++ b/docs/interfaces/_api_.iapiconfig.html @@ -100,7 +100,7 @@

    Optional alwaysUseGe
    alwaysUseGet: boolean
    @@ -110,7 +110,7 @@

    Optional apiKey

    apiKey: string
    @@ -120,7 +120,7 @@

    Optional headers

    headers: {}
    @@ -138,7 +138,7 @@

    url

    url: string
    @@ -148,7 +148,7 @@

    Optional version

    version: string
    diff --git a/docs/interfaces/_api_.ibatchapi.html b/docs/interfaces/_api_.ibatchapi.html index ab19bf40..c8a4c253 100644 --- a/docs/interfaces/_api_.ibatchapi.html +++ b/docs/interfaces/_api_.ibatchapi.html @@ -108,7 +108,7 @@

    copy

    copy: (objCode: string, objID: string, updates: object, fields?: TFields, options?: string[]) => string
    @@ -151,7 +151,7 @@

    count

    count: (objCode: string, query?: object) => string
    @@ -185,7 +185,7 @@

    create

    create: (objCode: string, params: any, fields?: TFields) => string
    @@ -222,7 +222,7 @@

    edit

    edit: (objCode: string, objID: string, updates: any, fields?: TFields) => string
    @@ -262,7 +262,7 @@

    editMultiple

    editMultiple: (objCode: string, updates: any[], fields?: TFields) => string
    @@ -299,7 +299,7 @@

    execute

    execute: (objCode: string, objID: string | null, action: string, actionArgs?: object) => string
    @@ -339,7 +339,7 @@

    get

    get: (objCode: string, objIDs: string | string[], fields?: TFields) => string
    @@ -376,7 +376,7 @@

    metadata

    metadata: (objCode?: string, fields?: TFields) => string
    @@ -410,7 +410,7 @@

    namedQuery

    namedQuery: (objCode: string, query: string, queryArgs?: object, fields?: TFields) => string
    @@ -450,7 +450,7 @@

    remove

    remove: (objCode: string, objID: string, bForce?: boolean) => string
    @@ -487,7 +487,7 @@

    report

    report: (objCode: string, query: object) => string
    @@ -521,7 +521,7 @@

    request

    request: (path: string, params: any, fields?: TFields, method?: string) => string
    @@ -561,7 +561,7 @@

    search

    search: (objCode: string, query?: object, fields?: TFields) => string
    diff --git a/docs/interfaces/_api_.ihttpoptions.html b/docs/interfaces/_api_.ihttpoptions.html index e2d6c830..b20de852 100644 --- a/docs/interfaces/_api_.ihttpoptions.html +++ b/docs/interfaces/_api_.ihttpoptions.html @@ -100,7 +100,7 @@

    Optional alwaysUseGe
    alwaysUseGet: boolean
    @@ -110,7 +110,7 @@

    headers

    headers: { X-XSRF-TOKEN?: string; apiKey?: string; sessionID?: string }
    @@ -134,7 +134,7 @@

    Optional method

    method: string
    @@ -144,7 +144,7 @@

    Optional path

    path: string
    @@ -154,7 +154,7 @@

    url

    url: string
    diff --git a/docs/modules/_api_.html b/docs/modules/_api_.html index 1f43359f..c3454c3f 100644 --- a/docs/modules/_api_.html +++ b/docs/modules/_api_.html @@ -131,7 +131,7 @@

    TFailureHandler

    TFailureHandler: (err: any) => never
    @@ -162,7 +162,7 @@

    TFields

    TFields: string | string[]
    @@ -172,7 +172,7 @@

    TSuccessHandler

    TSuccessHandler<T>: (response: any) => Promise<T>

    Type parameters

    @@ -216,7 +216,7 @@

    batchApiFactory

  • Parameters

    @@ -239,7 +239,7 @@

    makeFetchCall

  • Parameters

    @@ -265,7 +265,7 @@

    Const queryStringify

  • Parameters

    @@ -287,7 +287,7 @@

    Const ResponseHandler

    ResponseHandler: object
    @@ -300,7 +300,7 @@

    failure

  • Parameters

    @@ -323,7 +323,7 @@

    success

  • Parameters

    diff --git a/package.json b/package.json index a7e38eac..9f630166 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "workfront-api", - "version": "6.3.0", + "version": "7.0.0", "description": "A Workfront API for the Node.js and the Web", "main": "dist/workfront-api.cjs.js", "module": "dist/workfront-api.es.js",