graphlit-client 1.0.20250301002 → 1.0.20250306002

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/dist/client.d.ts CHANGED
@@ -88,6 +88,7 @@ declare class Graphlit {
88
88
  queryMicrosoftTeamsTeams(properties: Types.MicrosoftTeamsTeamsInput): Promise<Types.QueryMicrosoftTeamsTeamsQuery>;
89
89
  queryMicrosoftTeamsChannels(properties: Types.MicrosoftTeamsChannelsInput, teamId: string): Promise<Types.QueryMicrosoftTeamsChannelsQuery>;
90
90
  querySlackChannels(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackChannelsQuery>;
91
+ queryLinearProjects(properties: Types.LinearProjectsInput): Promise<Types.QueryLinearProjectsQuery>;
91
92
  createFeed(feed: Types.FeedInput, correlationId?: string): Promise<Types.CreateFeedMutation>;
92
93
  updateFeed(feed: Types.FeedUpdateInput): Promise<Types.UpdateFeedMutation>;
93
94
  deleteFeed(id: string): Promise<Types.DeleteFeedMutation>;
package/dist/client.js CHANGED
@@ -498,6 +498,11 @@ class Graphlit {
498
498
  return this.queryAndCheckError(Documents.QuerySlackChannels, { properties: properties });
499
499
  });
500
500
  }
