@bigfootai/bigfoot-types 3.9.9 → 4.0.0

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 +26 -3
  2. package/model.ts +33 -0
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchQL = exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
4
- exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = exports.Thread = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.Sync = exports.SyncQL = exports.Search = void 0;
5
- exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = void 0;
3
+ exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
4
+ exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = exports.Thread = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplication = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = void 0;
5
+ exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = void 0;
6
6
  const uuid_1 = require("uuid");
7
7
  /*
8
8
  These are the core primitives of our model. These represent the entities that show
@@ -310,6 +310,16 @@ type ProviderRequest {
310
310
  providerInfo: ID!
311
311
  connectionId: String!
312
312
  }`;
313
+ exports.StandardObjectsQL = `
314
+ type StandardObjects {
315
+ task: Boolean!
316
+ calendar: Boolean!
317
+ conference: Boolean!
318
+ document: Boolean!
319
+ thread: Boolean!
320
+ template: Boolean!
321
+ table: Boolean!
322
+ }`;
313
323
  exports.CredentialQL = `
314
324
  type Credential {
315
325
  email: String!
@@ -404,6 +414,14 @@ class Sync extends Primitive {
404
414
  }
405
415
  }
406
416
  exports.Sync = Sync;
417
+ exports.ProviderApplicationQL = `
418
+ type ProviderApplication {
419
+ name: String!
420
+ sobjects: StandardObjects!
421
+ }`;
422
+ class ProviderApplication {
423
+ }
424
+ exports.ProviderApplication = ProviderApplication;
407
425
  exports.ProviderQL = `
408
426
  type Provider {${exports.PrimitiveFields}
409
427
  provider: String!
@@ -517,6 +535,7 @@ type Article {${exports.PrimitiveFields}
517
535
  relations: [RelationEntry]
518
536
  archived: Boolean!
519
537
  favorite: Boolean!
538
+ snoozed: Boolean
520
539
  status: Int
521
540
  originNoteId: String
522
541
  editorId: String
@@ -947,6 +966,7 @@ input UpsertSearchInput {
947
966
  editorGroupId: String
948
967
  parentId: String
949
968
  favorite: Boolean
969
+ snoozed: Boolean
950
970
  size: Int
951
971
  }`;
952
972
  exports.FindSearchInputQL = `
@@ -986,6 +1006,7 @@ input SearchInput {
986
1006
  editorGroupId: String
987
1007
  parentId: String
988
1008
  favorite: Boolean
1009
+ snoozed: Boolean
989
1010
  page: Int
990
1011
  size: Int
991
1012
  }`;
@@ -1010,12 +1031,14 @@ ${exports.EntityEntryQL}
1010
1031
  ${exports.DateEntityEntryQL}
1011
1032
  ${exports.ProviderInfoQL}
1012
1033
  ${exports.ProviderRequestQL}
1034
+ ${exports.StandardObjectsQL}
1013
1035
  ${exports.CredentialQL}
1014
1036
  ${exports.ChangesInputQL}
1015
1037
  ${exports.ChangesQL}
1016
1038
  ${exports.PersonReferenceQL}
1017
1039
  ${exports.SearchQL}
1018
1040
  ${exports.SyncQL}
1041
+ ${exports.ProviderApplicationQL}
1019
1042
  ${exports.ProviderQL}
1020
1043
  ${exports.TagQL}
1021
1044
  ${exports.TagRecommendationQL}
package/model.ts CHANGED
@@ -430,9 +430,24 @@ export interface ProviderResponse {
430
430
  providerUrl: string;
431
431
  }
432
432
 
433
+ export const StandardObjectsQL = `
434
+ type StandardObjects {
435
+ task: Boolean!
436
+ calendar: Boolean!
437
+ conference: Boolean!
438
+ document: Boolean!
439
+ thread: Boolean!
440
+ template: Boolean!
441
+ table: Boolean!
442
+ }`;
433
443
  export interface StandardObjects {
434
444
  task: boolean;
435
445
  calendar: boolean;
446
+ conference: boolean;
447
+ document: boolean;
448
+ thread: boolean;
449
+ template: boolean;
450
+ table: boolean;
436
451
  }
437
452
 
438
453
  export interface Subscriptions {
@@ -594,6 +609,16 @@ export class Sync extends Primitive {
594
609
  }
595
610
  }
596
611
 
612
+ export const ProviderApplicationQL = `
613
+ type ProviderApplication {
614
+ name: String!
615
+ sobjects: StandardObjects!
616
+ }`;
617
+ export class ProviderApplication {
618
+ name: string;
619
+ sobjects: StandardObjects;
620
+ }
621
+
597
622
  export const ProviderQL = `
598
623
  type Provider {${PrimitiveFields}
599
624
  provider: String!
@@ -770,6 +795,7 @@ type Article {${PrimitiveFields}
770
795
  relations: [RelationEntry]
771
796
  archived: Boolean!
772
797
  favorite: Boolean!
798
+ snoozed: Boolean
773
799
  status: Int
774
800
  originNoteId: String
775
801
  editorId: String
@@ -790,6 +816,7 @@ export class Article extends Primitive {
790
816
  relations?: RelationEntry[];
791
817
  archived: boolean;
792
818
  favorite: boolean;
819
+ snoozed?: boolean;
793
820
  status?: TaskStatus;
794
821
  originNoteId?: string;
795
822
  editorId?: string;
@@ -1714,6 +1741,7 @@ input UpsertSearchInput {
1714
1741
  editorGroupId: String
1715
1742
  parentId: String
1716
1743
  favorite: Boolean
1744
+ snoozed: Boolean
1717
1745
  size: Int
1718
1746
  }`;
1719
1747
  export interface UpsertSearchInput {
@@ -1734,6 +1762,7 @@ export interface UpsertSearchInput {
1734
1762
  editorGroupId?: string;
1735
1763
  parentId?: string;
1736
1764
  favorite?: boolean;
1765
+ snoozed?: boolean;
1737
1766
  size?: number;
1738
1767
  }
1739
1768
 
@@ -1793,6 +1822,7 @@ input SearchInput {
1793
1822
  editorGroupId: String
1794
1823
  parentId: String
1795
1824
  favorite: Boolean
1825
+ snoozed: Boolean
1796
1826
  page: Int
1797
1827
  size: Int
1798
1828
  }`;
@@ -1813,6 +1843,7 @@ export interface SearchInput {
1813
1843
  editorGroupId?: string;
1814
1844
  parentId?: string;
1815
1845
  favorite?: boolean;
1846
+ snoozed?: boolean;
1816
1847
  page?: number;
1817
1848
  size?: number;
1818
1849
  }
@@ -1838,12 +1869,14 @@ ${EntityEntryQL}
1838
1869
  ${DateEntityEntryQL}
1839
1870
  ${ProviderInfoQL}
1840
1871
  ${ProviderRequestQL}
1872
+ ${StandardObjectsQL}
1841
1873
  ${CredentialQL}
1842
1874
  ${ChangesInputQL}
1843
1875
  ${ChangesQL}
1844
1876
  ${PersonReferenceQL}
1845
1877
  ${SearchQL}
1846
1878
  ${SyncQL}
1879
+ ${ProviderApplicationQL}
1847
1880
  ${ProviderQL}
1848
1881
  ${TagQL}
1849
1882
  ${TagRecommendationQL}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "3.9.9",
4
+ "version": "4.0.0",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",