@bigfootai/bigfoot-types 2.6.0 → 2.6.1

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 +4 -1
  2. package/model.ts +27 -0
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Thread = exports.ExternalTask = exports.EventStatus = exports.Conference = exports.Task = exports.Block = exports.Note = exports.Changes = exports.Article = exports.Person = exports.Domain = exports.Tenant = exports.ConnectedProvider = exports.BusinessObject = exports.Tag = exports.Primitive = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = exports.BusinessObjectType = void 0;
3
+ exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Thread = exports.ExternalTask = exports.EventStatus = exports.Conference = exports.Task = exports.Block = exports.Note = exports.Changes = exports.Article = exports.Person = exports.Domain = exports.Tenant = exports.ConnectedProvider = exports.BusinessObject = exports.Tag = exports.Provider = exports.Primitive = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = exports.BusinessObjectType = void 0;
4
4
  const uuid_1 = require("uuid");
5
5
  /*
6
6
  These are the core primitives of our model. These represent the entities that show
@@ -116,6 +116,9 @@ class Primitive {
116
116
  }
117
117
  }
118
118
  exports.Primitive = Primitive;
119
+ class Provider extends Primitive {
120
+ }
121
+ exports.Provider = Provider;
119
122
  class Tag extends Primitive {
120
123
  }
121
124
  exports.Tag = Tag;
package/model.ts CHANGED
@@ -177,6 +177,25 @@ export interface MachineLearningEntry {
177
177
  highlights?: Highlight[];
178
178
  }
179
179
 
180
+ export interface ProviderInfo {
181
+ provider: string;
182
+ application: string;
183
+ }
184
+
185
+ export interface ProviderResponse {
186
+ accessToken: string;
187
+ providerUrl: string;
188
+ }
189
+
190
+ export interface StandardObjects {
191
+ task: boolean;
192
+ calendar: boolean;
193
+ }
194
+
195
+ export interface Subscriptions {
196
+ linkDomains: string[];
197
+ }
198
+
180
199
  export class Primitive {
181
200
  _id: string;
182
201
  dateCreated: number;
@@ -191,6 +210,14 @@ export class Primitive {
191
210
  }
192
211
  }
193
212
 
213
+ export class Provider extends Primitive {
214
+ provider: string;
215
+ name: string;
216
+ description: string;
217
+ instanceUrl: string;
218
+ applications: any;
219
+ }
220
+
194
221
  export class Tag extends Primitive {
195
222
  tenantIdCreated: string; // The tenant._id that created the tag initially
196
223
  alias: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.0",
4
+ "version": "2.6.1",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",