graphlit-client 1.0.20250306002 → 1.0.20250315001

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.
@@ -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.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.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;
6
+ 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.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.QueryOneDriveFolders = 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 = void 0;
8
+ 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.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 = void 0;
9
+ 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 = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = void 0;
10
+ 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 = exports.DeleteObservation = exports.CreateObservation = exports.SendNotification = exports.UpdateMedicalTherapy = 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 = 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) {
@@ -171,6 +171,11 @@ exports.GetAlert = (0, graphql_tag_1.default) `
171
171
  token
172
172
  channel
173
173
  }
174
+ email {
175
+ from
176
+ subject
177
+ to
178
+ }
174
179
  }
175
180
  publishing {
176
181
  type
@@ -290,6 +295,11 @@ exports.QueryAlerts = (0, graphql_tag_1.default) `
290
295
  token
291
296
  channel
292
297
  }
298
+ email {
299
+ from
300
+ subject
301
+ to
302
+ }
293
303
  }
294
304
  publishing {
295
305
  type
@@ -394,6 +404,14 @@ exports.UpdateCategory = (0, graphql_tag_1.default) `
394
404
  }
395
405
  }
396
406
  `;
407
+ exports.UpsertCategory = (0, graphql_tag_1.default) `
408
+ mutation UpsertCategory($category: CategoryInput!) {
409
+ upsertCategory(category: $category) {
410
+ id
411
+ name
412
+ }
413
+ }
414
+ `;
397
415
  exports.AddContentsToCollections = (0, graphql_tag_1.default) `
398
416
  mutation AddContentsToCollections($contents: [EntityReferenceInput!]!, $collections: [EntityReferenceInput!]!) {
399
417
  addContentsToCollections(contents: $contents, collections: $collections) {
@@ -872,7 +890,6 @@ exports.GetContent = (0, graphql_tag_1.default) `
872
890
  id
873
891
  name
874
892
  creationDate
875
- relevance
876
893
  owner {
877
894
  id
878
895
  }
@@ -1655,7 +1672,6 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1655
1672
  uri
1656
1673
  description
1657
1674
  identifier
1658
- markdown
1659
1675
  address {
1660
1676
  streetAddress
1661
1677
  city
@@ -1803,14 +1819,6 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1803
1819
  language {
1804
1820
  languages
1805
1821
  }
1806
- parent {
1807
- id
1808
- name
1809
- }
1810
- children {
1811
- id
1812
- name
1813
- }
1814
1822
  feed {
1815
1823
  id
1816
1824
  name
@@ -1900,334 +1908,80 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1900
1908
  exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1901
1909
  query QueryContentsFacets($filter: ContentFilter, $facets: [ContentFacetInput!], $correlationId: String) {
1902
1910
  contents(filter: $filter, facets: $facets, correlationId: $correlationId) {
1903
- results {
1904
- id
1905
- name
1906
- creationDate
1907
- relevance
1908
- owner {
1909
- id
1910
- }
1911
- state
1912
- originalDate
1913
- finishedDate
1914
- workflowDuration
1915
- uri
1916
- description
1917
- identifier
1918
- markdown
1919
- address {
1920
- streetAddress
1921
- city
1922
- region
1923
- country
1924
- postalCode
1925
- }
1926
- location {
1927
- latitude
1928
- longitude
1929
- }
1911
+ facets {
1912
+ facet
1913
+ count
1930
1914
  type
1931
- fileType
1932
- mimeType
1933
- fileName
1934
- fileSize
1935
- masterUri
1936
- imageUri
1937
- textUri
1938
- audioUri
1939
- transcriptUri
1940
- summary
1941
- customSummary
1942
- keywords
1943
- bullets
1944
- headlines
1945
- posts
1946
- chapters
1947
- questions
1948
- video {
1949
- width
1950
- height
1951
- duration
1952
- make
1953
- model
1954
- software
1955
- title
1956
- description
1957
- keywords
1958
- author
1959
- }
1960
- audio {
1961
- keywords
1962
- author
1963
- series
1964
- episode
1965
- episodeType
1966
- season
1967
- publisher
1968
- copyright
1969
- genre
1970
- title
1971
- description
1972
- bitrate
1973
- channels
1974
- sampleRate
1975
- bitsPerSample
1976
- duration
1977
- }
1978
- image {
1979
- width
1980
- height
1981
- resolutionX
1982
- resolutionY
1983
- bitsPerComponent
1984
- components
1985
- projectionType
1986
- orientation
1987
- description
1988
- make
1989
- model
1990
- software
1991
- lens
1992
- focalLength
1993
- exposureTime
1994
- fNumber
1995
- iso
1996
- heading
1997
- pitch
1998
- }
1999
- document {
2000
- title
2001
- subject
2002
- summary
2003
- author
2004
- publisher
2005
- description
2006
- keywords
2007
- pageCount
2008
- worksheetCount
2009
- slideCount
2010
- wordCount
2011
- lineCount
2012
- paragraphCount
2013
- isEncrypted
2014
- hasDigitalSignature
1915
+ value
1916
+ range {
1917
+ from
1918
+ to
2015
1919
  }
2016
- email {
2017
- identifier
2018
- subject
2019
- labels
2020
- sensitivity
2021
- priority
2022
- importance
2023
- from {
2024
- name
2025
- email
2026
- givenName
2027
- familyName
2028
- }
2029
- to {
2030
- name
2031
- email
2032
- givenName
2033
- familyName
2034
- }
2035
- cc {
2036
- name
2037
- email
2038
- givenName
2039
- familyName
2040
- }
2041
- bcc {
1920
+ observable {
1921
+ type
1922
+ observable {
1923
+ id
2042
1924
  name
2043
- email
2044
- givenName
2045
- familyName
2046
1925
  }
2047
1926
  }
2048
- issue {
2049
- identifier
2050
- title
2051
- project
2052
- team
2053
- status
2054
- priority
2055
- type
2056
- labels
2057
- }
2058
- package {
2059
- fileCount
2060
- folderCount
2061
- isEncrypted
2062
- }
2063
- language {
2064
- languages
2065
- }
2066
- parent {
1927
+ }
1928
+ }
1929
+ }
1930
+ `;
1931
+ exports.QueryContentsGraph = (0, graphql_tag_1.default) `
1932
+ query QueryContentsGraph($filter: ContentFilter, $graph: ContentGraphInput, $correlationId: String) {
1933
+ contents(filter: $filter, graph: $graph, correlationId: $correlationId) {
1934
+ graph {
1935
+ nodes {
2067
1936
  id
2068
1937
  name
1938
+ type
1939
+ metadata
2069
1940
  }
2070
- children {
2071
- id
2072
- name
1941
+ edges {
1942
+ from
1943
+ to
1944
+ relation
2073
1945
  }
2074
- feed {
1946
+ }
1947
+ }
1948
+ }
1949
+ `;
1950
+ exports.ScreenshotPage = (0, graphql_tag_1.default) `
1951
+ mutation ScreenshotPage($uri: URL!, $maximumHeight: Int, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
1952
+ screenshotPage(
1953
+ uri: $uri
1954
+ maximumHeight: $maximumHeight
1955
+ workflow: $workflow
1956
+ collections: $collections
1957
+ isSynchronous: $isSynchronous
1958
+ correlationId: $correlationId
1959
+ ) {
1960
+ id
1961
+ name
1962
+ state
1963
+ type
1964
+ fileType
1965
+ mimeType
1966
+ uri
1967
+ collections {
1968
+ id
1969
+ name
1970
+ }
1971
+ observations {
1972
+ id
1973
+ type
1974
+ observable {
2075
1975
  id
2076
1976
  name
2077
1977
  }
2078
- collections {
1978
+ related {
2079
1979
  id
2080
1980
  name
2081
1981
  }
2082
- links {
2083
- uri
2084
- linkType
2085
- }
2086
- observations {
2087
- id
2088
- type
2089
- observable {
2090
- id
2091
- name
2092
- }
2093
- related {
2094
- id
2095
- name
2096
- }
2097
- relatedType
2098
- relation
2099
- occurrences {
2100
- type
2101
- confidence
2102
- startTime
2103
- endTime
2104
- pageIndex
2105
- boundingBox {
2106
- left
2107
- top
2108
- width
2109
- height
2110
- }
2111
- }
2112
- state
2113
- }
2114
- workflow {
2115
- id
2116
- name
2117
- }
2118
- pages {
2119
- index
2120
- text
2121
- relevance
2122
- images {
2123
- id
2124
- mimeType
2125
- data
2126
- left
2127
- right
2128
- top
2129
- bottom
2130
- }
2131
- chunks {
2132
- index
2133
- pageIndex
2134
- rowIndex
2135
- columnIndex
2136
- confidence
2137
- text
2138
- role
2139
- language
2140
- relevance
2141
- }
2142
- }
2143
- segments {
2144
- startTime
2145
- endTime
2146
- text
2147
- relevance
2148
- }
2149
- frames {
2150
- index
2151
- description
2152
- text
2153
- relevance
2154
- }
2155
- error
2156
- }
2157
- facets {
2158
- facet
2159
- count
2160
- type
2161
- value
2162
- range {
2163
- from
2164
- to
2165
- }
2166
- observable {
2167
- type
2168
- observable {
2169
- id
2170
- name
2171
- }
2172
- }
2173
- }
2174
- }
2175
- }
2176
- `;
2177
- exports.QueryContentsGraph = (0, graphql_tag_1.default) `
2178
- query QueryContentsGraph($filter: ContentFilter, $graph: ContentGraphInput, $correlationId: String) {
2179
- contents(filter: $filter, graph: $graph, correlationId: $correlationId) {
2180
- graph {
2181
- nodes {
2182
- id
2183
- name
2184
- type
2185
- metadata
2186
- }
2187
- edges {
2188
- from
2189
- to
2190
- relation
2191
- }
2192
- }
2193
- }
2194
- }
2195
- `;
2196
- exports.ScreenshotPage = (0, graphql_tag_1.default) `
2197
- mutation ScreenshotPage($uri: URL!, $maximumHeight: Int, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
2198
- screenshotPage(
2199
- uri: $uri
2200
- maximumHeight: $maximumHeight
2201
- workflow: $workflow
2202
- collections: $collections
2203
- isSynchronous: $isSynchronous
2204
- correlationId: $correlationId
2205
- ) {
2206
- id
2207
- name
2208
- state
2209
- type
2210
- fileType
2211
- mimeType
2212
- uri
2213
- collections {
2214
- id
2215
- name
2216
- }
2217
- observations {
2218
- id
2219
- type
2220
- observable {
2221
- id
2222
- name
2223
- }
2224
- related {
2225
- id
2226
- name
2227
- }
2228
- relatedType
2229
- relation
2230
- occurrences {
1982
+ relatedType
1983
+ relation
1984
+ occurrences {
2231
1985
  type
2232
1986
  confidence
2233
1987
  startTime
@@ -5435,6 +5189,13 @@ exports.EnableFeed = (0, graphql_tag_1.default) `
5435
5189
  }
5436
5190
  }
5437
5191
  `;
5192
+ exports.FeedExists = (0, graphql_tag_1.default) `
5193
+ query FeedExists($filter: FeedFilter, $correlationId: String) {
5194
+ feedExists(filter: $filter, correlationId: $correlationId) {
5195
+ result
5196
+ }
5197
+ }
5198
+ `;
5438
5199
  exports.GetFeed = (0, graphql_tag_1.default) `
5439
5200
  query GetFeed($id: ID!, $correlationId: String) {
5440
5201
  feed(id: $id, correlationId: $correlationId) {
@@ -6068,6 +5829,14 @@ exports.UpdateLabel = (0, graphql_tag_1.default) `
6068
5829
  }
6069
5830
  }
6070
5831
  `;
5832
+ exports.UpsertLabel = (0, graphql_tag_1.default) `
5833
+ mutation UpsertLabel($label: LabelInput!) {
5834
+ upsertLabel(label: $label) {
5835
+ id
5836
+ name
5837
+ }
5838
+ }
5839
+ `;
6071
5840
  exports.CountMedicalConditions = (0, graphql_tag_1.default) `
6072
5841
  query CountMedicalConditions($filter: MedicalConditionFilter, $correlationId: String) {
6073
5842
  countMedicalConditions(filter: $filter, correlationId: $correlationId) {
@@ -6995,6 +6764,13 @@ exports.UpdateMedicalTherapy = (0, graphql_tag_1.default) `
6995
6764
  }
6996
6765
  }
6997
6766
  `;
6767
+ exports.SendNotification = (0, graphql_tag_1.default) `
6768
+ mutation SendNotification($connector: IntegrationConnectorInput!, $text: String!, $textType: TextTypes) {
6769
+ sendNotification(connector: $connector, text: $text, textType: $textType) {
6770
+ result
6771
+ }
6772
+ }
6773
+ `;
6998
6774
  exports.CreateObservation = (0, graphql_tag_1.default) `
6999
6775
  mutation CreateObservation($observation: ObservationInput!) {
7000
6776
  createObservation(observation: $observation) {
@@ -7504,6 +7280,7 @@ exports.LookupCredits = (0, graphql_tag_1.default) `
7504
7280
  indexingRatio
7505
7281
  preparationRatio
7506
7282
  extractionRatio
7283
+ classificationRatio
7507
7284
  enrichmentRatio
7508
7285
  publishingRatio
7509
7286
  searchRatio
@@ -7561,6 +7338,7 @@ exports.QueryCredits = (0, graphql_tag_1.default) `
7561
7338
  indexingRatio
7562
7339
  preparationRatio
7563
7340
  extractionRatio
7341
+ classificationRatio
7564
7342
  enrichmentRatio
7565
7343
  publishingRatio
7566
7344
  searchRatio
@@ -8384,6 +8162,13 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
8384
8162
  }
8385
8163
  }
8386
8164
  `;
8165
+ exports.SpecificationExists = (0, graphql_tag_1.default) `
8166
+ query SpecificationExists($filter: SpecificationFilter, $correlationId: String) {
8167
+ specificationExists(filter: $filter, correlationId: $correlationId) {
8168
+ result
8169
+ }
8170
+ }
8171
+ `;
8387
8172
  exports.UpdateSpecification = (0, graphql_tag_1.default) `
8388
8173
  mutation UpdateSpecification($specification: SpecificationUpdateInput!) {
8389
8174
  updateSpecification(specification: $specification) {
@@ -8395,6 +8180,17 @@ exports.UpdateSpecification = (0, graphql_tag_1.default) `
8395
8180
  }
8396
8181
  }
8397
8182
  `;
8183
+ exports.UpsertSpecification = (0, graphql_tag_1.default) `
8184
+ mutation UpsertSpecification($specification: SpecificationInput!) {
8185
+ upsertSpecification(specification: $specification) {
8186
+ id
8187
+ name
8188
+ state
8189
+ type
8190
+ serviceType
8191
+ }
8192
+ }
8193
+ `;
8398
8194
  exports.CountUsers = (0, graphql_tag_1.default) `
8399
8195
  query CountUsers($filter: UserFilter, $correlationId: String) {
8400
8196
  countUsers(filter: $filter, correlationId: $correlationId) {
@@ -8474,6 +8270,11 @@ exports.GetUser = (0, graphql_tag_1.default) `
8474
8270
  token
8475
8271
  channel
8476
8272
  }
8273
+ email {
8274
+ from
8275
+ subject
8276
+ to
8277
+ }
8477
8278
  }
8478
8279
  }
8479
8280
  }
@@ -8517,6 +8318,11 @@ exports.QueryUsers = (0, graphql_tag_1.default) `
8517
8318
  token
8518
8319
  channel
8519
8320
  }
8321
+ email {
8322
+ from
8323
+ subject
8324
+ to
8325
+ }
8520
8326
  }
8521
8327
  }
8522
8328
  }
@@ -8657,6 +8463,32 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8657
8463
  }
8658
8464
  }
8659
8465
  }
8466
+ classification {
8467
+ jobs {
8468
+ connector {
8469
+ type
8470
+ contentType
8471
+ fileType
8472
+ model {
8473
+ specification {
8474
+ id
8475
+ }
8476
+ rules {
8477
+ then
8478
+ if
8479
+ }
8480
+ }
8481
+ regex {
8482
+ rules {
8483
+ then
8484
+ type
8485
+ path
8486
+ matches
8487
+ }
8488
+ }
8489
+ }
8490
+ }
8491
+ }
8660
8492
  enrichment {
8661
8493
  link {
8662
8494
  enableCrawling
@@ -8698,6 +8530,11 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8698
8530
  token
8699
8531
  channel
8700
8532
  }
8533
+ email {
8534
+ from
8535
+ subject
8536
+ to
8537
+ }
8701
8538
  }
8702
8539
  }
8703
8540
  }
@@ -8852,6 +8689,32 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8852
8689
  }
8853
8690
  }
8854
8691
  }
8692
+ classification {
8693
+ jobs {
8694
+ connector {
8695
+ type
8696
+ contentType
8697
+ fileType
8698
+ model {
8699
+ specification {
8700
+ id
8701
+ }
8702
+ rules {
8703
+ then
8704
+ if
8705
+ }
8706
+ }
8707
+ regex {
8708
+ rules {
8709
+ then
8710
+ type
8711
+ path
8712
+ matches
8713
+ }
8714
+ }
8715
+ }
8716
+ }
8717
+ }
8855
8718
  enrichment {
8856
8719
  link {
8857
8720
  enableCrawling
@@ -8893,6 +8756,11 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8893
8756
  token
8894
8757
  channel
8895
8758
  }
8759
+ email {
8760
+ from
8761
+ subject
8762
+ to
8763
+ }
8896
8764
  }
8897
8765
  }
8898
8766
  }
@@ -9020,6 +8888,32 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
9020
8888
  }
9021
8889
  }
