@bigfootai/bigfoot-types 5.4.1 → 5.4.2
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 +41 -5
- package/model.ts +37 -1
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
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
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.
|
4
|
+
exports.RecommendationQL = exports.NotificationRecommendationQL = exports.MessageRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ChangeRecommendationQL = exports.ReactionRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TenantLightInputQL = 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.PersonReferenceInputQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
+
exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = exports.Email = exports.EmailQL = exports.UpsertEmailInputQL = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.AttachmentQL = exports.AttachmentInputQL = 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 = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = void 0;
|
6
|
+
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 = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = void 0;
|
7
|
+
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 = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = void 0;
|
8
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = void 0;
|
8
9
|
const uuid_1 = require("uuid");
|
9
10
|
/*
|
10
11
|
These are the core primitives of our model. These represent the entities that show
|
@@ -477,6 +478,9 @@ type Changes {
|
|
477
478
|
exports.PersonReferenceFields = `
|
478
479
|
email: String!
|
479
480
|
`;
|
481
|
+
exports.PersonReferenceInputQL = `
|
482
|
+
input PersonReferenceInput {${exports.PersonReferenceFields}
|
483
|
+
}`;
|
480
484
|
exports.PersonReferenceQL = `
|
481
485
|
type PersonReference {${exports.PersonReferenceFields}
|
482
486
|
}`;
|
@@ -1134,6 +1138,22 @@ exports.PersonAcceptanceQL = `
|
|
1134
1138
|
type PersonAcceptance {${exports.PersonReferenceFields}
|
1135
1139
|
responseStatus: String!
|
1136
1140
|
}`;
|
1141
|
+
exports.AttachmentInputQL = `
|
1142
|
+
input AttachmentInput {
|
1143
|
+
externalId: String!
|
1144
|
+
url: String!
|
1145
|
+
iconUrl: String
|
1146
|
+
mimeType: String
|
1147
|
+
title: String
|
1148
|
+
}`;
|
1149
|
+
exports.AttachmentQL = `
|
1150
|
+
type Attachment {
|
1151
|
+
externalId: String!
|
1152
|
+
url: String!
|
1153
|
+
iconUrl: String
|
1154
|
+
mimeType: String
|
1155
|
+
title: String
|
1156
|
+
}`;
|
1137
1157
|
exports.EventQL = `
|
1138
1158
|
type Event {${exports.BusinessObjectFields}
|
1139
1159
|
calendarId: String!
|
@@ -1185,12 +1205,22 @@ class Todo extends BusinessObject {
|
|
1185
1205
|
exports.Todo = Todo;
|
1186
1206
|
//// EXTERNAL TASK END
|
1187
1207
|
//// EMAIL START
|
1208
|
+
exports.UpsertEmailInputQL = `
|
1209
|
+
input UpsertEmailInput {${exports.BlockFieldsForUpsert}
|
1210
|
+
to: [PersonReferenceInput]
|
1211
|
+
cc: [PersonReferenceInput]
|
1212
|
+
bcc: [PersonReferenceInput]
|
1213
|
+
subject: String
|
1214
|
+
htmlContent: String
|
1215
|
+
originReferenceTagId: String
|
1216
|
+
}`;
|
1188
1217
|
exports.EmailQL = `
|
1189
1218
|
type Email {${exports.BusinessObjectFields}
|
1190
1219
|
to: [PersonReference]
|
1191
1220
|
cc: [PersonReference]
|
1192
1221
|
bcc: [PersonReference]
|
1193
1222
|
subject: String
|
1223
|
+
htmlContent: String
|
1194
1224
|
}`;
|
1195
1225
|
class Email extends BusinessObject {
|
1196
1226
|
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
@@ -1202,11 +1232,12 @@ exports.Email = Email;
|
|
1202
1232
|
//// MESSAGING START
|
1203
1233
|
exports.UpsertMessageInputQL = `
|
1204
1234
|
input UpsertMessageInput {${exports.BlockFieldsForUpsert}
|
1205
|
-
|
1235
|
+
htmlContent: String
|
1206
1236
|
originReferenceTagId: String
|
1207
1237
|
}`;
|
1208
1238
|
exports.MessageQL = `
|
1209
1239
|
type Message {${exports.BusinessObjectFields}
|
1240
|
+
htmlContent: String
|
1210
1241
|
originReferenceTagId: String
|
1211
1242
|
}`;
|
1212
1243
|
class Message extends BusinessObject {
|
@@ -1998,6 +2029,7 @@ ${exports.ChangesInputQL}
|
|
1998
2029
|
${exports.ChangesQL}
|
1999
2030
|
${exports.FindExternalTagReferencesInputQL}
|
2000
2031
|
${exports.FindExternalTagReferenceInputQL}
|
2032
|
+
${exports.PersonReferenceInputQL}
|
2001
2033
|
${exports.PersonReferenceQL}
|
2002
2034
|
${exports.MetadataQL}
|
2003
2035
|
${exports.FolderQL}
|
@@ -2035,9 +2067,13 @@ ${exports.TranscriptionEntryQL}
|
|
2035
2067
|
${exports.TranscriptionQL}
|
2036
2068
|
${exports.ConferenceEntrypointQL}
|
2037
2069
|
${exports.ConferenceQL}
|
2070
|
+
${exports.AttachmentInputQL}
|
2071
|
+
${exports.AttachmentQL}
|
2038
2072
|
${exports.PersonAcceptanceQL}
|
2039
2073
|
${exports.EventQL}
|
2040
2074
|
${exports.CalendarQL}
|
2075
|
+
${exports.UpsertEmailInputQL}
|
2076
|
+
${exports.EmailQL}
|
2041
2077
|
${exports.UpsertMessageInputQL}
|
2042
2078
|
${exports.MessageQL}
|
2043
2079
|
${exports.DocumentQL}
|
package/model.ts
CHANGED
@@ -671,6 +671,9 @@ export interface Changes {
|
|
671
671
|
export const PersonReferenceFields = `
|
672
672
|
email: String!
|
673
673
|
`;
|
674
|
+
export const PersonReferenceInputQL = `
|
675
|
+
input PersonReferenceInput {${PersonReferenceFields}
|
676
|
+
}`;
|
674
677
|
export const PersonReferenceQL = `
|
675
678
|
type PersonReference {${PersonReferenceFields}
|
676
679
|
}`;
|
@@ -1840,6 +1843,22 @@ export interface PersonAcceptance extends PersonReference {
|
|
1840
1843
|
responseStatus: ResponseStatus;
|
1841
1844
|
}
|
1842
1845
|
|
1846
|
+
export const AttachmentInputQL = `
|
1847
|
+
input AttachmentInput {
|
1848
|
+
externalId: String!
|
1849
|
+
url: String!
|
1850
|
+
iconUrl: String
|
1851
|
+
mimeType: String
|
1852
|
+
title: String
|
1853
|
+
}`;
|
1854
|
+
export const AttachmentQL = `
|
1855
|
+
type Attachment {
|
1856
|
+
externalId: String!
|
1857
|
+
url: String!
|
1858
|
+
iconUrl: String
|
1859
|
+
mimeType: String
|
1860
|
+
title: String
|
1861
|
+
}`;
|
1843
1862
|
export interface Attachment {
|
1844
1863
|
externalId: string;
|
1845
1864
|
url: string;
|
@@ -2037,12 +2056,23 @@ export class Todo extends BusinessObject {
|
|
2037
2056
|
//// EXTERNAL TASK END
|
2038
2057
|
|
2039
2058
|
//// EMAIL START
|
2059
|
+
export const UpsertEmailInputQL = `
|
2060
|
+
input UpsertEmailInput {${BlockFieldsForUpsert}
|
2061
|
+
to: [PersonReferenceInput]
|
2062
|
+
cc: [PersonReferenceInput]
|
2063
|
+
bcc: [PersonReferenceInput]
|
2064
|
+
subject: String
|
2065
|
+
attachments: [AttachmentInput]
|
2066
|
+
htmlContent: String
|
2067
|
+
}`;
|
2040
2068
|
export const EmailQL = `
|
2041
2069
|
type Email {${BusinessObjectFields}
|
2042
2070
|
to: [PersonReference]
|
2043
2071
|
cc: [PersonReference]
|
2044
2072
|
bcc: [PersonReference]
|
2045
2073
|
subject: String
|
2074
|
+
attachments: [Attachment]
|
2075
|
+
htmlContent: String
|
2046
2076
|
}`;
|
2047
2077
|
export class Email extends BusinessObject {
|
2048
2078
|
to?: PersonReference[];
|
@@ -2078,11 +2108,12 @@ export class Email extends BusinessObject {
|
|
2078
2108
|
//// MESSAGING START
|
2079
2109
|
export const UpsertMessageInputQL = `
|
2080
2110
|
input UpsertMessageInput {${BlockFieldsForUpsert}
|
2081
|
-
|
2111
|
+
htmlContent: String
|
2082
2112
|
originReferenceTagId: String
|
2083
2113
|
}`;
|
2084
2114
|
export const MessageQL = `
|
2085
2115
|
type Message {${BusinessObjectFields}
|
2116
|
+
htmlContent: String
|
2086
2117
|
originReferenceTagId: String
|
2087
2118
|
}`;
|
2088
2119
|
export class Message extends BusinessObject {
|
@@ -3528,6 +3559,7 @@ ${ChangesInputQL}
|
|
3528
3559
|
${ChangesQL}
|
3529
3560
|
${FindExternalTagReferencesInputQL}
|
3530
3561
|
${FindExternalTagReferenceInputQL}
|
3562
|
+
${PersonReferenceInputQL}
|
3531
3563
|
${PersonReferenceQL}
|
3532
3564
|
${MetadataQL}
|
3533
3565
|
${FolderQL}
|
@@ -3565,9 +3597,13 @@ ${TranscriptionEntryQL}
|
|
3565
3597
|
${TranscriptionQL}
|
3566
3598
|
${ConferenceEntrypointQL}
|
3567
3599
|
${ConferenceQL}
|
3600
|
+
${AttachmentInputQL}
|
3601
|
+
${AttachmentQL}
|
3568
3602
|
${PersonAcceptanceQL}
|
3569
3603
|
${EventQL}
|
3570
3604
|
${CalendarQL}
|
3605
|
+
${UpsertEmailInputQL}
|
3606
|
+
${EmailQL}
|
3571
3607
|
${UpsertMessageInputQL}
|
3572
3608
|
${MessageQL}
|
3573
3609
|
${DocumentQL}
|