graphlit-client 1.0.20250531001 → 1.0.20250531003

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.
@@ -38,6 +38,7 @@ export declare const ExtractText: import("graphql").DocumentNode;
38
38
  export declare const GetContent: import("graphql").DocumentNode;
39
39
  export declare const IngestBatch: import("graphql").DocumentNode;
40
40
  export declare const IngestEncodedFile: import("graphql").DocumentNode;
41
+ export declare const IngestEvent: import("graphql").DocumentNode;
41
42
  export declare const IngestMemory: import("graphql").DocumentNode;
42
43
  export declare const IngestText: import("graphql").DocumentNode;
43
44
  export declare const IngestTextBatch: import("graphql").DocumentNode;
@@ -281,6 +282,7 @@ export declare const DeleteUser: import("graphql").DocumentNode;
281
282
  export declare const DisableUser: import("graphql").DocumentNode;
282
283
  export declare const EnableUser: import("graphql").DocumentNode;
283
284
  export declare const GetUser: import("graphql").DocumentNode;
285
+ export declare const GetUserByIdentifier: import("graphql").DocumentNode;
284
286
  export declare const QueryUsers: import("graphql").DocumentNode;
285
287
  export declare const UpdateUser: import("graphql").DocumentNode;
286
288
  export declare const CountWorkflows: import("graphql").DocumentNode;
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = exports.IngestMemory = exports.IngestEncodedFile = exports.IngestBatch = exports.GetContent = exports.ExtractText = exports.ExtractContents = exports.DescribeImage = exports.DescribeEncodedImage = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpsertCategory = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
7
- exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryLinearProjects = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.FeedExists = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.RetrieveSources = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.FormatConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CompleteConversation = exports.CloseConversation = exports.ClearConversation = exports.AskGraphlit = exports.UpdateContent = exports.SummarizeText = exports.SummarizeContents = exports.ScreenshotPage = void 0;
8
- exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpsertLabel = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySlackChannels = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryNotionPages = exports.QueryNotionDatabases = void 0;
9
- exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = void 0;
10
- exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryTokens = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.SendNotification = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = void 0;
11
- exports.WorkflowExists = exports.UpsertWorkflow = exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpsertSpecification = exports.UpdateSpecification = exports.SpecificationExists = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = void 0;
6
+ exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = exports.IngestMemory = exports.IngestEvent = exports.IngestEncodedFile = exports.IngestBatch = exports.GetContent = exports.ExtractText = exports.ExtractContents = exports.DescribeImage = exports.DescribeEncodedImage = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpsertCategory = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
7
+ exports.QueryMicrosoftTeamsChannels = exports.QueryLinearProjects = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.FeedExists = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.RetrieveSources = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.FormatConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CompleteConversation = exports.CloseConversation = exports.ClearConversation = exports.AskGraphlit = exports.UpdateContent = exports.SummarizeText = exports.SummarizeContents = exports.ScreenshotPage = exports.QueryContentsGraph = void 0;
8
+ exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpsertLabel = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySlackChannels = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryNotionPages = exports.QueryNotionDatabases = exports.QueryMicrosoftTeamsTeams = void 0;
9
+ exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = void 0;
10
+ exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryTokens = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.SendNotification = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = void 0;
11
+ exports.WorkflowExists = exports.UpsertWorkflow = exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUserByIdentifier = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpsertSpecification = exports.UpdateSpecification = exports.SpecificationExists = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = void 0;
12
12
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
13
13
  exports.CountAlerts = (0, graphql_tag_1.default) `
14
14
  query CountAlerts($filter: AlertFilter, $correlationId: String) {
@@ -936,6 +936,8 @@ exports.GetContent = (0, graphql_tag_1.default) `
936
936
  state
937
937
  originalDate
938
938
  finishedDate
939
+ fileCreationDate
940
+ fileModifiedDate
939
941
  workflowDuration
940
942
  uri
941
943
  description
@@ -1237,12 +1239,14 @@ exports.IngestBatch = (0, graphql_tag_1.default) `
1237
1239
  }
1238
1240
  `;
