@bigfootai/bigfoot-types 4.4.22 → 4.4.24
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 +19 -5
- package/model.ts +29 -1
- 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 = void 0;
|
3
|
+
exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = 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.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.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.Tenant = exports.TenantQL = 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 = void 0;
|
5
|
+
exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = 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.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 = void 0;
|
6
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = 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
|
@@ -232,6 +232,14 @@ type Editor {
|
|
232
232
|
clientId: String!
|
233
233
|
tenantId: String
|
234
234
|
}`;
|
235
|
+
exports.InviteSharingTagInputQL = `
|
236
|
+
input InviteSharingTagInput {
|
237
|
+
tagId: String
|
238
|
+
email: String
|
239
|
+
shared: Boolean!
|
240
|
+
sharingApproach: Int!
|
241
|
+
sharingLevel: Int!
|
242
|
+
}`;
|
235
243
|
exports.SharingTagInputQL = `
|
236
244
|
input SharingTagInput {
|
237
245
|
tagId: String!
|
@@ -400,6 +408,7 @@ exports.SharedPrimitiveFields = `${exports.PrimitiveFields}
|
|
400
408
|
class SharedPrimitive extends Primitive {
|
401
409
|
constructor(sharingTags) {
|
402
410
|
super();
|
411
|
+
this._tagIds = [];
|
403
412
|
this.sharingTags = sharingTags;
|
404
413
|
this._sharingTagIds = [];
|
405
414
|
// Add sharing tags to the internal array
|
@@ -463,6 +472,9 @@ exports.Sync = Sync;
|
|
463
472
|
exports.ProviderApplicationQL = `
|
464
473
|
type ProviderApplication {
|
465
474
|
name: String!
|
475
|
+
label: String!
|
476
|
+
description: String!
|
477
|
+
iconUrl: String
|
466
478
|
sobjects: StandardObjects!
|
467
479
|
linkSubscriptions: [String]!
|
468
480
|
recordTypeSubscriptions: [String]!
|
@@ -472,6 +484,7 @@ type Provider {${exports.PrimitiveFields}
|
|
472
484
|
name: String!
|
473
485
|
label: String!
|
474
486
|
description: String!
|
487
|
+
iconUrl: String
|
475
488
|
instanceUrl: String!
|
476
489
|
applications: [ProviderApplication]!
|
477
490
|
tableMetadata: [TableMetadata]!
|
@@ -1088,7 +1101,7 @@ type ArchiveTagOutput {
|
|
1088
1101
|
exports.SetSharingTagInputQL = `
|
1089
1102
|
input SetSharingTagInput {
|
1090
1103
|
referenceBlock: ReferenceBlockInput!
|
1091
|
-
sharingTag:
|
1104
|
+
sharingTag: InviteSharingTagInput!
|
1092
1105
|
}`;
|
1093
1106
|
exports.DeleteSharingTagInputQL = `
|
1094
1107
|
input DeleteSharingTagInput {
|
@@ -1211,6 +1224,7 @@ exports.GraphQLTypes = `
|
|
1211
1224
|
${exports.HighlightQL}
|
1212
1225
|
${exports.EditorInputQL}
|
1213
1226
|
${exports.EditorQL}
|
1227
|
+
${exports.InviteSharingTagInputQL}
|
1214
1228
|
${exports.SharingTagInputQL}
|
1215
1229
|
${exports.SharingTagQL}
|
1216
1230
|
${exports.SharingDomainQL}
|
package/model.ts
CHANGED
@@ -248,6 +248,22 @@ export interface Editor {
|
|
248
248
|
tenantId?: string;
|
249
249
|
}
|
250
250
|
|
251
|
+
export const InviteSharingTagInputQL = `
|
252
|
+
input InviteSharingTagInput {
|
253
|
+
tagId: String
|
254
|
+
email: String
|
255
|
+
shared: Boolean!
|
256
|
+
sharingApproach: Int!
|
257
|
+
sharingLevel: Int!
|
258
|
+
}`;
|
259
|
+
export interface InviteSharingTag {
|
260
|
+
email?: string;
|
261
|
+
tagId?: string;
|
262
|
+
shared: boolean;
|
263
|
+
sharingApproach: SharingApproach;
|
264
|
+
sharingLevel: SharingLevel;
|
265
|
+
}
|
266
|
+
|
251
267
|
export const SharingTagInputQL = `
|
252
268
|
input SharingTagInput {
|
253
269
|
tagId: String!
|
@@ -578,10 +594,12 @@ export const SharedPrimitiveFields = `${PrimitiveFields}
|
|
578
594
|
export class SharedPrimitive extends Primitive {
|
579
595
|
sharingTags: SharingTag[];
|
580
596
|
_sharingTagIds: string[];
|
597
|
+
_tagIds: string[];
|
581
598
|
|
582
599
|
constructor(sharingTags: SharingTag[]) {
|
583
600
|
super();
|
584
601
|
|
602
|
+
this._tagIds = [];
|
585
603
|
this.sharingTags = sharingTags;
|
586
604
|
this._sharingTagIds = [];
|
587
605
|
|
@@ -668,12 +686,18 @@ export class Sync extends Primitive {
|
|
668
686
|
export const ProviderApplicationQL = `
|
669
687
|
type ProviderApplication {
|
670
688
|
name: String!
|
689
|
+
label: String!
|
690
|
+
description: String!
|
691
|
+
iconUrl: String
|
671
692
|
sobjects: StandardObjects!
|
672
693
|
linkSubscriptions: [String]!
|
673
694
|
recordTypeSubscriptions: [String]!
|
674
695
|
}`;
|
675
696
|
export interface ProviderApplication {
|
676
697
|
name: string;
|
698
|
+
label: string;
|
699
|
+
description: string;
|
700
|
+
iconUrl?: string;
|
677
701
|
sobjects: StandardObjects;
|
678
702
|
linkSubscriptions: string[];
|
679
703
|
recordTypeSubscriptions: string[];
|
@@ -684,6 +708,7 @@ type Provider {${PrimitiveFields}
|
|
684
708
|
name: String!
|
685
709
|
label: String!
|
686
710
|
description: String!
|
711
|
+
iconUrl: String
|
687
712
|
instanceUrl: String!
|
688
713
|
applications: [ProviderApplication]!
|
689
714
|
tableMetadata: [TableMetadata]!
|
@@ -692,6 +717,7 @@ export class Provider extends Primitive {
|
|
692
717
|
name: string;
|
693
718
|
label: string;
|
694
719
|
description: string;
|
720
|
+
iconUrl?: string;
|
695
721
|
instanceUrl: string;
|
696
722
|
applications: ProviderApplication[];
|
697
723
|
tableMetadata: TableMetadata[];
|
@@ -895,6 +921,7 @@ export class Article extends Primitive {
|
|
895
921
|
_entitiesTopic?: EntityEntry[];
|
896
922
|
_emails?: EntityEntry[];
|
897
923
|
_sharingTagIds?: string[];
|
924
|
+
_tagIds?: string[];
|
898
925
|
|
899
926
|
constructor(referenceBlock: ReferenceBlock) {
|
900
927
|
super();
|
@@ -1962,7 +1989,7 @@ export interface ArchiveTagOutput {
|
|
1962
1989
|
export const SetSharingTagInputQL = `
|
1963
1990
|
input SetSharingTagInput {
|
1964
1991
|
referenceBlock: ReferenceBlockInput!
|
1965
|
-
sharingTag:
|
1992
|
+
sharingTag: InviteSharingTagInput!
|
1966
1993
|
}`;
|
1967
1994
|
export interface SetSharingTagInput {
|
1968
1995
|
referenceBlock: ReferenceBlock;
|
@@ -2206,6 +2233,7 @@ export const GraphQLTypes = `
|
|
2206
2233
|
${HighlightQL}
|
2207
2234
|
${EditorInputQL}
|
2208
2235
|
${EditorQL}
|
2236
|
+
${InviteSharingTagInputQL}
|
2209
2237
|
${SharingTagInputQL}
|
2210
2238
|
${SharingTagQL}
|
2211
2239
|
${SharingDomainQL}
|