@bigfootai/bigfoot-types 5.4.290 → 5.4.291
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/dist/metadata/providers/clickhouse.d.ts +4 -0
- package/dist/metadata/providers/clickhouse.d.ts.map +1 -0
- package/dist/metadata/providers/clickhouse.js +45 -0
- package/dist/metadata/providers/clickhouse.js.map +1 -0
- package/dist/metadata/providers/freshdesk.d.ts +4 -0
- package/dist/metadata/providers/freshdesk.d.ts.map +1 -0
- package/dist/metadata/providers/freshdesk.js +133 -0
- package/dist/metadata/providers/freshdesk.js.map +1 -0
- package/dist/metadata/providers/generate.js +22 -21
- package/dist/metadata/providers/generate.js.map +1 -1
- package/dist/metadata/providers/hubspot.d.ts.map +1 -1
- package/dist/metadata/providers/hubspot.js +77 -8
- package/dist/metadata/providers/hubspot.js.map +1 -1
- package/dist/metadata/providers/index.d.ts +4 -1
- package/dist/metadata/providers/index.d.ts.map +1 -1
- package/dist/metadata/providers/index.js +4 -1
- package/dist/metadata/providers/index.js.map +1 -1
- package/dist/metadata/providers/intercom.d.ts +4 -0
- package/dist/metadata/providers/intercom.d.ts.map +1 -0
- package/dist/metadata/providers/intercom.js +103 -0
- package/dist/metadata/providers/intercom.js.map +1 -0
- package/dist/metadata/providers/powerbi.d.ts +4 -0
- package/dist/metadata/providers/powerbi.d.ts.map +1 -0
- package/dist/metadata/providers/powerbi.js +45 -0
- package/dist/metadata/providers/powerbi.js.map +1 -0
- package/dist/navigation.d.ts +2 -0
- package/dist/navigation.d.ts.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
- package/src/metadata/providers/clickhouse.ts +47 -0
- package/src/metadata/providers/freshdesk.ts +136 -0
- package/src/metadata/providers/generate.ts +21 -21
- package/src/metadata/providers/hubspot.ts +78 -8
- package/src/metadata/providers/index.ts +4 -1
- package/src/metadata/providers/intercom.ts +106 -0
- package/src/metadata/providers/powerbi.ts +47 -0
- package/src/navigation.ts +2 -0
- package/src/types.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clickhouse.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/clickhouse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGvE,eAAO,MAAM,mBAAmB,EAAE,mBA0BjC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAaxB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BlockType } from '../../block-type.js';
|
|
2
|
+
import { ORGANIZATION } from '../../constants.js';
|
|
3
|
+
import { TagType } from '../../tag-type.js';
|
|
4
|
+
export const ClickHouseAnalytics = {
|
|
5
|
+
name: 'analytics',
|
|
6
|
+
sobjects: {
|
|
7
|
+
calendar: false,
|
|
8
|
+
transcription: false,
|
|
9
|
+
message: false,
|
|
10
|
+
email: false,
|
|
11
|
+
table: true,
|
|
12
|
+
function: false,
|
|
13
|
+
},
|
|
14
|
+
description: 'Query ClickHouse tables and views to surface insights directly in Noded.',
|
|
15
|
+
iconUrl: 'https://connect-clickhouse-dev.getnoded.ai/images/logo.svg',
|
|
16
|
+
label: 'ClickHouse Analytics',
|
|
17
|
+
authentication: true,
|
|
18
|
+
externalStorage: false,
|
|
19
|
+
externalInsights: true,
|
|
20
|
+
externalIds: [
|
|
21
|
+
{
|
|
22
|
+
label: 'Account',
|
|
23
|
+
blockType: BlockType.Record,
|
|
24
|
+
tagType: TagType.Topic,
|
|
25
|
+
metadataType: 'account',
|
|
26
|
+
tagSubType: ORGANIZATION,
|
|
27
|
+
requireExternalId: true,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
export const ClickHouse = {
|
|
32
|
+
_id: '2cc5eacb627a8846df11319a',
|
|
33
|
+
archived: false,
|
|
34
|
+
dateCreated: 0,
|
|
35
|
+
dateUpdated: 0,
|
|
36
|
+
name: 'clickhouse',
|
|
37
|
+
description: 'ClickHouse integration for Noded',
|
|
38
|
+
instanceUrl: 'https://connect-clickhouse-dev.getnoded.ai',
|
|
39
|
+
applications: [ClickHouseAnalytics],
|
|
40
|
+
label: 'ClickHouse',
|
|
41
|
+
iconUrl: 'https://connect-clickhouse-dev.getnoded.ai/images/logo.svg',
|
|
42
|
+
promptMetadata: [],
|
|
43
|
+
tableMetadata: [],
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=clickhouse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clickhouse.js","sourceRoot":"","sources":["../../../src/metadata/providers/clickhouse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,CAAC,MAAM,mBAAmB,GAAwB;IACvD,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE;QACT,QAAQ,EAAE,KAAK;QACf,aAAa,EAAE,KAAK;QACpB,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,KAAK;KACf;IACD,WAAW,EAAE,0EAA0E;IACvF,OAAO,EAAE,4DAA4D;IACrE,KAAK,EAAE,sBAAsB;IAC7B,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,KAAK;IACtB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE;QACZ;YACC,KAAK,EAAE,SAAS;YAChB,SAAS,EAAE,SAAS,CAAC,MAAM;YAC3B,OAAO,EAAE,OAAO,CAAC,KAAK;YACtB,YAAY,EAAE,SAAS;YACvB,UAAU,EAAE,YAAY;YACxB,iBAAiB,EAAE,IAAI;SACvB;KACD;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAa;IACnC,GAAG,EAAE,0BAA0B;IAC/B,QAAQ,EAAE,KAAK;IACf,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,CAAC;IACd,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,kCAAkC;IAC/C,WAAW,EAAE,4CAA4C;IACzD,YAAY,EAAE,CAAC,mBAAmB,CAAC;IACnC,KAAK,EAAE,YAAY;IACnB,OAAO,EAAE,4DAA4D;IACrE,cAAc,EAAE,EAAE;IAClB,aAAa,EAAE,EAAE;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"freshdesk.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/freshdesk.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAyEvE,eAAO,MAAM,gBAAgB,EAAE,mBA4C9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAavB,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { BlockType } from '../../block-type.js';
|
|
2
|
+
import { FieldType } from '../../field-type.js';
|
|
3
|
+
import { FieldVariation } from '../../field-variation.js';
|
|
4
|
+
import { SearchOperator } from '../../query-metadata.js';
|
|
5
|
+
import { TagType } from '../../tag-type.js';
|
|
6
|
+
const TicketQuery = {
|
|
7
|
+
label: 'Ticket',
|
|
8
|
+
description: 'Search for tickets in Freshdesk',
|
|
9
|
+
metadataType: 'ticket',
|
|
10
|
+
searchFields: [
|
|
11
|
+
{
|
|
12
|
+
field: {
|
|
13
|
+
label: 'Status',
|
|
14
|
+
name: 'status',
|
|
15
|
+
description: 'The status of the ticket',
|
|
16
|
+
fieldType: FieldType.Select,
|
|
17
|
+
readOnly: true,
|
|
18
|
+
visible: true,
|
|
19
|
+
source: 'system',
|
|
20
|
+
options: [
|
|
21
|
+
{ label: 'Open', value: '2' },
|
|
22
|
+
{ label: 'Pending', value: '3' },
|
|
23
|
+
{ label: 'Resolved', value: '4' },
|
|
24
|
+
{ label: 'Closed', value: '5' },
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
operators: [SearchOperator.Equals],
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
field: {
|
|
31
|
+
label: 'Priority',
|
|
32
|
+
name: 'priority',
|
|
33
|
+
description: 'The priority of the ticket',
|
|
34
|
+
fieldType: FieldType.Select,
|
|
35
|
+
readOnly: true,
|
|
36
|
+
visible: true,
|
|
37
|
+
source: 'system',
|
|
38
|
+
options: [
|
|
39
|
+
{ label: 'Low', value: '1' },
|
|
40
|
+
{ label: 'Medium', value: '2' },
|
|
41
|
+
{ label: 'High', value: '3' },
|
|
42
|
+
{ label: 'Urgent', value: '4' },
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
operators: [SearchOperator.Equals],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
field: {
|
|
49
|
+
label: 'Tag',
|
|
50
|
+
name: 'tag',
|
|
51
|
+
description: 'A tag applied to the ticket',
|
|
52
|
+
fieldType: FieldType.Text,
|
|
53
|
+
readOnly: true,
|
|
54
|
+
visible: true,
|
|
55
|
+
source: 'system',
|
|
56
|
+
},
|
|
57
|
+
operators: [SearchOperator.Equals],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
field: {
|
|
61
|
+
label: 'Created At',
|
|
62
|
+
name: 'created_at',
|
|
63
|
+
description: 'When the ticket was created',
|
|
64
|
+
fieldType: FieldType.Text,
|
|
65
|
+
fieldVariation: FieldVariation.Date,
|
|
66
|
+
readOnly: true,
|
|
67
|
+
visible: true,
|
|
68
|
+
source: 'system',
|
|
69
|
+
},
|
|
70
|
+
operators: [SearchOperator.Gte, SearchOperator.Lte, SearchOperator.Between],
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
};
|
|
74
|
+
export const FreshdeskSupport = {
|
|
75
|
+
name: 'support',
|
|
76
|
+
sobjects: {
|
|
77
|
+
calendar: false,
|
|
78
|
+
transcription: false,
|
|
79
|
+
message: false,
|
|
80
|
+
email: false,
|
|
81
|
+
table: true,
|
|
82
|
+
function: false,
|
|
83
|
+
},
|
|
84
|
+
linkSubscriptions: ['*.freshdesk.com'],
|
|
85
|
+
// Agent-portal URLs: https://<sub>.freshdesk.com/a/{tickets|contacts|companies}/{id}
|
|
86
|
+
linkToExternalIdRegex: '/a/(?:tickets|contacts|companies)/(\\d+)',
|
|
87
|
+
tableSubscriptions: ['ticket'],
|
|
88
|
+
queryTypeSubscriptions: [TicketQuery.metadataType],
|
|
89
|
+
description: "Add Ticket previews and monitor changes over time so you're always up-to-date.",
|
|
90
|
+
iconUrl: 'https://connect-freshdesk-dev.getnoded.ai/images/logo.png',
|
|
91
|
+
label: 'Freshdesk Support',
|
|
92
|
+
authentication: true,
|
|
93
|
+
externalStorage: true,
|
|
94
|
+
externalInsights: false,
|
|
95
|
+
externalIds: [
|
|
96
|
+
{
|
|
97
|
+
label: 'Company',
|
|
98
|
+
blockType: BlockType.Record,
|
|
99
|
+
tagType: TagType.Topic,
|
|
100
|
+
tagSubType: 'organization',
|
|
101
|
+
metadataType: 'company',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
label: 'Requester',
|
|
105
|
+
blockType: BlockType.Record,
|
|
106
|
+
tagType: TagType.Person,
|
|
107
|
+
tagSubType: 'contact',
|
|
108
|
+
metadataType: 'contact',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: 'Agent',
|
|
112
|
+
blockType: BlockType.Record,
|
|
113
|
+
tagType: TagType.Person,
|
|
114
|
+
tagSubType: 'user',
|
|
115
|
+
metadataType: 'agent',
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
};
|
|
119
|
+
export const Freshdesk = {
|
|
120
|
+
_id: 'e248e537ab81831ae8563aa6',
|
|
121
|
+
archived: false,
|
|
122
|
+
dateCreated: 0,
|
|
123
|
+
dateUpdated: 0,
|
|
124
|
+
name: 'freshdesk',
|
|
125
|
+
description: 'Freshdesk automation for Noded',
|
|
126
|
+
instanceUrl: 'https://connect-freshdesk-dev.getnoded.ai',
|
|
127
|
+
applications: [FreshdeskSupport],
|
|
128
|
+
label: 'Freshdesk',
|
|
129
|
+
iconUrl: 'https://connect-freshdesk-dev.getnoded.ai/images/logo.png',
|
|
130
|
+
promptMetadata: [],
|
|
131
|
+
queryMetadata: [TicketQuery],
|
|
132
|
+
};
|
|
133
|
+
//# sourceMappingURL=freshdesk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"freshdesk.js","sourceRoot":"","sources":["../../../src/metadata/providers/freshdesk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAsB,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,GAAkB;IAClC,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,iCAAiC;IAC9C,YAAY,EAAE,QAAQ;IACtB,YAAY,EAAE;QACb;YACC,KAAK,EAAE;gBACN,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;gBACvC,SAAS,EAAE,SAAS,CAAC,MAAM;gBAC3B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE,QAAQ;gBAChB,OAAO,EAAE;oBACR,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;oBAC7B,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE;oBAChC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,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QAAQ,EAAE,KAAK;IACf,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,CAAC;IACd,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,2CAA2C;IACxD,YAAY,EAAE,CAAC,gBAAgB,CAAC;IAChC,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,2DAA2D;IACpE,cAAc,EAAE,EAAE;IAClB,aAAa,EAAE,CAAC,WAAW,CAAC;CAC5B,CAAC"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
// import * as fs from 'node:fs';
|
|
2
|
-
// import { G2 } from './g2.js';
|
|
3
|
-
// import { Gong } from './gong.js';
|
|
4
|
-
// import { Zoom } from './zoom.js';
|
|
5
|
-
// import { Google } from './google.js';
|
|
6
|
-
// import { HubSpot } from './hubspot.js';
|
|
7
|
-
// import { Linear } from './linear.js';
|
|
8
|
-
// import { Noded } from './noded.js';
|
|
9
|
-
// import { Salesforce } from './salesforce.js';
|
|
10
|
-
// import { Slack } from './slack.js';
|
|
11
1
|
export {};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
/*import * as fs from 'node:fs';
|
|
3
|
+
import * as path from 'node:path';
|
|
4
|
+
import type { Provider } from '../../provider.js';
|
|
5
|
+
import { ClickHouse } from './clickhouse.js';
|
|
6
|
+
import { Freshdesk } from './freshdesk.js';
|
|
7
|
+
import { HubSpot } from './hubspot.js';
|
|
8
|
+
import { Intercom } from './intercom.js';
|
|
9
|
+
import { PowerBI } from './powerbi.js';
|
|
10
|
+
|
|
11
|
+
const providers: Provider[] = [ClickHouse, Freshdesk, HubSpot, Intercom, PowerBI];
|
|
12
|
+
|
|
13
|
+
export const generateProviders = (outDir: string = import.meta.dirname) => {
|
|
14
|
+
for (const provider of providers) {
|
|
15
|
+
fs.writeFileSync(path.join(outDir, `${provider.name}.json`), JSON.stringify(provider, null, 2));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// Run directly: `tsx generate.ts` to (re)generate the provider JSON files.
|
|
20
|
+
if (process.argv[1] === import.meta.filename) {
|
|
21
|
+
generateProviders();
|
|
22
|
+
}
|
|
23
|
+
*/
|
|
23
24
|
//# sourceMappingURL=generate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/metadata/providers/generate.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/metadata/providers/generate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hubspot.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/hubspot.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hubspot.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/hubspot.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAiEvE,eAAO,MAAM,UAAU,EAAE,mBAgDxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,QAarB,CAAC"}
|
|
@@ -1,6 +1,69 @@
|
|
|
1
1
|
import { BlockType } from '../../block-type.js';
|
|
2
2
|
import { ORGANIZATION } from '../../constants.js';
|
|
3
|
+
import { FieldType } from '../../field-type.js';
|
|
4
|
+
import { FieldVariation } from '../../field-variation.js';
|
|
5
|
+
import { SearchOperator } from '../../query-metadata.js';
|
|
3
6
|
import { TagType } from '../../tag-type.js';
|
|
7
|
+
const CompanyQuery = {
|
|
8
|
+
label: 'Company',
|
|
9
|
+
description: 'Search for companies in HubSpot CRM',
|
|
10
|
+
metadataType: 'companies',
|
|
11
|
+
searchFields: [
|
|
12
|
+
{
|
|
13
|
+
field: {
|
|
14
|
+
label: 'Company Name',
|
|
15
|
+
name: 'name',
|
|
16
|
+
description: 'The name of the company',
|
|
17
|
+
fieldType: FieldType.Text,
|
|
18
|
+
fieldVariation: null,
|
|
19
|
+
readOnly: true,
|
|
20
|
+
visible: true,
|
|
21
|
+
source: 'system',
|
|
22
|
+
},
|
|
23
|
+
defaultFor: 'name',
|
|
24
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains, SearchOperator.StartsWith],
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
field: {
|
|
28
|
+
label: 'Domain',
|
|
29
|
+
name: 'domain',
|
|
30
|
+
description: 'The primary domain of the company',
|
|
31
|
+
fieldType: FieldType.Text,
|
|
32
|
+
fieldVariation: FieldVariation.Url,
|
|
33
|
+
readOnly: true,
|
|
34
|
+
visible: true,
|
|
35
|
+
source: 'system',
|
|
36
|
+
},
|
|
37
|
+
defaultFor: 'url',
|
|
38
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains, SearchOperator.StartsWith],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
field: {
|
|
42
|
+
label: 'Phone',
|
|
43
|
+
name: 'phone',
|
|
44
|
+
description: 'The primary phone number of the company',
|
|
45
|
+
fieldType: FieldType.Text,
|
|
46
|
+
fieldVariation: FieldVariation.Phone,
|
|
47
|
+
readOnly: true,
|
|
48
|
+
visible: true,
|
|
49
|
+
source: 'system',
|
|
50
|
+
},
|
|
51
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
field: {
|
|
55
|
+
label: 'Industry',
|
|
56
|
+
name: 'industry',
|
|
57
|
+
description: 'The industry the company belongs to',
|
|
58
|
+
fieldType: FieldType.Select,
|
|
59
|
+
readOnly: true,
|
|
60
|
+
visible: true,
|
|
61
|
+
source: 'system',
|
|
62
|
+
},
|
|
63
|
+
operators: [SearchOperator.Equals],
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
};
|
|
4
67
|
export const HubSpotCrm = {
|
|
5
68
|
name: 'crm',
|
|
6
69
|
sobjects: {
|
|
@@ -13,35 +76,40 @@ export const HubSpotCrm = {
|
|
|
13
76
|
},
|
|
14
77
|
// CRM record pages only (universal /record/ route covers Contacts, Companies, Deals, and custom objects). Reports, settings, marketing surfaces fall through to website ingestion.
|
|
15
78
|
linkSubscriptions: ['^https://app\\.hubspot\\.com/contacts/\\d+/record/'],
|
|
16
|
-
|
|
17
|
-
|
|
79
|
+
// Record id is the trailing numeric path segment: .../record/{objectTypeId}/{recordId}
|
|
80
|
+
linkToExternalIdRegex: '(?<=/record/[\\w-]+/)\\d+',
|
|
81
|
+
tableSubscriptions: ['noded.opportunity', 'noded.case', 'companies', 'contacts', 'deals', 'tickets'],
|
|
82
|
+
queryTypeSubscriptions: [CompanyQuery.metadataType],
|
|
18
83
|
description: "Add Ticket and Deal previews and monitor changes over time so you're always up-to-date.",
|
|
19
84
|
iconUrl: 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
|
|
20
85
|
label: 'HubSpot CRM',
|
|
21
86
|
authentication: true,
|
|
22
87
|
externalStorage: true,
|
|
23
|
-
externalInsights:
|
|
88
|
+
externalInsights: true,
|
|
24
89
|
externalIds: [
|
|
25
90
|
{
|
|
26
|
-
label: '
|
|
91
|
+
label: 'Company',
|
|
27
92
|
blockType: BlockType.Record,
|
|
28
93
|
tagType: TagType.Topic,
|
|
29
94
|
tagSubType: ORGANIZATION,
|
|
30
|
-
metadataType: '
|
|
95
|
+
metadataType: 'companies',
|
|
96
|
+
requireExternalId: true,
|
|
31
97
|
},
|
|
32
98
|
{
|
|
33
99
|
label: 'Contact',
|
|
34
100
|
blockType: BlockType.Record,
|
|
35
101
|
tagType: TagType.Person,
|
|
36
102
|
tagSubType: 'contact',
|
|
37
|
-
metadataType: '
|
|
103
|
+
metadataType: 'contacts',
|
|
104
|
+
requireExternalId: true,
|
|
38
105
|
},
|
|
39
106
|
{
|
|
40
|
-
label: '
|
|
107
|
+
label: 'Owner',
|
|
41
108
|
blockType: BlockType.Record,
|
|
42
109
|
tagType: TagType.Person,
|
|
43
110
|
tagSubType: 'user',
|
|
44
|
-
metadataType: '
|
|
111
|
+
metadataType: 'owners',
|
|
112
|
+
requireExternalId: true,
|
|
45
113
|
},
|
|
46
114
|
],
|
|
47
115
|
};
|
|
@@ -57,5 +125,6 @@ export const HubSpot = {
|
|
|
57
125
|
label: 'HubSpot',
|
|
58
126
|
iconUrl: 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
|
|
59
127
|
promptMetadata: [],
|
|
128
|
+
queryMetadata: [CompanyQuery],
|
|
60
129
|
};
|
|
61
130
|
//# sourceMappingURL=hubspot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hubspot.js","sourceRoot":"","sources":["../../../src/metadata/providers/hubspot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"hubspot.js","sourceRoot":"","sources":["../../../src/metadata/providers/hubspot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAsB,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,YAAY,GAAkB;IACnC,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,qCAAqC;IAClD,YAAY,EAAE,WAAW;IACzB,YAAY,EAAE;QACb;YACC,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,MAAM;YACvB,UAAU,EAAE,MAAM;YAClB,YAAY,EAAE,QAAQ;YACtB,iBAAiB,EAAE,IAAI;SACvB;KACD;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAa;IAChC,GAAG,EAAE,0BAA0B;IAC/B,QAAQ,EAAE,KAAK;IACf,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,CAAC;IACd,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE,yCAAyC;IACtD,YAAY,EAAE,CAAC,UAAU,CAAC;IAC1B,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,6EAA6E;IACtF,cAAc,EAAE,EAAE;IAClB,aAAa,EAAE,CAAC,YAAY,CAAC;CAC7B,CAAC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
export * from './atlassian.js';
|
|
2
|
+
export * from './clickhouse.js';
|
|
2
3
|
export * from './databricks.js';
|
|
3
4
|
export * from './fathom.js';
|
|
5
|
+
export * from './freshdesk.js';
|
|
4
6
|
export * from './g2.js';
|
|
5
|
-
export * from './generate.js';
|
|
6
7
|
export * from './gong.js';
|
|
7
8
|
export * from './google.js';
|
|
8
9
|
export * from './granola.js';
|
|
9
10
|
export * from './hubspot.js';
|
|
11
|
+
export * from './intercom.js';
|
|
10
12
|
export * from './linear.js';
|
|
11
13
|
export * from './linkedin.js';
|
|
12
14
|
export * from './microsoft.js';
|
|
13
15
|
export * from './noded.js';
|
|
16
|
+
export * from './powerbi.js';
|
|
14
17
|
export * from './salesforce.js';
|
|
15
18
|
export * from './slack.js';
|
|
16
19
|
export * from './zendesk.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
export * from './atlassian.js';
|
|
2
|
+
export * from './clickhouse.js';
|
|
2
3
|
export * from './databricks.js';
|
|
3
4
|
export * from './fathom.js';
|
|
5
|
+
export * from './freshdesk.js';
|
|
4
6
|
export * from './g2.js';
|
|
5
|
-
export * from './generate.js';
|
|
6
7
|
export * from './gong.js';
|
|
7
8
|
export * from './google.js';
|
|
8
9
|
export * from './granola.js';
|
|
9
10
|
export * from './hubspot.js';
|
|
11
|
+
export * from './intercom.js';
|
|
10
12
|
export * from './linear.js';
|
|
11
13
|
export * from './linkedin.js';
|
|
12
14
|
export * from './microsoft.js';
|
|
13
15
|
export * from './noded.js';
|
|
16
|
+
export * from './powerbi.js';
|
|
14
17
|
export * from './salesforce.js';
|
|
15
18
|
export * from './slack.js';
|
|
16
19
|
export * from './zendesk.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/metadata/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/metadata/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intercom.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/intercom.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAkDvE,eAAO,MAAM,eAAe,EAAE,mBAqC7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAatB,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { BlockType } from '../../block-type.js';
|
|
2
|
+
import { FieldType } from '../../field-type.js';
|
|
3
|
+
import { FieldVariation } from '../../field-variation.js';
|
|
4
|
+
import { SearchOperator } from '../../query-metadata.js';
|
|
5
|
+
import { TagType } from '../../tag-type.js';
|
|
6
|
+
const ContactQuery = {
|
|
7
|
+
label: 'Contact',
|
|
8
|
+
description: 'Search for contacts (users and leads) in Intercom',
|
|
9
|
+
metadataType: 'contact',
|
|
10
|
+
searchFields: [
|
|
11
|
+
{
|
|
12
|
+
field: {
|
|
13
|
+
label: 'Name',
|
|
14
|
+
name: 'name',
|
|
15
|
+
description: 'The name of the contact',
|
|
16
|
+
fieldType: FieldType.Text,
|
|
17
|
+
readOnly: true,
|
|
18
|
+
visible: true,
|
|
19
|
+
source: 'system',
|
|
20
|
+
},
|
|
21
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains, SearchOperator.StartsWith],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
field: {
|
|
25
|
+
label: 'Email',
|
|
26
|
+
name: 'email',
|
|
27
|
+
description: 'The email address of the contact',
|
|
28
|
+
fieldType: FieldType.Text,
|
|
29
|
+
fieldVariation: FieldVariation.Email,
|
|
30
|
+
readOnly: true,
|
|
31
|
+
visible: true,
|
|
32
|
+
source: 'system',
|
|
33
|
+
},
|
|
34
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
field: {
|
|
38
|
+
label: 'Created At',
|
|
39
|
+
name: 'created_at',
|
|
40
|
+
description: 'When the contact was created',
|
|
41
|
+
fieldType: FieldType.Text,
|
|
42
|
+
fieldVariation: FieldVariation.Date,
|
|
43
|
+
readOnly: true,
|
|
44
|
+
visible: true,
|
|
45
|
+
source: 'system',
|
|
46
|
+
},
|
|
47
|
+
operators: [SearchOperator.Gte, SearchOperator.Lte, SearchOperator.Between],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
};
|
|
51
|
+
export const IntercomSupport = {
|
|
52
|
+
name: 'support',
|
|
53
|
+
sobjects: {
|
|
54
|
+
calendar: false,
|
|
55
|
+
transcription: false,
|
|
56
|
+
message: false,
|
|
57
|
+
email: false,
|
|
58
|
+
table: true,
|
|
59
|
+
function: false,
|
|
60
|
+
},
|
|
61
|
+
linkSubscriptions: ['*.intercom.com'],
|
|
62
|
+
// App URLs: https://app.intercom.com/a/apps/<workspace>/{inbox/conversation|users|companies}/<id>
|
|
63
|
+
linkToExternalIdRegex: '/(?:conversation|users|companies)/([a-f0-9]+)',
|
|
64
|
+
tableSubscriptions: ['conversation'],
|
|
65
|
+
queryTypeSubscriptions: [ContactQuery.metadataType],
|
|
66
|
+
description: "Add Conversation previews and monitor changes over time so you're always up-to-date.",
|
|
67
|
+
iconUrl: 'https://connect-intercom-dev.getnoded.ai/images/logo.png',
|
|
68
|
+
label: 'Intercom Support',
|
|
69
|
+
authentication: true,
|
|
70
|
+
externalStorage: true,
|
|
71
|
+
externalInsights: false,
|
|
72
|
+
externalIds: [
|
|
73
|
+
{
|
|
74
|
+
label: 'Company',
|
|
75
|
+
blockType: BlockType.Record,
|
|
76
|
+
tagType: TagType.Topic,
|
|
77
|
+
tagSubType: 'organization',
|
|
78
|
+
metadataType: 'company',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
label: 'Contact',
|
|
82
|
+
blockType: BlockType.Record,
|
|
83
|
+
tagType: TagType.Person,
|
|
84
|
+
tagSubType: 'contact',
|
|
85
|
+
metadataType: 'contact',
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
};
|
|
89
|
+
export const Intercom = {
|
|
90
|
+
_id: '6a4d13ca7864df33248d993a',
|
|
91
|
+
archived: false,
|
|
92
|
+
dateCreated: 0,
|
|
93
|
+
dateUpdated: 0,
|
|
94
|
+
name: 'intercom',
|
|
95
|
+
description: 'Intercom automation for Noded',
|
|
96
|
+
instanceUrl: 'https://connect-intercom-dev.getnoded.ai',
|
|
97
|
+
applications: [IntercomSupport],
|
|
98
|
+
label: 'Intercom',
|
|
99
|
+
iconUrl: 'https://connect-intercom-dev.getnoded.ai/images/logo.png',
|
|
100
|
+
promptMetadata: [],
|
|
101
|
+
queryMetadata: [ContactQuery],
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=intercom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intercom.js","s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;IACd,WAAW,EAAE,CAAC;IACd,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,+BAA+B;IAC5C,WAAW,EAAE,0CAA0C;IACvD,YAAY,EAAE,CAAC,eAAe,CAAC;IAC/B,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,0DAA0D;IACnE,cAAc,EAAE,EAAE;IAClB,aAAa,EAAE,CAAC,YAAY,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"powerbi.d.ts","sourceRoot":"","sources":["../../../src/metadata/providers/powerbi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGvE,eAAO,MAAM,gBAAgB,EAAE,mBA0B9B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,QAarB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BlockType } from '../../block-type.js';
|
|
2
|
+
import { ORGANIZATION } from '../../constants.js';
|
|
3
|
+
import { TagType } from '../../tag-type.js';
|
|
4
|
+
export const PowerBIAnalytics = {
|
|
5
|
+
name: 'analytics',
|
|
6
|
+
sobjects: {
|
|
7
|
+
calendar: false,
|
|
8
|
+
transcription: false,
|
|
9
|
+
message: false,
|
|
10
|
+
email: false,
|
|
11
|
+
table: true,
|
|
12
|
+
function: false,
|
|
13
|
+
},
|
|
14
|
+
description: 'Query Power BI semantic models to surface insights directly in Noded.',
|
|
15
|
+
iconUrl: 'https://connect-powerbi-dev.getnoded.ai/images/logo.svg',
|
|
16
|
+
label: 'Power BI Analytics',
|
|
17
|
+
authentication: true,
|
|
18
|
+
externalStorage: false,
|
|
19
|
+
externalInsights: true,
|
|
20
|
+
externalIds: [
|
|
21
|
+
{
|
|
22
|
+
label: 'Account',
|
|
23
|
+
blockType: BlockType.Record,
|
|
24
|
+
tagType: TagType.Topic,
|
|
25
|
+
metadataType: 'account',
|
|
26
|
+
tagSubType: ORGANIZATION,
|
|
27
|
+
requireExternalId: true,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
export const PowerBI = {
|
|
32
|
+
_id: '4b06b68fccd5edd7193f6397',
|
|
33
|
+
archived: false,
|
|
34
|
+
dateCreated: 0,
|
|
35
|
+
dateUpdated: 0,
|
|
36
|
+
name: 'powerbi',
|
|
37
|
+
description: 'Power BI integration for Noded',
|
|
38
|
+
instanceUrl: 'https://connect-powerbi-dev.getnoded.ai',
|
|
39
|
+
applications: [PowerBIAnalytics],
|
|
40
|
+
label: 'Power BI',
|
|
41
|
+
iconUrl: 'https://connect-powerbi-dev.getnoded.ai/images/logo.svg',
|
|
42
|
+
promptMetadata: [],
|
|
43
|
+
tableMetadata: [],
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=powerbi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"powerbi.js","sourceRoot":"","sources":["../../../src/metadata/providers/powerbi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACpD,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE;QACT,QAAQ,EAAE,KAAK;QACf,aAAa,EAAE,KAAK;QACpB,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,KAAK;KACf;IACD,WAAW,EAAE,uEAAuE;IACpF,OAAO,EAAE,yDAAyD;IAClE,KAAK,EAAE,oBAAoB;IAC3B,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,KAAK;IACtB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE;QACZ;YACC,KAAK,EAAE,SAAS;YAChB,SAAS,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