graphlit-client 1.0.20250531002 → 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;
@@ -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.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 = 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(
@@ -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']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250531002",
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",