@bigfootai/bigfoot-types 5.2.17 → 5.2.19

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 +62 -15
  2. package/model.ts +64 -13
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ExternalIdLinkQL = exports.ExternalIdLinkInputQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.PubSubType = exports.RelationType = exports.EntityType = exports.RecordType = exports.ThumbsDirection = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.TaskPriority = exports.AccessType = exports.SharingLevel = exports.ClientType = exports.ExportType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
4
4
  exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalIdQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.History = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.FindExternalTagReferenceInputQL = exports.FindExternalTagReferencesInputQL = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
5
5
  exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = 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 = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = void 0;
6
- 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.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = 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 = void 0;
7
- exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = void 0;
6
+ 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.FindDashboardBlockInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = 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 = void 0;
7
+ exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = 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
@@ -1445,6 +1445,10 @@ input FindDashboardInput {
1445
1445
  _id: String!
1446
1446
  archived: Boolean
1447
1447
  }`;
1448
+ exports.FindDashboardBlockInputQL = `
1449
+ input FindDashboardBlockInput {
1450
+ _id: String!
1451
+ }`;
1448
1452
  exports.UpsertNoteInputQL = `
1449
1453
  input UpsertNoteInput {
1450
1454
  _id: String
@@ -1785,33 +1789,47 @@ input ChildItemInput {${exports.ChildItemFields}
1785
1789
  exports.ChildItemQL = `
1786
1790
  type ChildItem {${exports.ChildItemFields}
1787
1791
  }`;
1788
- exports.NumberFilterInputQL = `
1789
- input NumberFilterInput {
1792
+ exports.NumberFilterFieldsQL = `
1790
1793
  gt: Float
1791
1794
  gte: Float
1792
1795
  eq: Float
1793
1796
  lte: Float
1794
- lt: Float
1795
- }`;
1796
- exports.StringFilterInputQL = `
1797
- input StringFilterInput {
1797
+ lt: Float`;
1798
+ exports.NumberFilterQL = `
1799
+ type NumberFilter {${exports.NumberFilterFieldsQL}}`;
1800
+ exports.NumberFilterInputQL = `
1801
+ input NumberFilterInput {${exports.NumberFilterFieldsQL}}`;
1802
+ exports.StringFilterFieldsQL = `
1798
1803
  eq: String
1799
1804
  contains: String
1800
1805
  startsWith: String
1801
- endsWith: String
1806
+ endsWith: String`;
1807
+ exports.StringFilterQL = `
1808
+ type StringFilter {${exports.StringFilterFieldsQL}
1802
1809
  }`;
1803
- exports.BusinessObjectFilterInputQL = `
1804
- input BusinessObjectFilterInput {
1810
+ exports.StringFilterInputQL = `
1811
+ input StringFilterInput {${exports.StringFilterFieldsQL}
1812
+ }`;
1813
+ exports.BusinessObjectFilterFieldsQL = `
1805
1814
  id: String
1806
1815
  url: String
1807
1816
  blockType: BlockType
1808
1817
  provider: String
1809
- metadataType: String
1818
+ metadataType: String`;
1819
+ exports.BusinessObjectFilterQL = `
1820
+ type BusinessObjectFilter {${exports.BusinessObjectFilterFieldsQL}
1821
+ }`;
1822
+ exports.BusinessObjectFilterInputQL = `
1823
+ input BusinessObjectFilterInput {${exports.BusinessObjectFilterFieldsQL}
1810
1824
  }`;
1811
- exports.SortOptionInputQL = `
1812
- input SortOptionInput {
1825
+ exports.SortOptionFieldsQL = `
1813
1826
  field: String
1814
- order: OrderDirection
1827
+ order: OrderDirection`;
1828
+ exports.SortOptionQL = `
1829
+ type SortOption {${exports.SortOptionFieldsQL}
1830
+ }`;
1831
+ exports.SortOptionInputQL = `
1832
+ input SortOptionInput {${exports.SortOptionFieldsQL}
1815
1833
  }`;
1816
1834
  exports.GraphSearchInputFields = `
1817
1835
  search: String
@@ -1838,6 +1856,31 @@ exports.GraphSearchInputFields = `
1838
1856
  page: Int
1839
1857
  size: Int
1840
1858
  `;
1859
+ exports.GraphSearchFields = `
1860
+ search: String
1861
+ _ids: [String]
1862
+ tenantIdCreateds: [String]
1863
+ tagIds: [String]
1864
+ recommendationTypes: [RecommendationType]
1865
+ blockTypes: [BlockType]
1866
+ statuses: [TaskStatus]
1867
+ businessObjects: [BusinessObjectFilter]
1868
+ originReferenceBlock: ReferenceBlock
1869
+ originReferenceTagId: String
1870
+ editorId: String
1871
+ editorGroupId: String
1872
+ parentId: String
1873
+ favorite: Boolean
1874
+ snoozed: Boolean
1875
+ dateMatch: NumberFilter
1876
+ dateDue: NumberFilter
1877
+ dateCreated: NumberFilter
1878
+ dateUpdated: NumberFilter
1879
+ emails: [StringFilter]
1880
+ sort: [SortOption]
1881
+ page: Int
1882
+ size: Int
1883
+ `;
1841
1884
  exports.GraphSearchQL = `
1842
1885
  type GraphSearch {${exports.GraphSearchInputFields}
1843
1886
  }`;
@@ -1957,6 +2000,7 @@ ${exports.UpsertNoteInputQL}
1957
2000
  ${exports.UpsertDocumentInputQL}
1958
2001
  ${exports.FindDocumentInputQL}
1959
2002
  ${exports.FindDashboardInputQL}
2003
+ ${exports.FindDashboardBlockInputQL}
1960
2004
  ${exports.FindBlockInputQL}
1961
2005
  ${exports.FindBlocksInputQL}
1962
2006
  ${exports.ArchiveBlockInputQL}
@@ -1998,8 +2042,11 @@ ${exports.ParentItemQL}
1998
2042
  ${exports.ParentItemInputQL}
1999
2043
  ${exports.ChildItemQL}
2000
2044
  ${exports.ChildItemInputQL}
2045
+ ${exports.NumberFilterQL}
2001
2046
  ${exports.NumberFilterInputQL}
2047
+ ${exports.StringFilterQL}
2002
2048
  ${exports.StringFilterInputQL}
2049
+ ${exports.BusinessObjectFilterQL}
2003
2050
  ${exports.BusinessObjectFilterInputQL}
2004
2051
  ${exports.SortOptionInputQL}
2005
2052
  ${exports.GraphSearchQL}
package/model.ts CHANGED
@@ -2570,6 +2570,14 @@ export interface FindDashboardInput {
2570
2570
  archived?: boolean;
2571
2571
  }
2572
2572
 
2573
+ export const FindDashboardBlockInputQL = `
2574
+ input FindDashboardBlockInput {
2575
+ _id: String!
2576
+ }`;
2577
+ export interface FindDashboardBlockInput {
2578
+ _id: string;
2579
+ }
2580
+
2573
2581
  export const UpsertNoteInputQL = `
2574
2582
  input UpsertNoteInput {
2575
2583
  _id: String
@@ -3173,14 +3181,16 @@ export interface ChildItem {
3173
3181
  _order?: number;
3174
3182
  }
3175
3183
 
3176
- export const NumberFilterInputQL = `
3177
- input NumberFilterInput {
3184
+ export const NumberFilterFieldsQL = `
3178
3185
  gt: Float
3179
3186
  gte: Float
3180
3187
  eq: Float
3181
3188
  lte: Float
3182
- lt: Float
3183
- }`;
3189
+ lt: Float`;
3190
+ export const NumberFilterQL = `
3191
+ type NumberFilter {${NumberFilterFieldsQL}}`;
3192
+ export const NumberFilterInputQL = `
3193
+ input NumberFilterInput {${NumberFilterFieldsQL}}`;
3184
3194
  export interface NumberFilterInput {
3185
3195
  gt?: number;
3186
3196
  gte?: number;
@@ -3189,12 +3199,16 @@ export interface NumberFilterInput {
3189
3199
  lt?: number;
3190
3200
  }
3191
3201
 
3192
- export const StringFilterInputQL = `
3193
- input StringFilterInput {
3202
+ export const StringFilterFieldsQL = `
3194
3203
  eq: String
3195
3204
  contains: String
3196
3205
  startsWith: String
3197
- endsWith: String
3206
+ endsWith: String`;
3207
+ export const StringFilterQL = `
3208
+ type StringFilter {${StringFilterFieldsQL}
3209
+ }`;
3210
+ export const StringFilterInputQL = `
3211
+ input StringFilterInput {${StringFilterFieldsQL}
3198
3212
  }`;
3199
3213
  export interface StringFilterInput {
3200
3214
  eq?: string;
@@ -3203,13 +3217,17 @@ export interface StringFilterInput {
3203
3217
  endsWith?: string;
3204
3218
  }
3205
3219
 
3206
- export const BusinessObjectFilterInputQL = `
3207
- input BusinessObjectFilterInput {
3220
+ export const BusinessObjectFilterFieldsQL = `
3208
3221
  id: String
3209
3222
  url: String
3210
3223
  blockType: BlockType
3211
3224
  provider: String
3212
- metadataType: String
3225
+ metadataType: String`;
3226
+ export const BusinessObjectFilterQL = `
3227
+ type BusinessObjectFilter {${BusinessObjectFilterFieldsQL}
3228
+ }`;
3229
+ export const BusinessObjectFilterInputQL = `
3230
+ input BusinessObjectFilterInput {${BusinessObjectFilterFieldsQL}
3213
3231
  }`;
3214
3232
  export interface BusinessObjectFilterInput {
3215
3233
  id?: string;
@@ -3219,10 +3237,14 @@ export interface BusinessObjectFilterInput {
3219
3237
  metadataType?: string;
3220
3238
  }
3221
3239
 
3222
- export const SortOptionInputQL = `
3223
- input SortOptionInput {
3240
+ export const SortOptionFieldsQL = `
3224
3241
  field: String
3225
- order: OrderDirection
3242
+ order: OrderDirection`;
3243
+ export const SortOptionQL = `
3244
+ type SortOption {${SortOptionFieldsQL}
3245
+ }`;
3246
+ export const SortOptionInputQL = `
3247
+ input SortOptionInput {${SortOptionFieldsQL}
3226
3248
  }`;
3227
3249
  export interface SortOptionInput {
3228
3250
  field: string;
@@ -3254,6 +3276,31 @@ export const GraphSearchInputFields = `
3254
3276
  page: Int
3255
3277
  size: Int
3256
3278
  `;
3279
+ export const GraphSearchFields = `
3280
+ search: String
3281
+ _ids: [String]
3282
+ tenantIdCreateds: [String]
3283
+ tagIds: [String]
3284
+ recommendationTypes: [RecommendationType]
3285
+ blockTypes: [BlockType]
3286
+ statuses: [TaskStatus]
3287
+ businessObjects: [BusinessObjectFilter]
3288
+ originReferenceBlock: ReferenceBlock
3289
+ originReferenceTagId: String
3290
+ editorId: String
3291
+ editorGroupId: String
3292
+ parentId: String
3293
+ favorite: Boolean
3294
+ snoozed: Boolean
3295
+ dateMatch: NumberFilter
3296
+ dateDue: NumberFilter
3297
+ dateCreated: NumberFilter
3298
+ dateUpdated: NumberFilter
3299
+ emails: [StringFilter]
3300
+ sort: [SortOption]
3301
+ page: Int
3302
+ size: Int
3303
+ `;
3257
3304
  export const GraphSearchQL = `
3258
3305
  type GraphSearch {${GraphSearchInputFields}
3259
3306
  }`;
@@ -3417,6 +3464,7 @@ ${UpsertNoteInputQL}
3417
3464
  ${UpsertDocumentInputQL}
3418
3465
  ${FindDocumentInputQL}
3419
3466
  ${FindDashboardInputQL}
3467
+ ${FindDashboardBlockInputQL}
3420
3468
  ${FindBlockInputQL}
3421
3469
  ${FindBlocksInputQL}
3422
3470
  ${ArchiveBlockInputQL}
@@ -3458,8 +3506,11 @@ ${ParentItemQL}
3458
3506
  ${ParentItemInputQL}
3459
3507
  ${ChildItemQL}
3460
3508
  ${ChildItemInputQL}
3509
+ ${NumberFilterQL}
3461
3510
  ${NumberFilterInputQL}
3511
+ ${StringFilterQL}
3462
3512
  ${StringFilterInputQL}
3513
+ ${BusinessObjectFilterQL}
3463
3514
  ${BusinessObjectFilterInputQL}
3464
3515
  ${SortOptionInputQL}
3465
3516
  ${GraphSearchQL}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.2.17",
4
+ "version": "5.2.19",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",