@bigfootai/bigfoot-types 2.6.9 → 2.6.11

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 +13 -7
  2. package/model.ts +7 -7
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -168,8 +168,8 @@ class Domain extends Primitive {
168
168
  }
169
169
  exports.Domain = Domain;
170
170
  class Person extends Tag {
171
- constructor(tenantIdCreated, alias, tagType, tenantIdVerified, email) {
172
- super(tenantIdCreated, alias, tagType);
171
+ constructor(tenantIdCreated, alias, tenantIdVerified, email) {
172
+ super(tenantIdCreated, alias, TagType.Person);
173
173
  this.tenantIdVerified = tenantIdVerified;
174
174
  this.email = email;
175
175
  }
@@ -183,32 +183,38 @@ class Article extends Primitive {
183
183
  }
184
184
  exports.Article = Article;
185
185
  class Note extends Primitive {
186
- constructor(tenantIdCreated, document, editors, sharingTags) {
186
+ constructor(tenantIdCreated, document, editors, sharingTags, version) {
187
187
  super();
188
188
  this.tenantIdCreated = tenantIdCreated;
189
189
  this.document = document;
190
190
  this.editors = editors;
191
191
  this.sharingTags = sharingTags;
192
+ this.version = version;
192
193
  }
193
194
  }
194
195
  exports.Note = Note;
195
196
  class Block extends Note {
196
- constructor(tenantIdCreated, document, editors, sharingTags, blockType, originNoteId) {
197
- super(tenantIdCreated, document, editors, sharingTags);
197
+ constructor(tenantIdCreated, document, editors, sharingTags, version, blockType, originNoteId) {
198
+ super(tenantIdCreated, document, editors, sharingTags, version);
198
199
  this.blockType = blockType;
199
200
  this.originNoteId = originNoteId;
200
201
  }
201
202
  }
202
203
  exports.Block = Block;
203
204
  class Task extends Block {
204
- constructor(tenantIdCreated, document, editors, sharingTags, originNoteId, dateDue) {
205
- super(tenantIdCreated, document, editors, sharingTags, BlockType.Task, originNoteId);
205
+ constructor(tenantIdCreated, document, editors, sharingTags, version, originNoteId, dateDue) {
206
+ super(tenantIdCreated, document, editors, sharingTags, version, BlockType.Task, originNoteId);
206
207
  this.status = TaskStatus.NotStarted;
207
208
  this.dateDue = dateDue;
208
209
  }
209
210
  }
210
211
  exports.Task = Task;
211
212
  class Conference extends BusinessObject {
213
+ constructor(provider, uri, externalId, businessObjectType, externalResponse, document, entryPoints, transcription) {
214
+ super(provider, uri, externalId, businessObjectType, externalResponse, document);
215
+ this.entryPoints = entryPoints;
216
+ this.transcription = transcription;
217
+ }
212
218
  }
213
219
  exports.Conference = Conference;
214
220
  //// CONFERENCE END
package/model.ts CHANGED
@@ -192,8 +192,7 @@ export interface Subscriptions {
192
192
  linkDomains: string[];
193
193
  }
194
194
 
195
- export interface ConnectedProviderRegistration {
196
- connectionId: string;
195
+ export interface Credential {
197
196
  email: string;
198
197
  profile: any;
199
198
  accessToken: string;
@@ -201,15 +200,16 @@ export interface ConnectedProviderRegistration {
201
200
  instanceUrl?: string;
202
201
  }
203
202
 
203
+ export interface ConnectedProviderRegistration {
204
+ connectionId: string;
205
+ credential: Credential;
206
+ }
207
+
204
208
  export interface ConnectedProvider {
205
209
  providerId: string;
206
210
  connectionId: string;
207
211
  application: string;
208
- email?: string;
209
- instanceUrl?: string;
210
- profile?: any;
211
- accessToken?: string;
212
- refreshToken?: string;
212
+ credential?: Credential;
213
213
  dateCreated: number;
214
214
  dateUpdated: number;
215
215
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.9",
4
+ "version": "2.6.11",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",