@bigfootai/bigfoot-types 5.1.33 → 5.1.35

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.
@@ -8,6 +8,7 @@ export const AccountOverview: DashboardMetadata = {
8
8
  description:
9
9
  'This template should be used to provide account overviews or account summaries.',
10
10
  metadataType: 'account_overview',
11
+ notificationMetadataTypes: [],
11
12
  blockDescriptions: [
12
13
  {
13
14
  name: 'summary',
@@ -8,6 +8,7 @@ export const AccountOverview: DashboardMetadata = {
8
8
  description:
9
9
  'This template is a notification dashboard to be used when notifying users about record updates.',
10
10
  metadataType: 'record_update',
11
+ notificationMetadataTypes: ['opportunity', 'case', 'issue'],
11
12
  blockDescriptions: [
12
13
  {
13
14
  title: 'What changed?',
@@ -23,6 +23,7 @@ exports.Salesforce = {
23
23
  linkSubscriptions: ['*.lightning.force.com'],
24
24
  linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
25
25
  recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
26
+ dashboardTypeSubscriptions: ['noded.record_update'],
26
27
  description: "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
27
28
  iconUrl: 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
28
29
  label: 'Salesforce CRM',
@@ -22,6 +22,7 @@ export const Salesforce: Provider = {
22
22
  linkSubscriptions: ['*.lightning.force.com'],
23
23
  linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
24
24
  recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
25
+ dashboardTypeSubscriptions: ['noded.record_update'],
25
26
  description:
26
27
  "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
27
28
  iconUrl:
package/model.ts CHANGED
@@ -2080,10 +2080,11 @@ export class DocumentMetadata extends Metadata {
2080
2080
  export const DashboardMetadataQL = `
2081
2081
  type DashboardMetadata {${MetadataFields}
2082
2082
  blockDescriptions: [BlockDescription]!
2083
- exportTypes: [String]
2083
+ notificationMetadataTypes: [String]!
2084
2084
  }`;
2085
2085
  export class DashboardMetadata extends Metadata {
2086
2086
  blockDescriptions: BlockDescription[];
2087
+ notificationMetadataTypes: string[];
2087
2088
 
2088
2089
  constructor(
2089
2090
  label: string,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.1.33",
4
+ "version": "5.1.35",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",