@bigfootai/bigfoot-types 4.7.0 → 4.7.2

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 +3 -0
  2. package/model.ts +6 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -546,6 +546,7 @@ type ProviderApplication {
546
546
  sobjects: StandardObjects!
547
547
  linkSubscriptions: [String]!
548
548
  recordTypeSubscriptions: [String]!
549
+ authentication: Boolean!
549
550
  }`;
550
551
  exports.ProviderQL = `
551
552
  type Provider {${exports.PrimitiveFields}
@@ -661,6 +662,7 @@ type Tenant {${exports.PrimitiveFields}
661
662
  picture: String
662
663
  familyName: String
663
664
  givenName: String
665
+ allowed: Boolean!
664
666
  }`;
665
667
  class Tenant extends Primitive {
666
668
  constructor(domainMemberships, email, emailVerified, domainIdEmail, tagId) {
@@ -670,6 +672,7 @@ class Tenant extends Primitive {
670
672
  this.emailVerified = emailVerified;
671
673
  this.domainIdEmail = domainIdEmail;
672
674
  this.tagId = tagId;
675
+ this.allowed = false;
673
676
  }
674
677
  }
675
678
  exports.Tenant = Tenant;
package/model.ts CHANGED
@@ -798,6 +798,7 @@ type ProviderApplication {
798
798
  sobjects: StandardObjects!
799
799
  linkSubscriptions: [String]!
800
800
  recordTypeSubscriptions: [String]!
801
+ authentication: Boolean!
801
802
  }`;
802
803
  export interface ProviderApplication {
803
804
  name: string;
@@ -807,6 +808,7 @@ export interface ProviderApplication {
807
808
  sobjects: StandardObjects;
808
809
  linkSubscriptions: string[];
809
810
  recordTypeSubscriptions: string[];
811
+ authentication: boolean;
810
812
  }
811
813
 
812
814
  export const ProviderQL = `
@@ -968,7 +970,7 @@ export interface UpsertRecommendation {
968
970
  table: Table;
969
971
  record: Record;
970
972
  upsertType: UpsertType;
971
- connectRecommendations: ConnectRecommendation[]; // Lists out any recommended providers that could be used to perform the data update
973
+ connectRecommendations?: ConnectRecommendation[]; // Lists out any recommended providers that could be used to perform the data update
972
974
  }
973
975
 
974
976
  export class Recommendation extends SharedPrimitive {
@@ -1004,6 +1006,7 @@ type Tenant {${PrimitiveFields}
1004
1006
  picture: String
1005
1007
  familyName: String
1006
1008
  givenName: String
1009
+ allowed: Boolean!
1007
1010
  }`;
1008
1011
  export class Tenant extends Primitive {
1009
1012
  domainMemberships: string[]; // The list of all domains this tenant belongs
@@ -1016,6 +1019,7 @@ export class Tenant extends Primitive {
1016
1019
  givenName?: string;
1017
1020
  connectedProviders?: ConnectedProvider[];
1018
1021
  accessToken?: string;
1022
+ allowed: boolean; // Used to indicate if this user is allowed to access the application TODO take this out after private beta
1019
1023
 
1020
1024
  constructor(
1021
1025
  domainMemberships: string[],
@@ -1031,6 +1035,7 @@ export class Tenant extends Primitive {
1031
1035
  this.emailVerified = emailVerified;
1032
1036
  this.domainIdEmail = domainIdEmail;
1033
1037
  this.tagId = tagId;
1038
+ this.allowed = false;
1034
1039
  }
1035
1040
  }
1036
1041
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.7.0",
4
+ "version": "4.7.2",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",