@bigfootai/bigfoot-types 2.6.5 → 2.6.7

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 (2) hide show
  1. package/model.ts +33 -4
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -193,6 +193,7 @@ export interface Subscriptions {
193
193
  }
194
194
 
195
195
  export interface ConnectedProviderRegistration {
196
+ connectionId: string;
196
197
  email: string;
197
198
  profile: any;
198
199
  accessToken: string;
@@ -202,8 +203,8 @@ export interface ConnectedProviderRegistration {
202
203
 
203
204
  export interface ConnectedProvider {
204
205
  providerId: string;
206
+ connectionId: string;
205
207
  application: string;
206
- bigfootAccessToken: string;
207
208
  email?: string;
208
209
  instanceUrl?: string;
209
210
  profile?: any;
@@ -386,17 +387,18 @@ export class Note extends Primitive {
386
387
  document: string;
387
388
  editors: Editor[];
388
389
  sharingTags: SharingTag[];
390
+ version: number;
389
391
  changes?: Changes;
390
392
  _sharedTags?: string[];
391
393
  reactions?: Reaction[];
392
394
  linkUrls?: string[];
393
- version: number;
394
395
 
395
396
  constructor(
396
397
  tenantIdCreated: string,
397
398
  document: string,
398
399
  editors: Editor[],
399
- sharingTags: SharingTag[]
400
+ sharingTags: SharingTag[],
401
+ version: number
400
402
  ) {
401
403
  super();
402
404
 
@@ -404,6 +406,7 @@ export class Note extends Primitive {
404
406
  this.document = document;
405
407
  this.editors = editors;
406
408
  this.sharingTags = sharingTags;
409
+ this.version = version;
407
410
  }
408
411
  }
409
412
 
@@ -416,10 +419,11 @@ export class Block extends Note {
416
419
  document: string,
417
420
  editors: Editor[],
418
421
  sharingTags: SharingTag[],
422
+ version: number,
419
423
  blockType: BlockType,
420
424
  originNoteId: string
421
425
  ) {
422
- super(tenantIdCreated, document, editors, sharingTags);
426
+ super(tenantIdCreated, document, editors, sharingTags, version);
423
427
 
424
428
  this.blockType = blockType;
425
429
  this.originNoteId = originNoteId;
@@ -438,6 +442,7 @@ export class Task extends Block {
438
442
  document: string,
439
443
  editors: Editor[],
440
444
  sharingTags: SharingTag[],
445
+ version: number,
441
446
  originNoteId: string,
442
447
  dateDue: number
443
448
  ) {
@@ -446,6 +451,7 @@ export class Task extends Block {
446
451
  document,
447
452
  editors,
448
453
  sharingTags,
454
+ version,
449
455
  BlockType.Task,
450
456
  originNoteId
451
457
  );
@@ -490,6 +496,29 @@ export interface ConferenceEntrypoint {
490
496
  export class Conference extends BusinessObject {
491
497
  entryPoints: ConferenceEntrypoint[];
492
498
  transcription: Transcription;
499
+
500
+ constructor(
501
+ provider: string,
502
+ uri: string,
503
+ externalId: string,
504
+ businessObjectType: BusinessObjectType,
505
+ externalResponse: string,
506
+ document: Document,
507
+ entryPoints: ConferenceEntrypoint[],
508
+ transcription: Transcription
509
+ ) {
510
+ super(
511
+ provider,
512
+ uri,
513
+ externalId,
514
+ businessObjectType,
515
+ externalResponse,
516
+ document
517
+ );
518
+
519
+ this.entryPoints = entryPoints;
520
+ this.transcription = transcription;
521
+ }
493
522
  }
494
523
  //// CONFERENCE END
495
524
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.5",
4
+ "version": "2.6.7",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",