1239
1241
  exports.IngestEncodedFile = (0, graphql_tag_1.default) `
1240
- mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
1242
+ mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $fileCreationDate: DateTime, $fileModifiedDate: DateTime, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
1241
1243
  ingestEncodedFile(
1242
1244
  name: $name
1243
1245
  data: $data
1244
1246
  mimeType: $mimeType
1245
1247
  id: $id
1248
+ fileCreationDate: $fileCreationDate
1249
+ fileModifiedDate: $fileModifiedDate
1246
1250
  isSynchronous: $isSynchronous
1247
1251
  collections: $collections
1248
1252
  observations: $observations
@@ -1291,6 +1295,58 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
1291
1295
  }
1292
1296
  }
1293
1297
  `;
1298
+ exports.IngestEvent = (0, graphql_tag_1.default) `
1299
+ mutation IngestEvent($markdown: String!, $name: String, $description: String, $eventDate: DateTime, $collections: [EntityReferenceInput!], $correlationId: String) {
1300
+ ingestEvent(
1301
+ name: $name
1302
+ description: $description
1303
+ eventDate: $eventDate
1304
+ markdown: $markdown
1305
+ collections: $collections
1306
+ correlationId: $correlationId
1307
+ ) {
1308
+ id
1309
+ name
1310
+ state
1311
+ type
1312
+ fileType
1313
+ mimeType
1314
+ uri
1315
+ collections {
1316
+ id
1317
+ name
1318
+ }
1319
+ observations {
1320
+ id
1321
+ type
1322
+ observable {
1323
+ id
1324
+ name
1325
+ }
1326
+ related {
1327
+ id
1328
+ name
1329
+ }
1330
+ relatedType
1331
+ relation
1332
+ occurrences {
1333
+ type
1334
+ confidence
1335
+ startTime
1336
+ endTime
1337
+ pageIndex
1338
+ boundingBox {
1339
+ left
1340
+ top
1341
+ width
1342
+ height
1343
+ }
1344
+ }
1345
+ state
1346
+ }
1347
+ }
1348
+ }
1349
+ `;
1294
1350
  exports.IngestMemory = (0, graphql_tag_1.default) `
1295
1351
  mutation IngestMemory($text: String!, $name: String, $textType: TextTypes, $collections: [EntityReferenceInput!], $correlationId: String) {
1296
1352
  ingestMemory(
@@ -8469,6 +8525,7 @@ exports.CreateUser = (0, graphql_tag_1.default) `
8469
8525
  name
8470
8526
  state
8471
8527
  type
8528
+ description
8472
8529
  identifier
8473
8530
  }
8474
8531
  }
@@ -8510,6 +8567,61 @@ exports.GetUser = (0, graphql_tag_1.default) `
8510
8567
  state
8511
8568
  type
8512
8569
  identifier
8570
+ description
8571
+ connectors {
8572
+ id
8573
+ name
8574
+ state
8575
+ type
8576
+ authentication {
8577
+ type
8578
+ microsoft {
8579
+ tenantId
8580
+ clientId
8581
+ clientSecret
8582
+ }
8583
+ google {
8584
+ clientId
8585
+ clientSecret
8586
+ }
8587
+ }
8588
+ integration {
8589
+ type
8590
+ uri
8591
+ slack {
8592
+ token
8593
+ channel
8594
+ }
8595
+ email {
8596
+ from
8597
+ subject
8598
+ to
8599
+ }
8600
+ twitter {
8601
+ consumerKey
8602
+ consumerSecret
8603
+ accessTokenKey
8604
+ accessTokenSecret
8605
+ }
8606
+ }
8607
+ }
8608
+ }
8609
+ }
8610
+ `;
8611
+ exports.GetUserByIdentifier = (0, graphql_tag_1.default) `
8612
+ query GetUserByIdentifier($identifier: String!) {
8613
+ userByIdentifier(identifier: $identifier) {
8614
+ id
8615
+ name
8616
+ creationDate
8617
+ relevance
8618
+ owner {
8619
+ id
8620
+ }
8621
+ state
8622
+ type
8623
+ identifier
8624
+ description
8513
8625
  connectors {
8514
8626
  id
8515
8627
  name
@@ -8564,6 +8676,7 @@ exports.QueryUsers = (0, graphql_tag_1.default) `
8564
8676
  state
