{"_id":"@addosolutions/datto-api","_rev":"1-8abf4f8175b2c3f9149abd51b72eed84","name":"@addosolutions/datto-api","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@addosolutions/datto-api","version":"1.0.0","description":"Autotask_Advanced_Endpoint_Management_REST_API","license":"©Autotask Corporation. All rights reserved. ","main":"index.js","scripts":{"build":"babel src -d dist","prepack":"npm run build","test":"mocha --require @babel/register --recursive"},"browser":{"fs":false},"dependencies":{"@babel/cli":"^7.0.0","superagent":"3.7.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-decorators":"^7.0.0","@babel/plugin-proposal-do-expressions":"^7.0.0","@babel/plugin-proposal-export-default-from":"^7.0.0","@babel/plugin-proposal-export-namespace-from":"^7.0.0","@babel/plugin-proposal-function-bind":"^7.0.0","@babel/plugin-proposal-function-sent":"^7.0.0","@babel/plugin-proposal-json-strings":"^7.0.0","@babel/plugin-proposal-logical-assignment-operators":"^7.0.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.0.0","@babel/plugin-proposal-numeric-separator":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.0.0","@babel/plugin-proposal-pipeline-operator":"^7.0.0","@babel/plugin-proposal-throw-expressions":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-syntax-import-meta":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","expect.js":"^0.3.1","mocha":"^5.2.0","sinon":"^7.2.0"},"gitHead":"1eea9c35be5c1287f41e7a0297e8f6b348d15057","_id":"@addosolutions/datto-api@1.0.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-TXRY5aaQbwrOtIlFL1kZGS2/vNhI9B5VuJu0vVgdHuazUy77uOl0Pbus8EXzoKMve3R/MH/7XjQkQ+z7W/Ok8w==","shasum":"b6fa79d195efa7ef2b6a79dada9fae6f19493db3","tarball":"https://registry.npmjs.org/@addosolutions/datto-api/-/datto-api-1.0.0.tgz","fileCount":80,"unpackedSize":399237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSxOhCRA9TVsSAnZWagAAmasP/j7w7L/wDTf8jVrhTmqo\nnMVr64+M7umejkal7dt/6C7VgDzVWZd/dv1CWpXYUXHRcim6sHPNYQnVPJJH\n6KPZUYq9vnJ+9DmoX0o7uHCLW/f1CsJydRBtPn/ZtUvIBCkuwely+4gsMK1k\ncIAGb2UrrYZ+RTu4XZ5QPPOAUPUwfxgbhuhVzjU7akPqBjor0FhyRmV3zgsJ\ntTkbYFpJwdo5i26pHrAVTdIFjRmhpmzhk3Cmirblwpbtirk0eGj7ubH0rCIA\n39UchWu1brHKn3E3DCtWltU/VL+NzpA91s0Fgt/mQA57Uw5Wq6cZhksj/zbW\nSaHt/F/H1BWasIB3Y6QO82NtOv8I3mHMGpCZTi6BS5kTEs9LVJI4uy5AIp/5\nSQE/rotEAknMrOQTuNv6+W+UxtVhpGDZShoOSyxDruj8fV9PccOHMAgcv4cB\n35PfvZ+eleBnq+ZfYxxmWPQeOwEKB4i94dWfvHpyzi9rOrq+CusBJOPzYuAe\nQZGWtQGb3iag0N/47Ks9hXiZFA1RbFadqSvJ24htiM95SH6ECQDVe4nbwNHj\n+BabCSB7pfmKe6yXdbZGPLdX+6lIEUd0Nmg26tj7SByn9NvjUmr/sECJ6SSt\npKdlbH5DKh1Rq5TWuPJYOloWdfNFJdhHjm0UY9vg7KWsmJ94Cp0U0m/tNMs1\n5eYi\r\n=dPoz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICGOsWyHQfM4qyFi/fEH9IQ2Qu15rF7b7LzVj+atAe97AiEAznRUHlcP8wAw/YF2Pvpo3Q6zbagfhKfwqAIMhypRm0c="}]},"maintainers":[{"name":"nickartman","email":"nick@addosolutions.com"},{"name":"nickartman-addosolutions","email":"nick@addosolutions.com"}],"_npmUser":{"name":"nickartman","email":"nick@addosolutions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/datto-api_1.0.0_1598755745340_0.23512607933845886"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-30T02:49:05.068Z","1.0.0":"2020-08-30T02:49:05.481Z","modified":"2022-04-04T11:28:11.796Z"},"maintainers":[{"name":"nickartman","email":"nick@addosolutions.com"},{"name":"nickartman-addosolutions","email":"nick@addosolutions.com"}],"description":"Autotask_Advanced_Endpoint_Management_REST_API","license":"©Autotask Corporation. All rights reserved. ","readme":"# @addosolutions/datto-api\n\ndatto - JavaScript client for @addosolutions/datto-api\nAutotask Advanced Endpoint Management REST API\nThis SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 2.0.0 (Build 23)\n- Package version: 1.0.0\n- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nTo publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in [\"Publishing npm packages\"](https://docs.npmjs.com/getting-started/publishing-npm-packages).\n\nThen install it via:\n\n```shell\nnpm install @addosolutions/datto-api --save\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n##### Local development\n\nTo use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:\n\n```shell\nnpm install\n```\n\nNext, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:\n\n```shell\nnpm link\n```\n\nTo use the link you just defined in your project, switch to the directory you want to use your @addosolutions/datto-api from, and run:\n\n```shell\nnpm link /path/to/<JAVASCRIPT_CLIENT_DIR>\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n#### git\n\nIf the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID\nthen install it via:\n\n```shell\n    npm install GIT_USER_ID/GIT_REPO_ID --save\n```\n\n### For browser\n\nThe library also works in the browser environment via npm and [browserify](http://browserify.org/). After following\nthe above steps with Node.js and installing browserify with `npm install -g browserify`,\nperform the following (assuming *main.js* is your entry file):\n\n```shell\nbrowserify main.js > bundle.js\n```\n\nThen include *bundle.js* in the HTML pages.\n\n### Webpack Configuration\n\nUsing Webpack you may encounter the following error: \"Module not found: Error:\nCannot resolve module\", most certainly you should disable AMD loader. Add/merge\nthe following section to your webpack config:\n\n```javascript\nmodule: {\n  rules: [\n    {\n      parser: {\n        amd: false\n      }\n    }\n  ]\n}\n```\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following JS code:\n\n```javascript\nvar datto = require('@addosolutions/datto-api');\n\n\nvar api = new datto.AccountControllerApi()\nvar opts = {\n  'page': 56, // {Number} page\n  'max': 56 // {Number} max\n};\napi.getComponentsUsingGET(opts).then(function(data) {\n  console.log('API called successfully. Returned data: ' + data);\n}, function(error) {\n  console.error(error);\n});\n\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://concord-api.centrastage.net/api*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*datto.AccountControllerApi* | [**getComponentsUsingGET**](docs/AccountControllerApi.md#getComponentsUsingGET) | **GET** /v2/account/components | Fetches the components records of the authenticated user&#39;s account.\n*datto.AccountControllerApi* | [**getSitesUsingGET**](docs/AccountControllerApi.md#getSitesUsingGET) | **GET** /v2/account/sites | Fetches the site records of the authenticated user&#39;s account.\n*datto.AccountControllerApi* | [**getUserAccountClosedAlertsUsingGET**](docs/AccountControllerApi.md#getUserAccountClosedAlertsUsingGET) | **GET** /v2/account/alerts/resolved | Fetches resolved alerts of the authenticated user&#39;s account.\n*datto.AccountControllerApi* | [**getUserAccountDevicesUsingGET**](docs/AccountControllerApi.md#getUserAccountDevicesUsingGET) | **GET** /v2/account/devices | Fetches the devices of the authenticated user&#39;s account.\n*datto.AccountControllerApi* | [**getUserAccountOpenAlertsUsingGET**](docs/AccountControllerApi.md#getUserAccountOpenAlertsUsingGET) | **GET** /v2/account/alerts/open | Fetches open alerts of the authenticated user&#39;s account.\n*datto.AccountControllerApi* | [**getUserAccountUsingGET**](docs/AccountControllerApi.md#getUserAccountUsingGET) | **GET** /v2/account | Fetches the authenticated user&#39;s account data.\n*datto.AccountControllerApi* | [**getUsersUsingGET**](docs/AccountControllerApi.md#getUsersUsingGET) | **GET** /v2/account/users | Fetches the authentication users records of the authenticated user&#39;s account.\n*datto.AlertsControllerApi* | [**getAlertUsingGET**](docs/AlertsControllerApi.md#getAlertUsingGET) | **GET** /v2/alert/{alertUid} | Fetches data of the alert identified by the given alert Uid.\n*datto.AlertsControllerApi* | [**muteAlertUsingPOST**](docs/AlertsControllerApi.md#muteAlertUsingPOST) | **POST** /v2/alert/{alertUid}/mute | Mutes the alert identified by the given alert Uid.\n*datto.AlertsControllerApi* | [**resolveAlertUsingPOST**](docs/AlertsControllerApi.md#resolveAlertUsingPOST) | **POST** /v2/alert/{alertUid}/resolve | Resolves the alert identified by the given alert Uid.\n*datto.AlertsControllerApi* | [**unmuteAlertUsingPOST**](docs/AlertsControllerApi.md#unmuteAlertUsingPOST) | **POST** /v2/alert/{alertUid}/unmute | Unmutes the alert identified by the given alert Uid.\n*datto.AuditControllerApi* | [**getDeviceAuditSoftwareUsingGET**](docs/AuditControllerApi.md#getDeviceAuditSoftwareUsingGET) | **GET** /v2/audit/device/{deviceUid}/software | Fetches audited software of the generic device identified the given device Uid.\n*datto.AuditControllerApi* | [**getDeviceAuditUsingGET**](docs/AuditControllerApi.md#getDeviceAuditUsingGET) | **GET** /v2/audit/device/{deviceUid} | Fetches audit data of the generic device identified the given device Uid.\n*datto.AuditControllerApi* | [**getEsxiHostAuditUsingGET**](docs/AuditControllerApi.md#getEsxiHostAuditUsingGET) | **GET** /v2/audit/esxihost/{deviceUid} | Fetches audit data of the ESXi host identified the given device Uid.\n*datto.AuditControllerApi* | [**getPrinterAuditUsingGET**](docs/AuditControllerApi.md#getPrinterAuditUsingGET) | **GET** /v2/audit/printer/{deviceUid} | Fetches audit data of the printer identified the given device Uid.\n*datto.DeviceControllerApi* | [**createQuickJobUsingPUT**](docs/DeviceControllerApi.md#createQuickJobUsingPUT) | **PUT** /v2/device/{deviceUid}/quickjob | Creates a quick job on the device identified by the given device Uid.\n*datto.DeviceControllerApi* | [**getByIdUsingGET**](docs/DeviceControllerApi.md#getByIdUsingGET) | **GET** /v2/device/id/{deviceId} | Fetches data of the device identified by the given device Id.\n*datto.DeviceControllerApi* | [**getByUidUsingGET**](docs/DeviceControllerApi.md#getByUidUsingGET) | **GET** /v2/device/{deviceUid} | Fetches data of the device identified by the given device Uid.\n*datto.DeviceControllerApi* | [**getDeviceOpenAlertsUsingGET**](docs/DeviceControllerApi.md#getDeviceOpenAlertsUsingGET) | **GET** /v2/device/{deviceUid}/alerts/open | Fetches the open alerts of the device identified by the given device Uid.\n*datto.DeviceControllerApi* | [**getDeviceResolvedAlertsUsingGET**](docs/DeviceControllerApi.md#getDeviceResolvedAlertsUsingGET) | **GET** /v2/device/{deviceUid}/alerts/resolved | Fetches the resolved alerts of the device identified by the given device Uid.\n*datto.DeviceControllerApi* | [**moveDeviceUsingPUT**](docs/DeviceControllerApi.md#moveDeviceUsingPUT) | **PUT** /v2/device/{deviceUid}/site/{siteUid} | Moves a device from one site to another site.\n*datto.DeviceControllerApi* | [**setUdfFieldsUsingPOST**](docs/DeviceControllerApi.md#setUdfFieldsUsingPOST) | **POST** /v2/device/{deviceUid}/udf | Sets the user defined fields of a device identified by the given device Uid.\n*datto.DeviceControllerApi* | [**setWarrantyDataUsingPOST**](docs/DeviceControllerApi.md#setWarrantyDataUsingPOST) | **POST** /v2/device/{deviceUid}/warranty | Sets the warranty of a device identified by the given device Uid.\n*datto.JobControllerApi* | [**getJobComponentsUsingGET**](docs/JobControllerApi.md#getJobComponentsUsingGET) | **GET** /v2/job/{jobUid}/components | Fetches components of the job identified by the given job Uid.\n*datto.JobControllerApi* | [**getUsingGET**](docs/JobControllerApi.md#getUsingGET) | **GET** /v2/job/{jobUid} | Fetches data of the job identified by the given job Uid.\n*datto.SitesControllerApi* | [**createUsingPUT**](docs/SitesControllerApi.md#createUsingPUT) | **PUT** /v2/site | Creates a new site in the authenticated user&#39;s account.\n*datto.SitesControllerApi* | [**deleteProxyUsingDELETE**](docs/SitesControllerApi.md#deleteProxyUsingDELETE) | **DELETE** /v2/site/{siteUid}/settings/proxy | Deletes site proxy settings for the site identified by the given site Uid.\n*datto.SitesControllerApi* | [**getSiteDevicesUsingGET**](docs/SitesControllerApi.md#getSiteDevicesUsingGET) | **GET** /v2/site/{siteUid}/devices | Fetches the devices records of the site identified by the given site Uid.\n*datto.SitesControllerApi* | [**getSiteOpenAlertsUsingGET**](docs/SitesControllerApi.md#getSiteOpenAlertsUsingGET) | **GET** /v2/site/{siteUid}/alerts/open | Fetches the open alerts of the site identified by the given site Uid.\n*datto.SitesControllerApi* | [**getSiteResolvedAlertsUsingGET**](docs/SitesControllerApi.md#getSiteResolvedAlertsUsingGET) | **GET** /v2/site/{siteUid}/alerts/resolved | Fetches the resolved alerts of the site identified by the given site Uid.\n*datto.SitesControllerApi* | [**getSiteSettingsUsingGET**](docs/SitesControllerApi.md#getSiteSettingsUsingGET) | **GET** /v2/site/{siteUid}/settings | Fetches settings of the site identified by the given site Uid.\n*datto.SitesControllerApi* | [**getSiteUsingGET**](docs/SitesControllerApi.md#getSiteUsingGET) | **GET** /v2/site/{siteUid} | Fetches data of the site (including total number of devices) identified by the given site Uid.\n*datto.SitesControllerApi* | [**updateProxyUsingPOST**](docs/SitesControllerApi.md#updateProxyUsingPOST) | **POST** /v2/site/{siteUid}/settings/proxy | Creates/updates the proxy settings for the site identified by the given site Uid.\n*datto.SitesControllerApi* | [**updateUsingPOST**](docs/SitesControllerApi.md#updateUsingPOST) | **POST** /v2/site/{siteUid} | Updates the site identified by the given site Uid.\n*datto.SystemControllerApi* | [**getPaginationConfigurationsUsingGET**](docs/SystemControllerApi.md#getPaginationConfigurationsUsingGET) | **GET** /v2/system/pagination | Fetches the pagination configurations.\n*datto.SystemControllerApi* | [**getStatusUsingGET**](docs/SystemControllerApi.md#getStatusUsingGET) | **GET** /v2/system/status | Fetches the system status (start date, status and version).\n*datto.SystemControllerApi* | [**getUsingGET1**](docs/SystemControllerApi.md#getUsingGET1) | **GET** /v2/system/request_rate | Fetches the request rate status for the authenticated user&#39;s account.\n*datto.UserControllerApi* | [**resetApiKeysUsingPOST**](docs/UserControllerApi.md#resetApiKeysUsingPOST) | **POST** /v2/user/resetApiKeys | Resets the authenticated user&#39;s API access and secret keys.\n\n\n## Documentation for Models\n\n - [datto.Account](docs/Account.md)\n - [datto.AccountDescriptor](docs/AccountDescriptor.md)\n - [datto.AccountDevicesStatus](docs/AccountDevicesStatus.md)\n - [datto.Alert](docs/Alert.md)\n - [datto.AlertMonitorInfo](docs/AlertMonitorInfo.md)\n - [datto.AlertSourceInfo](docs/AlertSourceInfo.md)\n - [datto.AlertsPage](docs/AlertsPage.md)\n - [datto.Antivirus](docs/Antivirus.md)\n - [datto.AttachedDevice](docs/AttachedDevice.md)\n - [datto.AuthUser](docs/AuthUser.md)\n - [datto.AuthUserKey](docs/AuthUserKey.md)\n - [datto.BaseBoard](docs/BaseBoard.md)\n - [datto.Bios](docs/Bios.md)\n - [datto.Component](docs/Component.md)\n - [datto.ComponentVariable](docs/ComponentVariable.md)\n - [datto.ComponentsPage](docs/ComponentsPage.md)\n - [datto.CreateQuickJobRequest](docs/CreateQuickJobRequest.md)\n - [datto.CreateQuickJobResponse](docs/CreateQuickJobResponse.md)\n - [datto.CreateSiteRequest](docs/CreateSiteRequest.md)\n - [datto.Device](docs/Device.md)\n - [datto.DeviceAudit](docs/DeviceAudit.md)\n - [datto.DevicesPage](docs/DevicesPage.md)\n - [datto.DevicesStatus](docs/DevicesStatus.md)\n - [datto.DevicesType](docs/DevicesType.md)\n - [datto.Display](docs/Display.md)\n - [datto.ESXiDataExtent](docs/ESXiDataExtent.md)\n - [datto.ESXiDatastore](docs/ESXiDatastore.md)\n - [datto.ESXiHostAudit](docs/ESXiHostAudit.md)\n - [datto.ESXiNic](docs/ESXiNic.md)\n - [datto.ESXiProcessor](docs/ESXiProcessor.md)\n - [datto.ESXiSystemInfo](docs/ESXiSystemInfo.md)\n - [datto.GeneralSettings](docs/GeneralSettings.md)\n - [datto.Guest](docs/Guest.md)\n - [datto.Job](docs/Job.md)\n - [datto.JobComponent](docs/JobComponent.md)\n - [datto.JobComponentRequest](docs/JobComponentRequest.md)\n - [datto.JobComponentVariable](docs/JobComponentVariable.md)\n - [datto.JobComponentsPage](docs/JobComponentsPage.md)\n - [datto.LogicalDisk](docs/LogicalDisk.md)\n - [datto.MailRecipient](docs/MailRecipient.md)\n - [datto.MobileInfo](docs/MobileInfo.md)\n - [datto.NetworkInterface](docs/NetworkInterface.md)\n - [datto.PaginationConfiguration](docs/PaginationConfiguration.md)\n - [datto.PaginationData](docs/PaginationData.md)\n - [datto.PatchManagement](docs/PatchManagement.md)\n - [datto.PhysicalMemory](docs/PhysicalMemory.md)\n - [datto.Printer](docs/Printer.md)\n - [datto.PrinterAudit](docs/PrinterAudit.md)\n - [datto.PrinterMarkerSupply](docs/PrinterMarkerSupply.md)\n - [datto.PrinterSystemInfo](docs/PrinterSystemInfo.md)\n - [datto.Processor](docs/Processor.md)\n - [datto.ProxySettings](docs/ProxySettings.md)\n - [datto.RateStatusResponse](docs/RateStatusResponse.md)\n - [datto.ResponseAction](docs/ResponseAction.md)\n - [datto.Site](docs/Site.md)\n - [datto.SiteRequest](docs/SiteRequest.md)\n - [datto.SiteSettings](docs/SiteSettings.md)\n - [datto.SitesPage](docs/SitesPage.md)\n - [datto.SnmpInfo](docs/SnmpInfo.md)\n - [datto.Software](docs/Software.md)\n - [datto.SoftwarePage](docs/SoftwarePage.md)\n - [datto.StatusResponse](docs/StatusResponse.md)\n - [datto.SystemInfo](docs/SystemInfo.md)\n - [datto.Udf](docs/Udf.md)\n - [datto.UsersPage](docs/UsersPage.md)\n - [datto.VideoBoard](docs/VideoBoard.md)\n - [datto.Warranty](docs/Warranty.md)\n\n\n## Documentation for Authorization\n\nAll endpoints do not require authorization.\n","readmeFilename":"README.md"}