@bigfootai/bigfoot-types 4.4.34 → 4.5.0
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 +22 -6
- package/model.ts +28 -3
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = void 0;
|
3
|
+
exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = 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.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.RecordType = 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.TaskPriority = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
+
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.History = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.ProviderRecommendationQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Metadata = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = void 0;
|
5
|
+
exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = 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.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 = void 0;
|
6
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = 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
|
@@ -331,9 +331,14 @@ type ProviderInfo {
|
|
331
331
|
}`;
|
332
332
|
exports.ProviderRequestQL = `
|
333
333
|
type ProviderRequest {
|
334
|
-
providerInfo:
|
334
|
+
providerInfo: ProviderInfo!
|
335
335
|
connectionId: String!
|
336
336
|
}`;
|
337
|
+
exports.ProviderResponseQL = `
|
338
|
+
type ProviderResponse {
|
339
|
+
connectionId: String!
|
340
|
+
providerUrl: String!
|
341
|
+
}`;
|
337
342
|
exports.StandardObjectsQL = `
|
338
343
|
type StandardObjects {
|
339
344
|
task: Boolean!
|
@@ -543,6 +548,14 @@ type TagRecommendation {
|
|
543
548
|
entity: EntityEntry!
|
544
549
|
variation: String
|
545
550
|
}`;
|
551
|
+
exports.ProviderRecommendationQL = `
|
552
|
+
type ProviderRecommendation {
|
553
|
+
tagRecommendationId: String
|
554
|
+
linkUrl: String
|
555
|
+
provider: Provider!
|
556
|
+
providerRequest: ProviderRequest
|
557
|
+
providerInfo: ProviderInfo!
|
558
|
+
}`;
|
546
559
|
exports.TenantQL = `
|
547
560
|
type Tenant {${exports.PrimitiveFields}
|
548
561
|
domainMemberships: [String]!
|
@@ -598,7 +611,8 @@ type Article {${exports.PrimitiveFields}
|
|
598
611
|
linkUrls: [String]
|
599
612
|
emails: [String]
|
600
613
|
sharingTags: [SharingTag]
|
601
|
-
|
614
|
+
tagRecommendations: [TagRecommendation]
|
615
|
+
providerRecommendations: [ProviderRecommendation]
|
602
616
|
relations: [RelationEntry]
|
603
617
|
archived: Boolean!
|
604
618
|
favorite: Boolean!
|
@@ -1261,6 +1275,7 @@ ${exports.EntityEntryQL}
|
|
1261
1275
|
${exports.DateEntityEntryQL}
|
1262
1276
|
${exports.ProviderInfoQL}
|
1263
1277
|
${exports.ProviderRequestQL}
|
1278
|
+
${exports.ProviderResponseQL}
|
1264
1279
|
${exports.StandardObjectsQL}
|
1265
1280
|
${exports.CredentialQL}
|
1266
1281
|
${exports.ChangesInputQL}
|
@@ -1272,6 +1287,7 @@ ${exports.ProviderApplicationQL}
|
|
1272
1287
|
${exports.ProviderQL}
|
1273
1288
|
${exports.TagQL}
|
1274
1289
|
${exports.TagRecommendationQL}
|
1290
|
+
${exports.ProviderRecommendationQL}
|
1275
1291
|
${exports.ConnectedProviderQL}
|
1276
1292
|
${exports.ReferenceBlockInputQL}
|
1277
1293
|
${exports.ReferenceBlockQL}
|
package/model.ts
CHANGED
@@ -440,7 +440,7 @@ export interface ProviderInfo {
|
|
440
440
|
|
441
441
|
export const ProviderRequestQL = `
|
442
442
|
type ProviderRequest {
|
443
|
-
providerInfo:
|
443
|
+
providerInfo: ProviderInfo!
|
444
444
|
connectionId: String!
|
445
445
|
}`;
|
446
446
|
export interface ProviderRequest {
|
@@ -448,6 +448,11 @@ export interface ProviderRequest {
|
|
448
448
|
connectionId: string;
|
449
449
|
}
|
450
450
|
|
451
|
+
export const ProviderResponseQL = `
|
452
|
+
type ProviderResponse {
|
453
|
+
connectionId: String!
|
454
|
+
providerUrl: String!
|
455
|
+
}`;
|
451
456
|
export interface ProviderResponse {
|
452
457
|
connectionId: string;
|
453
458
|
providerUrl: string;
|
@@ -813,6 +818,22 @@ export interface TagRecommendation {
|
|
813
818
|
variation?: TagRecommendationVariation;
|
814
819
|
}
|
815
820
|
|
821
|
+
export const ProviderRecommendationQL = `
|
822
|
+
type ProviderRecommendation {
|
823
|
+
tagRecommendationId: String
|
824
|
+
linkUrl: String
|
825
|
+
provider: Provider!
|
826
|
+
providerRequest: ProviderRequest
|
827
|
+
providerInfo: ProviderInfo!
|
828
|
+
}`;
|
829
|
+
export interface ProviderRecommendation {
|
830
|
+
tagRecommendationId?: string;
|
831
|
+
linkUrl?: string;
|
832
|
+
provider: Provider;
|
833
|
+
providerRequest?: ProviderRequest;
|
834
|
+
providerInfo: ProviderInfo;
|
835
|
+
}
|
836
|
+
|
816
837
|
export const TenantQL = `
|
817
838
|
type Tenant {${PrimitiveFields}
|
818
839
|
domainMemberships: [String]!
|
@@ -890,7 +911,8 @@ type Article {${PrimitiveFields}
|
|
890
911
|
linkUrls: [String]
|
891
912
|
emails: [String]
|
892
913
|
sharingTags: [SharingTag]
|
893
|
-
|
914
|
+
tagRecommendations: [TagRecommendation]
|
915
|
+
providerRecommendations: [ProviderRecommendation]
|
894
916
|
relations: [RelationEntry]
|
895
917
|
archived: Boolean!
|
896
918
|
favorite: Boolean!
|
@@ -912,7 +934,8 @@ export class Article extends Primitive {
|
|
912
934
|
linkUrls?: string[];
|
913
935
|
emails?: string[];
|
914
936
|
sharingTags?: SharingTag[];
|
915
|
-
|
937
|
+
tagRecommendations?: TagRecommendation[];
|
938
|
+
providerRecommendations?: ProviderRecommendation[];
|
916
939
|
relations?: RelationEntry[];
|
917
940
|
archived: boolean;
|
918
941
|
favorite: boolean;
|
@@ -2290,6 +2313,7 @@ ${EntityEntryQL}
|
|
2290
2313
|
${DateEntityEntryQL}
|
2291
2314
|
${ProviderInfoQL}
|
2292
2315
|
${ProviderRequestQL}
|
2316
|
+
${ProviderResponseQL}
|
2293
2317
|
${StandardObjectsQL}
|
2294
2318
|
${CredentialQL}
|
2295
2319
|
${ChangesInputQL}
|
@@ -2301,6 +2325,7 @@ ${ProviderApplicationQL}
|
|
2301
2325
|
${ProviderQL}
|
2302
2326
|
${TagQL}
|
2303
2327
|
${TagRecommendationQL}
|
2328
|
+
${ProviderRecommendationQL}
|
2304
2329
|
${ConnectedProviderQL}
|
2305
2330
|
${ReferenceBlockInputQL}
|
2306
2331
|
${ReferenceBlockQL}
|