9022
8890
  }
8891
+ classification {
8892
+ jobs {
8893
+ connector {
8894
+ type
8895
+ contentType
8896
+ fileType
8897
+ model {
8898
+ specification {
8899
+ id
8900
+ }
8901
+ rules {
8902
+ then
8903
+ if
8904
+ }
8905
+ }
8906
+ regex {
8907
+ rules {
8908
+ then
8909
+ type
8910
+ path
8911
+ matches
8912
+ }
8913
+ }
8914
+ }
8915
+ }
8916
+ }
9023
8917
  enrichment {
9024
8918
  link {
9025
8919
  enableCrawling
@@ -9061,6 +8955,11 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
9061
8955
  token
9062
8956
  channel
9063
8957
  }
8958
+ email {
8959
+ from
8960
+ subject
8961
+ to
8962
+ }
9064
8963
  }
9065
8964
  }
9066
8965
  }
@@ -9183,6 +9082,225 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9183
9082
  }
9184
9083
  }
9185
9084
  }
9085
+ classification {
9086
+ jobs {
9087
+ connector {
9088
+ type
9089
+ contentType
9090
+ fileType
9091
+ model {
9092
+ specification {
9093
+ id
9094
+ }
9095
+ rules {
9096
+ then
9097
+ if
9098
+ }
9099
+ }
9100
+ regex {
9101
+ rules {
9102
+ then
9103
+ type
9104
+ path
9105
+ matches
9106
+ }
9107
+ }
9108
+ }
9109
+ }
9110
+ }
9111
+ enrichment {
9112
+ link {
9113
+ enableCrawling
9114
+ allowedDomains
9115
+ excludedDomains
9116
+ allowedPaths
9117
+ excludedPaths
9118
+ allowedLinks
9119
+ excludedLinks
9120
+ allowedFiles
9121
+ excludedFiles
9122
+ allowContentDomain
9123
+ maximumLinks
9124
+ }
9125
+ jobs {
9126
+ connector {
9127
+ type
9128
+ enrichedTypes
9129
+ fhir {
9130
+ endpoint
9131
+ }
9132
+ diffbot {
9133
+ key
9134
+ }
9135
+ }
9136
+ }
9137
+ }
9138
+ storage {
9139
+ policy {
9140
+ type
9141
+ allowDuplicates
9142
+ }
9143
+ }
9144
+ actions {
9145
+ connector {
9146
+ type
9147
+ uri
9148
+ slack {
9149
+ token
9150
+ channel
9151
+ }
9152
+ email {
9153
+ from
9154
+ subject
9155
+ to
9156
+ }
9157
+ }
9158
+ }
9159
+ }
9160
+ }
9161
+ `;
9162
+ exports.UpsertWorkflow = (0, graphql_tag_1.default) `
9163
+ mutation UpsertWorkflow($workflow: WorkflowInput!) {
9164
+ upsertWorkflow(workflow: $workflow) {
9165
+ id
9166
+ name
9167
+ state
9168
+ ingestion {
9169
+ if {
9170
+ types
9171
+ fileTypes
9172
+ allowedPaths
9173
+ excludedPaths
9174
+ }
9175
+ collections {
9176
+ id
9177
+ }
9178
+ observations {
9179
+ type
9180
+ observable {
9181
+ id
9182
+ name
9183
+ }
9184
+ }
9185
+ }
9186
+ indexing {
9187
+ jobs {
9188
+ connector {
9189
+ type
9190
+ contentType
9191
+ fileType
9192
+ }
9193
+ }
9194
+ }
9195
+ preparation {
9196
+ enableUnblockedCapture
9197
+ disableSmartCapture
9198
+ summarizations {
9199
+ type
9200
+ specification {
9201
+ id
9202
+ }
9203
+ tokens
9204
+ items
9205
+ prompt
9206
+ }
9207
+ jobs {
9208
+ connector {
9209
+ type
9210
+ fileTypes
9211
+ azureDocument {
9212
+ version
9213
+ model
9214
+ endpoint
9215
+ key
9216
+ }
9217
+ deepgram {
9218
+ model
9219
+ key
9220
+ enableRedaction
9221
+ enableSpeakerDiarization
9222
+ detectLanguage
9223
+ language
9224
+ }
9225
+ assemblyAI {
9226
+ model
9227
+ key
9228
+ enableRedaction
9229
+ enableSpeakerDiarization
9230
+ detectLanguage
9231
+ language
9232
+ }
9233
+ document {
9234
+ includeImages
9235
+ }
9236
+ email {
9237
+ includeAttachments
9238
+ }
9239
+ modelDocument {
9240
+ specification {
9241
+ id
9242
+ }
9243
+ }
9244
+ mistral {
9245
+ key
9246
+ }
9247
+ }
9248
+ }
9249
+ }
9250
+ extraction {
9251
+ jobs {
9252
+ connector {
9253
+ type
9254
+ contentTypes
9255
+ fileTypes
9256
+ extractedTypes
9257
+ extractedCount
9258
+ azureText {
9259
+ confidenceThreshold
9260
+ enablePII
9261
+ }
9262
+ azureImage {
9263
+ confidenceThreshold
9264
+ }
9265
+ modelImage {
9266
+ specification {
9267
+ id
9268
+ }
9269
+ }
9270
+ modelText {
9271
+ specification {
9272
+ id
9273
+ }
9274
+ }
9275
+ }
9276
+ }
9277
+ }
9278
+ classification {
9279
+ jobs {
9280
+ connector {
9281
+ type
9282
+ contentType
9283
+ fileType
9284
+ model {
9285
+ specification {
9286
+ id
9287
+ }
9288
+ rules {
9289
+ then
9290
+ if
9291
+ }
9292
+ }
9293
+ regex {
9294
+ rules {
9295
+ then
9296
+ type
9297
+ path
9298
+ matches
9299
+ }
9300
+ }
9301
+ }
9302
+ }
9303
+ }
9186
9304
  enrichment {
9187
9305
  link {
9188
9306
  enableCrawling
@@ -9224,8 +9342,20 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9224
9342
  token
9225
9343
  channel
9226
9344
  }
9345
+ email {
9346
+ from
9347
+ subject
9348
+ to
9349
+ }
9227
9350
  }
9228
9351
  }
9229
9352
  }
9230
9353
  }
9231
9354
  `;
9355
+ exports.WorkflowExists = (0, graphql_tag_1.default) `
9356
+ query WorkflowExists($filter: WorkflowFilter, $correlationId: String) {
9357
+ workflowExists(filter: $filter, correlationId: $correlationId) {
9358
+ result
9359
+ }
9360
+ }
9361
+ `;