8565
8677
  type
8566
8678
  identifier
8679
+ description
8567
8680
  connectors {
8568
8681
  id
8569
8682
  name
@@ -8612,6 +8725,7 @@ exports.UpdateUser = (0, graphql_tag_1.default) `
8612
8725
  name
8613
8726
  state
8614
8727
  type
8728
+ description
8615
8729
  identifier
8616
8730
  }
8617
8731
  }
@@ -1553,8 +1553,12 @@ export type Content = {
1553
1553
  error?: Maybe<Scalars['String']['output']>;
1554
1554
  /** The feed where this content was sourced from. */
1555
1555
  feed?: Maybe<Feed>;
1556
+ /** The date when the file was created. */
1557
+ fileCreationDate?: Maybe<Scalars['DateTime']['output']>;
1556
1558
  /** The content file extension. */
1557
1559
  fileExtension?: Maybe<Scalars['String']['output']>;
1560
+ /** The date when the file was last modified. */
1561
+ fileModifiedDate?: Maybe<Scalars['DateTime']['output']>;
1558
1562
  /** The content file name. */
1559
1563
  fileName?: Maybe<Scalars['String']['output']>;
1560
1564
  /** The content file size. */
@@ -2000,6 +2004,10 @@ export declare enum ContentIndexingServiceTypes {
2000
2004
  export type ContentInput = {
2001
2005
  /** The content description. */
2002
2006
  description?: InputMaybe<Scalars['String']['input']>;
2007
+ /** The date when the file was created. */
2008
+ fileCreationDate?: InputMaybe<Scalars['DateTime']['input']>;
2009
+ /** The date when the file was last modified. */
2010
+ fileModifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
2003
2011
  /** The content external identifier. */
2004
2012
  identifier?: InputMaybe<Scalars['String']['input']>;
2005
2013
  /** The name of the content. */
@@ -2157,6 +2165,10 @@ export type ContentUpdateInput = {
2157
2165
  drawing?: InputMaybe<DrawingMetadataInput>;
2158
2166
  /** The content email metadata. */
2159
2167
  email?: InputMaybe<EmailMetadataInput>;
2168
+ /** The date when the file was created. */
2169
+ fileCreationDate?: InputMaybe<Scalars['DateTime']['input']>;
2170
+ /** The date when the file was last modified. */
2171
+ fileModifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
2160
2172
  /** The content geometry metadata. */
2161
2173
  geometry?: InputMaybe<GeometryMetadataInput>;
2162
2174
  /** The summarized content headlines. */
@@ -7908,6 +7920,8 @@ export type Mutation = {
7908
7920
  ingestBatch?: Maybe<Array<Maybe<Content>>>;
7909
7921
  /** Ingests a file from Base64-encoded data. */
7910
7922
  ingestEncodedFile?: Maybe<Content>;
7923
+ /** Ingests calendar event. */
7924
+ ingestEvent?: Maybe<Content>;
7911
7925
  /**
7912
7926
  * Ingests a file by URI.
7913
7927
  * @deprecated Use ingestUri instead.
@@ -8567,6 +8581,8 @@ export type MutationIngestEncodedFileArgs = {
8567
8581
  collections?: InputMaybe<Array<EntityReferenceInput>>;
8568
8582
  correlationId?: InputMaybe<Scalars['String']['input']>;
8569
8583
  data: Scalars['String']['input'];
8584
+ fileCreationDate?: InputMaybe<Scalars['DateTime']['input']>;
8585
+ fileModifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
8570
8586
  id?: InputMaybe<Scalars['ID']['input']>;
8571
8587
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
8572
8588
  mimeType: Scalars['String']['input'];
@@ -8574,6 +8590,14 @@ export type MutationIngestEncodedFileArgs = {
8574
8590
  observations?: InputMaybe<Array<ObservationReferenceInput>>;
8575
8591
  workflow?: InputMaybe<EntityReferenceInput>;
8576
8592
  };
8593
+ export type MutationIngestEventArgs = {
8594
+ collections?: InputMaybe<Array<EntityReferenceInput>>;
8595
+ correlationId?: InputMaybe<Scalars['String']['input']>;
8596
+ description?: InputMaybe<Scalars['String']['input']>;
8597
+ eventDate?: InputMaybe<Scalars['DateTime']['input']>;
8598
+ markdown: Scalars['String']['input'];
8599
+ name?: InputMaybe<Scalars['String']['input']>;
8600
+ };
8577
8601
  export type MutationIngestFileArgs = {
8578
8602
  collections?: InputMaybe<Array<EntityReferenceInput>>;
8579
8603
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -14904,6 +14928,8 @@ export type GetContentQuery = {
14904
14928
  state: EntityState;
14905
14929
  originalDate?: any | null;
14906
14930
  finishedDate?: any | null;
14931
+ fileCreationDate?: any | null;
14932
+ fileModifiedDate?: any | null;
14907
14933
  workflowDuration?: any | null;
14908
14934
  uri?: any | null;
14909
14935
  description?: string | null;
@@ -15249,6 +15275,8 @@ export type IngestEncodedFileMutationVariables = Exact<{
15249
15275
  data: Scalars['String']['input'];
15250
15276
  mimeType: Scalars['String']['input'];
15251
15277
  id?: InputMaybe<Scalars['ID']['input']>;
15278
+ fileCreationDate?: InputMaybe<Scalars['DateTime']['input']>;
15279
+ fileModifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
15252
15280
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
15253
15281
  collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
15254
15282
  observations?: InputMaybe<Array<ObservationReferenceInput> | ObservationReferenceInput>;
@@ -15306,6 +15334,65 @@ export type IngestEncodedFileMutation = {
15306
15334
  } | null> | null;
15307
15335
  } | null;
15308
15336
  };
15337
+ export type IngestEventMutationVariables = Exact<{
15338
+ markdown: Scalars['String']['input'];
15339
+ name?: InputMaybe<Scalars['String']['input']>;
15340
+ description?: InputMaybe<Scalars['String']['input']>;
15341
+ eventDate?: InputMaybe<Scalars['DateTime']['input']>;
15342
+ collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
15343
+ correlationId?: InputMaybe<Scalars['String']['input']>;
15344
+ }>;
15345
+ export type IngestEventMutation = {
15346
+ __typename?: 'Mutation';
15347
+ ingestEvent?: {
15348
+ __typename?: 'Content';
15349
+ id: string;
15350
+ name: string;
15351
+ state: EntityState;
15352
+ type?: ContentTypes | null;
15353
+ fileType?: FileTypes | null;
15354
+ mimeType?: string | null;
15355
+ uri?: any | null;
15356
+ collections?: Array<{
15357
+ __typename?: 'Collection';
15358
+ id: string;
15359
+ name: string;
15360
+ } | null> | null;
15361
+ observations?: Array<{
15362
+ __typename?: 'Observation';
15363
+ id: string;
15364
+ type: ObservableTypes;
15365
+ relatedType?: ObservableTypes | null;
15366
+ relation?: string | null;
15367
+ state: EntityState;
15368
+ observable: {
15369
+ __typename?: 'NamedEntityReference';
15370
+ id: string;
15371
+ name?: string | null;
15372
+ };
15373
+ related?: {
15374
+ __typename?: 'NamedEntityReference';
15375
+ id: string;
15376
+ name?: string | null;
15377
+ } | null;
15378
+ occurrences?: Array<{
15379
+ __typename?: 'ObservationOccurrence';
15380
+ type?: OccurrenceTypes | null;
15381
+ confidence?: number | null;
15382
+ startTime?: any | null;
15383
+ endTime?: any | null;
15384
+ pageIndex?: number | null;
15385
+ boundingBox?: {
15386
+ __typename?: 'BoundingBox';
15387
+ left?: number | null;
15388
+ top?: number | null;
15389
+ width?: number | null;
15390
+ height?: number | null;
15391
+ } | null;
15392
+ } | null> | null;
15393
+ } | null> | null;
15394
+ } | null;
15395
+ };
15309
15396
  export type IngestMemoryMutationVariables = Exact<{
15310
15397
  text: Scalars['String']['input'];
15311
15398
  name?: InputMaybe<Scalars['String']['input']>;
@@ -23761,6 +23848,7 @@ export type CreateUserMutation = {
23761
23848
  name: string;
23762
23849
  state: EntityState;
23763
23850
  type?: UserTypes | null;
23851
+ description?: string | null;
23764
23852
  identifier: string;
23765
23853
  } | null;
23766
23854
  };
@@ -23811,6 +23899,73 @@ export type GetUserQuery = {
23811
23899
  state: EntityState;
23812
23900
  type?: UserTypes | null;
23813
23901
  identifier: string;
23902
+ description?: string | null;
23903
+ owner: {
23904
+ __typename?: 'Owner';
23905
+ id: string;
23906
+ };
23907
+ connectors?: Array<{
23908
+ __typename?: 'Connector';
23909
+ id: string;
23910
+ name: string;
23911
+ state: EntityState;
23912
+ type?: ConnectorTypes | null;
23913
+ authentication?: {
23914
+ __typename?: 'AuthenticationConnector';
23915
+ type: AuthenticationServiceTypes;
23916
+ microsoft?: {
23917
+ __typename?: 'MicrosoftAuthenticationProperties';
23918
+ tenantId: string;
23919
+ clientId: string;
23920
+ clientSecret: string;
23921
+ } | null;
23922
+ google?: {
23923
+ __typename?: 'GoogleAuthenticationProperties';
23924
+ clientId: string;
23925
+ clientSecret: string;
23926
+ } | null;
23927
+ } | null;
23928
+ integration?: {
23929
+ __typename?: 'IntegrationConnector';
23930
+ type: IntegrationServiceTypes;
23931
+ uri?: string | null;
23932
+ slack?: {
23933
+ __typename?: 'SlackIntegrationProperties';
23934
+ token: string;
23935
+ channel: string;
23936
+ } | null;
23937
+ email?: {
23938
+ __typename?: 'EmailIntegrationProperties';
23939
+ from: string;
23940
+ subject: string;
23941
+ to: Array<string>;
23942
+ } | null;
23943
+ twitter?: {
23944
+ __typename?: 'TwitterIntegrationProperties';
23945
+ consumerKey: string;
23946
+ consumerSecret: string;
23947
+ accessTokenKey: string;
23948
+ accessTokenSecret: string;
23949
+ } | null;
23950
+ } | null;
23951
+ } | null> | null;
23952
+ } | null;
23953
+ };
23954
+ export type GetUserByIdentifierQueryVariables = Exact<{
23955
+ identifier: Scalars['String']['input'];
23956
+ }>;
23957
+ export type GetUserByIdentifierQuery = {
23958
+ __typename?: 'Query';
23959
+ userByIdentifier?: {
23960
+ __typename?: 'User';
23961
+ id: string;
23962
+ name: string;
23963
+ creationDate: any;
23964
+ relevance?: number | null;
23965
+ state: EntityState;
23966
+ type?: UserTypes | null;
23967
+ identifier: string;
23968
+ description?: string | null;
23814
23969
  owner: {
23815
23970
  __typename?: 'Owner';
23816
23971
  id: string;
@@ -23879,6 +24034,7 @@ export type QueryUsersQuery = {
23879
24034
  state: EntityState;
23880
24035
  type?: UserTypes | null;
23881
24036
  identifier: string;
24037
+ description?: string | null;
23882
24038
  owner: {
23883
24039
  __typename?: 'Owner';
23884
24040
  id: string;
@@ -23942,6 +24098,7 @@ export type UpdateUserMutation = {
23942
24098
  name: string;
23943
24099
  state: EntityState;
23944
24100
  type?: UserTypes | null;
24101
+ description?: string | null;
23945
24102
  identifier: string;
23946
24103
  } | null;
23947
24104
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250531001",
3
+ "version": "1.0.20250531003",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",