@bigfootai/bigfoot-types 5.1.1 → 5.1.3

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 -4
  2. package/model.ts +19 -3
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -4,7 +4,7 @@ exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL =
4
4
  exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = void 0;
5
5
  exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = 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.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = void 0;
6
6
  exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = void 0;
7
- exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchInputQL = exports.SortOptionInputQL = void 0;
7
+ exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = void 0;
8
8
  const uuid_1 = require("uuid");
9
9
  /*
10
10
  These are the core primitives of our model. These represent the entities that show
@@ -1604,8 +1604,7 @@ input SortOptionInput {
1604
1604
  field: String
1605
1605
  order: OrderDirection
1606
1606
  }`;
1607
- exports.GraphSearchInputQL = `
1608
- input GraphSearchInput {
1607
+ exports.GraphSearchInputFields = `
1609
1608
  search: String
1610
1609
  _ids: [String]
1611
1610
  tenantIdCreateds: [String]
@@ -1613,7 +1612,7 @@ input GraphSearchInput {
1613
1612
  blockTypes: [BlockType]
1614
1613
  statuses: [TaskStatus]
1615
1614
  businessObjects: [BusinessObjectFilterInput]
1616
- originReferenceBlock: ReferenceBlock
1615
+ originReferenceBlock: ReferenceBlockInput
1617
1616
  editorId: String
1618
1617
  editorGroupId: String
1619
1618
  parentId: String
@@ -1626,6 +1625,16 @@ input GraphSearchInput {
1626
1625
  sort: [SortOptionInput]
1627
1626
  page: Int
1628
1627
  size: Int
1628
+ `;
1629
+ exports.GraphSearchInputQL = `
1630
+ type GraphSearchInput {${exports.GraphSearchInputFields}
1631
+ }`;
1632
+ exports.GraphSearchEventsInputQL = `
1633
+ type GraphSearchInput {${exports.GraphSearchInputFields}
1634
+ calendarId: String
1635
+ dateStart: NumberFilterInput
1636
+ dateEnd: NumberFilterInput
1637
+ subject: StringFilterInput
1629
1638
  }`;
1630
1639
  exports.UpdateTagSharingInputQL = `
1631
1640
  input UpdateTagSharingInput {
package/model.ts CHANGED
@@ -2841,8 +2841,7 @@ export interface SortOptionInput {
2841
2841
  order: OrderDirection;
2842
2842
  }
2843
2843
 
2844
- export const GraphSearchInputQL = `
2845
- input GraphSearchInput {
2844
+ export const GraphSearchInputFields = `
2846
2845
  search: String
2847
2846
  _ids: [String]
2848
2847
  tenantIdCreateds: [String]
@@ -2850,7 +2849,7 @@ input GraphSearchInput {
2850
2849
  blockTypes: [BlockType]
2851
2850
  statuses: [TaskStatus]
2852
2851
  businessObjects: [BusinessObjectFilterInput]
2853
- originReferenceBlock: ReferenceBlock
2852
+ originReferenceBlock: ReferenceBlockInput
2854
2853
  editorId: String
2855
2854
  editorGroupId: String
2856
2855
  parentId: String
@@ -2863,6 +2862,9 @@ input GraphSearchInput {
2863
2862
  sort: [SortOptionInput]
2864
2863
  page: Int
2865
2864
  size: Int
2865
+ `;
2866
+ export const GraphSearchInputQL = `
2867
+ type GraphSearchInput {${GraphSearchInputFields}
2866
2868
  }`;
2867
2869
  export interface GraphSearchInput {
2868
2870
  // Used for context based searching
@@ -2892,6 +2894,20 @@ export interface GraphSearchInput {
2892
2894
  size?: number;
2893
2895
  }
2894
2896
 
2897
+ export const GraphSearchEventsInputQL = `
2898
+ type GraphSearchInput {${GraphSearchInputFields}
2899
+ calendarId: String
2900
+ dateStart: NumberFilterInput
2901
+ dateEnd: NumberFilterInput
2902
+ subject: StringFilterInput
2903
+ }`;
2904
+ export interface GraphSearchEventsInput extends GraphSearchInput {
2905
+ calendarId?: string;
2906
+ dateStart?: NumberFilterInput;
2907
+ dateEnd?: NumberFilterInput;
2908
+ subject?: StringFilterInput;
2909
+ }
2910
+
2895
2911
  export const UpdateTagSharingInputQL = `
2896
2912
  input UpdateTagSharingInput {
2897
2913
  _id: String!
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.1.1",
4
+ "version": "5.1.3",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",