@bigfootai/bigfoot-types 4.4.21 → 4.4.23
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 +15 -5
- package/model.ts +22 -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!
|
@@ -1088,7 +1096,7 @@ type ArchiveTagOutput {
|
|
1088
1096
|
exports.SetSharingTagInputQL = `
|
1089
1097
|
input SetSharingTagInput {
|
1090
1098
|
referenceBlock: ReferenceBlockInput!
|
1091
|
-
sharingTag:
|
1099
|
+
sharingTag: InviteSharingTagInput!
|
1092
1100
|
}`;
|
1093
1101
|
exports.DeleteSharingTagInputQL = `
|
1094
1102
|
input DeleteSharingTagInput {
|
@@ -1170,6 +1178,7 @@ type ArchiveSearchOutput {
|
|
1170
1178
|
exports.SearchTagsInputQL = `
|
1171
1179
|
input SearchTagsInput {
|
1172
1180
|
tagType: String
|
1181
|
+
tagIds: [String]
|
1173
1182
|
search: String
|
1174
1183
|
email: String
|
1175
1184
|
inviteStatus: Int
|
@@ -1210,6 +1219,7 @@ exports.GraphQLTypes = `
|
|
1210
1219
|
${exports.HighlightQL}
|
1211
1220
|
${exports.EditorInputQL}
|
1212
1221
|
${exports.EditorQL}
|
1222
|
+
${exports.InviteSharingTagInputQL}
|
1213
1223
|
${exports.SharingTagInputQL}
|
1214
1224
|
${exports.SharingTagQL}
|
1215
1225
|
${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,6 +594,7 @@ 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();
|
@@ -895,6 +912,7 @@ export class Article extends Primitive {
|
|
895
912
|
_entitiesTopic?: EntityEntry[];
|
896
913
|
_emails?: EntityEntry[];
|
897
914
|
_sharingTagIds?: string[];
|
915
|
+
_tagIds?: string[];
|
898
916
|
|
899
917
|
constructor(referenceBlock: ReferenceBlock) {
|
900
918
|
super();
|
@@ -1962,7 +1980,7 @@ export interface ArchiveTagOutput {
|
|
1962
1980
|
export const SetSharingTagInputQL = `
|
1963
1981
|
input SetSharingTagInput {
|
1964
1982
|
referenceBlock: ReferenceBlockInput!
|
1965
|
-
sharingTag:
|
1983
|
+
sharingTag: InviteSharingTagInput!
|
1966
1984
|
}`;
|
1967
1985
|
export interface SetSharingTagInput {
|
1968
1986
|
referenceBlock: ReferenceBlock;
|
@@ -2126,6 +2144,7 @@ export interface ArchiveSearchOutput {
|
|
2126
2144
|
export const SearchTagsInputQL = `
|
2127
2145
|
input SearchTagsInput {
|
2128
2146
|
tagType: String
|
2147
|
+
tagIds: [String]
|
2129
2148
|
search: String
|
2130
2149
|
email: String
|
2131
2150
|
inviteStatus: Int
|
@@ -2141,6 +2160,7 @@ input SearchTagsInput {
|
|
2141
2160
|
}`;
|
2142
2161
|
export interface SearchTagsInput {
|
2143
2162
|
tagType?: TagType;
|
2163
|
+
tagIds?: string[];
|
2144
2164
|
search?: string;
|
2145
2165
|
email?: string;
|
2146
2166
|
inviteStatus?: InviteStatus;
|
@@ -2204,6 +2224,7 @@ export const GraphQLTypes = `
|
|
2204
2224
|
${HighlightQL}
|
2205
2225
|
${EditorInputQL}
|
2206
2226
|
${EditorQL}
|
2227
|
+
${InviteSharingTagInputQL}
|
2207
2228
|
${SharingTagInputQL}
|
2208
2229
|
${SharingTagQL}
|
2209
2230
|
${SharingDomainQL}
|