@codetanzania/emis-api-client
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -0,1 +1,7 @@ | ||
#### 0.6.0 (2019-01-29) | ||
##### New Features | ||
* add alert source http actions ([4b9ac10b](https://github.com/CodeTanzania/emis-api-client/commit/4b9ac10b0db0a5a2cec80dfc40317e01ef15f938)) | ||
#### 0.5.1 (2019-01-28) | ||
@@ -2,0 +8,0 @@ |
@@ -459,2 +459,12 @@ import axios from 'axios'; | ||
const { | ||
getAlertSourceSchema, | ||
getAlertSources, | ||
getAlertSource, | ||
postAlertSource, | ||
putAlertSource, | ||
patchAlertSource, | ||
deleteAlertSource, | ||
} = createHttpActionsFor('alertSource'); | ||
const { | ||
getAssessmentSchema, | ||
@@ -609,2 +619,2 @@ getAssessments, | ||
export { getSchemas, getActivitySchema, getActivities, getActivity, postActivity, putActivity, patchActivity, deleteActivity, getAdjustmentSchema, getAdjustments, getAdjustment, postAdjustment, putAdjustment, patchAdjustment, deleteAdjustment, getAlertSchema, getAlerts, getAlert, postAlert, putAlert, patchAlert, deleteAlert, getAssessmentSchema, getAssessments, getAssessment, postAssessment, putAssessment, patchAssessment, deleteAssessment, getFeatureSchema, getFeatures, getFeature, postFeature, putFeature, patchFeature, deleteFeature, getIncidentSchema, getIncidents, getIncident, postIncident, putIncident, patchIncident, deleteIncident, getIncidentTypeSchema, getIncidentTypes, getIncidentType, postIncidentType, putIncidentType, patchIncidentType, deleteIncidentType, getIndicatorSchema, getIndicators, getIndicator, postIndicator, putIndicator, patchIndicator, deleteIndicator, getItemSchema, getItems, getItem, postItem, putItem, patchItem, deleteItem, getPartySchema, getPartySchema as getStakeholderSchema, getParties, getParties as getStakeholders, getParty, getParty as getStakeholder, postParty, postParty as postStakeholder, putParty, putParty as putStakeholder, patchParty, patchParty as patchStakeholder, deleteParty, deleteParty as deleteStakeholder, getPermissionSchema, getPermissions, getPermission, postPermission, putPermission, patchPermission, deletePermission, getPlanSchema, getPlans, getPlan, postPlan, putPlan, patchPlan, deletePlan, getProcedureSchema, getProcedures, getProcedure, postProcedure, putProcedure, patchProcedure, deleteProcedure, getQuestionSchema, getQuestions, getQuestion, postQuestion, putQuestion, patchQuestion, deleteQuestion, getQuestionnaireSchema, getQuestionnaires, getQuestionnaire, postQuestionnaire, putQuestionnaire, patchQuestionnaire, deleteQuestionnaire, getRoleSchema, getRoles, getRole, postRole, putRole, patchRole, deleteRole, getStockSchema, getStocks, getStock, postStock, putStock, patchStock, deleteStock, getWarehouseSchema, getWarehouses, getWarehouse, postWarehouse, putWarehouse, patchWarehouse, deleteWarehouse, CONTENT_TYPE, HEADERS, prepareParams, createHttpClient, disposeHttpClient, all, spread, get, post, put, patch, del, createHttpActionsFor }; | ||
export { getSchemas, getActivitySchema, getActivities, getActivity, postActivity, putActivity, patchActivity, deleteActivity, getAdjustmentSchema, getAdjustments, getAdjustment, postAdjustment, putAdjustment, patchAdjustment, deleteAdjustment, getAlertSchema, getAlerts, getAlert, postAlert, putAlert, patchAlert, deleteAlert, getAlertSourceSchema, getAlertSources, getAlertSource, postAlertSource, putAlertSource, patchAlertSource, deleteAlertSource, getAssessmentSchema, getAssessments, getAssessment, postAssessment, putAssessment, patchAssessment, deleteAssessment, getFeatureSchema, getFeatures, getFeature, postFeature, putFeature, patchFeature, deleteFeature, getIncidentSchema, getIncidents, getIncident, postIncident, putIncident, patchIncident, deleteIncident, getIncidentTypeSchema, getIncidentTypes, getIncidentType, postIncidentType, putIncidentType, patchIncidentType, deleteIncidentType, getIndicatorSchema, getIndicators, getIndicator, postIndicator, putIndicator, patchIndicator, deleteIndicator, getItemSchema, getItems, getItem, postItem, putItem, patchItem, deleteItem, getPartySchema, getPartySchema as getStakeholderSchema, getParties, getParties as getStakeholders, getParty, getParty as getStakeholder, postParty, postParty as postStakeholder, putParty, putParty as putStakeholder, patchParty, patchParty as patchStakeholder, deleteParty, deleteParty as deleteStakeholder, getPermissionSchema, getPermissions, getPermission, postPermission, putPermission, patchPermission, deletePermission, getPlanSchema, getPlans, getPlan, postPlan, putPlan, patchPlan, deletePlan, getProcedureSchema, getProcedures, getProcedure, postProcedure, putProcedure, patchProcedure, deleteProcedure, getQuestionSchema, getQuestions, getQuestion, postQuestion, putQuestion, patchQuestion, deleteQuestion, getQuestionnaireSchema, getQuestionnaires, getQuestionnaire, postQuestionnaire, putQuestionnaire, patchQuestionnaire, deleteQuestionnaire, getRoleSchema, getRoles, getRole, postRole, putRole, patchRole, deleteRole, getStockSchema, getStocks, getStock, postStock, putStock, patchStock, deleteStock, getWarehouseSchema, getWarehouses, getWarehouse, postWarehouse, putWarehouse, patchWarehouse, deleteWarehouse, CONTENT_TYPE, HEADERS, prepareParams, createHttpClient, disposeHttpClient, all, spread, get, post, put, patch, del, createHttpActionsFor }; |
@@ -465,2 +465,12 @@ 'use strict'; | ||
const { | ||
getAlertSourceSchema, | ||
getAlertSources, | ||
getAlertSource, | ||
postAlertSource, | ||
putAlertSource, | ||
patchAlertSource, | ||
deleteAlertSource, | ||
} = createHttpActionsFor('alertSource'); | ||
const { | ||
getAssessmentSchema, | ||
@@ -637,2 +647,9 @@ getAssessments, | ||
exports.deleteAlert = deleteAlert; | ||
exports.getAlertSourceSchema = getAlertSourceSchema; | ||
exports.getAlertSources = getAlertSources; | ||
exports.getAlertSource = getAlertSource; | ||
exports.postAlertSource = postAlertSource; | ||
exports.putAlertSource = putAlertSource; | ||
exports.patchAlertSource = patchAlertSource; | ||
exports.deleteAlertSource = deleteAlertSource; | ||
exports.getAssessmentSchema = getAssessmentSchema; | ||
@@ -639,0 +656,0 @@ exports.getAssessments = getAssessments; |
{ | ||
"name": "@codetanzania/emis-api-client", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "http client for EMIS API.", | ||
@@ -51,3 +51,3 @@ "main": "lib/index.js", | ||
"eslint-config-prettier": "^4.0.0", | ||
"eslint-plugin-import": "^2.15.0", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-mocha": "^5.2.1", | ||
@@ -58,3 +58,3 @@ "eslint-plugin-prettier": "^3.0.1", | ||
"inflection": "^1.12.0", | ||
"lint-staged": "^8.1.0", | ||
"lint-staged": "^8.1.1", | ||
"lodash": ">=4.17.11", | ||
@@ -61,0 +61,0 @@ "mocha": "^5.2.0", |
@@ -45,2 +45,12 @@ import { get, createHttpActionsFor } from './client'; | ||
export const { | ||
getAlertSourceSchema, | ||
getAlertSources, | ||
getAlertSource, | ||
postAlertSource, | ||
putAlertSource, | ||
patchAlertSource, | ||
deleteAlertSource, | ||
} = createHttpActionsFor('alertSource'); | ||
export const { | ||
getAssessmentSchema, | ||
@@ -47,0 +57,0 @@ getAssessments, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68588
1923