@bigfootai/bigfoot-types 4.4.6 → 4.4.8

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 +6 -3
  2. package/model.ts +10 -5
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -437,12 +437,16 @@ exports.Search = Search;
437
437
  exports.SyncQL = `
438
438
  type Sync {${exports.PrimitiveFields}
439
439
  providerRequest: ProviderRequest!
440
+ enabled: Boolean!
441
+ processingStage: String
442
+ processingReason: String
440
443
  }`;
441
444
  class Sync extends Primitive {
442
445
  constructor(tenantIdCreated, providerRequest) {
443
446
  super();
444
447
  this.tenantIdCreated = tenantIdCreated;
445
448
  this.providerRequest = providerRequest;
449
+ this.enabled = true;
446
450
  }
447
451
  }
448
452
  exports.Sync = Sync;
@@ -927,9 +931,8 @@ type Field {
927
931
  exports.FieldValueQL = `
928
932
  type FieldValue {
929
933
  name: String!
930
- value: String!
931
- previousValue: String
932
- changed: Boolean
934
+ value: String
935
+ id: String
933
936
  }`;
934
937
  exports.TableMetadataQL = `
935
938
  type TableMetadata {${exports.MetadataFields}
package/model.ts CHANGED
@@ -636,15 +636,22 @@ export class Search extends SharedPrimitive {
636
636
  export const SyncQL = `
637
637
  type Sync {${PrimitiveFields}
638
638
  providerRequest: ProviderRequest!
639
+ enabled: Boolean!
640
+ processingStage: String
641
+ processingReason: String
639
642
  }`;
640
643
  export class Sync extends Primitive {
641
644
  providerRequest: ProviderRequest;
645
+ enabled: boolean;
646
+ processingStage?: ProcessingStage;
647
+ processingReason?: string;
642
648
 
643
649
  constructor(tenantIdCreated: string, providerRequest: ProviderRequest) {
644
650
  super();
645
651
 
646
652
  this.tenantIdCreated = tenantIdCreated;
647
653
  this.providerRequest = providerRequest;
654
+ this.enabled = true;
648
655
  }
649
656
  }
650
657
 
@@ -1664,15 +1671,13 @@ export interface Field {
1664
1671
  export const FieldValueQL = `
1665
1672
  type FieldValue {
1666
1673
  name: String!
1667
- value: String!
1668
- previousValue: String
1669
- changed: Boolean
1674
+ value: String
1675
+ id: String
1670
1676
  }`;
1671
1677
  export interface FieldValue {
1672
1678
  name: string;
1673
1679
  value?: string;
1674
- previousValue?: string;
1675
- changed?: boolean;
1680
+ id?: string;
1676
1681
  }
1677
1682
 
1678
1683
  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.6",
4
+ "version": "4.4.8",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",