501
+ queryLinearProjects(properties) {
502
+ return __awaiter(this, void 0, void 0, function* () {
503
+ return this.queryAndCheckError(Documents.QueryLinearProjects, { properties: properties });
504
+ });
505
+ }
501
506
  createFeed(feed, correlationId) {
502
507
  return __awaiter(this, void 0, void 0, function* () {
503
508
  return this.mutateAndCheckError(Documents.CreateFeed, { feed: feed, correlationId: correlationId });
@@ -92,6 +92,7 @@ export declare const GetFeed: import("graphql").DocumentNode;
92
92
  export declare const GetSharePointConsentUri: import("graphql").DocumentNode;
93
93
  export declare const IsFeedDone: import("graphql").DocumentNode;
94
94
  export declare const QueryFeeds: import("graphql").DocumentNode;
95
+ export declare const QueryLinearProjects: import("graphql").DocumentNode;
95
96
  export declare const QueryMicrosoftTeamsChannels: import("graphql").DocumentNode;
96
97
  export declare const QueryMicrosoftTeamsTeams: import("graphql").DocumentNode;
97
98
  export declare const QueryOneDriveFolders: import("graphql").DocumentNode;
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.SummarizeContents = exports.ScreenshotPage = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = 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.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.QuerySlackChannels = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = 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 = void 0;
8
- exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = 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.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = void 0;
9
- exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = 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 = void 0;
10
- exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = 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 = void 0;
11
- 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.UpdateSpecification = 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 = void 0;
7
+ exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryLinearProjects = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = 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 = void 0;
8
+ exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = 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.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySlackChannels = void 0;
9
+ exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = 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 = void 0;
10
+ exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = 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 = void 0;
11
+ 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.UpdateSpecification = 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 = 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) {
@@ -1087,6 +1087,15 @@ exports.GetContent = (0, graphql_tag_1.default) `
1087
1087
  index
1088
1088
  text
1089
1089
  relevance
1090
+ images {
1091
+ id
1092
+ mimeType
1093
+ data
1094
+ left
1095
+ right
1096
+ top
1097
+ bottom
1098
+ }
1090
1099
  chunks {
1091
1100
  index
1092
1101
  pageIndex
@@ -1850,6 +1859,15 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1850
1859
  index
1851
1860
  text
1852
1861
  relevance
1862
+ images {
1863
+ id
1864
+ mimeType
1865
+ data
1866
+ left
1867
+ right
1868
+ top
1869
+ bottom
1870
+ }
1853
1871
  chunks {
1854
1872
  index
1855
1873
  pageIndex
@@ -2101,6 +2119,15 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
2101
2119
  index
2102
2120
  text
2103
2121
  relevance
2122
+ images {
2123
+ id
2124
+ mimeType
2125
+ data
2126
+ left
2127
+ right
2128
+ top
2129
+ bottom
2130
+ }
2104
2131
  chunks {
2105
2132
  index
2106
2133
  pageIndex
@@ -5884,6 +5911,13 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
5884
5911
  }
5885
5912
  }
5886
5913
  `;
5914
+ exports.QueryLinearProjects = (0, graphql_tag_1.default) `
5915
+ query QueryLinearProjects($properties: LinearProjectsInput!) {
5916
+ linearProjects(properties: $properties) {
5917
+ results
5918
+ }
5919
+ }
5920
+ `;
5887
5921
  exports.QueryMicrosoftTeamsChannels = (0, graphql_tag_1.default) `
5888
5922
  query QueryMicrosoftTeamsChannels($properties: MicrosoftTeamsChannelsInput!, $teamId: ID!) {
5889
5923
  microsoftTeamsChannels(properties: $properties, teamId: $teamId) {
@@ -8589,6 +8623,9 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8589
8623
  id
8590
8624
  }
8591
8625
  }
8626
+ mistral {
8627
+ key
8628
+ }
8592
8629
  }
8593
8630
  }
8594
8631
  }
@@ -8781,6 +8818,9 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8781
8818
  id
8782
8819
  }
8783
8820
  }
8821
+ mistral {
8822
+ key
8823
+ }
8784
8824
  }
8785
8825
  }
8786
8826
  }
@@ -8946,6 +8986,9 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
8946
8986
  id
8947
8987
  }
8948
8988
  }
8989
+ mistral {
8990
+ key
8991
+ }
8949
8992
  }
8950
8993
  }
8951
8994
  }
@@ -9106,6 +9149,9 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9106
9149
  id
9107
9150
  }
9108
9151
  }
9152
+ mistral {
9153
+ key
9154
+ }
9109
9155
  }
9110
9156
  }
9111
9157
  }
@@ -3808,6 +3808,8 @@ export type FilePreparationConnector = {
3808
3808
  email?: Maybe<EmailPreparationProperties>;
3809
3809
  /** The file types to be prepared. */
3810
3810
  fileTypes?: Maybe<Array<FileTypes>>;
3811
+ /** The specific properties for Mistral document preparation. */
3812
+ mistral?: Maybe<MistralDocumentPreparationProperties>;
3811
3813
  /** The specific properties for LLM document preparation. */
3812
3814
  modelDocument?: Maybe<ModelDocumentPreparationProperties>;
3813
3815
  /** The file preparation service type. */
@@ -3827,6 +3829,8 @@ export type FilePreparationConnectorInput = {
3827
3829
  email?: InputMaybe<EmailPreparationPropertiesInput>;
3828
3830
  /** The file types to be prepared. */
3829
3831
  fileTypes?: InputMaybe<Array<FileTypes>>;
3832
+ /** The specific properties for Mistral document preparation. */
3833
+ mistral?: InputMaybe<MistralDocumentPreparationPropertiesInput>;
3830
3834
  /** The specific properties for LLM document preparation. */
3831
3835
  modelDocument?: InputMaybe<ModelDocumentPreparationPropertiesInput>;
3832
3836
  /** The file preparation service type. */
@@ -3844,6 +3848,8 @@ export declare enum FilePreparationServiceTypes {
3844
3848
  Document = "DOCUMENT",
3845
3849
  /** Email Preparation */
3846
3850
  Email = "EMAIL",
3851
+ /** Mistral OCR Document Preparation */
3852
+ MistralDocument = "MISTRAL_DOCUMENT",
3847
3853
  /** LLM Document Preparation */
3848
3854
  ModelDocument = "MODEL_DOCUMENT"
3849
3855
  }
@@ -4468,6 +4474,24 @@ export declare enum H3ResolutionTypes {
4468
4474
  /** H3R15 */
4469
4475
  R15 = "R15"
4470
4476
  }
4477
+ /** Represents an embedded image in a text page. */
4478
+ export type ImageChunk = {
4479
+ __typename?: 'ImageChunk';
4480
+ /** The bottom offset of the image, within the original document, in pixels. */
4481
+ bottom?: Maybe<Scalars['Int']['output']>;
4482
+ /** The Base64-encoded data of the image. */
4483
+ data?: Maybe<Scalars['String']['output']>;
4484
+ /** The image identifier, typically the image filename. */
4485
+ id?: Maybe<Scalars['String']['output']>;
4486
+ /** The left offset of the image, within the original document, in pixels. */
4487
+ left?: Maybe<Scalars['Int']['output']>;
4488
+ /** The image MIME type. */
4489
+ mimeType?: Maybe<Scalars['String']['output']>;
4490
+ /** The right offset of the image, within the original document, in pixels. */
4491
+ right?: Maybe<Scalars['Int']['output']>;
4492
+ /** The top offset of the image, within the original document, in pixels. */
4493
+ top?: Maybe<Scalars['Int']['output']>;
4494
+ };
4471
4495
  /** Represents image metadata. */
4472
4496
  export type ImageMetadata = {
4473
4497
  __typename?: 'ImageMetadata';
@@ -5008,6 +5032,11 @@ export type LinearFeedPropertiesUpdateInput = {
5008
5032
  /** Linear project name. */
5009
5033
  project?: InputMaybe<Scalars['ID']['input']>;
5010
5034
  };
5035
+ /** Represents Linear projects properties. */
5036
+ export type LinearProjectsInput = {
5037
+ /** Linear API key. */
5038
+ key: Scalars['String']['input'];
5039
+ };
5011
5040
  /** Represents a hyperlink. */
5012
5041
  export type LinkReference = {
5013
5042
  __typename?: 'LinkReference';
@@ -7035,6 +7064,17 @@ export type MicrosoftTeamsTeamsInput = {
7035
7064
  /** Microsoft Teams refresh token. */
7036
7065
  refreshToken: Scalars['String']['input'];
7037
7066
  };
7067
+ /** Represents the Mistral document preparation properties. */
7068
+ export type MistralDocumentPreparationProperties = {
7069
+ __typename?: 'MistralDocumentPreparationProperties';
7070
+ /** The Mistral API key, optional. */
7071
+ key?: Maybe<Scalars['String']['output']>;
7072
+ };
7073
+ /** Represents the Mistral document preparation properties. */
7074
+ export type MistralDocumentPreparationPropertiesInput = {
7075
+ /** The Mistral API key, optional. */
7076
+ key?: InputMaybe<Scalars['String']['input']>;
7077
+ };
7038
7078
  /** Represents Mistral model properties. */
7039
7079
  export type MistralModelProperties = {
7040
7080
  __typename?: 'MistralModelProperties';
@@ -8964,6 +9004,10 @@ export declare enum OpenAiModels {
8964
9004
  * @deprecated OpenAI has deprecated this model. Use the GPT-4o Mini model instead.
8965
9005
  */
8966
9006
  Gpt35Turbo_16K_1106 = "GPT35_TURBO_16K_1106",
9007
+ /** GPT 4.5 Preview 128k (Latest) */
9008
+ Gpt45Preview_128K = "GPT45_PREVIEW_128K",
9009
+ /** GPT 4.5 Preview 128k (2025-02-27 version) */
9010
+ Gpt45Preview_128K_20250227 = "GPT45_PREVIEW_128K_20250227",
8967
9011
  /** o1 200k (Latest) */
8968
9012
  O1_200K = "O1_200K",
8969
9013
  /** o1 200k (2024-12-17 version) */
@@ -10460,6 +10504,8 @@ export type Query = {
10460
10504
  label?: Maybe<Label>;
10461
10505
  /** Retrieves labels based on the provided filter criteria. */
10462
10506
  labels?: Maybe<LabelResults>;
10507
+ /** Retrieves available Linear projects. */
10508
+ linearProjects?: Maybe<StringResults>;
10463
10509
  /** Lookup multiple contents given their IDs. */
10464
10510
  lookupContents?: Maybe<LookupContentsResults>;
10465
10511
  /** Lookup credit usage given tenant correlation identifier. */
@@ -10778,6 +10824,9 @@ export type QueryLabelsArgs = {
10778
10824
  facets?: InputMaybe<Array<LabelFacetInput>>;
10779
10825
  filter?: InputMaybe<LabelFilter>;
10780
10826
  };
10827
+ export type QueryLinearProjectsArgs = {
10828
+ properties: LinearProjectsInput;
10829
+ };
10781
10830
  export type QueryLookupContentsArgs = {
10782
10831
  correlationId?: InputMaybe<Scalars['String']['input']>;
10783
10832
  ids: Array<Scalars['ID']['input']>;
@@ -12325,6 +12374,8 @@ export type TextPage = {
12325
12374
  __typename?: 'TextPage';
12326
12375
  /** The text page chunks. */
12327
12376
  chunks?: Maybe<Array<Maybe<TextChunk>>>;
12377
+ /** The text page images. */
12378
+ images?: Maybe<Array<Maybe<ImageChunk>>>;
12328
12379
  /** The text page index. */
12329
12380
  index?: Maybe<Scalars['Int']['output']>;
12330
12381
  /** The text page hyperlinks. */
@@ -12370,6 +12421,10 @@ export declare enum TextRoles {
12370
12421
  Heading5 = "HEADING5",
12371
12422
  /** Heading 6 */
12372
12423
  Heading6 = "HEADING6",
12424
+ /** Image */
12425
+ Image = "IMAGE",
12426
+ /** Image Caption */
12427
+ ImageCaption = "IMAGE_CAPTION",
12373
12428
  /** List Item */
12374
12429
  ListItem = "LIST_ITEM",
12375
12430
  /** Page Footer */
@@ -14342,6 +14397,16 @@ export type GetContentQuery = {
14342
14397
  index?: number | null;
14343
14398
  text?: string | null;
14344
14399
  relevance?: number | null;
14400
+ images?: Array<{
14401
+ __typename?: 'ImageChunk';
14402
+ id?: string | null;
14403
+ mimeType?: string | null;
14404
+ data?: string | null;
14405
+ left?: number | null;
14406
+ right?: number | null;
14407
+ top?: number | null;
14408
+ bottom?: number | null;
14409
+ } | null> | null;
14345
14410
  chunks?: Array<{
14346
14411
  __typename?: 'TextChunk';
14347
14412
  index?: number | null;
@@ -15191,6 +15256,16 @@ export type QueryContentsQuery = {
15191
15256
  index?: number | null;
15192
15257
  text?: string | null;
15193
15258
  relevance?: number | null;
15259
+ images?: Array<{
15260
+ __typename?: 'ImageChunk';
15261
+ id?: string | null;
15262
+ mimeType?: string | null;
15263
+ data?: string | null;
15264
+ left?: number | null;
15265
+ right?: number | null;
15266
+ top?: number | null;
15267
+ bottom?: number | null;
15268
+ } | null> | null;
15194
15269
  chunks?: Array<{
15195
15270
  __typename?: 'TextChunk';
15196
15271
  index?: number | null;
@@ -15478,6 +15553,16 @@ export type QueryContentsFacetsQuery = {
15478
15553
  index?: number | null;
15479
15554
  text?: string | null;
15480
15555
  relevance?: number | null;
15556
+ images?: Array<{
15557
+ __typename?: 'ImageChunk';
15558
+ id?: string | null;
15559
+ mimeType?: string | null;
15560
+ data?: string | null;
15561
+ left?: number | null;
15562
+ right?: number | null;
15563
+ top?: number | null;
15564
+ bottom?: number | null;
15565
+ } | null> | null;
15481
15566
  chunks?: Array<{
15482
15567
  __typename?: 'TextChunk';
15483
15568
  index?: number | null;
@@ -19759,6 +19844,16 @@ export type QueryFeedsQuery = {
19759
19844
  } | null> | null;
19760
19845
  } | null;
19761
19846
  };
19847
+ export type QueryLinearProjectsQueryVariables = Exact<{
19848
+ properties: LinearProjectsInput;
19849
+ }>;
19850
+ export type QueryLinearProjectsQuery = {
19851
+ __typename?: 'Query';
19852
+ linearProjects?: {
19853
+ __typename?: 'StringResults';
19854
+ results?: Array<string> | null;
19855
+ } | null;
19856
+ };
19762
19857
  export type QueryMicrosoftTeamsChannelsQueryVariables = Exact<{
19763
19858
  properties: MicrosoftTeamsChannelsInput;
19764
19859
  teamId: Scalars['ID']['input'];
@@ -23175,6 +23270,10 @@ export type CreateWorkflowMutation = {
23175
23270
  id: string;
23176
23271
  } | null;
23177
23272
  } | null;
23273
+ mistral?: {
23274
+ __typename?: 'MistralDocumentPreparationProperties';
23275
+ key?: string | null;
23276
+ } | null;
23178
23277
  } | null;
23179
23278
  } | null> | null;
23180
23279
  } | null;
@@ -23420,6 +23519,10 @@ export type GetWorkflowQuery = {
23420
23519
  id: string;
23421
23520
  } | null;
23422
23521
  } | null;
23522
+ mistral?: {
23523
+ __typename?: 'MistralDocumentPreparationProperties';
23524
+ key?: string | null;
23525
+ } | null;
23423
23526
  } | null;
23424
23527
  } | null> | null;
23425
23528
  } | null;
@@ -23631,6 +23734,10 @@ export type QueryWorkflowsQuery = {
23631
23734
  id: string;
23632
23735
  } | null;
23633
23736
  } | null;
23737
+ mistral?: {
23738
+ __typename?: 'MistralDocumentPreparationProperties';
23739
+ key?: string | null;
23740
+ } | null;
23634
23741
  } | null;
23635
23742
  } | null> | null;
23636
23743
  } | null;
@@ -23834,6 +23941,10 @@ export type UpdateWorkflowMutation = {
23834
23941
  id: string;
23835
23942
  } | null;
23836
23943
  } | null;
23944
+ mistral?: {
23945
+ __typename?: 'MistralDocumentPreparationProperties';
23946
+ key?: string | null;
23947
+ } | null;
23837
23948
  } | null;
23838
23949
  } | null> | null;
23839
23950
  } | null;
@@ -773,6 +773,8 @@ var FilePreparationServiceTypes;
773
773
  FilePreparationServiceTypes["Document"] = "DOCUMENT";
774
774
  /** Email Preparation */
775
775
  FilePreparationServiceTypes["Email"] = "EMAIL";
776
+ /** Mistral OCR Document Preparation */
777
+ FilePreparationServiceTypes["MistralDocument"] = "MISTRAL_DOCUMENT";
776
778
  /** LLM Document Preparation */
777
779
  FilePreparationServiceTypes["ModelDocument"] = "MODEL_DOCUMENT";
778
780
  })(FilePreparationServiceTypes || (exports.FilePreparationServiceTypes = FilePreparationServiceTypes = {}));
@@ -1364,6 +1366,10 @@ var OpenAiModels;
1364
1366
  * @deprecated OpenAI has deprecated this model. Use the GPT-4o Mini model instead.
1365
1367
  */
1366
1368
  OpenAiModels["Gpt35Turbo_16K_1106"] = "GPT35_TURBO_16K_1106";
1369
+ /** GPT 4.5 Preview 128k (Latest) */
1370
+ OpenAiModels["Gpt45Preview_128K"] = "GPT45_PREVIEW_128K";
1371
+ /** GPT 4.5 Preview 128k (2025-02-27 version) */
1372
+ OpenAiModels["Gpt45Preview_128K_20250227"] = "GPT45_PREVIEW_128K_20250227";
1367
1373
  /** o1 200k (Latest) */
1368
1374
  OpenAiModels["O1_200K"] = "O1_200K";
1369
1375
  /** o1 200k (2024-12-17 version) */
@@ -1698,6 +1704,10 @@ var TextRoles;
1698
1704
  TextRoles["Heading5"] = "HEADING5";
1699
1705
  /** Heading 6 */
1700
1706
  TextRoles["Heading6"] = "HEADING6";
1707
+ /** Image */
1708
+ TextRoles["Image"] = "IMAGE";
1709
+ /** Image Caption */
1710
+ TextRoles["ImageCaption"] = "IMAGE_CAPTION";
1701
1711
  /** List Item */
1702
1712
  TextRoles["ListItem"] = "LIST_ITEM";
1703
1713
  /** Page Footer */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250301002",
3
+ "version": "1.0.20250306002",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",