Skip to content

Commit 7e6da2f

Browse files
authored
Merge pull request #132 from sipgate/feature/lignotrend
adding custom IntegrationEntityTypes for lignotrend
2 parents d58b16d + 1fd3bed commit 7e6da2f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sipgate/integration-bridge",
3-
"version": "1.0.27",
3+
"version": "1.0.28",
44
"description": "sipgate Integration Bridge Framework",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/models/integration-entity.model.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ type AdditionalProperties = {
2525
[IntegrationEntityType.ACCOUNTS]?: never;
2626
[IntegrationEntityType.OPPORTUNITIES]?: never;
2727
[IntegrationEntityType.CASES]?: never;
28+
[IntegrationEntityType.BUILDING_OBJECTS]?: never;
29+
[IntegrationEntityType.BUILDING_OBJECTS_LEADS]?: never;
2830
[IntegrationEntityType.CONTACTS_FOLDER]?: never;
2931
[IntegrationEntityType.USERS]?: never;
3032
[IntegrationEntityType.TASKS]?: never;
@@ -45,6 +47,9 @@ export enum IntegrationEntityType {
4547
ACCOUNTS = 'accounts',
4648
OPPORTUNITIES = 'opportunities',
4749
CASES = 'cases',
50+
// lignotrend-salesforce specific
51+
BUILDING_OBJECTS = 'building_objects',
52+
BUILDING_OBJECTS_LEADS = 'building_objects_leads',
4853
// outlook specific
4954
CONTACTS_FOLDER = 'contacts_folder',
5055
// outlook and sipgate

0 commit comments

Comments
 (0)