@bigfootai/bigfoot-types 2.6.8 → 2.6.10

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 +1 -2
  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
@@ -356,11 +356,10 @@ export class Person extends Tag {
356
356
  constructor(
357
357
  tenantIdCreated: string,
358
358
  alias: string,
359
- tagType: TagType,
360
359
  tenantIdVerified: string,
361
360
  email: string
362
361
  ) {
363
- super(tenantIdCreated, alias, tagType);
362
+ super(tenantIdCreated, alias, TagType.Person);
364
363
 
365
364
  this.tenantIdVerified = tenantIdVerified;
366
365
  this.email = email;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.8",
4
+ "version": "2.6.10",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",