@bigfootai/bigfoot-types 4.9.29 → 4.9.31
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 +32 -5
- package/model.ts +35 -3
- 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
|
@@ -915,6 +916,10 @@ exports.BusinessObjectFields = `${exports.BlockFields}
|
|
915
916
|
externalId: String!
|
916
917
|
processingReason: String
|
917
918
|
iconUrl: String`;
|
919
|
+
exports.BusinessObjectFieldsForUpsert = `${exports.BlockFieldsForUpsert}
|
920
|
+
provider: String!
|
921
|
+
application: String!
|
922
|
+
uri: String!`;
|
918
923
|
exports.BusinessObjectQL = `
|
919
924
|
type BusinessObject {${exports.BusinessObjectFields}
|
920
925
|
}`;
|
@@ -1238,6 +1243,13 @@ type Field {
|
|
1238
1243
|
readOnly: Boolean!
|
1239
1244
|
options: [Option]
|
1240
1245
|
}`;
|
1246
|
+
exports.FieldValueInputQL = `
|
1247
|
+
input FieldValueInput {
|
1248
|
+
name: String!
|
1249
|
+
value: String
|
1250
|
+
id: String
|
1251
|
+
changed: Boolean
|
1252
|
+
}`;
|
1241
1253
|
exports.FieldValueQL = `
|
1242
1254
|
type FieldValue {
|
1243
1255
|
name: String!
|
@@ -1256,6 +1268,10 @@ class TableMetadata extends Metadata {
|
|
1256
1268
|
}
|
1257
1269
|
}
|
1258
1270
|
exports.TableMetadata = TableMetadata;
|
1271
|
+
exports.RecordInputQL = `
|
1272
|
+
input RecordInput {${exports.BusinessObjectFieldsForUpsert}
|
1273
|
+
values: [FieldValueInput]!
|
1274
|
+
}`;
|
1259
1275
|
exports.RecordQL = `
|
1260
1276
|
type Record {${exports.BusinessObjectFields}
|
1261
1277
|
values: [FieldValue]!
|
@@ -1268,10 +1284,11 @@ class Record extends BusinessObject {
|
|
1268
1284
|
}
|
1269
1285
|
}
|
1270
1286
|
exports.Record = Record;
|
1271
|
-
exports.
|
1272
|
-
type Table {${exports.BusinessObjectFields}
|
1287
|
+
exports.TableFields = `${exports.BusinessObjectFields}
|
1273
1288
|
records: [Record]
|
1274
|
-
metadata: TableMetadata
|
1289
|
+
metadata: TableMetadata`;
|
1290
|
+
exports.TableQL = `
|
1291
|
+
type Table {${exports.TableFields}
|
1275
1292
|
}`;
|
1276
1293
|
class Table extends BusinessObject {
|
1277
1294
|
constructor(tenantIdCreated, editors, sharingTags, version, provider, application, uri, externalId, metadata) {
|
@@ -1291,9 +1308,16 @@ input FindRecordInput {
|
|
1291
1308
|
}`;
|
1292
1309
|
exports.FindRecordsInputQL = `
|
1293
1310
|
input FindRecordsInput {
|
1311
|
+
_ids: [String]
|
1294
1312
|
dashboardIds: [String]
|
1295
1313
|
archived: Boolean
|
1296
1314
|
}`;
|
1315
|
+
exports.UpsertRecordsInputQL = `
|
1316
|
+
input UpsertRecordsInput {
|
1317
|
+
records: [RecordInput]
|
1318
|
+
recommendationId: String
|
1319
|
+
connectionId: String
|
1320
|
+
}`;
|
1297
1321
|
exports.FindTenantInputQL = `
|
1298
1322
|
input FindTenantInput {
|
1299
1323
|
_id: String!
|
@@ -1668,11 +1692,14 @@ ${exports.TemplateQL}
|
|
1668
1692
|
${exports.OptionQL}
|
1669
1693
|
${exports.FieldQL}
|
1670
1694
|
${exports.FieldValueQL}
|
1695
|
+
${exports.FieldValueInputQL}
|
1671
1696
|
${exports.TableMetadataQL}
|
1672
1697
|
${exports.RecordQL}
|
1698
|
+
${exports.RecordInputQL}
|
1673
1699
|
${exports.TableQL}
|
1674
1700
|
${exports.FindRecordInputQL}
|
1675
1701
|
${exports.FindRecordsInputQL}
|
1702
|
+
${exports.UpsertRecordsInputQL}
|
1676
1703
|
${exports.FindTenantInputQL}
|
1677
1704
|
${exports.FindDomainInputQL}
|
1678
1705
|
${exports.FindArticleInputQL}
|
package/model.ts
CHANGED
@@ -1464,6 +1464,10 @@ export const BusinessObjectFields = `${BlockFields}
|
|
1464
1464
|
externalId: String!
|
1465
1465
|
processingReason: String
|
1466
1466
|
iconUrl: String`;
|
1467
|
+
export const BusinessObjectFieldsForUpsert = `${BlockFieldsForUpsert}
|
1468
|
+
provider: String!
|
1469
|
+
application: String!
|
1470
|
+
uri: String!`;
|
1467
1471
|
export const BusinessObjectQL = `
|
1468
1472
|
type BusinessObject {${BusinessObjectFields}
|
1469
1473
|
}`;
|
@@ -2188,6 +2192,13 @@ export interface Field {
|
|
2188
2192
|
options?: Option[];
|
2189
2193
|
}
|
2190
2194
|
|
2195
|
+
export const FieldValueInputQL = `
|
2196
|
+
input FieldValueInput {
|
2197
|
+
name: String!
|
2198
|
+
value: String
|
2199
|
+
id: String
|
2200
|
+
changed: Boolean
|
2201
|
+
}`;
|
2191
2202
|
export const FieldValueQL = `
|
2192
2203
|
type FieldValue {
|
2193
2204
|
name: String!
|
@@ -2223,6 +2234,10 @@ export class TableMetadata extends Metadata {
|
|
2223
2234
|
}
|
2224
2235
|
}
|
2225
2236
|
|
2237
|
+
export const RecordInputQL = `
|
2238
|
+
input RecordInput {${BusinessObjectFieldsForUpsert}
|
2239
|
+
values: [FieldValueInput]!
|
2240
|
+
}`;
|
2226
2241
|
export const RecordQL = `
|
2227
2242
|
type Record {${BusinessObjectFields}
|
2228
2243
|
values: [FieldValue]!
|
@@ -2263,10 +2278,11 @@ export class Record extends BusinessObject {
|
|
2263
2278
|
}
|
2264
2279
|
}
|
2265
2280
|
|
2266
|
-
export const
|
2267
|
-
type Table {${BusinessObjectFields}
|
2281
|
+
export const TableFields = `${BusinessObjectFields}
|
2268
2282
|
records: [Record]
|
2269
|
-
metadata: TableMetadata
|
2283
|
+
metadata: TableMetadata`;
|
2284
|
+
export const TableQL = `
|
2285
|
+
type Table {${TableFields}
|
2270
2286
|
}`;
|
2271
2287
|
export class Table extends BusinessObject {
|
2272
2288
|
metadata: TableMetadata;
|
@@ -2317,14 +2333,27 @@ export interface FindRecordInput {
|
|
2317
2333
|
|
2318
2334
|
export const FindRecordsInputQL = `
|
2319
2335
|
input FindRecordsInput {
|
2336
|
+
_ids: [String]
|
2320
2337
|
dashboardIds: [String]
|
2321
2338
|
archived: Boolean
|
2322
2339
|
}`;
|
2323
2340
|
export interface FindRecordsInput {
|
2341
|
+
_ids?: string[];
|
2324
2342
|
dashboardIds?: string[];
|
2325
2343
|
archived: boolean;
|
2326
2344
|
}
|
2327
2345
|
|
2346
|
+
export const UpsertRecordsInputQL = `
|
2347
|
+
input UpsertRecordsInput {
|
2348
|
+
records: [RecordInput]
|
2349
|
+
recommendationId: String
|
2350
|
+
connectionId: String
|
2351
|
+
}`;
|
2352
|
+
export interface UpsertRecordsInput extends Table {
|
2353
|
+
recommendationId?: string;
|
2354
|
+
connectionId?: string;
|
2355
|
+
}
|
2356
|
+
|
2328
2357
|
export const FindTenantInputQL = `
|
2329
2358
|
input FindTenantInput {
|
2330
2359
|
_id: String!
|
@@ -2976,11 +3005,14 @@ ${TemplateQL}
|
|
2976
3005
|
${OptionQL}
|
2977
3006
|
${FieldQL}
|
2978
3007
|
${FieldValueQL}
|
3008
|
+
${FieldValueInputQL}
|
2979
3009
|
${TableMetadataQL}
|
2980
3010
|
${RecordQL}
|
3011
|
+
${RecordInputQL}
|
2981
3012
|
${TableQL}
|
2982
3013
|
${FindRecordInputQL}
|
2983
3014
|
${FindRecordsInputQL}
|
3015
|
+
${UpsertRecordsInputQL}
|
2984
3016
|
${FindTenantInputQL}
|
2985
3017
|
${FindDomainInputQL}
|
2986
3018
|
${FindArticleInputQL}
|