1.0.5 • Published 6 years ago

rrhet_daily_safety_check v1.0.5

Weekly downloads
1
License
Unlicense
Repository
-
Last release
6 years ago

rrhet_daily_safety_check_api

RrhetDailySafetyCheckApi - JavaScript client for rrhet_daily_safety_check_api No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.6
  • Package version: 1.0.6
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install rrhet_daily_safety_check_api --save
Local development

To 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:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your rrhet_daily_safety_check_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('rrhet_daily_safety_check_api') in javascript files from the directory you ran the last command above from.

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/rrhet_daily_safety_check_api then install it via:

    npm install YOUR_USERNAME/rrhet_daily_safety_check_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var RrhetDailySafetyCheckApi = require('rrhet_daily_safety_check_api');

var api = new RrhetDailySafetyCheckApi.DefaultApi()

var opts = { 
  'token': "token_example" // {String} The authorization token
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.appConfigurationGet(opts, callback);

Documentation for API Endpoints

All URIs are relative to https://safeview-control-test.rrhemergingtech.org/v1

ClassMethodHTTP requestDescription
RrhetDailySafetyCheckApi.DefaultApiappConfigurationGetGET /app-configuration
RrhetDailySafetyCheckApi.DefaultApiappConfigurationPutPUT /app-configuration
RrhetDailySafetyCheckApi.DefaultApiareasLocationGetGET /areas/{location}
RrhetDailySafetyCheckApi.DefaultApiareasLocationIdDeleteDELETE /areas/{location}/{id}
RrhetDailySafetyCheckApi.DefaultApiareasLocationIdGetGET /areas/{location}/{id}
RrhetDailySafetyCheckApi.DefaultApiareasLocationIdPutPUT /areas/{location}/{id}
RrhetDailySafetyCheckApi.DefaultApiareasLocationPostPOST /areas/{location}
RrhetDailySafetyCheckApi.DefaultApiareasLocationYearMonthUploadExcelSpreadsheetPostPOST /areas/{location}/{year}/{month}/upload-excel-spreadsheet
RrhetDailySafetyCheckApi.DefaultApiareasLocationsGetGET /areas/locations
RrhetDailySafetyCheckApi.DefaultApiareasNormalizedAreasGetGET /areas/normalized-areas
RrhetDailySafetyCheckApi.DefaultApichartLocationTypeStartEndGetGET /chart/{location}/{type}/{start}/{end}Returns array of measures for individual quarters in the specified period.
RrhetDailySafetyCheckApi.DefaultApicommentsCountGetGET /comments/count
RrhetDailySafetyCheckApi.DefaultApicommentsTileIdGetGET /comments/{tileId}
RrhetDailySafetyCheckApi.DefaultApicommentsTileIdIdDeleteDELETE /comments/{tileId}/{id}
RrhetDailySafetyCheckApi.DefaultApicommentsTileIdIdPutPUT /comments/{tileId}/{id}
RrhetDailySafetyCheckApi.DefaultApicommentsTileIdPostPOST /comments/{tileId}
RrhetDailySafetyCheckApi.DefaultApicompareGetGET /compare
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportBlankExcelSpreadsheetLocationYearMonthDayGetGET /daily-area-report/blank-excel-spreadsheet/{location}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportExcelSpreadsheetLocationYearMonthGetGET /daily-area-report/excel-spreadsheet/{location}/{year}/{month}
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportLocationAreaYearMonthDayGetGET /daily-area-report/{location}/{area}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportLocationAreaYearMonthDayPutPUT /daily-area-report/{location}/{area}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportLocationYearMonthDayUploadExcelSpreadsheetPostPOST /daily-area-report/{location}/{year}/{month}/{day}/upload-excel-spreadsheet
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportSummaryLocationYearMonthDayGetGET /daily-area-report/summary/{location}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportSummaryTotalsLocationYearMonthDayGetGET /daily-area-report/summary/totals/{location}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidailyAreaReportSummaryTotalsLocationYearMonthDayPostPOST /daily-area-report/summary/totals/{location}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidataServicesLoadDataSourceNamePostPOST /data-services/load/{dataSourceName}
RrhetDailySafetyCheckApi.DefaultApidataServicesTransformDataSourceNameYearMonthDayPostPOST /data-services/transform/{dataSourceName}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApidataServicesTransformDataSourceNameYearMonthPostPOST /data-services/transform/{dataSourceName}/{year}/{month}
RrhetDailySafetyCheckApi.DefaultApidataServicesTransformDataSourceNameYearPostPOST /data-services/transform/{dataSourceName}/{year}
RrhetDailySafetyCheckApi.DefaultApihierarchyHierarchyGetGET /hierarchy/{hierarchy}
RrhetDailySafetyCheckApi.DefaultApiinsightsTileIdGetGET /insights/{tileId}/
RrhetDailySafetyCheckApi.DefaultApiinsightsTileIdPutPUT /insights/{tileId}/
RrhetDailySafetyCheckApi.DefaultApikpiCategoriesGetGET /kpi-categories
RrhetDailySafetyCheckApi.DefaultApikpiCategoriesTileIdGetGET /kpi-categories/{tileId}
RrhetDailySafetyCheckApi.DefaultApikpiDataDataIdGetGET /kpi-data/{dataId}
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsDataSourcesDataIdDeleteDELETE /kpi-definitions/data-sources/{dataId}
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsDataSourcesDataIdGetGET /kpi-definitions/data-sources/{dataId}
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsDataSourcesDataIdPutPUT /kpi-definitions/data-sources/{dataId}
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsDataSourcesGetGET /kpi-definitions/data-sources
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsTilesGetGET /kpi-definitions/tiles
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsTilesTileIdDeleteDELETE /kpi-definitions/tiles/{tileId}
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsTilesTileIdGetGET /kpi-definitions/tiles/{tileId}
RrhetDailySafetyCheckApi.DefaultApikpiDefinitionsTilesTileIdPutPUT /kpi-definitions/tiles/{tileId}
RrhetDailySafetyCheckApi.DefaultApikpiDetailGetGET /kpi-detail
RrhetDailySafetyCheckApi.DefaultApimenusGetGET /menus
RrhetDailySafetyCheckApi.DefaultApiseriousSafetyEventsLocationGetGET /serious-safety-events/{location}
RrhetDailySafetyCheckApi.DefaultApiseriousSafetyEventsLocationIdDeleteDELETE /serious-safety-events/{location}/{id}
RrhetDailySafetyCheckApi.DefaultApiseriousSafetyEventsLocationPostPOST /serious-safety-events/{location}
RrhetDailySafetyCheckApi.DefaultApiseriousSafetyEventsLocationSecondsSinceLastEventGetGET /serious-safety-events/{location}/seconds-since-last-event
RrhetDailySafetyCheckApi.DefaultApisidebarsLocationYearMonthDayGetGET /sidebars/{location}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApisidebarsLocationYearMonthDayPostPOST /sidebars/{location}/{year}/{month}/{day}
RrhetDailySafetyCheckApi.DefaultApisidebarsSidebarIdDeleteDELETE /sidebars/{sidebarId}
RrhetDailySafetyCheckApi.DefaultApisidebarsSidebarIdGetGET /sidebars/{sidebarId}
RrhetDailySafetyCheckApi.DefaultApisidebarsSidebarIdPutPUT /sidebars/{sidebarId}
RrhetDailySafetyCheckApi.DefaultApiusersAppDataTileIdGetGET /users/app-data/{tileId}
RrhetDailySafetyCheckApi.DefaultApiusersAppDataTileIdPutPUT /users/app-data/{tileId}
RrhetDailySafetyCheckApi.DefaultApiusersGetGET /users
RrhetDailySafetyCheckApi.DefaultApiusersHiddenGetGET /users/hidden
RrhetDailySafetyCheckApi.DefaultApiusersPutPUT /users
RrhetDailySafetyCheckApi.DefaultApiusersTileIdWatchDeleteDELETE /users/{tileId}/watch
RrhetDailySafetyCheckApi.DefaultApiusersTileIdWatchPutPUT /users/{tileId}/watch
RrhetDailySafetyCheckApi.DefaultApiusersWatchGetGET /users/watch
RrhetDailySafetyCheckApi.DefaultApiviewsCountGetGET /views/count
RrhetDailySafetyCheckApi.DefaultApiviewsTileIdCountGetGET /views/{tileId}/count
RrhetDailySafetyCheckApi.DefaultApiviewsTileIdPutPUT /views/{tileId}

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.45

6 years ago