@bigfootai/bigfoot-types 5.4.13 → 5.4.15

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.
@@ -1,7 +1,53 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Google = void 0;
3
+ exports.Google = exports.Docs = exports.Calendar = void 0;
4
4
  const model_1 = require("../../model");
5
+ exports.Calendar = {
6
+ name: 'calendar',
7
+ sobjects: {
8
+ calendar: true,
9
+ task: false,
10
+ conference: false,
11
+ document: false,
12
+ thread: false,
13
+ template: false,
14
+ table: false,
15
+ },
16
+ linkSubscriptions: [],
17
+ description: 'Bring your calendar into Noded to get up-to-the-minute insights on your day.',
18
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Calendar_icon_%282020%29.svg/240px-Google_Calendar_icon_%282020%29.svg.png',
19
+ label: 'Google Calendar',
20
+ recordTypeSubscriptions: [],
21
+ authentication: true,
22
+ externalStorage: true,
23
+ };
24
+ exports.Docs = {
25
+ name: 'docs',
26
+ sobjects: {
27
+ calendar: false,
28
+ task: false,
29
+ conference: false,
30
+ document: true,
31
+ thread: false,
32
+ template: false,
33
+ table: false,
34
+ },
35
+ linkSubscriptions: ['docs.google.com'],
36
+ linkToExternalIdRegex: '/d/([a-zA-Z0-9_-]{33,})',
37
+ description: "Add document previews and ingest your documents so they're easily searchable.",
38
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Google_Docs_icon_%282020%29.svg/174px-Google_Docs_icon_%282020%29.svg.png',
39
+ label: 'Google Docs',
40
+ recordTypeSubscriptions: [],
41
+ authentication: true,
42
+ externalStorage: true,
43
+ externalIds: [
44
+ {
45
+ label: 'Document',
46
+ blockType: model_1.BlockType.Document,
47
+ tagType: model_1.TagType.Topic,
48
+ },
49
+ ],
50
+ };
5
51
  exports.Google = {
6
52
  _id: '65caf072280c2cfce04c6362',
7
53
  dateCreated: 0,
@@ -9,54 +55,7 @@ exports.Google = {
9
55
  name: 'google',
10
56
  description: 'Automate your Google Workspace',
11
57
  instanceUrl: 'https://connect-google-dev.noded.so',
12
- applications: [
13
- {
14
- name: 'calendar',
15
- sobjects: {
16
- calendar: true,
17
- task: false,
18
- conference: false,
19
- document: false,
20
- thread: false,
21
- template: false,
22
- table: false,
23
- },
24
- linkSubscriptions: [],
25
- description: 'Bring your calendar into Noded to get up-to-the-minute insights on your day.',
26
- iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Calendar_icon_%282020%29.svg/240px-Google_Calendar_icon_%282020%29.svg.png',
27
- label: 'Google Calendar',
28
- recordTypeSubscriptions: [],
29
- authentication: true,
30
- externalStorage: true,
31
- },
32
- {
33
- name: 'docs',
34
- sobjects: {
35
- calendar: false,
36
- task: false,
37
- conference: false,
38
- document: true,
39
- thread: false,
40
- template: false,
41
- table: false,
42
- },
43
- linkSubscriptions: ['docs.google.com'],
44
- linkToExternalIdRegex: '/d/([a-zA-Z0-9_-]{33,})',
45
- description: "Add document previews and ingest your documents so they're easily searchable.",
46
- iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Google_Docs_icon_%282020%29.svg/174px-Google_Docs_icon_%282020%29.svg.png',
47
- label: 'Google Docs',
48
- recordTypeSubscriptions: [],
49
- authentication: true,
50
- externalStorage: true,
51
- externalIds: [
52
- {
53
- label: 'Document',
54
- blockType: model_1.BlockType.Document,
55
- tagType: model_1.TagType.Topic,
56
- },
57
- ],
58
- },
59
- ],
58
+ applications: [exports.Calendar, exports.Docs],
60
59
  label: 'Google Connect',
61
60
  iconUrl: 'https://static.vecteezy.com/system/resources/previews/022/484/503/non_2x/google-lens-icon-logo-symbol-free-png.png',
62
61
  };
@@ -1,4 +1,56 @@
1
- import { BlockType, Provider, TagType } from '../../model';
1
+ import { BlockType, Provider, ProviderApplication, TagType } from '../../model';
2
+
3
+ export const Calendar: ProviderApplication = {
4
+ name: 'calendar',
5
+ sobjects: {
6
+ calendar: true,
7
+ task: false,
8
+ conference: false,
9
+ document: false,
10
+ thread: false,
11
+ template: false,
12
+ table: false,
13
+ },
14
+ linkSubscriptions: [],
15
+ description:
16
+ 'Bring your calendar into Noded to get up-to-the-minute insights on your day.',
17
+ iconUrl:
18
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Calendar_icon_%282020%29.svg/240px-Google_Calendar_icon_%282020%29.svg.png',
19
+ label: 'Google Calendar',
20
+ recordTypeSubscriptions: [],
21
+ authentication: true,
22
+ externalStorage: true,
23
+ };
24
+
25
+ export const Docs: ProviderApplication = {
26
+ name: 'docs',
27
+ sobjects: {
28
+ calendar: false,
29
+ task: false,
30
+ conference: false,
31
+ document: true,
32
+ thread: false,
33
+ template: false,
34
+ table: false,
35
+ },
36
+ linkSubscriptions: ['docs.google.com'],
37
+ linkToExternalIdRegex: '/d/([a-zA-Z0-9_-]{33,})',
38
+ description:
39
+ "Add document previews and ingest your documents so they're easily searchable.",
40
+ iconUrl:
41
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Google_Docs_icon_%282020%29.svg/174px-Google_Docs_icon_%282020%29.svg.png',
42
+ label: 'Google Docs',
43
+ recordTypeSubscriptions: [],
44
+ authentication: true,
45
+ externalStorage: true,
46
+ externalIds: [
47
+ {
48
+ label: 'Document',
49
+ blockType: BlockType.Document,
50
+ tagType: TagType.Topic,
51
+ },
52
+ ],
53
+ };
2
54
 
3
55
  export const Google: Provider = {
4
56
  _id: '65caf072280c2cfce04c6362',
@@ -7,58 +59,7 @@ export const Google: Provider = {
7
59
  name: 'google',
8
60
  description: 'Automate your Google Workspace',
9
61
  instanceUrl: 'https://connect-google-dev.noded.so',
10
- applications: [
11
- {
12
- name: 'calendar',
13
- sobjects: {
14
- calendar: true,
15
- task: false,
16
- conference: false,
17
- document: false,
18
- thread: false,
19
- template: false,
20
- table: false,
21
- },
22
- linkSubscriptions: [],
23
- description:
24
- 'Bring your calendar into Noded to get up-to-the-minute insights on your day.',
25
- iconUrl:
26
- 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Calendar_icon_%282020%29.svg/240px-Google_Calendar_icon_%282020%29.svg.png',
27
- label: 'Google Calendar',
28
- recordTypeSubscriptions: [],
29
- authentication: true,
30
- externalStorage: true,
31
- },
32
- {
33
- name: 'docs',
34
- sobjects: {
35
- calendar: false,
36
- task: false,
37
- conference: false,
38
- document: true,
39
- thread: false,
40
- template: false,
41
- table: false,
42
- },
43
- linkSubscriptions: ['docs.google.com'],
44
- linkToExternalIdRegex: '/d/([a-zA-Z0-9_-]{33,})',
45
- description:
46
- "Add document previews and ingest your documents so they're easily searchable.",
47
- iconUrl:
48
- 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Google_Docs_icon_%282020%29.svg/174px-Google_Docs_icon_%282020%29.svg.png',
49
- label: 'Google Docs',
50
- recordTypeSubscriptions: [],
51
- authentication: true,
52
- externalStorage: true,
53
- externalIds: [
54
- {
55
- label: 'Document',
56
- blockType: BlockType.Document,
57
- tagType: TagType.Topic,
58
- },
59
- ],
60
- },
61
- ],
62
+ applications: [Calendar, Docs],
62
63
  label: 'Google Connect',
63
64
  iconUrl:
64
65
  'https://static.vecteezy.com/system/resources/previews/022/484/503/non_2x/google-lens-icon-logo-symbol-free-png.png',
@@ -1,7 +1,46 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HubSpot = void 0;
3
+ exports.HubSpot = exports.Crm = void 0;
4
4
  const model_1 = require("../../model");
5
+ exports.Crm = {
6
+ name: 'crm',
7
+ sobjects: {
8
+ calendar: false,
9
+ task: false,
10
+ conference: false,
11
+ document: false,
12
+ thread: false,
13
+ template: false,
14
+ table: true,
15
+ },
16
+ linkSubscriptions: ['https://app.hubspot.com'],
17
+ linkToExternalIdRegex: '/(d+)$/',
18
+ recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
19
+ description: "Add Ticket and Deal previews and monitor changes over time so you're always up-to-date.",
20
+ iconUrl: 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
21
+ label: 'HubSpot CRM',
22
+ authentication: true,
23
+ externalStorage: true,
24
+ externalIds: [
25
+ {
26
+ label: 'Account',
27
+ blockType: model_1.BlockType.Record,
28
+ tagType: model_1.TagType.Organization,
29
+ },
30
+ {
31
+ label: 'Contact',
32
+ blockType: model_1.BlockType.Record,
33
+ tagType: model_1.TagType.Person,
34
+ tagSubType: 'contact',
35
+ },
36
+ {
37
+ label: 'User',
38
+ blockType: model_1.BlockType.Record,
39
+ tagType: model_1.TagType.Person,
40
+ tagSubType: 'user',
41
+ },
42
+ ],
43
+ };
5
44
  exports.HubSpot = {
6
45
  _id: '678b58f285f1e9930352e26a',
7
46
  dateCreated: 0,
@@ -9,47 +48,7 @@ exports.HubSpot = {
9
48
  name: 'hubspot',
10
49
  description: 'HubSpot automation for Noded',
11
50
  instanceUrl: 'https://connect-hubspot-dev.noded.so',
12
- applications: [
13
- {
14
- name: 'crm',
15
- sobjects: {
16
- calendar: false,
17
- task: false,
18
- conference: false,
19
- document: false,
20
- thread: false,
21
- template: false,
22
- table: true,
23
- },
24
- linkSubscriptions: ['https://app.hubspot.com'],
25
- linkToExternalIdRegex: '/(d+)$/',
26
- recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
27
- description: "Add Ticket and Deal previews and monitor changes over time so you're always up-to-date.",
28
- iconUrl: 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
29
- label: 'HubSpot CRM',
30
- authentication: true,
31
- externalStorage: true,
32
- externalIds: [
33
- {
34
- label: 'Account',
35
- blockType: model_1.BlockType.Record,
36
- tagType: model_1.TagType.Organization,
37
- },
38
- {
39
- label: 'Contact',
40
- blockType: model_1.BlockType.Record,
41
- tagType: model_1.TagType.Person,
42
- tagSubType: 'contact',
43
- },
44
- {
45
- label: 'User',
46
- blockType: model_1.BlockType.Record,
47
- tagType: model_1.TagType.Person,
48
- tagSubType: 'user',
49
- },
50
- ],
51
- },
52
- ],
51
+ applications: [exports.Crm],
53
52
  label: 'HubSpot Connect',
54
53
  iconUrl: 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
55
54
  };
@@ -1,4 +1,46 @@
1
- import { BlockType, Provider, TagType } from '../../model';
1
+ import { BlockType, Provider, ProviderApplication, TagType } from '../../model';
2
+
3
+ export const Crm: ProviderApplication = {
4
+ name: 'crm',
5
+ sobjects: {
6
+ calendar: false,
7
+ task: false,
8
+ conference: false,
9
+ document: false,
10
+ thread: false,
11
+ template: false,
12
+ table: true,
13
+ },
14
+ linkSubscriptions: ['https://app.hubspot.com'],
15
+ linkToExternalIdRegex: '/(d+)$/',
16
+ recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
17
+ description:
18
+ "Add Ticket and Deal previews and monitor changes over time so you're always up-to-date.",
19
+ iconUrl:
20
+ 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
21
+ label: 'HubSpot CRM',
22
+ authentication: true,
23
+ externalStorage: true,
24
+ externalIds: [
25
+ {
26
+ label: 'Account',
27
+ blockType: BlockType.Record,
28
+ tagType: TagType.Organization,
29
+ },
30
+ {
31
+ label: 'Contact',
32
+ blockType: BlockType.Record,
33
+ tagType: TagType.Person,
34
+ tagSubType: 'contact',
35
+ },
36
+ {
37
+ label: 'User',
38
+ blockType: BlockType.Record,
39
+ tagType: TagType.Person,
40
+ tagSubType: 'user',
41
+ },
42
+ ],
43
+ };
2
44
 
3
45
  export const HubSpot: Provider = {
4
46
  _id: '678b58f285f1e9930352e26a',
@@ -7,49 +49,7 @@ export const HubSpot: Provider = {
7
49
  name: 'hubspot',
8
50
  description: 'HubSpot automation for Noded',
9
51
  instanceUrl: 'https://connect-hubspot-dev.noded.so',
10
- applications: [
11
- {
12
- name: 'crm',
13
- sobjects: {
14
- calendar: false,
15
- task: false,
16
- conference: false,
17
- document: false,
18
- thread: false,
19
- template: false,
20
- table: true,
21
- },
22
- linkSubscriptions: ['https://app.hubspot.com'],
23
- linkToExternalIdRegex: '/(d+)$/',
24
- recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
25
- description:
26
- "Add Ticket and Deal previews and monitor changes over time so you're always up-to-date.",
27
- iconUrl:
28
- 'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
29
- label: 'HubSpot CRM',
30
- authentication: true,
31
- externalStorage: true,
32
- externalIds: [
33
- {
34
- label: 'Account',
35
- blockType: BlockType.Record,
36
- tagType: TagType.Organization,
37
- },
38
- {
39
- label: 'Contact',
40
- blockType: BlockType.Record,
41
- tagType: TagType.Person,
42
- tagSubType: 'contact',
43
- },
44
- {
45
- label: 'User',
46
- blockType: BlockType.Record,
47
- tagType: TagType.Person,
48
- tagSubType: 'user',
49
- },
50
- ],
51
- },
52
- ],
52
+ applications: [Crm],
53
53
  label: 'HubSpot Connect',
54
54
  iconUrl:
55
55
  'https://cdn.icon-icons.com/icons2/2699/PNG/512/hubspot_logo_icon_170009.png',
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Noded = void 0;
3
+ exports.Noded = exports.CustomerSuccess = void 0;
4
4
  const model_1 = require("../../model");
5
5
  const account_overview_1 = require("../dashboards/account_overview");
6
6
  const record_update_1 = require("../dashboards/record_update");
@@ -8,6 +8,40 @@ const healthcheck_1 = require("../documents/healthcheck");
8
8
  const case_1 = require("../tables/case");
9
9
  const opportunity_1 = require("../tables/opportunity");
10
10
  const organization_1 = require("../tables/organization");
11
+ exports.CustomerSuccess = {
12
+ name: 'customer_success',
13
+ documentTypeSubscriptions: ['healthcheck'],
14
+ sobjects: {
15
+ calendar: false,
16
+ task: true,
17
+ conference: false,
18
+ document: true,
19
+ thread: false,
20
+ template: true,
21
+ table: true,
22
+ },
23
+ recordTypeSubscriptions: [
24
+ opportunity_1.Opportunity.metadataType,
25
+ case_1.Case.metadataType,
26
+ organization_1.Organization.metadataType,
27
+ ],
28
+ description: 'Noded customized to make it more productive for customer success use-cases.',
29
+ iconUrl: 'https://app.noded.so/notify_favicon.svg',
30
+ label: 'Noded for Customer Success',
31
+ linkSubscriptions: [],
32
+ authentication: false,
33
+ externalStorage: false,
34
+ dashboardTagSubscriptions: [
35
+ {
36
+ tagType: model_1.TagType.Organization,
37
+ dashboardSubscriptions: [account_overview_1.AccountOverview.metadataType],
38
+ },
39
+ ],
40
+ dashboardTypeSubscriptions: [
41
+ account_overview_1.AccountOverview.metadataType,
42
+ record_update_1.RecordUpdate.metadataType,
43
+ ],
44
+ };
11
45
  exports.Noded = {
12
46
  _id: '6635a69bf0985154b603b7fa',
13
47
  dateCreated: 0,
@@ -15,42 +49,7 @@ exports.Noded = {
15
49
  name: 'noded',
16
50
  description: 'The Noded applications for Noded',
17
51
  instanceUrl: 'https://api.noded.so',
18
- applications: [
19
- {
20
- name: 'customer_success',
21
- documentTypeSubscriptions: ['healthcheck'],
22
- sobjects: {
23
- calendar: false,
24
- task: true,
25
- conference: false,
26
- document: true,
27
- thread: false,
28
- template: true,
29
- table: true,
30
- },
31
- recordTypeSubscriptions: [
32
- opportunity_1.Opportunity.metadataType,
33
- case_1.Case.metadataType,
34
- organization_1.Organization.metadataType,
35
- ],
36
- description: 'Noded customized to make it more productive for customer success use-cases.',
37
- iconUrl: 'https://app.noded.so/notify_favicon.svg',
38
- label: 'Noded for Customer Success',
39
- linkSubscriptions: [],
40
- authentication: false,
41
- externalStorage: false,
42
- dashboardTagSubscriptions: [
43
- {
44
- tagType: model_1.TagType.Organization,
45
- dashboardSubscriptions: [account_overview_1.AccountOverview.metadataType],
46
- },
47
- ],
48
- dashboardTypeSubscriptions: [
49
- account_overview_1.AccountOverview.metadataType,
50
- record_update_1.RecordUpdate.metadataType,
51
- ],
52
- },
53
- ],
52
+ applications: [exports.CustomerSuccess],
54
53
  tableMetadata: [opportunity_1.Opportunity, case_1.Case, organization_1.Organization],
55
54
  documentMetadata: [healthcheck_1.HealthCheck],
56
55
  dashboardMetadata: [account_overview_1.AccountOverview, record_update_1.RecordUpdate],
@@ -6,6 +6,42 @@ import { Case } from '../tables/case';
6
6
  import { Opportunity } from '../tables/opportunity';
7
7
  import { Organization } from '../tables/organization';
8
8
 
9
+ export const CustomerSuccess = {
10
+ name: 'customer_success',
11
+ documentTypeSubscriptions: ['healthcheck'],
12
+ sobjects: {
13
+ calendar: false,
14
+ task: true,
15
+ conference: false,
16
+ document: true,
17
+ thread: false,
18
+ template: true,
19
+ table: true,
20
+ },
21
+ recordTypeSubscriptions: [
22
+ Opportunity.metadataType,
23
+ Case.metadataType,
24
+ Organization.metadataType,
25
+ ],
26
+ description:
27
+ 'Noded customized to make it more productive for customer success use-cases.',
28
+ iconUrl: 'https://app.noded.so/notify_favicon.svg',
29
+ label: 'Noded for Customer Success',
30
+ linkSubscriptions: [],
31
+ authentication: false,
32
+ externalStorage: false,
33
+ dashboardTagSubscriptions: [
34
+ {
35
+ tagType: TagType.Organization,
36
+ dashboardSubscriptions: [AccountOverview.metadataType],
37
+ },
38
+ ],
39
+ dashboardTypeSubscriptions: [
40
+ AccountOverview.metadataType,
41
+ RecordUpdate.metadataType,
42
+ ],
43
+ };
44
+
9
45
  export const Noded: Provider = {
10
46
  _id: '6635a69bf0985154b603b7fa',
11
47
  dateCreated: 0,
@@ -13,43 +49,7 @@ export const Noded: Provider = {
13
49
  name: 'noded',
14
50
  description: 'The Noded applications for Noded',
15
51
  instanceUrl: 'https://api.noded.so',
16
- applications: [
17
- {
18
- name: 'customer_success',
19
- documentTypeSubscriptions: ['healthcheck'],
20
- sobjects: {
21
- calendar: false,
22
- task: true,
23
- conference: false,
24
- document: true,
25
- thread: false,
26
- template: true,
27
- table: true,
28
- },
29
- recordTypeSubscriptions: [
30
- Opportunity.metadataType,
31
- Case.metadataType,
32
- Organization.metadataType,
33
- ],
34
- description:
35
- 'Noded customized to make it more productive for customer success use-cases.',
36
- iconUrl: 'https://app.noded.so/notify_favicon.svg',
37
- label: 'Noded for Customer Success',
38
- linkSubscriptions: [],
39
- authentication: false,
40
- externalStorage: false,
41
- dashboardTagSubscriptions: [
42
- {
43
- tagType: TagType.Organization,
44
- dashboardSubscriptions: [AccountOverview.metadataType],
45
- },
46
- ],
47
- dashboardTypeSubscriptions: [
48
- AccountOverview.metadataType,
49
- RecordUpdate.metadataType,
50
- ],
51
- },
52
- ],
52
+ applications: [CustomerSuccess],
53
53
  tableMetadata: [Opportunity, Case, Organization],
54
54
  documentMetadata: [HealthCheck],
55
55
  dashboardMetadata: [AccountOverview, RecordUpdate],
@@ -1,7 +1,47 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Salesforce = void 0;
3
+ exports.Salesforce = exports.Crm = void 0;
4
4
  const model_1 = require("../../model");
5
+ exports.Crm = {
6
+ name: 'crm',
7
+ sobjects: {
8
+ calendar: false,
9
+ task: false,
10
+ conference: false,
11
+ document: false,
12
+ thread: false,
13
+ template: false,
14
+ table: true,
15
+ },
16
+ linkSubscriptions: ['*.lightning.force.com'],
17
+ linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
18
+ recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
19
+ dashboardTypeSubscriptions: ['noded.record_update'],
20
+ description: "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
21
+ iconUrl: 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
22
+ label: 'Salesforce CRM',
23
+ authentication: true,
24
+ externalStorage: true,
25
+ externalIds: [
26
+ {
27
+ label: 'Account',
28
+ blockType: model_1.BlockType.Record,
29
+ tagType: model_1.TagType.Organization,
30
+ },
31
+ {
32
+ label: 'Contact',
33
+ blockType: model_1.BlockType.Record,
34
+ tagType: model_1.TagType.Person,
35
+ tagSubType: 'contact',
36
+ },
37
+ {
38
+ label: 'User',
39
+ blockType: model_1.BlockType.Record,
40
+ tagType: model_1.TagType.Person,
41
+ tagSubType: 'user',
42
+ },
43
+ ],
44
+ };
5
45
  exports.Salesforce = {
6
46
  _id: '66331c02f0985154b603b789',
7
47
  dateCreated: 0,
@@ -9,48 +49,7 @@ exports.Salesforce = {
9
49
  name: 'salesforce',
10
50
  description: 'Salesforce automation for Noded',
11
51
  instanceUrl: 'https://connect-salesforce-dev.noded.so',
12
- applications: [
13
- {
14
- name: 'crm',
15
- sobjects: {
16
- calendar: false,
17
- task: false,
18
- conference: false,
19
- document: false,
20
- thread: false,
21
- template: false,
22
- table: true,
23
- },
24
- linkSubscriptions: ['*.lightning.force.com'],
25
- linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
26
- recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
27
- dashboardTypeSubscriptions: ['noded.record_update'],
28
- description: "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
29
- iconUrl: 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
30
- label: 'Salesforce CRM',
31
- authentication: true,
32
- externalStorage: true,
33
- externalIds: [
34
- {
35
- label: 'Account',
36
- blockType: model_1.BlockType.Record,
37
- tagType: model_1.TagType.Organization,
38
- },
39
- {
40
- label: 'Contact',
41
- blockType: model_1.BlockType.Record,
42
- tagType: model_1.TagType.Person,
43
- tagSubType: 'contact',
44
- },
45
- {
46
- label: 'User',
47
- blockType: model_1.BlockType.Record,
48
- tagType: model_1.TagType.Person,
49
- tagSubType: 'user',
50
- },
51
- ],
52
- },
53
- ],
52
+ applications: [exports.Crm],
54
53
  label: 'Salesforce Connect',
55
54
  iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Salesforce.com_logo.svg/320px-Salesforce.com_logo.svg.png',
56
55
  };
@@ -1,4 +1,47 @@
1
- import { BlockType, Provider, TagType } from '../../model';
1
+ import { BlockType, Provider, ProviderApplication, TagType } from '../../model';
2
+
3
+ export const Crm: ProviderApplication = {
4
+ name: 'crm',
5
+ sobjects: {
6
+ calendar: false,
7
+ task: false,
8
+ conference: false,
9
+ document: false,
10
+ thread: false,
11
+ template: false,
12
+ table: true,
13
+ },
14
+ linkSubscriptions: ['*.lightning.force.com'],
15
+ linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
16
+ recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
17
+ dashboardTypeSubscriptions: ['noded.record_update'],
18
+ description:
19
+ "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
20
+ iconUrl:
21
+ 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
22
+ label: 'Salesforce CRM',
23
+ authentication: true,
24
+ externalStorage: true,
25
+ externalIds: [
26
+ {
27
+ label: 'Account',
28
+ blockType: BlockType.Record,
29
+ tagType: TagType.Organization,
30
+ },
31
+ {
32
+ label: 'Contact',
33
+ blockType: BlockType.Record,
34
+ tagType: TagType.Person,
35
+ tagSubType: 'contact',
36
+ },
37
+ {
38
+ label: 'User',
39
+ blockType: BlockType.Record,
40
+ tagType: TagType.Person,
41
+ tagSubType: 'user',
42
+ },
43
+ ],
44
+ };
2
45
 
3
46
  export const Salesforce: Provider = {
4
47
  _id: '66331c02f0985154b603b789',
@@ -7,50 +50,7 @@ export const Salesforce: Provider = {
7
50
  name: 'salesforce',
8
51
  description: 'Salesforce automation for Noded',
9
52
  instanceUrl: 'https://connect-salesforce-dev.noded.so',
10
- applications: [
11
- {
12
- name: 'crm',
13
- sobjects: {
14
- calendar: false,
15
- task: false,
16
- conference: false,
17
- document: false,
18
- thread: false,
19
- template: false,
20
- table: true,
21
- },
22
- linkSubscriptions: ['*.lightning.force.com'],
23
- linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
24
- recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
25
- dashboardTypeSubscriptions: ['noded.record_update'],
26
- description:
27
- "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
28
- iconUrl:
29
- 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
30
- label: 'Salesforce CRM',
31
- authentication: true,
32
- externalStorage: true,
33
- externalIds: [
34
- {
35
- label: 'Account',
36
- blockType: BlockType.Record,
37
- tagType: TagType.Organization,
38
- },
39
- {
40
- label: 'Contact',
41
- blockType: BlockType.Record,
42
- tagType: TagType.Person,
43
- tagSubType: 'contact',
44
- },
45
- {
46
- label: 'User',
47
- blockType: BlockType.Record,
48
- tagType: TagType.Person,
49
- tagSubType: 'user',
50
- },
51
- ],
52
- },
53
- ],
53
+ applications: [Crm],
54
54
  label: 'Salesforce Connect',
55
55
  iconUrl:
56
56
  'https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Salesforce.com_logo.svg/320px-Salesforce.com_logo.svg.png',
@@ -1,7 +1,44 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Slack = void 0;
3
+ exports.Slack = exports.Platform = void 0;
4
4
  const model_1 = require("../../model");
5
+ exports.Platform = {
6
+ name: 'platform',
7
+ sobjects: {
8
+ calendar: false,
9
+ task: false,
10
+ conference: false,
11
+ document: false,
12
+ thread: false,
13
+ template: false,
14
+ table: true,
15
+ },
16
+ linkSubscriptions: ['*.slack.com/archives'],
17
+ linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
18
+ description: 'Collaborate with Slack and Noded together.',
19
+ iconUrl: 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
20
+ label: 'Slack Messaging',
21
+ authentication: true,
22
+ externalStorage: true,
23
+ externalIds: [
24
+ {
25
+ label: 'Channel',
26
+ blockType: model_1.BlockType.Record,
27
+ tagType: model_1.TagType.Topic,
28
+ },
29
+ {
30
+ label: 'Channel',
31
+ blockType: model_1.BlockType.Record,
32
+ tagType: model_1.TagType.Organization,
33
+ },
34
+ {
35
+ label: 'Profile',
36
+ blockType: model_1.BlockType.Record,
37
+ tagType: model_1.TagType.Person,
38
+ tagSubType: 'user',
39
+ },
40
+ ],
41
+ };
5
42
  exports.Slack = {
6
43
  _id: '677df7f4184df79de50f5c71',
7
44
  dateCreated: 0,
@@ -9,45 +46,7 @@ exports.Slack = {
9
46
  name: 'slack',
10
47
  description: 'Slack collaboration for Noded',
11
48
  instanceUrl: 'https://connect-slack-dev.noded.so',
12
- applications: [
13
- {
14
- name: 'core',
15
- sobjects: {
16
- calendar: false,
17
- task: false,
18
- conference: false,
19
- document: false,
20
- thread: false,
21
- template: false,
22
- table: true,
23
- },
24
- linkSubscriptions: ['*.slack.com/archives'],
25
- linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
26
- description: 'Collaborate with Slack and Noded together.',
27
- iconUrl: 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
28
- label: 'Slack Messaging',
29
- authentication: true,
30
- externalStorage: true,
31
- externalIds: [
32
- {
33
- label: 'Channel',
34
- blockType: model_1.BlockType.Record,
35
- tagType: model_1.TagType.Topic,
36
- },
37
- {
38
- label: 'Channel',
39
- blockType: model_1.BlockType.Record,
40
- tagType: model_1.TagType.Organization,
41
- },
42
- {
43
- label: 'Profile',
44
- blockType: model_1.BlockType.Record,
45
- tagType: model_1.TagType.Person,
46
- tagSubType: 'user',
47
- },
48
- ],
49
- },
50
- ],
49
+ applications: [exports.Platform],
51
50
  label: 'Slack',
52
51
  iconUrl: 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
53
52
  };
@@ -1,4 +1,43 @@
1
- import { BlockType, Provider, TagType } from '../../model';
1
+ import { BlockType, Provider, ProviderApplication, TagType } from '../../model';
2
+
3
+ export const Platform: ProviderApplication = {
4
+ name: 'platform',
5
+ sobjects: {
6
+ calendar: false,
7
+ task: false,
8
+ conference: false,
9
+ document: false,
10
+ thread: false,
11
+ template: false,
12
+ table: true,
13
+ },
14
+ linkSubscriptions: ['*.slack.com/archives'],
15
+ linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
16
+ description: 'Collaborate with Slack and Noded together.',
17
+ iconUrl:
18
+ 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
19
+ label: 'Slack Messaging',
20
+ authentication: true,
21
+ externalStorage: true,
22
+ externalIds: [
23
+ {
24
+ label: 'Channel',
25
+ blockType: BlockType.Record,
26
+ tagType: TagType.Topic,
27
+ },
28
+ {
29
+ label: 'Channel',
30
+ blockType: BlockType.Record,
31
+ tagType: TagType.Organization,
32
+ },
33
+ {
34
+ label: 'Profile',
35
+ blockType: BlockType.Record,
36
+ tagType: TagType.Person,
37
+ tagSubType: 'user',
38
+ },
39
+ ],
40
+ };
2
41
 
3
42
  export const Slack: Provider = {
4
43
  _id: '677df7f4184df79de50f5c71',
@@ -7,46 +46,7 @@ export const Slack: Provider = {
7
46
  name: 'slack',
8
47
  description: 'Slack collaboration for Noded',
9
48
  instanceUrl: 'https://connect-slack-dev.noded.so',
10
- applications: [
11
- {
12
- name: 'core',
13
- sobjects: {
14
- calendar: false,
15
- task: false,
16
- conference: false,
17
- document: false,
18
- thread: false,
19
- template: false,
20
- table: true,
21
- },
22
- linkSubscriptions: ['*.slack.com/archives'],
23
- linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
24
- description: 'Collaborate with Slack and Noded together.',
25
- iconUrl:
26
- 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
27
- label: 'Slack Messaging',
28
- authentication: true,
29
- externalStorage: true,
30
- externalIds: [
31
- {
32
- label: 'Channel',
33
- blockType: BlockType.Record,
34
- tagType: TagType.Topic,
35
- },
36
- {
37
- label: 'Channel',
38
- blockType: BlockType.Record,
39
- tagType: TagType.Organization,
40
- },
41
- {
42
- label: 'Profile',
43
- blockType: BlockType.Record,
44
- tagType: TagType.Person,
45
- tagSubType: 'user',
46
- },
47
- ],
48
- },
49
- ],
49
+ applications: [Platform],
50
50
  label: 'Slack',
51
51
  iconUrl:
52
52
  'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
package/model.js CHANGED
@@ -1226,6 +1226,7 @@ input IngestEmailInput {${exports.BlockFieldsForUpsert}
1226
1226
  subject: String
1227
1227
  attachments: [AttachmentInput]
1228
1228
  htmlContent: String
1229
+ textContent: String
1229
1230
  createBlockType: String
1230
1231
  }`;
1231
1232
  exports.EmailQL = `
@@ -1237,6 +1238,7 @@ type Email {${exports.BusinessObjectFields}
1237
1238
  subject: String
1238
1239
  attachments: [Attachment]
1239
1240
  htmlContent: String
1241
+ textContent: String
1240
1242
  }`;
1241
1243
  class Email extends BusinessObject {
1242
1244
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
package/model.ts CHANGED
@@ -2086,6 +2086,7 @@ input IngestEmailInput {${BlockFieldsForUpsert}
2086
2086
  subject: String
2087
2087
  attachments: [AttachmentInput]
2088
2088
  htmlContent: String
2089
+ textContent: String
2089
2090
  createBlockType: String
2090
2091
  }`;
2091
2092
  export const EmailQL = `
@@ -2097,6 +2098,7 @@ type Email {${BusinessObjectFields}
2097
2098
  subject: String
2098
2099
  attachments: [Attachment]
2099
2100
  htmlContent: String
2101
+ textContent: String
2100
2102
  }`;
2101
2103
  export class Email extends BusinessObject {
2102
2104
  to?: PersonReference[];
@@ -2106,6 +2108,7 @@ export class Email extends BusinessObject {
2106
2108
  subject?: string | null;
2107
2109
  attachments?: Attachment[] | null;
2108
2110
  htmlContent?: string;
2111
+ textContent?: string;
2109
2112
  createBlockType?: string;
2110
2113
 
2111
2114
  constructor(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.4.13",
4
+ "version": "5.4.15",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",