@bigfootai/bigfoot-types 4.8.15 → 4.8.17
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.
- package/model.js +11 -4
- package/model.ts +17 -3
- package/package.json +1 -1
package/model.js
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = 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.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
4
|
exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Article = exports.ArticleQL = 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.BusinessObjectLinkingToTagQL = 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.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.Table = exports.TableQL = exports.Record = exports.RecordQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = 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.TaskFieldsForUpsert = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = void 0;
|
6
|
-
exports.GraphQLTypes = 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.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = 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.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = void 0;
|
6
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = 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.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = 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.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = void 0;
|
7
7
|
const uuid_1 = require("uuid");
|
8
8
|
/*
|
9
9
|
These are the core primitives of our model. These represent the entities that show
|
@@ -659,6 +659,7 @@ type TagRecommendation {
|
|
659
659
|
}`;
|
660
660
|
exports.TenantLightQL = `
|
661
661
|
type TenantLight {
|
662
|
+
_id: String!
|
662
663
|
domainMemberships: [String]!
|
663
664
|
email: String!
|
664
665
|
tagId: String!
|
@@ -670,6 +671,7 @@ type TenantLight {
|
|
670
671
|
}`;
|
671
672
|
class TenantLight {
|
672
673
|
constructor(tenant) {
|
674
|
+
this._id = tenant._id;
|
673
675
|
this.domainMemberships = tenant.domainMemberships;
|
674
676
|
this.email = tenant.email;
|
675
677
|
this.tagId = tenant.tagId;
|
@@ -1316,8 +1318,6 @@ input SharingDomainInput {
|
|
1316
1318
|
exports.SharingTenantInputQL = `
|
1317
1319
|
input SharingTenantInput {
|
1318
1320
|
tenantId: String!
|
1319
|
-
hasAutoShareNotesOn: Boolean
|
1320
|
-
hasAutoShareTasksOn: Boolean
|
1321
1321
|
sharingLevel: Int!
|
1322
1322
|
}`;
|
1323
1323
|
exports.UpsertTagInputQL = `
|
@@ -1519,6 +1519,12 @@ input SearchInput {
|
|
1519
1519
|
page: Int
|
1520
1520
|
size: Int
|
1521
1521
|
}`;
|
1522
|
+
exports.UpdateTagSharingInputQL = `
|
1523
|
+
input UpdateTagSharingInput {
|
1524
|
+
_id: String!
|
1525
|
+
emailDomain: Boolean
|
1526
|
+
sharingTenants: [SharingTenantInput]
|
1527
|
+
}`;
|
1522
1528
|
// THE GRAPH QL DEFINITIONS
|
1523
1529
|
exports.GraphQLTypes = `
|
1524
1530
|
${exports.HighlightQL}
|
@@ -1633,4 +1639,5 @@ ${exports.FindSearchesInputQL}
|
|
1633
1639
|
${exports.ArchiveSearchInputQL}
|
1634
1640
|
${exports.ArchiveSearchOutputQL}
|
1635
1641
|
${exports.SearchTagsInputQL}
|
1636
|
-
${exports.SearchInputQL}
|
1642
|
+
${exports.SearchInputQL}
|
1643
|
+
${exports.UpdateTagSharingInputQL}`;
|
package/model.ts
CHANGED
@@ -999,6 +999,7 @@ export interface TagRecommendation {
|
|
999
999
|
|
1000
1000
|
export const TenantLightQL = `
|
1001
1001
|
type TenantLight {
|
1002
|
+
_id: String!
|
1002
1003
|
domainMemberships: [String]!
|
1003
1004
|
email: String!
|
1004
1005
|
tagId: String!
|
@@ -1009,6 +1010,7 @@ type TenantLight {
|
|
1009
1010
|
access: String
|
1010
1011
|
}`;
|
1011
1012
|
export class TenantLight {
|
1013
|
+
_id: string;
|
1012
1014
|
domainMemberships: string[];
|
1013
1015
|
email: string;
|
1014
1016
|
tagId: string;
|
@@ -1019,6 +1021,7 @@ export class TenantLight {
|
|
1019
1021
|
access?: string;
|
1020
1022
|
|
1021
1023
|
constructor(tenant: Tenant) {
|
1024
|
+
this._id = tenant._id;
|
1022
1025
|
this.domainMemberships = tenant.domainMemberships;
|
1023
1026
|
this.email = tenant.email;
|
1024
1027
|
this.tagId = tenant.tagId;
|
@@ -2367,8 +2370,6 @@ input SharingDomainInput {
|
|
2367
2370
|
export const SharingTenantInputQL = `
|
2368
2371
|
input SharingTenantInput {
|
2369
2372
|
tenantId: String!
|
2370
|
-
hasAutoShareNotesOn: Boolean
|
2371
|
-
hasAutoShareTasksOn: Boolean
|
2372
2373
|
sharingLevel: Int!
|
2373
2374
|
}`;
|
2374
2375
|
export const UpsertTagInputQL = `
|
@@ -2753,6 +2754,18 @@ export interface SearchInput {
|
|
2753
2754
|
size?: number;
|
2754
2755
|
}
|
2755
2756
|
|
2757
|
+
export const UpdateTagSharingInputQL = `
|
2758
|
+
input UpdateTagSharingInput {
|
2759
|
+
_id: String!
|
2760
|
+
emailDomain: Boolean
|
2761
|
+
sharingTenants: [SharingTenantInput]
|
2762
|
+
}`;
|
2763
|
+
export interface UpdateTagSharingInput {
|
2764
|
+
_id: string;
|
2765
|
+
emailDomain?: boolean;
|
2766
|
+
sharingTenants?: SharingTenant[];
|
2767
|
+
}
|
2768
|
+
|
2756
2769
|
// THE GRAPH QL DEFINITIONS
|
2757
2770
|
export const GraphQLTypes = `
|
2758
2771
|
${HighlightQL}
|
@@ -2867,4 +2880,5 @@ ${FindSearchesInputQL}
|
|
2867
2880
|
${ArchiveSearchInputQL}
|
2868
2881
|
${ArchiveSearchOutputQL}
|
2869
2882
|
${SearchTagsInputQL}
|
2870
|
-
${SearchInputQL}
|
2883
|
+
${SearchInputQL}
|
2884
|
+
${UpdateTagSharingInputQL}`;
|