@sipgate/integration-bridge 0.14.7 → 0.14.9

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.
@@ -14,6 +14,9 @@ export interface Adapter {
14
14
  updateCalendarEvent?: (config: Config, id: string, event: CalendarEventTemplate) => Promise<CalendarEvent>;
15
15
  updateCallEvent?: (config: Config, id: string, event: CallEvent) => Promise<void>;
16
16
  deleteCalendarEvent?: (config: Config, id: string) => Promise<void>;
17
+ /** @deprecated handleCallEvent should be replaced by createCallLogsForEntities.
18
+ * Please do no longer implement handleCallEvent in new bridges.
19
+ * */
17
20
  handleCallEvent?: (config: Config, event: CallEvent) => Promise<string>;
18
21
  createCallLogsForEntities?: (config: Config, event: CallEventWithIntegrationEntities) => Promise<LoggedIntegrationEntity[]>;
19
22
  getEntity?: (providerConfig: Config, id: string, type: IntegrationEntityType) => Promise<LabeledIntegrationEntity | null>;
@@ -15,5 +15,8 @@ export declare enum IntegrationEntityType {
15
15
  COMPANIES = "companies",
16
16
  LEADS = "leads",
17
17
  ACCOUNTS = "accounts",
18
- OPPORTUNITIES = "opportunities"
18
+ OPPORTUNITIES = "opportunities",
19
+ CASES = "cases",
20
+ CONTACTS_FOLDER = "contacts-folder",
21
+ USERS = "users"
19
22
  }
@@ -11,5 +11,10 @@ var IntegrationEntityType;
11
11
  IntegrationEntityType["LEADS"] = "leads";
12
12
  IntegrationEntityType["ACCOUNTS"] = "accounts";
13
13
  IntegrationEntityType["OPPORTUNITIES"] = "opportunities";
14
+ IntegrationEntityType["CASES"] = "cases";
15
+ // outlook specific
16
+ IntegrationEntityType["CONTACTS_FOLDER"] = "contacts-folder";
17
+ // outlook and sipgate
18
+ IntegrationEntityType["USERS"] = "users";
14
19
  })(IntegrationEntityType = exports.IntegrationEntityType || (exports.IntegrationEntityType = {}));
15
20
  //# sourceMappingURL=integration-entity.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"integration-entity.model.js","sourceRoot":"","sources":["../../src/models/integration-entity.model.ts"],"names":[],"mappings":";;;AAcA,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,mBAAmB;IACnB,wCAAe,CAAA;IACf,gDAAuB,CAAA;IACvB,uBAAuB;IACvB,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,wDAA+B,CAAA;AACjC,CAAC,EATW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAShC"}
1
+ {"version":3,"file":"integration-entity.model.js","sourceRoot":"","sources":["../../src/models/integration-entity.model.ts"],"names":[],"mappings":";;;AAcA,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,mBAAmB;IACnB,wCAAe,CAAA;IACf,gDAAuB,CAAA;IACvB,uBAAuB;IACvB,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,wDAA+B,CAAA;IAC/B,wCAAe,CAAA;IACf,mBAAmB;IACnB,4DAAmC,CAAA;IACnC,sBAAsB;IACtB,wCAAe,CAAA;AACjB,CAAC,EAdW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAchC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sipgate/integration-bridge",
3
- "version": "0.14.7",
3
+ "version": "0.14.9",
4
4
  "description": "sipgate Integration Bridge Framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -51,11 +51,11 @@
51
51
  "@types/express": "4.17.17",
52
52
  "@types/jest": "^29.4.0",
53
53
  "@types/lru-cache": "7.10.9",
54
- "@types/node": "18.16.0",
54
+ "@types/node": "18.16.5",
55
55
  "@types/redis": "4.0.10",
56
56
  "husky": "8.0.3",
57
57
  "jest": "^29.4.0",
58
- "lint-staged": "13.2.1",
58
+ "lint-staged": "13.2.2",
59
59
  "node-mocks-http": "1.12.2",
60
60
  "prettier": "2.8.8",
61
61
  "rimraf": "3.0.2",