@bigfootai/bigfoot-types 4.4.1 → 4.4.3

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.
Files changed (3) hide show
  1. package/model.js +2 -3
  2. package/model.ts +20 -8
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -927,10 +927,9 @@ type Field {
927
927
  exports.FieldValueQL = `
928
928
  type FieldValue {
929
929
  name: String!
930
- previousValue: String!
931
- nextValue: String!
932
930
  value: String!
933
- changed: Boolean!
931
+ previousValue: String
932
+ changed: Boolean
934
933
  }`;
935
934
  exports.TableMetadataQL = `
936
935
  type TableMetadata {${exports.MetadataFields}
package/model.ts CHANGED
@@ -1270,11 +1270,25 @@ export interface CalendarFilter {
1270
1270
  limit: number;
1271
1271
  }
1272
1272
 
1273
- export interface CalendarProviderRequest {
1273
+ export interface SyncCalendarProviderRequest {
1274
1274
  filter: CalendarFilter;
1275
1275
  connectedProvider: ConnectedProvider;
1276
1276
  }
1277
1277
 
1278
+ export interface RecordTypeFilter {
1279
+ recordType: string;
1280
+ recordIds: string[];
1281
+ }
1282
+
1283
+ export interface RecordFilter {
1284
+ records: RecordTypeFilter[];
1285
+ }
1286
+
1287
+ export interface SyncTableProviderRequest {
1288
+ filter: RecordFilter;
1289
+ connectedProvider: ConnectedProvider;
1290
+ }
1291
+
1278
1292
  export const EventQL = `
1279
1293
  type Event {${BusinessObjectFields}
1280
1294
  calendarId: String!
@@ -1649,17 +1663,15 @@ export interface Field {
1649
1663
  export const FieldValueQL = `
1650
1664
  type FieldValue {
1651
1665
  name: String!
1652
- previousValue: String!
1653
- nextValue: String!
1654
1666
  value: String!
1655
- changed: Boolean!
1667
+ previousValue: String
1668
+ changed: Boolean
1656
1669
  }`;
1657
1670
  export interface FieldValue {
1658
1671
  name: string;
1659
- previousValue: string;
1660
- nextValue: string;
1661
- value: string;
1662
- changed: boolean;
1672
+ value?: string;
1673
+ previousValue?: string;
1674
+ changed?: boolean;
1663
1675
  }
1664
1676
 
1665
1677
  export const TableMetadataQL = `
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.4.1",
4
+ "version": "4.4.3",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",