graphlit-client 1.0.20250313001 → 1.0.20250315002

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.CreateObservation = exports.SendNotification = 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.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 = exports.DeleteObservation = 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 = exports.CountSoftwares = 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) {
@@ -404,6 +404,14 @@ exports.UpdateCategory = (0, graphql_tag_1.default) `
404
404
  }
405
405
  }
406
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
+ `;
407
415
  exports.AddContentsToCollections = (0, graphql_tag_1.default) `
408
416
  mutation AddContentsToCollections($contents: [EntityReferenceInput!]!, $collections: [EntityReferenceInput!]!) {
409
417
  addContentsToCollections(contents: $contents, collections: $collections) {
@@ -882,7 +890,6 @@ exports.GetContent = (0, graphql_tag_1.default) `
882
890
  id
883
891
  name
884
892
  creationDate
885
- relevance
886
893
  owner {
887
894
  id
888
895
  }
@@ -1665,7 +1672,6 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1665
1672
  uri
1666
1673
  description
1667
1674
  identifier
1668
- markdown
1669
1675
  address {
1670
1676
  streetAddress
1671
1677
  city
@@ -1813,14 +1819,6 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1813
1819
  language {
1814
1820
  languages
1815
1821
  }
1816
- parent {
1817
- id
1818
- name
1819
- }
1820
- children {
1821
- id
1822
- name
1823
- }
1824
1822
  feed {
1825
1823
  id
1826
1824
  name
@@ -1910,260 +1908,6 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1910
1908
  exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1911
1909
  query QueryContentsFacets($filter: ContentFilter, $facets: [ContentFacetInput!], $correlationId: String) {
1912
1910
  contents(filter: $filter, facets: $facets, correlationId: $correlationId) {
1913
- results {
1914
- id
1915
- name
1916
- creationDate
1917
- relevance
1918
- owner {
1919
- id
1920
- }
1921
- state
1922
- originalDate
1923
- finishedDate
1924
- workflowDuration
1925
- uri
1926
- description
1927
- identifier
1928
- markdown
1929
- address {
1930
- streetAddress
1931
- city
1932
- region
1933
- country
1934
- postalCode
1935
- }
1936
- location {
1937
- latitude
1938
- longitude
1939
- }
1940
- type
1941
- fileType
1942
- mimeType
1943
- fileName
1944
- fileSize
1945
- masterUri
1946
- imageUri
1947
- textUri
1948
- audioUri
1949
- transcriptUri
1950
- summary
1951
- customSummary
1952
- keywords
1953
- bullets
1954
- headlines
1955
- posts
1956
- chapters
1957
- questions
1958
- video {
1959
- width
1960
- height
1961
- duration
1962
- make
1963
- model
1964
- software
1965
- title
1966
- description
1967
- keywords
1968
- author
1969
- }
1970
- audio {
1971
- keywords
1972
- author
1973
- series
1974
- episode
1975
- episodeType
1976
- season
1977
- publisher
1978
- copyright
1979
- genre
1980
- title
1981
- description
1982
- bitrate
1983
- channels
1984
- sampleRate
1985
- bitsPerSample
1986
- duration
1987
- }
1988
- image {
1989
- width
1990
- height
1991
- resolutionX
1992
- resolutionY
1993
- bitsPerComponent
1994
- components
1995
- projectionType
1996
- orientation
1997
- description
1998
- make
1999
- model
2000
- software
2001
- lens
2002
- focalLength
2003
- exposureTime
2004
- fNumber
2005
- iso
2006
- heading
2007
- pitch
2008
- }
2009
- document {
2010
- title
2011
- subject
2012
- summary
2013
- author
2014
- publisher
2015
- description
2016
- keywords
2017
- pageCount
2018
- worksheetCount
2019
- slideCount
2020
- wordCount
2021
- lineCount
2022
- paragraphCount
2023
- isEncrypted
2024
- hasDigitalSignature
2025
- }
2026
- email {
2027
- identifier
2028
- subject
2029
- labels
2030
- sensitivity
2031
- priority
2032
- importance
2033
- from {
2034
- name
2035
- email
2036
- givenName
2037
- familyName
2038
- }
2039
- to {
2040
- name
2041
- email
2042
- givenName
2043
- familyName
2044
- }
2045
- cc {
2046
- name
2047
- email
2048
- givenName
2049
- familyName
2050
- }
2051
- bcc {
2052
- name
2053
- email
2054
- givenName
2055
- familyName
2056
- }
2057
- }
2058
- issue {
2059
- identifier
2060
- title
2061
- project
2062
- team
2063
- status
2064
- priority
2065
- type
2066
- labels
2067
- }
2068
- package {
2069
- fileCount
2070
- folderCount
2071
- isEncrypted
2072
- }
2073
- language {
2074
- languages
2075
- }
2076
- parent {
2077
- id
2078
- name
2079
- }
2080
- children {
2081
- id
2082
- name
2083
- }
2084
- feed {
2085
- id
2086
- name
2087
- }
2088
- collections {
2089
- id
2090
- name
2091
- }
2092
- links {
2093
- uri
2094
- linkType
2095
- }
2096
- observations {
2097
- id
2098
- type
2099
- observable {
2100
- id
2101
- name
2102
- }
2103
- related {
2104
- id
2105
- name
2106
- }
2107
- relatedType
2108
- relation
2109
- occurrences {
2110
- type
2111
- confidence
2112
- startTime
2113
- endTime
2114
- pageIndex
2115
- boundingBox {
2116
- left
2117
- top
2118
- width
2119
- height
2120
- }
2121
- }
2122
- state
2123
- }
2124
- workflow {
2125
- id
2126
- name
2127
- }
2128
- pages {
2129
- index
2130
- text
2131
- relevance
2132
- images {
2133
- id
2134
- mimeType
2135
- data
2136
- left
2137
- right
2138
- top
2139
- bottom
2140
- }
2141
- chunks {
2142
- index
2143
- pageIndex
2144
- rowIndex
2145
- columnIndex
2146
- confidence
2147
- text
2148
- role
2149
- language
2150
- relevance
2151
- }
2152
- }
2153
- segments {
2154
- startTime
2155
- endTime
2156
- text
2157
- relevance
2158
- }
2159
- frames {
2160
- index
2161
- description
2162
- text
2163
- relevance
2164
- }
2165
- error
2166
- }
2167
1911
  facets {
2168
1912
  facet
2169
1913
  count
@@ -5445,6 +5189,13 @@ exports.EnableFeed = (0, graphql_tag_1.default) `
5445
5189
  }
5446
5190
  }
5447
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
+ `;
5448
5199
  exports.GetFeed = (0, graphql_tag_1.default) `
5449
5200
  query GetFeed($id: ID!, $correlationId: String) {
5450
5201
  feed(id: $id, correlationId: $correlationId) {
@@ -6078,6 +5829,14 @@ exports.UpdateLabel = (0, graphql_tag_1.default) `
6078
5829
  }
6079
5830
  }
6080
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
+ `;
6081
5840
  exports.CountMedicalConditions = (0, graphql_tag_1.default) `
6082
5841
  query CountMedicalConditions($filter: MedicalConditionFilter, $correlationId: String) {
6083
5842
  countMedicalConditions(filter: $filter, correlationId: $correlationId) {
@@ -8403,6 +8162,13 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
8403
8162
  }
8404
8163
  }
8405
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
+ `;
8406
8172
  exports.UpdateSpecification = (0, graphql_tag_1.default) `
8407
8173
  mutation UpdateSpecification($specification: SpecificationUpdateInput!) {
8408
8174
  updateSpecification(specification: $specification) {
@@ -8414,6 +8180,17 @@ exports.UpdateSpecification = (0, graphql_tag_1.default) `
8414
8180
  }
8415
8181
  }
8416
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
+ `;
8417
8194
  exports.CountUsers = (0, graphql_tag_1.default) `
8418
8195
  query CountUsers($filter: UserFilter, $correlationId: String) {
8419
8196
  countUsers(filter: $filter, correlationId: $correlationId) {
@@ -9382,3 +9159,203 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9382
9159
  }
9383
9160
  }
9384
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
+ }
9304
+ enrichment {
9305
+ link {
9306
+ enableCrawling
9307
+ allowedDomains
9308
+ excludedDomains
9309
+ allowedPaths
9310
+ excludedPaths
9311
+ allowedLinks
9312
+ excludedLinks
9313
+ allowedFiles
9314
+ excludedFiles
9315
+ allowContentDomain
9316
+ maximumLinks
9317
+ }
9318
+ jobs {
9319
+ connector {
9320
+ type
9321
+ enrichedTypes
9322
+ fhir {
9323
+ endpoint
9324
+ }
9325
+ diffbot {
9326
+ key
9327
+ }
9328
+ }
9329
+ }
9330
+ }
9331
+ storage {
9332
+ policy {
9333
+ type
9334
+ allowDuplicates
9335
+ }
9336
+ }
9337
+ actions {
9338
+ connector {
9339
+ type
9340
+ uri
9341
+ slack {
9342
+ token
9343
+ channel
9344
+ }
9345
+ email {
9346
+ from
9347
+ subject
9348
+ to
9349
+ }
9350
+ }
9351
+ }
9352
+ }
9353
+ }
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
+ `;