@bigfootai/bigfoot-types 3.9.10 → 4.0.1
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 +24 -4
- package/model.ts +29 -2
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = 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 = void 0;
|
3
|
+
exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = 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.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = 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.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
+
exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = 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.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = 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.ProviderApplication = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = 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 = void 0;
|
6
6
|
const uuid_1 = require("uuid");
|
7
7
|
/*
|
8
8
|
These are the core primitives of our model. These represent the entities that show
|
@@ -310,6 +310,16 @@ type ProviderRequest {
|
|
310
310
|
providerInfo: ID!
|
311
311
|
connectionId: String!
|
312
312
|
}`;
|
313
|
+
exports.StandardObjectsQL = `
|
314
|
+
type StandardObjects {
|
315
|
+
task: Boolean!
|
316
|
+
calendar: Boolean!
|
317
|
+
conference: Boolean!
|
318
|
+
document: Boolean!
|
319
|
+
thread: Boolean!
|
320
|
+
template: Boolean!
|
321
|
+
table: Boolean!
|
322
|
+
}`;
|
313
323
|
exports.CredentialQL = `
|
314
324
|
type Credential {
|
315
325
|
email: String!
|
@@ -404,13 +414,21 @@ class Sync extends Primitive {
|
|
404
414
|
}
|
405
415
|
}
|
406
416
|
exports.Sync = Sync;
|
417
|
+
exports.ProviderApplicationQL = `
|
418
|
+
type ProviderApplication {
|
419
|
+
name: String!
|
420
|
+
sobjects: StandardObjects!
|
421
|
+
}`;
|
422
|
+
class ProviderApplication {
|
423
|
+
}
|
424
|
+
exports.ProviderApplication = ProviderApplication;
|
407
425
|
exports.ProviderQL = `
|
408
426
|
type Provider {${exports.PrimitiveFields}
|
409
427
|
provider: String!
|
410
428
|
name: String!
|
411
429
|
description: String!
|
412
430
|
instanceUrl: String!
|
413
|
-
applications:
|
431
|
+
applications: [ProviderApplication]!
|
414
432
|
}`;
|
415
433
|
class Provider extends Primitive {
|
416
434
|
constructor(provider, name, description, instanceUrl, applications) {
|
@@ -1013,12 +1031,14 @@ ${exports.EntityEntryQL}
|
|
1013
1031
|
${exports.DateEntityEntryQL}
|
1014
1032
|
${exports.ProviderInfoQL}
|
1015
1033
|
${exports.ProviderRequestQL}
|
1034
|
+
${exports.StandardObjectsQL}
|
1016
1035
|
${exports.CredentialQL}
|
1017
1036
|
${exports.ChangesInputQL}
|
1018
1037
|
${exports.ChangesQL}
|
1019
1038
|
${exports.PersonReferenceQL}
|
1020
1039
|
${exports.SearchQL}
|
1021
1040
|
${exports.SyncQL}
|
1041
|
+
${exports.ProviderApplicationQL}
|
1022
1042
|
${exports.ProviderQL}
|
1023
1043
|
${exports.TagQL}
|
1024
1044
|
${exports.TagRecommendationQL}
|
package/model.ts
CHANGED
@@ -430,9 +430,24 @@ export interface ProviderResponse {
|
|
430
430
|
providerUrl: string;
|
431
431
|
}
|
432
432
|
|
433
|
+
export const StandardObjectsQL = `
|
434
|
+
type StandardObjects {
|
435
|
+
task: Boolean!
|
436
|
+
calendar: Boolean!
|
437
|
+
conference: Boolean!
|
438
|
+
document: Boolean!
|
439
|
+
thread: Boolean!
|
440
|
+
template: Boolean!
|
441
|
+
table: Boolean!
|
442
|
+
}`;
|
433
443
|
export interface StandardObjects {
|
434
444
|
task: boolean;
|
435
445
|
calendar: boolean;
|
446
|
+
conference: boolean;
|
447
|
+
document: boolean;
|
448
|
+
thread: boolean;
|
449
|
+
template: boolean;
|
450
|
+
table: boolean;
|
436
451
|
}
|
437
452
|
|
438
453
|
export interface Subscriptions {
|
@@ -594,20 +609,30 @@ export class Sync extends Primitive {
|
|
594
609
|
}
|
595
610
|
}
|
596
611
|
|
612
|
+
export const ProviderApplicationQL = `
|
613
|
+
type ProviderApplication {
|
614
|
+
name: String!
|
615
|
+
sobjects: StandardObjects!
|
616
|
+
}`;
|
617
|
+
export class ProviderApplication {
|
618
|
+
name: string;
|
619
|
+
sobjects: StandardObjects;
|
620
|
+
}
|
621
|
+
|
597
622
|
export const ProviderQL = `
|
598
623
|
type Provider {${PrimitiveFields}
|
599
624
|
provider: String!
|
600
625
|
name: String!
|
601
626
|
description: String!
|
602
627
|
instanceUrl: String!
|
603
|
-
applications:
|
628
|
+
applications: [ProviderApplication]!
|
604
629
|
}`;
|
605
630
|
export class Provider extends Primitive {
|
606
631
|
provider: string;
|
607
632
|
name: string;
|
608
633
|
description: string;
|
609
634
|
instanceUrl: string;
|
610
|
-
applications:
|
635
|
+
applications: ProviderApplication[];
|
611
636
|
|
612
637
|
constructor(
|
613
638
|
provider: string,
|
@@ -1844,12 +1869,14 @@ ${EntityEntryQL}
|
|
1844
1869
|
${DateEntityEntryQL}
|
1845
1870
|
${ProviderInfoQL}
|
1846
1871
|
${ProviderRequestQL}
|
1872
|
+
${StandardObjectsQL}
|
1847
1873
|
${CredentialQL}
|
1848
1874
|
${ChangesInputQL}
|
1849
1875
|
${ChangesQL}
|
1850
1876
|
${PersonReferenceQL}
|
1851
1877
|
${SearchQL}
|
1852
1878
|
${SyncQL}
|
1879
|
+
${ProviderApplicationQL}
|
1853
1880
|
${ProviderQL}
|
1854
1881
|
${TagQL}
|
1855
1882
|
${TagRecommendationQL}
|