@friggframework/api-module-pipedrive 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # pipedrive
2
+
3
+ This is the API Module for pipedrive that allows the [Frigg](https://friggframework.org) code to talk to the pipedrive API.
4
+
5
+ Read more on the [Frigg documentation site](https://docs.friggframework.org/api-modules/list/pipedrive
package/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const OAuth2Base = require('../../base/auth/OAuth2Base');
2
2
 
3
- class PipedriveAPI extends OAuth2Base {
3
+ class Api extends OAuth2Base {
4
4
  constructor(params) {
5
5
  super(params);
6
6
 
@@ -114,4 +114,4 @@ class PipedriveAPI extends OAuth2Base {
114
114
  return res;
115
115
  }
116
116
  }
117
- module.exports = PipedriveAPI;
117
+ module.exports = { Api };
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const { Api } = require('./api');
2
2
  const { Credential } = require('./models/credential');
3
3
  const { Entity } = require('./models/entity');
4
- const { ModuleManager } = require('./manager');
4
+ const ModuleManager = require('./manager');
5
5
  const Config = require('./defaultConfig');
6
6
 
7
7
  module.exports = {
package/manager.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const _ = require('lodash');
2
- const Api = require('./api.js');
2
+ const { Api } = require('./api.js');
3
3
  const Entity = require('./models/entity');
4
4
  const Credential = require('./models/credential');
5
5
  const LHModuleManager = require('../../base/managers/LHModuleManager');
package/models/entity.js CHANGED
@@ -23,4 +23,4 @@ class Entity extends Parent {
23
23
  }
24
24
  }
25
25
 
26
- module.exports = Entity;
26
+ module.exports = { Entity };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.1",
2
+ "version": "0.8.2",
3
3
  "name": "@friggframework/api-module-pipedrive",
4
4
  "prettier": "@friggframework/prettier-config",
5
5
  "description": "",