@bigfootai/bigfoot-types 5.1.35 → 5.1.37

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.
@@ -9,6 +9,7 @@ exports.AccountOverview = {
9
9
  label: 'Account Overview',
10
10
  description: 'This template should be used to provide account overviews or account summaries.',
11
11
  metadataType: 'account_overview',
12
+ notificationMetadataTypes: [],
12
13
  blockDescriptions: [
13
14
  {
14
15
  name: 'summary',
@@ -1,14 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountOverview = void 0;
3
+ exports.RecordUpdate = void 0;
4
4
  const model_1 = require("../../model");
5
- exports.AccountOverview = {
5
+ exports.RecordUpdate = {
6
6
  _id: '',
7
7
  dateCreated: 0,
8
8
  dateUpdated: 0,
9
9
  label: 'Record Update',
10
10
  description: 'This template is a notification dashboard to be used when notifying users about record updates.',
11
11
  metadataType: 'record_update',
12
+ notificationMetadataTypes: ['opportunity', 'case', 'issue'],
12
13
  blockDescriptions: [
13
14
  {
14
15
  title: 'What changed?',
@@ -1,6 +1,6 @@
1
1
  import { BlockType, DashboardMetadata, TagType } from '../../model';
2
2
 
3
- export const AccountOverview: DashboardMetadata = {
3
+ export const RecordUpdate: DashboardMetadata = {
4
4
  _id: '',
5
5
  dateCreated: 0,
6
6
  dateUpdated: 0,
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Noded = void 0;
4
4
  const model_1 = require("../../model");
5
5
  const account_overview_1 = require("../dashboards/account_overview");
6
+ const record_update_1 = require("../dashboards/record_update");
6
7
  const healthcheck_1 = require("../documents/healthcheck");
7
8
  const case_1 = require("../tables/case");
8
9
  const opportunity_1 = require("../tables/opportunity");
@@ -49,7 +50,7 @@ exports.Noded = {
49
50
  ],
50
51
  tableMetadata: [opportunity_1.Opportunity, case_1.Case, organization_1.Organization],
51
52
  documentMetadata: [healthcheck_1.HealthCheck],
52
- dashboardMetadata: [account_overview_1.AccountOverview],
53
+ dashboardMetadata: [account_overview_1.AccountOverview, record_update_1.RecordUpdate],
53
54
  label: 'Noded',
54
55
  iconUrl: 'https://cdn.prod.website-files.com/66ad021a8eb02a1342972537/66ad1a7d8c5987f668d3b5aa_noded-logo.svg',
55
56
  };
@@ -1,5 +1,6 @@
1
1
  import { Provider, TagType } from '../../model';
2
2
  import { AccountOverview } from '../dashboards/account_overview';
3
+ import { RecordUpdate } from '../dashboards/record_update';
3
4
  import { HealthCheck } from '../documents/healthcheck';
4
5
  import { Case } from '../tables/case';
5
6
  import { Opportunity } from '../tables/opportunity';
@@ -49,7 +50,7 @@ export const Noded: Provider = {
49
50
  ],
50
51
  tableMetadata: [Opportunity, Case, Organization],
51
52
  documentMetadata: [HealthCheck],
52
- dashboardMetadata: [AccountOverview],
53
+ dashboardMetadata: [AccountOverview, RecordUpdate],
53
54
  label: 'Noded',
54
55
  iconUrl:
55
56
  'https://cdn.prod.website-files.com/66ad021a8eb02a1342972537/66ad1a7d8c5987f668d3b5aa_noded-logo.svg',
package/model.js CHANGED
@@ -1185,7 +1185,7 @@ exports.DocumentMetadata = DocumentMetadata;
1185
1185
  exports.DashboardMetadataQL = `
1186
1186
  type DashboardMetadata {${exports.MetadataFields}
1187
1187
  blockDescriptions: [BlockDescription]!
1188
- exportTypes: [String]
1188
+ notificationMetadataTypes: [String]!
1189
1189
  }`;
1190
1190
  class DashboardMetadata extends Metadata {
1191
1191
  constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
package/model.ts CHANGED
@@ -721,6 +721,7 @@ export class Metadata extends Primitive {
721
721
 
722
722
  export interface ProcessBlockChangeHistoryRequest {
723
723
  historyId: string;
724
+ connectedProvider: ConnectedProvider;
724
725
  }
725
726
 
726
727
  export class History extends Primitive {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.1.35",
4
+ "version": "5.1.37",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",