@bigfootai/bigfoot-types 4.2.4 → 4.2.6

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 +16 -2
  2. package/model.ts +27 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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
4
  exports.Document = 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.BusinessObjectIngestionRequest = exports.BusinessObjectIngestionResponse = exports.History = 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 = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = void 0;
5
+ exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = 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 = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = 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
@@ -577,15 +577,16 @@ class Block extends SharedPrimitive {
577
577
  exports.Block = Block;
578
578
  class BlockProcessingRequest {
579
579
  constructor(historyId, referenceBlock) {
580
+ this.historyId = historyId;
580
581
  this.referenceBlock = referenceBlock;
581
582
  }
582
583
  }
583
584
  exports.BlockProcessingRequest = BlockProcessingRequest;
584
585
  class BlockProcessingResponse {
585
586
  constructor(historyId, referenceBlock, articleId) {
586
- this.articleId = articleId;
587
587
  this.historyId = historyId;
588
588
  this.referenceBlock = referenceBlock;
589
+ this.articleId = articleId;
589
590
  }
590
591
  }
591
592
  exports.BlockProcessingResponse = BlockProcessingResponse;
@@ -1019,6 +1020,18 @@ type ArchiveSearchOutput {
1019
1020
  _id: String!
1020
1021
  archived: Boolean!
1021
1022
  }`;
1023
+ exports.SearchTagsInputQL = `
1024
+ input SearchInput {
1025
+ tagType: String
1026
+ search: String
1027
+ email: String
1028
+ inviteStatus: Int
1029
+ archived Boolean
1030
+ orderByDateUpdated: String
1031
+ orderByDateCreated: String
1032
+ page: Int
1033
+ size: Int
1034
+ }`;
1022
1035
  exports.SearchInputQL = `
1023
1036
  input SearchInput {
1024
1037
  blockType: String
@@ -1115,4 +1128,5 @@ ${exports.FindSearchInputQL}
1115
1128
  ${exports.FindSearchesInputQL}
1116
1129
  ${exports.ArchiveSearchInputQL}
1117
1130
  ${exports.ArchiveSearchOutputQL}
1131
+ ${exports.SearchTagsInputQL}
1118
1132
  ${exports.SearchInputQL}`;
package/model.ts CHANGED
@@ -888,6 +888,7 @@ export class BlockProcessingRequest {
888
888
  referenceBlock: ReferenceBlock;
889
889
 
890
890
  constructor(historyId: string, referenceBlock: ReferenceBlock) {
891
+ this.historyId = historyId;
891
892
  this.referenceBlock = referenceBlock;
892
893
  }
893
894
  }
@@ -902,9 +903,9 @@ export class BlockProcessingResponse {
902
903
  referenceBlock: ReferenceBlock,
903
904
  articleId: string
904
905
  ) {
905
- this.articleId = articleId;
906
906
  this.historyId = historyId;
907
907
  this.referenceBlock = referenceBlock;
908
+ this.articleId = articleId;
908
909
  }
909
910
  }
910
911
 
@@ -1898,6 +1899,30 @@ export interface ArchiveSearchOutput {
1898
1899
  archived: boolean;
1899
1900
  }
1900
1901
 
1902
+ export const SearchTagsInputQL = `
1903
+ input SearchInput {
1904
+ tagType: String
1905
+ search: String
1906
+ email: String
1907
+ inviteStatus: Int
1908
+ archived Boolean
1909
+ orderByDateUpdated: String
1910
+ orderByDateCreated: String
1911
+ page: Int
1912
+ size: Int
1913
+ }`;
1914
+ export interface SearchTagsInput {
1915
+ tagType?: TagType;
1916
+ search?: string;
1917
+ email?: string;
1918
+ inviteStatus?: InviteStatus;
1919
+ archived?: boolean;
1920
+ orderByDateUpdated?: OrderByDirection;
1921
+ orderByDateCreated?: OrderByDirection;
1922
+ page?: number;
1923
+ size?: number;
1924
+ }
1925
+
1901
1926
  export const SearchInputQL = `
1902
1927
  input SearchInput {
1903
1928
  blockType: String
@@ -2016,4 +2041,5 @@ ${FindSearchInputQL}
2016
2041
  ${FindSearchesInputQL}
2017
2042
  ${ArchiveSearchInputQL}
2018
2043
  ${ArchiveSearchOutputQL}
2044
+ ${SearchTagsInputQL}
2019
2045
  ${SearchInputQL}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.2.4",
4
+ "version": "4.2.6",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",