@bigfootai/bigfoot-types 4.7.20 → 4.7.21

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.
@@ -36,4 +36,5 @@ exports.HealthCheck = {
36
36
  'customer status meeting',
37
37
  'customer feedback session',
38
38
  ],
39
+ threshold: 0.24,
39
40
  };
@@ -39,4 +39,5 @@ export const HealthCheck: DocumentMetadata = {
39
39
  'customer status meeting',
40
40
  'customer feedback session',
41
41
  ],
42
+ threshold: 0.24,
42
43
  };
@@ -136,4 +136,5 @@ exports.Case = {
136
136
  'errors using',
137
137
  'struggling to get it going',
138
138
  ],
139
+ threshold: 0.24,
139
140
  };
@@ -142,4 +142,5 @@ export const Case: TableMetadata = {
142
142
  'errors using',
143
143
  'struggling to get it going',
144
144
  ],
145
+ threshold: 0.24,
145
146
  };
@@ -146,4 +146,5 @@ exports.Case = {
146
146
  'product enhancement',
147
147
  'new capability',
148
148
  ],
149
+ threshold: 0.24,
149
150
  };
@@ -152,4 +152,5 @@ export const Case: TableMetadata = {
152
152
  'product enhancement',
153
153
  'new capability',
154
154
  ],
155
+ threshold: 0.24,
155
156
  };
@@ -150,4 +150,5 @@ exports.Opportunity = {
150
150
  'interested in moving forward',
151
151
  'followup with sales',
152
152
  ],
153
+ threshold: 0.24,
153
154
  };
@@ -156,4 +156,5 @@ export const Opportunity: TableMetadata = {
156
156
  'interested in moving forward',
157
157
  'followup with sales',
158
158
  ],
159
+ threshold: 0.24,
159
160
  };
package/model.js CHANGED
@@ -466,14 +466,17 @@ exports.MetadataFields = `${exports.PrimitiveFields}
466
466
  metadataType: String!
467
467
  references: [String]
468
468
  classifiers: [String]!
469
+ threshold: Float!
469
470
  provider: String
470
471
  application: String`;
471
472
  class Metadata extends Primitive {
472
- constructor(label, description, metadataType) {
473
+ constructor(label, description, metadataType, classifiers, threshold) {
473
474
  super();
474
475
  this.label = label;
475
476
  this.description = description;
476
477
  this.metadataType = metadataType;
478
+ this.classifiers = classifiers;
479
+ this.threshold = threshold;
477
480
  }
478
481
  }
479
482
  exports.Metadata = Metadata;
@@ -1044,8 +1047,8 @@ type DocumentMetadata {${exports.MetadataFields}
1044
1047
  blockDescriptions: [BlockDescription]!
1045
1048
  }`;
1046
1049
  class DocumentMetadata extends Metadata {
1047
- constructor(label, description, metadataType, blockDescriptions) {
1048
- super(label, description, metadataType);
1050
+ constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
1051
+ super(label, description, metadataType, classifiers, threshold);
1049
1052
  this.blockDescriptions = blockDescriptions;
1050
1053
  }
1051
1054
  }
@@ -1112,8 +1115,8 @@ type TableMetadata {${exports.MetadataFields}
1112
1115
  fields: [Field]!
1113
1116
  }`;
1114
1117
  class TableMetadata extends Metadata {
1115
- constructor(label, description, metadataType, fields) {
1116
- super(label, description, metadataType);
1118
+ constructor(label, description, metadataType, fields, classifiers, threshold) {
1119
+ super(label, description, metadataType, classifiers, threshold);
1117
1120
  this.fields = fields;
1118
1121
  }
1119
1122
  }
package/model.ts CHANGED
@@ -669,6 +669,7 @@ export const MetadataFields = `${PrimitiveFields}
669
669
  metadataType: String!
670
670
  references: [String]
671
671
  classifiers: [String]!
672
+ threshold: Float!
672
673
  provider: String
673
674
  application: String`;
674
675
  export class Metadata extends Primitive {
@@ -677,15 +678,24 @@ export class Metadata extends Primitive {
677
678
  metadataType: string;
678
679
  references?: string[];
679
680
  classifiers: string[];
681
+ threshold: number;
680
682
  provider?: string;
681
683
  application?: string;
682
684
 
683
- constructor(label: string, description: string, metadataType: string) {
685
+ constructor(
686
+ label: string,
687
+ description: string,
688
+ metadataType: string,
689
+ classifiers: string[],
690
+ threshold: number
691
+ ) {
684
692
  super();
685
693
 
686
694
  this.label = label;
687
695
  this.description = description;
688
696
  this.metadataType = metadataType;
697
+ this.classifiers = classifiers;
698
+ this.threshold = threshold;
689
699
  }
690
700
  }
691
701
 
@@ -1854,9 +1864,11 @@ export class DocumentMetadata extends Metadata {
1854
1864
  label: string,
1855
1865
  description: string,
1856
1866
  metadataType: string,
1867
+ classifiers: string[],
1868
+ threshold: number,
1857
1869
  blockDescriptions: BlockDescription[]
1858
1870
  ) {
1859
- super(label, description, metadataType);
1871
+ super(label, description, metadataType, classifiers, threshold);
1860
1872
 
1861
1873
  this.blockDescriptions = blockDescriptions;
1862
1874
  }
@@ -1979,9 +1991,11 @@ export class TableMetadata extends Metadata {
1979
1991
  label: string,
1980
1992
  description: string,
1981
1993
  metadataType: string,
1982
- fields: Field[]
1994
+ fields: Field[],
1995
+ classifiers: string[],
1996
+ threshold: number
1983
1997
  ) {
1984
- super(label, description, metadataType);
1998
+ super(label, description, metadataType, classifiers, threshold);
1985
1999
 
1986
2000
  this.fields = fields;
1987
2001
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.7.20",
4
+ "version": "4.7.21",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",