@bigfootai/bigfoot-types 4.9.28 → 4.9.30
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 +33 -8
- package/model.ts +37 -9
- package/package.json +1 -1
package/model.js
CHANGED
@@ -2,8 +2,9 @@
|
|
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.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = 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
4
|
exports.BlockProcessingRequest = exports.Block = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
-
exports.
|
6
|
-
exports.
|
5
|
+
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 = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = 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.TaskFieldsForUpsert = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = exports.BlockProcessingResponse = void 0;
|
6
|
+
exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDashboardInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = void 0;
|
7
8
|
const uuid_1 = require("uuid");
|
8
9
|
/*
|
9
10
|
These are the core primitives of our model. These represent the entities that show
|
@@ -313,12 +314,11 @@ input BusinessObjectLinkInput {
|
|
313
314
|
}`;
|
314
315
|
exports.BusinessObjectLinkQL = `
|
315
316
|
type BusinessObjectLink {
|
316
|
-
id: String
|
317
317
|
url: String
|
318
|
-
|
318
|
+
id: String
|
319
|
+
blockType: String
|
319
320
|
provider: String
|
320
321
|
metadataType: String
|
321
|
-
blockType: String
|
322
322
|
_compound: String
|
323
323
|
}`;
|
324
324
|
exports.ReactionSkinToneQL = `
|
@@ -916,6 +916,10 @@ exports.BusinessObjectFields = `${exports.BlockFields}
|
|
916
916
|
externalId: String!
|
917
917
|
processingReason: String
|
918
918
|
iconUrl: String`;
|
919
|
+
exports.BusinessObjectFieldsForUpsert = `${exports.BlockFieldsForUpsert}
|
920
|
+
provider: String!
|
921
|
+
application: String!
|
922
|
+
uri: String!`;
|
919
923
|
exports.BusinessObjectQL = `
|
920
924
|
type BusinessObject {${exports.BusinessObjectFields}
|
921
925
|
}`;
|
@@ -1239,6 +1243,13 @@ type Field {
|
|
1239
1243
|
readOnly: Boolean!
|
1240
1244
|
options: [Option]
|
1241
1245
|
}`;
|
1246
|
+
exports.FieldValueInputQL = `
|
1247
|
+
input FieldValueInput {
|
1248
|
+
name: String!
|
1249
|
+
value: String
|
1250
|
+
id: String
|
1251
|
+
changed: Boolean
|
1252
|
+
}`;
|
1242
1253
|
exports.FieldValueQL = `
|
1243
1254
|
type FieldValue {
|
1244
1255
|
name: String!
|
@@ -1257,6 +1268,10 @@ class TableMetadata extends Metadata {
|
|
1257
1268
|
}
|
1258
1269
|
}
|
1259
1270
|
exports.TableMetadata = TableMetadata;
|
1271
|
+
exports.RecordInputQL = `
|
1272
|
+
input RecordInput {${exports.BusinessObjectFieldsForUpsert}
|
1273
|
+
values: [FieldValueInput]!
|
1274
|
+
}`;
|
1260
1275
|
exports.RecordQL = `
|
1261
1276
|
type Record {${exports.BusinessObjectFields}
|
1262
1277
|
values: [FieldValue]!
|
@@ -1269,10 +1284,11 @@ class Record extends BusinessObject {
|
|
1269
1284
|
}
|
1270
1285
|
}
|
1271
1286
|
exports.Record = Record;
|
1272
|
-
exports.
|
1273
|
-
type Table {${exports.BusinessObjectFields}
|
1287
|
+
exports.TableFields = `${exports.BusinessObjectFields}
|
1274
1288
|
records: [Record]
|
1275
|
-
metadata: TableMetadata
|
1289
|
+
metadata: TableMetadata`;
|
1290
|
+
exports.TableQL = `
|
1291
|
+
type Table {${exports.TableFields}
|
1276
1292
|
}`;
|
1277
1293
|
class Table extends BusinessObject {
|
1278
1294
|
constructor(tenantIdCreated, editors, sharingTags, version, provider, application, uri, externalId, metadata) {
|
@@ -1295,6 +1311,12 @@ input FindRecordsInput {
|
|
1295
1311
|
dashboardIds: [String]
|
1296
1312
|
archived: Boolean
|
1297
1313
|
}`;
|
1314
|
+
exports.UpsertRecordsInputQL = `
|
1315
|
+
input UpsertRecordsInput {
|
1316
|
+
records: [RecordInput]
|
1317
|
+
recommendationId: String
|
1318
|
+
connectionId: String
|
1319
|
+
}`;
|
1298
1320
|
exports.FindTenantInputQL = `
|
1299
1321
|
input FindTenantInput {
|
1300
1322
|
_id: String!
|
@@ -1669,11 +1691,14 @@ ${exports.TemplateQL}
|
|
1669
1691
|
${exports.OptionQL}
|
1670
1692
|
${exports.FieldQL}
|
1671
1693
|
${exports.FieldValueQL}
|
1694
|
+
${exports.FieldValueInputQL}
|
1672
1695
|
${exports.TableMetadataQL}
|
1673
1696
|
${exports.RecordQL}
|
1697
|
+
${exports.RecordInputQL}
|
1674
1698
|
${exports.TableQL}
|
1675
1699
|
${exports.FindRecordInputQL}
|
1676
1700
|
${exports.FindRecordsInputQL}
|
1701
|
+
${exports.UpsertRecordsInputQL}
|
1677
1702
|
${exports.FindTenantInputQL}
|
1678
1703
|
${exports.FindDomainInputQL}
|
1679
1704
|
${exports.FindArticleInputQL}
|
package/model.ts
CHANGED
@@ -364,21 +364,19 @@ input BusinessObjectLinkInput {
|
|
364
364
|
}`;
|
365
365
|
export const BusinessObjectLinkQL = `
|
366
366
|
type BusinessObjectLink {
|
367
|
-
id: String
|
368
367
|
url: String
|
369
|
-
|
368
|
+
id: String
|
369
|
+
blockType: String
|
370
370
|
provider: String
|
371
371
|
metadataType: String
|
372
|
-
blockType: String
|
373
372
|
_compound: String
|
374
373
|
}`;
|
375
374
|
export interface BusinessObjectLink {
|
376
375
|
url?: string;
|
377
|
-
externalId?: string;
|
378
|
-
provider?: string;
|
379
|
-
metadataType?: string;
|
380
376
|
id?: string;
|
381
377
|
blockType?: BlockType;
|
378
|
+
provider?: string;
|
379
|
+
metadataType?: string;
|
382
380
|
_compound?: string;
|
383
381
|
}
|
384
382
|
|
@@ -1466,6 +1464,10 @@ export const BusinessObjectFields = `${BlockFields}
|
|
1466
1464
|
externalId: String!
|
1467
1465
|
processingReason: String
|
1468
1466
|
iconUrl: String`;
|
1467
|
+
export const BusinessObjectFieldsForUpsert = `${BlockFieldsForUpsert}
|
1468
|
+
provider: String!
|
1469
|
+
application: String!
|
1470
|
+
uri: String!`;
|
1469
1471
|
export const BusinessObjectQL = `
|
1470
1472
|
type BusinessObject {${BusinessObjectFields}
|
1471
1473
|
}`;
|
@@ -2190,6 +2192,13 @@ export interface Field {
|
|
2190
2192
|
options?: Option[];
|
2191
2193
|
}
|
2192
2194
|
|
2195
|
+
export const FieldValueInputQL = `
|
2196
|
+
input FieldValueInput {
|
2197
|
+
name: String!
|
2198
|
+
value: String
|
2199
|
+
id: String
|
2200
|
+
changed: Boolean
|
2201
|
+
}`;
|
2193
2202
|
export const FieldValueQL = `
|
2194
2203
|
type FieldValue {
|
2195
2204
|
name: String!
|
@@ -2225,6 +2234,10 @@ export class TableMetadata extends Metadata {
|
|
2225
2234
|
}
|
2226
2235
|
}
|
2227
2236
|
|
2237
|
+
export const RecordInputQL = `
|
2238
|
+
input RecordInput {${BusinessObjectFieldsForUpsert}
|
2239
|
+
values: [FieldValueInput]!
|
2240
|
+
}`;
|
2228
2241
|
export const RecordQL = `
|
2229
2242
|
type Record {${BusinessObjectFields}
|
2230
2243
|
values: [FieldValue]!
|
@@ -2265,10 +2278,11 @@ export class Record extends BusinessObject {
|
|
2265
2278
|
}
|
2266
2279
|
}
|
2267
2280
|
|
2268
|
-
export const
|
2269
|
-
type Table {${BusinessObjectFields}
|
2281
|
+
export const TableFields = `${BusinessObjectFields}
|
2270
2282
|
records: [Record]
|
2271
|
-
metadata: TableMetadata
|
2283
|
+
metadata: TableMetadata`;
|
2284
|
+
export const TableQL = `
|
2285
|
+
type Table {${TableFields}
|
2272
2286
|
}`;
|
2273
2287
|
export class Table extends BusinessObject {
|
2274
2288
|
metadata: TableMetadata;
|
@@ -2327,6 +2341,17 @@ export interface FindRecordsInput {
|
|
2327
2341
|
archived: boolean;
|
2328
2342
|
}
|
2329
2343
|
|
2344
|
+
export const UpsertRecordsInputQL = `
|
2345
|
+
input UpsertRecordsInput {
|
2346
|
+
records: [RecordInput]
|
2347
|
+
recommendationId: String
|
2348
|
+
connectionId: String
|
2349
|
+
}`;
|
2350
|
+
export interface UpsertRecordsInput extends Table {
|
2351
|
+
recommendationId?: string;
|
2352
|
+
connectionId?: string;
|
2353
|
+
}
|
2354
|
+
|
2330
2355
|
export const FindTenantInputQL = `
|
2331
2356
|
input FindTenantInput {
|
2332
2357
|
_id: String!
|
@@ -2978,11 +3003,14 @@ ${TemplateQL}
|
|
2978
3003
|
${OptionQL}
|
2979
3004
|
${FieldQL}
|
2980
3005
|
${FieldValueQL}
|
3006
|
+
${FieldValueInputQL}
|
2981
3007
|
${TableMetadataQL}
|
2982
3008
|
${RecordQL}
|
3009
|
+
${RecordInputQL}
|
2983
3010
|
${TableQL}
|
2984
3011
|
${FindRecordInputQL}
|
2985
3012
|
${FindRecordsInputQL}
|
3013
|
+
${UpsertRecordsInputQL}
|
2986
3014
|
${FindTenantInputQL}
|
2987
3015
|
${FindDomainInputQL}
|
2988
3016
|
${FindArticleInputQL}
|