graphlit-client 1.0.20250306001 → 1.0.20250313001

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
@@ -17,6 +17,7 @@ declare class Graphlit {
17
17
  lookupProjectCredits(correlationId: string): Promise<Types.LookupCreditsQuery>;
18
18
  queryProjectUsage(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryUsageQuery>;
19
19
  queryProjectCredits(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryCreditsQuery>;
20
+ sendNotification(connector: Types.IntegrationConnectorInput, text: string, textType?: Types.TextTypes): Promise<Types.SendNotificationMutation>;
20
21
  mapWeb(uri: string, allowedPaths?: string[], excludedPaths?: string[], correlationId?: string): Promise<Types.MapWebQuery>;
21
22
  searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number, correlationId?: string): Promise<Types.SearchWebQuery>;
22
23
  createAlert(alert: Types.AlertInput, correlationId?: string): Promise<Types.CreateAlertMutation>;
@@ -88,6 +89,7 @@ declare class Graphlit {
88
89
  queryMicrosoftTeamsTeams(properties: Types.MicrosoftTeamsTeamsInput): Promise<Types.QueryMicrosoftTeamsTeamsQuery>;
89
90
  queryMicrosoftTeamsChannels(properties: Types.MicrosoftTeamsChannelsInput, teamId: string): Promise<Types.QueryMicrosoftTeamsChannelsQuery>;
90
91
  querySlackChannels(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackChannelsQuery>;
92
+ queryLinearProjects(properties: Types.LinearProjectsInput): Promise<Types.QueryLinearProjectsQuery>;
91
93
  createFeed(feed: Types.FeedInput, correlationId?: string): Promise<Types.CreateFeedMutation>;
92
94
  updateFeed(feed: Types.FeedUpdateInput): Promise<Types.UpdateFeedMutation>;
93
95
  deleteFeed(id: string): Promise<Types.DeleteFeedMutation>;
package/dist/client.js CHANGED
@@ -143,6 +143,11 @@ class Graphlit {
143
143
  return this.queryAndCheckError(Documents.QueryCredits, { startDate: startDate, duration: duration });
144
144
  });
145
145
  }
146
+ sendNotification(connector, text, textType) {
147
+ return __awaiter(this, void 0, void 0, function* () {
148
+ return this.mutateAndCheckError(Documents.SendNotification, { connector: connector, text: text, textType: textType });
149
+ });
150
+ }
146
151
  mapWeb(uri, allowedPaths, excludedPaths, correlationId) {
147
152
  return __awaiter(this, void 0, void 0, function* () {
148
153
  return this.queryAndCheckError(Documents.MapWeb, { uri: uri, allowedPaths: allowedPaths, excludedPaths: excludedPaths, correlationId: correlationId });
@@ -498,6 +503,11 @@ class Graphlit {
498
503
  return this.queryAndCheckError(Documents.QuerySlackChannels, { properties: properties });
499
504
  });
500
505
  }
506
+ queryLinearProjects(properties) {
507
+ return __awaiter(this, void 0, void 0, function* () {
508
+ return this.queryAndCheckError(Documents.QueryLinearProjects, { properties: properties });
509
+ });
510
+ }
501
511
  createFeed(feed, correlationId) {
502
512
  return __awaiter(this, void 0, void 0, function* () {
503
513
  return this.mutateAndCheckError(Documents.CreateFeed, { feed: feed, correlationId: correlationId });
@@ -196,6 +196,7 @@ export declare const DeleteMedicalTherapy: import("graphql").DocumentNode;
196
196
  export declare const GetMedicalTherapy: import("graphql").DocumentNode;
197
197
  export declare const QueryMedicalTherapies: import("graphql").DocumentNode;
198
198
  export declare const UpdateMedicalTherapy: import("graphql").DocumentNode;
199
+ export declare const SendNotification: import("graphql").DocumentNode;
199
200
  export declare const CreateObservation: import("graphql").DocumentNode;
200
201
  export declare const DeleteObservation: import("graphql").DocumentNode;
201
202
  export declare const UpdateObservation: import("graphql").DocumentNode;
@@ -6,9 +6,9 @@ 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
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
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;
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;
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
@@ -6995,6 +7005,13 @@ exports.UpdateMedicalTherapy = (0, graphql_tag_1.default) `
6995
7005
  }
6996
7006
  }
6997
7007
  `;
7008
+ exports.SendNotification = (0, graphql_tag_1.default) `
7009
+ mutation SendNotification($connector: IntegrationConnectorInput!, $text: String!, $textType: TextTypes) {
7010
+ sendNotification(connector: $connector, text: $text, textType: $textType) {
7011
+ result
7012
+ }
7013
+ }
7014
+ `;
6998
7015
  exports.CreateObservation = (0, graphql_tag_1.default) `
6999
7016
  mutation CreateObservation($observation: ObservationInput!) {
7000
7017
  createObservation(observation: $observation) {
@@ -7504,6 +7521,7 @@ exports.LookupCredits = (0, graphql_tag_1.default) `
7504
7521
  indexingRatio
7505
7522
  preparationRatio
7506
7523
  extractionRatio
7524
+ classificationRatio
7507
7525
  enrichmentRatio
7508
7526
  publishingRatio
7509
7527
  searchRatio
@@ -7561,6 +7579,7 @@ exports.QueryCredits = (0, graphql_tag_1.default) `
7561
7579
  indexingRatio
7562
7580
  preparationRatio
7563
7581
  extractionRatio
7582
+ classificationRatio
7564
7583
  enrichmentRatio
7565
7584
  publishingRatio
7566
7585
  searchRatio
@@ -8474,6 +8493,11 @@ exports.GetUser = (0, graphql_tag_1.default) `
8474
8493
  token
8475
8494
  channel
8476
8495
  }
8496
+ email {
8497
+ from
8498
+ subject
8499
+ to
8500
+ }
8477
8501
  }
8478
8502
  }
8479
8503
  }
@@ -8517,6 +8541,11 @@ exports.QueryUsers = (0, graphql_tag_1.default) `
8517
8541
  token
8518
8542
  channel
8519
8543
  }
8544
+ email {
8545
+ from
8546
+ subject
8547
+ to
8548
+ }
8520
8549
  }
8521
8550
  }
8522
8551
  }
@@ -8657,6 +8686,32 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8657
8686
  }
8658
8687
  }
8659
8688
  }
8689
+ classification {
8690
+ jobs {
8691
+ connector {
8692
+ type
8693
+ contentType
8694
+ fileType
8695
+ model {
8696
+ specification {
8697
+ id
8698
+ }
8699
+ rules {
8700
+ then
8701
+ if
8702
+ }
8703
+ }
8704
+ regex {
8705
+ rules {
8706
+ then
8707
+ type
8708
+ path
8709
+ matches
8710
+ }
8711
+ }
8712
+ }
8713
+ }
8714
+ }
8660
8715
  enrichment {
8661
8716
  link {
8662
8717
  enableCrawling
@@ -8698,6 +8753,11 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8698
8753
  token
8699
8754
  channel
8700
8755
  }
8756
+ email {
8757
+ from
8758
+ subject
8759
+ to
8760
+ }
8701
8761
  }
8702
8762
  }
8703
8763
  }
@@ -8852,6 +8912,32 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8852
8912
  }
8853
8913
  }
8854
8914
  }
8915
+ classification {
8916
+ jobs {
8917
+ connector {
8918
+ type
8919
+ contentType
8920
+ fileType
8921
+ model {
8922
+ specification {
8923
+ id
8924
+ }
8925
+ rules {
8926
+ then
8927
+ if
8928
+ }
8929
+ }
8930
+ regex {
8931
+ rules {
8932
+ then
8933
+ type
8934
+ path
8935
+ matches
8936
+ }
8937
+ }
8938
+ }
8939
+ }
8940
+ }
8855
8941
  enrichment {
8856
8942
  link {
8857
8943
  enableCrawling
@@ -8893,6 +8979,11 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8893
8979
  token
8894
8980
  channel
8895
8981
  }
8982
+ email {
8983
+ from
8984
+ subject
8985
+ to
8986
+ }
8896
8987
  }
8897
8988
  }
8898
8989
  }
@@ -9020,6 +9111,32 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
9020
9111
  }
9021
9112
  }
9022
9113
  }
9114
+ classification {
9115
+ jobs {
9116
+ connector {
9117
+ type
9118
+ contentType
9119
+ fileType
9120
+ model {
9121
+ specification {
9122
+ id
9123
+ }
9124
+ rules {
9125
+ then
9126
+ if
9127
+ }
9128
+ }
9129
+ regex {
9130
+ rules {
9131
+ then
9132
+ type
9133
+ path
9134
+ matches
9135
+ }
9136
+ }
9137
+ }
9138
+ }
9139
+ }
9023
9140
  enrichment {
9024
9141
  link {
9025
9142
  enableCrawling
@@ -9061,6 +9178,11 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
9061
9178
  token
9062
9179
  channel
9063
9180
  }
9181
+ email {
9182
+ from
9183
+ subject
9184
+ to
9185
+ }
9064
9186
  }
9065
9187
  }
9066
9188
  }
@@ -9183,6 +9305,32 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9183
9305
  }
9184
9306
  }
9185
9307
  }
9308
+ classification {
9309
+ jobs {
9310
+ connector {
9311
+ type
9312
+ contentType
9313
+ fileType
9314
+ model {
9315
+ specification {
9316
+ id
9317
+ }
9318
+ rules {
9319
+ then
9320
+ if
9321
+ }
9322
+ }
9323
+ regex {
9324
+ rules {
9325
+ then
9326
+ type
9327
+ path
9328
+ matches
9329
+ }
9330
+ }
9331
+ }
9332
+ }
9333
+ }
9186
9334
  enrichment {
9187
9335
  link {
9188
9336
  enableCrawling
@@ -9224,6 +9372,11 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9224
9372
  token
9225
9373
  channel
9226
9374
  }
9375
+ email {
9376
+ from
9377
+ subject
9378
+ to
9379
+ }
9227
9380
  }
9228
9381
  }
9229
9382
  }
@@ -1154,6 +1154,28 @@ export declare enum CerebrasModels {
1154
1154
  /** LLaMA 3.3 70b */
1155
1155
  Llama_3_3_70B = "LLAMA_3_3_70B"
1156
1156
  }
1157
+ /** Represents a classification workflow job. */
1158
+ export type ClassificationWorkflowJob = {
1159
+ __typename?: 'ClassificationWorkflowJob';
1160
+ /** The content classification connector. */
1161
+ connector?: Maybe<ContentClassificationConnector>;
1162
+ };
1163
+ /** Represents a classification workflow job. */
1164
+ export type ClassificationWorkflowJobInput = {
1165
+ /** The content classification connector. */
1166
+ connector?: InputMaybe<ContentClassificationConnectorInput>;
1167
+ };
1168
+ /** Represents the classification workflow stage. */
1169
+ export type ClassificationWorkflowStage = {
1170
+ __typename?: 'ClassificationWorkflowStage';
1171
+ /** The jobs for the classification workflow stage. */
1172
+ jobs?: Maybe<Array<Maybe<ClassificationWorkflowJob>>>;
1173
+ };
1174
+ /** Represents the classification workflow stage. */
1175
+ export type ClassificationWorkflowStageInput = {
1176
+ /** The jobs for the classification workflow stage. */
1177
+ jobs?: InputMaybe<Array<InputMaybe<ClassificationWorkflowJobInput>>>;
1178
+ };
1157
1179
  /** Represents Cohere model properties. */
1158
1180
  export type CohereModelProperties = {
1159
1181
  __typename?: 'CohereModelProperties';
@@ -1214,6 +1236,10 @@ export type CohereModelPropertiesUpdateInput = {
1214
1236
  };
1215
1237
  /** Cohere model type */
1216
1238
  export declare enum CohereModels {
1239
+ /** Command A (Latest) */
1240
+ CommandA = "COMMAND_A",
1241
+ /** Command A (2025-03 version) */
1242
+ CommandA_202503 = "COMMAND_A_202503",
1217
1243
  /** Command R (Latest) */
1218
1244
  CommandR = "COMMAND_R",
1219
1245
  /** Command R7B (2024-12 version) */
@@ -1551,6 +1577,40 @@ export type Content = {
1551
1577
  /** The workflow duration of the content. */
1552
1578
  workflowDuration?: Maybe<Scalars['TimeSpan']['output']>;
1553
1579
  };
1580
+ /** Represents a content classification connector. */
1581
+ export type ContentClassificationConnector = {
1582
+ __typename?: 'ContentClassificationConnector';
1583
+ /** The content type for filtering content classification services. */
1584
+ contentType?: Maybe<ContentTypes>;
1585
+ /** The file type for filtering content classification services. */
1586
+ fileType?: Maybe<FileTypes>;
1587
+ /** The specific properties for LLM content classification. */
1588
+ model?: Maybe<ModelContentClassificationProperties>;
1589
+ /** The specific properties for regex content classification. */
1590
+ regex?: Maybe<RegexContentClassificationProperties>;
1591
+ /** The content classification service type. */
1592
+ type: ContentClassificationServiceTypes;
1593
+ };
1594
+ /** Represents a content classification connector. */
1595
+ export type ContentClassificationConnectorInput = {
1596
+ /** The content type for filtering content classification services. */
1597
+ contentType?: InputMaybe<ContentTypes>;
1598
+ /** The file type for filtering content classification services. */
1599
+ fileType?: InputMaybe<FileTypes>;
1600
+ /** The specific properties for LLM content classification. */
1601
+ model?: InputMaybe<ModelContentClassificationPropertiesInput>;
1602
+ /** The specific properties for regex content classification. */
1603
+ regex?: InputMaybe<RegexContentClassificationPropertiesInput>;
1604
+ /** The entity enrichment service type. */
1605
+ type?: InputMaybe<ContentClassificationServiceTypes>;
1606
+ };
1607
+ /** Content classification service type */
1608
+ export declare enum ContentClassificationServiceTypes {
1609
+ /** LLM-based Classification */
1610
+ Model = "MODEL",
1611
+ /** Regex-based Classification */
1612
+ Regex = "REGEX"
1613
+ }
1554
1614
  /** Represents a content filter. */
1555
1615
  export type ContentCriteria = {
1556
1616
  __typename?: 'ContentCriteria';
@@ -2769,13 +2829,23 @@ export type DropboxFeedPropertiesUpdateInput = {
2769
2829
  export declare enum ElevenLabsModels {
2770
2830
  /** Eleven English v1 */
2771
2831
  EnglishV1 = "ENGLISH_V1",
2832
+ /** Eleven Flash v2 */
2833
+ FlashV2 = "FLASH_V2",
2834
+ /** Eleven Flash v2.5 */
2835
+ FlashV2_5 = "FLASH_V2_5",
2772
2836
  /** Eleven Multilingual v1 */
2773
2837
  MultilingualV1 = "MULTILINGUAL_V1",
2774
2838
  /** Eleven Multilingual v2 */
2775
2839
  MultilingualV2 = "MULTILINGUAL_V2",
2776
- /** Eleven Turbo v2 */
2840
+ /**
2841
+ * Eleven Turbo v2
2842
+ * @deprecated Use Flash_V2 instead.
2843
+ */
2777
2844
  TurboV2 = "TURBO_V2",
2778
- /** Eleven Turbo v2.5 */
2845
+ /**
2846
+ * Eleven Turbo v2.5
2847
+ * @deprecated Use Flash_V2_5 instead.
2848
+ */
2779
2849
  TurboV2_5 = "TURBO_V2_5"
2780
2850
  }
2781
2851
  /** Represents the ElevenLabs publishing properties. */
@@ -2833,6 +2903,25 @@ export type EmailFeedPropertiesUpdateInput = {
2833
2903
  /** The limit of items to be read from feed, defaults to 100. */
2834
2904
  readLimit?: InputMaybe<Scalars['Int']['input']>;
2835
2905
  };
2906
+ /** Represents email integration properties. */
2907
+ export type EmailIntegrationProperties = {
2908
+ __typename?: 'EmailIntegrationProperties';
2909
+ /** Reply-to Email address. */
2910
+ from: Scalars['String']['output'];
2911
+ /** Email subject. */
2912
+ subject: Scalars['String']['output'];
2913
+ /** Email addresses. */
2914
+ to: Array<Scalars['String']['output']>;
2915
+ };
2916
+ /** Represents email integration properties. */
2917
+ export type EmailIntegrationPropertiesInput = {
2918
+ /** Reply-to Email address. */
2919
+ from: Scalars['String']['input'];
2920
+ /** Email subject. */
2921
+ subject: Scalars['String']['input'];
2922
+ /** Email addresses. */
2923
+ to: Array<Scalars['String']['input']>;
2924
+ };
2836
2925
  /** Email list type */
2837
2926
  export declare enum EmailListingTypes {
2838
2927
  /** Read new emails */
@@ -3064,6 +3153,8 @@ export declare enum EntityState {
3064
3153
  Archived = "ARCHIVED",
3065
3154
  /** Changed */
3066
3155
  Changed = "CHANGED",
3156
+ /** Classified */
3157
+ Classified = "CLASSIFIED",
3067
3158
  /** Closed */
3068
3159
  Closed = "CLOSED",
3069
3160
  /** Created */
@@ -4680,6 +4771,8 @@ export type IntResult = {
4680
4771
  /** Represents an integration connector. */
4681
4772
  export type IntegrationConnector = {
4682
4773
  __typename?: 'IntegrationConnector';
4774
+ /** Email integration properties. */
4775
+ email?: Maybe<EmailIntegrationProperties>;
4683
4776
  /** Slack integration properties. */
4684
4777
  slack?: Maybe<SlackIntegrationProperties>;
4685
4778
  /** Integration service type. */
@@ -4689,6 +4782,8 @@ export type IntegrationConnector = {
4689
4782
  };
4690
4783
  /** Represents an integration connector. */
4691
4784
  export type IntegrationConnectorInput = {
4785
+ /** Email integration properties. */
4786
+ email?: InputMaybe<EmailIntegrationPropertiesInput>;
4692
4787
  /** Slack integration properties. */
4693
4788
  slack?: InputMaybe<SlackIntegrationPropertiesInput>;
4694
4789
  /** Integration service type. */
@@ -4698,6 +4793,8 @@ export type IntegrationConnectorInput = {
4698
4793
  };
4699
4794
  /** Represents an integration connector. */
4700
4795
  export type IntegrationConnectorUpdateInput = {
4796
+ /** Email integration properties. */
4797
+ email?: InputMaybe<EmailIntegrationPropertiesInput>;
4701
4798
  /** Slack integration properties. */
4702
4799
  slack?: InputMaybe<SlackIntegrationPropertiesInput>;
4703
4800
  /** The URI for the integration, i.e. webhook URI. */
@@ -4705,6 +4802,8 @@ export type IntegrationConnectorUpdateInput = {
4705
4802
  };
4706
4803
  /** Integration service type */
4707
4804
  export declare enum IntegrationServiceTypes {
4805
+ /** Email */
4806
+ Email = "EMAIL",
4708
4807
  /** Slack */
4709
4808
  Slack = "SLACK",
4710
4809
  /** HTTP WebHook integration service */
@@ -7190,6 +7289,21 @@ export type ModelCardResults = {
7190
7289
  /** The list of model cards. */
7191
7290
  results?: Maybe<Array<ModelCard>>;
7192
7291
  };
7292
+ /** Represents the model content classification properties. */
7293
+ export type ModelContentClassificationProperties = {
7294
+ __typename?: 'ModelContentClassificationProperties';
7295
+ /** The LLM prompt content classification rules. */
7296
+ rules?: Maybe<Array<Maybe<PromptClassificationRule>>>;
7297
+ /** The LLM specification used for content classification. */
7298
+ specification?: Maybe<EntityReference>;
7299
+ };
7300
+ /** Represents the model content classification properties. */
7301
+ export type ModelContentClassificationPropertiesInput = {
7302
+ /** The LLM prompt content classification rules. */
7303
+ rules?: InputMaybe<Array<InputMaybe<PromptClassificationRuleInput>>>;
7304
+ /** The LLM specification used for content classification. */
7305
+ specification?: InputMaybe<EntityReferenceInput>;
7306
+ };
7193
7307
  /** Represents the LLM document preparation properties. */
7194
7308
  export type ModelDocumentPreparationProperties = {
7195
7309
  __typename?: 'ModelDocumentPreparationProperties';
@@ -7631,6 +7745,8 @@ export type Mutation = {
7631
7745
  reviseText?: Maybe<ReviseContent>;
7632
7746
  /** Screenshot web page by URI. */
7633
7747
  screenshotPage?: Maybe<Content>;
7748
+ /** Sends a notification. */
7749
+ sendNotification?: Maybe<BooleanResult>;
7634
7750
  /** Suggest prompts for a conversation. */
7635
7751
  suggestConversation?: Maybe<PromptSuggestion>;
7636
7752
  /** Summarizes contents based on the provided filter criteria. */
@@ -8399,6 +8515,11 @@ export type MutationScreenshotPageArgs = {
8399
8515
  uri: Scalars['URL']['input'];
8400
8516
  workflow?: InputMaybe<EntityReferenceInput>;
8401
8517
  };
8518
+ export type MutationSendNotificationArgs = {
8519
+ connector: IntegrationConnectorInput;
8520
+ text: Scalars['String']['input'];
8521
+ textType?: InputMaybe<TextTypes>;
8522
+ };
8402
8523
  export type MutationSuggestConversationArgs = {
8403
8524
  correlationId?: InputMaybe<Scalars['String']['input']>;
8404
8525
  count?: InputMaybe<Scalars['Int']['input']>;
@@ -10020,6 +10141,8 @@ export type Project = {
10020
10141
  /** Represents correlated project credits. */
10021
10142
  export type ProjectCredits = {
10022
10143
  __typename?: 'ProjectCredits';
10144
+ /** The content classification ratio of credits. */
10145
+ classificationRatio?: Maybe<Scalars['Decimal']['output']>;
10023
10146
  /** The LLM completion ratio of credits. */
10024
10147
  completionRatio?: Maybe<Scalars['Decimal']['output']>;
10025
10148
  /** The compute ratio of credits. */
@@ -10305,6 +10428,21 @@ export type ProjectUsageRecord = {
10305
10428
  /** The workflow stage associated with the usage record, i.e. 'Preparation' or 'Enrichment'. */
10306
10429
  workflow?: Maybe<Scalars['String']['output']>;
10307
10430
  };
10431
+ /** Represents the LLM prompt content classification rule. */
10432
+ export type PromptClassificationRule = {
10433
+ __typename?: 'PromptClassificationRule';
10434
+ /** The LLM prompt for content classification. Treat as 'If content ...'. */
10435
+ if?: Maybe<Scalars['String']['output']>;
10436
+ /** The label name to be assigned upon content classification. Treat as 'Then label as ...'. */
10437
+ then?: Maybe<Scalars['String']['output']>;
10438
+ };
10439
+ /** Represents the LLM prompt content classification rule. */
10440
+ export type PromptClassificationRuleInput = {
10441
+ /** The LLM prompt for content classification. Treat as 'If content ...'. */
10442
+ if?: InputMaybe<Scalars['String']['input']>;
10443
+ /** The label name to be assigned upon content classification. Treat as 'Then label as ...'. */
10444
+ then?: InputMaybe<Scalars['String']['input']>;
10445
+ };
10308
10446
  /** Represents a prompted LLM completion. */
10309
10447
  export type PromptCompletion = {
10310
10448
  __typename?: 'PromptCompletion';
@@ -11115,6 +11253,47 @@ export type RedditFeedPropertiesUpdateInput = {
11115
11253
  /** The limit of items to be read from feed, defaults to 100. */
11116
11254
  readLimit?: InputMaybe<Scalars['Int']['input']>;
11117
11255
  };
11256
+ /** Represents the regex prompt content classification rule. */
11257
+ export type RegexClassificationRule = {
11258
+ __typename?: 'RegexClassificationRule';
11259
+ /** The regex pattern for content classification. Treat as 'If property at path matches ...'. */
11260
+ matches?: Maybe<Scalars['String']['output']>;
11261
+ /** The JSONPath of the JSON property to match with regex pattern. Used only with metadata sources. Treat as 'If property at ... matches regex pattern'. */
11262
+ path?: Maybe<Scalars['String']['output']>;
11263
+ /** The label name to be assigned upon content classification. Treat as 'Then label as ...'. */
11264
+ then?: Maybe<Scalars['String']['output']>;
11265
+ /** The content classification source type. */
11266
+ type?: Maybe<RegexSourceTypes>;
11267
+ };
11268
+ /** Represents the regex prompt content classification rule. */
11269
+ export type RegexClassificationRuleInput = {
11270
+ /** The regex pattern for content classification. Treat as 'If property at path matches ...'. */
11271
+ matches?: InputMaybe<Scalars['String']['input']>;
11272
+ /** The JSONPath of the JSON property to match with regex pattern. Used only with metadata sources. Treat as 'If property at ... matches regex pattern'. */
11273
+ path?: InputMaybe<Scalars['String']['input']>;
11274
+ /** The label name to be assigned upon content classification. Treat as 'Then label as ...'. */
11275
+ then?: InputMaybe<Scalars['String']['input']>;
11276
+ /** The content classification source type. */
11277
+ type?: InputMaybe<RegexSourceTypes>;
11278
+ };
11279
+ /** Represents the regex content classification properties. */
11280
+ export type RegexContentClassificationProperties = {
11281
+ __typename?: 'RegexContentClassificationProperties';
11282
+ /** The regex content classification rules. */
11283
+ rules?: Maybe<Array<Maybe<RegexClassificationRule>>>;
11284
+ };
11285
+ /** Represents the regex content classification properties. */
11286
+ export type RegexContentClassificationPropertiesInput = {
11287
+ /** The regex content classification rules. */
11288
+ rules?: InputMaybe<Array<InputMaybe<RegexClassificationRuleInput>>>;
11289
+ };
11290
+ /** Regex classification source type */
11291
+ export declare enum RegexSourceTypes {
11292
+ /** Content markdown text */
11293
+ Markdown = "MARKDOWN",
11294
+ /** Content metadata */
11295
+ Metadata = "METADATA"
11296
+ }
11118
11297
  /** Represents a rendition. */
11119
11298
  export type Rendition = {
11120
11299
  __typename?: 'Rendition';
@@ -12155,6 +12334,8 @@ export type SpecificationResults = {
12155
12334
  };
12156
12335
  /** Specification type */
12157
12336
  export declare enum SpecificationTypes {
12337
+ /** Content classification */
12338
+ Classification = "CLASSIFICATION",
12158
12339
  /** Prompt completion */
12159
12340
  Completion = "COMPLETION",
12160
12341
  /** Data extraction */
@@ -12876,6 +13057,8 @@ export type Workflow = {
12876
13057
  __typename?: 'Workflow';
12877
13058
  /** The workflow actions. */
12878
13059
  actions?: Maybe<Array<Maybe<WorkflowAction>>>;
13060
+ /** The classification stage of the content workflow. */
13061
+ classification?: Maybe<ClassificationWorkflowStage>;
12879
13062
  /** The creation date of the workflow. */
12880
13063
  creationDate: Scalars['DateTime']['output'];
12881
13064
  /** The enrichment stage of the content workflow. */
@@ -12941,6 +13124,8 @@ export type WorkflowFilter = {
12941
13124
  export type WorkflowInput = {
12942
13125
  /** The workflow actions. */
12943
13126
  actions?: InputMaybe<Array<InputMaybe<WorkflowActionInput>>>;
13127
+ /** The classification stage of the content workflow. */
13128
+ classification?: InputMaybe<ClassificationWorkflowStageInput>;
12944
13129
  /** The enrichment stage of the content workflow. */
12945
13130
  enrichment?: InputMaybe<EnrichmentWorkflowStageInput>;
12946
13131
  /** The extraction stage of the content workflow. */
@@ -12966,6 +13151,8 @@ export type WorkflowResults = {
12966
13151
  export type WorkflowUpdateInput = {
12967
13152
  /** The workflow actions. */
12968
13153
  actions?: InputMaybe<Array<InputMaybe<WorkflowActionInput>>>;
13154
+ /** The classification stage of the content workflow. */
13155
+ classification?: InputMaybe<ClassificationWorkflowStageInput>;
12969
13156
  /** The enrichment stage of the content workflow. */
12970
13157
  enrichment?: InputMaybe<EnrichmentWorkflowStageInput>;
12971
13158
  /** The extraction stage of the content workflow. */
@@ -13305,6 +13492,12 @@ export type GetAlertQuery = {
13305
13492
  token: string;
13306
13493
  channel: string;
13307
13494
  } | null;
13495
+ email?: {
13496
+ __typename?: 'EmailIntegrationProperties';
13497
+ from: string;
13498
+ subject: string;
13499
+ to: Array<string>;
13500
+ } | null;
13308
13501
  };
13309
13502
  publishing: {
13310
13503
  __typename?: 'ContentPublishingConnector';
@@ -13460,6 +13653,12 @@ export type QueryAlertsQuery = {
13460
13653
  token: string;
13461
13654
  channel: string;
13462
13655
  } | null;
13656
+ email?: {
13657
+ __typename?: 'EmailIntegrationProperties';
13658
+ from: string;
13659
+ subject: string;
13660
+ to: Array<string>;
13661
+ } | null;
13463
13662
  };
13464
13663
  publishing: {
13465
13664
  __typename?: 'ContentPublishingConnector';
@@ -21282,6 +21481,18 @@ export type UpdateMedicalTherapyMutation = {
21282
21481
  name: string;
21283
21482
  } | null;
21284
21483
  };
21484
+ export type SendNotificationMutationVariables = Exact<{
21485
+ connector: IntegrationConnectorInput;
21486
+ text: Scalars['String']['input'];
21487
+ textType?: InputMaybe<TextTypes>;
21488
+ }>;
21489
+ export type SendNotificationMutation = {
21490
+ __typename?: 'Mutation';
21491
+ sendNotification?: {
21492
+ __typename?: 'BooleanResult';
21493
+ result?: boolean | null;
21494
+ } | null;
21495
+ };
21285
21496
  export type CreateObservationMutationVariables = Exact<{
21286
21497
  observation: ObservationInput;
21287
21498
  }>;
@@ -21929,6 +22140,7 @@ export type LookupCreditsQuery = {
21929
22140
  indexingRatio?: any | null;
21930
22141
  preparationRatio?: any | null;
21931
22142
  extractionRatio?: any | null;
22143
+ classificationRatio?: any | null;
21932
22144
  enrichmentRatio?: any | null;
21933
22145
  publishingRatio?: any | null;
21934
22146
  searchRatio?: any | null;
@@ -21993,6 +22205,7 @@ export type QueryCreditsQuery = {
21993
22205
  indexingRatio?: any | null;
21994
22206
  preparationRatio?: any | null;
21995
22207
  extractionRatio?: any | null;
22208
+ classificationRatio?: any | null;
21996
22209
  enrichmentRatio?: any | null;
21997
22210
  publishingRatio?: any | null;
21998
22211
  searchRatio?: any | null;
@@ -23079,6 +23292,12 @@ export type GetUserQuery = {
23079
23292
  token: string;
23080
23293
  channel: string;
23081
23294
  } | null;
23295
+ email?: {
23296
+ __typename?: 'EmailIntegrationProperties';
23297
+ from: string;
23298
+ subject: string;
23299
+ to: Array<string>;
23300
+ } | null;
23082
23301
  } | null;
23083
23302
  } | null> | null;
23084
23303
  } | null;
@@ -23134,6 +23353,12 @@ export type QueryUsersQuery = {
23134
23353
  token: string;
23135
23354
  channel: string;
23136
23355
  } | null;
23356
+ email?: {
23357
+ __typename?: 'EmailIntegrationProperties';
23358
+ from: string;
23359
+ subject: string;
23360
+ to: Array<string>;
23361
+ } | null;
23137
23362
  } | null;
23138
23363
  } | null> | null;
23139
23364
  } | null> | null;
@@ -23314,6 +23539,40 @@ export type CreateWorkflowMutation = {
23314
23539
  } | null;
23315
23540
  } | null> | null;
23316
23541
  } | null;
23542
+ classification?: {
23543
+ __typename?: 'ClassificationWorkflowStage';
23544
+ jobs?: Array<{
23545
+ __typename?: 'ClassificationWorkflowJob';
23546
+ connector?: {
23547
+ __typename?: 'ContentClassificationConnector';
23548
+ type: ContentClassificationServiceTypes;
23549
+ contentType?: ContentTypes | null;
23550
+ fileType?: FileTypes | null;
23551
+ model?: {
23552
+ __typename?: 'ModelContentClassificationProperties';
23553
+ specification?: {
23554
+ __typename?: 'EntityReference';
23555
+ id: string;
23556
+ } | null;
23557
+ rules?: Array<{
23558
+ __typename?: 'PromptClassificationRule';
23559
+ then?: string | null;
23560
+ if?: string | null;
23561
+ } | null> | null;
23562
+ } | null;
23563
+ regex?: {
23564
+ __typename?: 'RegexContentClassificationProperties';
23565
+ rules?: Array<{
23566
+ __typename?: 'RegexClassificationRule';
23567
+ then?: string | null;
23568
+ type?: RegexSourceTypes | null;
23569
+ path?: string | null;
23570
+ matches?: string | null;
23571
+ } | null> | null;
23572
+ } | null;
23573
+ } | null;
23574
+ } | null> | null;
23575
+ } | null;
23317
23576
  enrichment?: {
23318
23577
  __typename?: 'EnrichmentWorkflowStage';
23319
23578
  link?: {
@@ -23366,6 +23625,12 @@ export type CreateWorkflowMutation = {
23366
23625
  token: string;
23367
23626
  channel: string;
23368
23627
  } | null;
23628
+ email?: {
23629
+ __typename?: 'EmailIntegrationProperties';
23630
+ from: string;
23631
+ subject: string;
23632
+ to: Array<string>;
23633
+ } | null;
23369
23634
  } | null;
23370
23635
  } | null> | null;
23371
23636
  } | null;
@@ -23563,6 +23828,40 @@ export type GetWorkflowQuery = {
23563
23828
  } | null;
23564
23829
  } | null> | null;
23565
23830
  } | null;
23831
+ classification?: {
23832
+ __typename?: 'ClassificationWorkflowStage';
23833
+ jobs?: Array<{
23834
+ __typename?: 'ClassificationWorkflowJob';
23835
+ connector?: {
23836
+ __typename?: 'ContentClassificationConnector';
23837
+ type: ContentClassificationServiceTypes;
23838
+ contentType?: ContentTypes | null;
23839
+ fileType?: FileTypes | null;
23840
+ model?: {
23841
+ __typename?: 'ModelContentClassificationProperties';
23842
+ specification?: {
23843
+ __typename?: 'EntityReference';
23844
+ id: string;
23845
+ } | null;
23846
+ rules?: Array<{
23847
+ __typename?: 'PromptClassificationRule';
23848
+ then?: string | null;
23849
+ if?: string | null;
23850
+ } | null> | null;
23851
+ } | null;
23852
+ regex?: {
23853
+ __typename?: 'RegexContentClassificationProperties';
23854
+ rules?: Array<{
23855
+ __typename?: 'RegexClassificationRule';
23856
+ then?: string | null;
23857
+ type?: RegexSourceTypes | null;
23858
+ path?: string | null;
23859
+ matches?: string | null;
23860
+ } | null> | null;
23861
+ } | null;
23862
+ } | null;
23863
+ } | null> | null;
23864
+ } | null;
23566
23865
  enrichment?: {
23567
23866
  __typename?: 'EnrichmentWorkflowStage';
23568
23867
  link?: {
@@ -23615,6 +23914,12 @@ export type GetWorkflowQuery = {
23615
23914
  token: string;
23616
23915
  channel: string;
23617
23916
  } | null;
23917
+ email?: {
23918
+ __typename?: 'EmailIntegrationProperties';
23919
+ from: string;
23920
+ subject: string;
23921
+ to: Array<string>;
23922
+ } | null;
23618
23923
  } | null;
23619
23924
  } | null> | null;
23620
23925
  } | null;
@@ -23778,6 +24083,40 @@ export type QueryWorkflowsQuery = {
23778
24083
  } | null;
23779
24084
  } | null> | null;
23780
24085
  } | null;
24086
+ classification?: {
24087
+ __typename?: 'ClassificationWorkflowStage';
24088
+ jobs?: Array<{
24089
+ __typename?: 'ClassificationWorkflowJob';
24090
+ connector?: {
24091
+ __typename?: 'ContentClassificationConnector';
24092
+ type: ContentClassificationServiceTypes;
24093
+ contentType?: ContentTypes | null;
24094
+ fileType?: FileTypes | null;
24095
+ model?: {
24096
+ __typename?: 'ModelContentClassificationProperties';
24097
+ specification?: {
24098
+ __typename?: 'EntityReference';
24099
+ id: string;
24100
+ } | null;
24101
+ rules?: Array<{
24102
+ __typename?: 'PromptClassificationRule';
24103
+ then?: string | null;
24104
+ if?: string | null;
24105
+ } | null> | null;
24106
+ } | null;
24107
+ regex?: {
24108
+ __typename?: 'RegexContentClassificationProperties';
24109
+ rules?: Array<{
24110
+ __typename?: 'RegexClassificationRule';
24111
+ then?: string | null;
24112
+ type?: RegexSourceTypes | null;
24113
+ path?: string | null;
24114
+ matches?: string | null;
24115
+ } | null> | null;
24116
+ } | null;
24117
+ } | null;
24118
+ } | null> | null;
24119
+ } | null;
23781
24120
  enrichment?: {
23782
24121
  __typename?: 'EnrichmentWorkflowStage';
23783
24122
  link?: {
@@ -23830,6 +24169,12 @@ export type QueryWorkflowsQuery = {
23830
24169
  token: string;
23831
24170
  channel: string;
23832
24171
  } | null;
24172
+ email?: {
24173
+ __typename?: 'EmailIntegrationProperties';
24174
+ from: string;
24175
+ subject: string;
24176
+ to: Array<string>;
24177
+ } | null;
23833
24178
  } | null;
23834
24179
  } | null> | null;
23835
24180
  } | null> | null;
@@ -23985,6 +24330,40 @@ export type UpdateWorkflowMutation = {
23985
24330
  } | null;
23986
24331
  } | null> | null;
23987
24332
  } | null;
24333
+ classification?: {
24334
+ __typename?: 'ClassificationWorkflowStage';
24335
+ jobs?: Array<{
24336
+ __typename?: 'ClassificationWorkflowJob';
24337
+ connector?: {
24338
+ __typename?: 'ContentClassificationConnector';
24339
+ type: ContentClassificationServiceTypes;
24340
+ contentType?: ContentTypes | null;
24341
+ fileType?: FileTypes | null;
24342
+ model?: {
24343
+ __typename?: 'ModelContentClassificationProperties';
24344
+ specification?: {
24345
+ __typename?: 'EntityReference';
24346
+ id: string;
24347
+ } | null;
24348
+ rules?: Array<{
24349
+ __typename?: 'PromptClassificationRule';
24350
+ then?: string | null;
24351
+ if?: string | null;
24352
+ } | null> | null;
24353
+ } | null;
24354
+ regex?: {
24355
+ __typename?: 'RegexContentClassificationProperties';
24356
+ rules?: Array<{
24357
+ __typename?: 'RegexClassificationRule';
24358
+ then?: string | null;
24359
+ type?: RegexSourceTypes | null;
24360
+ path?: string | null;
24361
+ matches?: string | null;
24362
+ } | null> | null;
24363
+ } | null;
24364
+ } | null;
24365
+ } | null> | null;
24366
+ } | null;
23988
24367
  enrichment?: {
23989
24368
  __typename?: 'EnrichmentWorkflowStage';
23990
24369
  link?: {
@@ -24037,6 +24416,12 @@ export type UpdateWorkflowMutation = {
24037
24416
  token: string;
24038
24417
  channel: string;
24039
24418
  } | null;
24419
+ email?: {
24420
+ __typename?: 'EmailIntegrationProperties';
24421
+ from: string;
24422
+ subject: string;
24423
+ to: Array<string>;
24424
+ } | null;
24040
24425
  } | null;
24041
24426
  } | null> | null;
24042
24427
  } | null;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LabelFacetTypes = exports.JinaModels = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = exports.GoogleModels = exports.FileTypes = exports.FilePreparationServiceTypes = exports.FeedTypes = exports.FeedServiceTypes = exports.FeedListingTypes = exports.FeedConnectorTypes = exports.FacetValueTypes = exports.EventFacetTypes = exports.EnvironmentTypes = exports.EntityTypes = exports.EntityState = exports.EntityExtractionServiceTypes = exports.EntityEnrichmentServiceTypes = exports.EmailListingTypes = exports.ElevenLabsModels = exports.DeviceTypes = exports.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentSourceTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.ConnectorTypes = exports.CollectionTypes = exports.CohereModels = exports.CerebrasModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = exports.AzureDocumentIntelligenceModels = exports.AuthenticationServiceTypes = exports.AssemblyAiModels = exports.ApplyPolicy = exports.AnthropicModels = exports.AlertTypes = void 0;
4
- exports.SpecificationTypes = exports.SoftwareFacetTypes = exports.SiteTypes = exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchServiceTypes = exports.SearchQueryTypes = exports.SdkTypes = exports.RevisionStrategyTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RerankingModelServiceTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = exports.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiReasoningEffortLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = void 0;
5
- exports.YouTubeTypes = exports.VoyageModels = exports.UserTypes = exports.UnitTypes = exports.TrelloTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.StoragePolicyTypes = void 0;
3
+ exports.JinaModels = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = exports.GoogleModels = exports.FileTypes = exports.FilePreparationServiceTypes = exports.FeedTypes = exports.FeedServiceTypes = exports.FeedListingTypes = exports.FeedConnectorTypes = exports.FacetValueTypes = exports.EventFacetTypes = exports.EnvironmentTypes = exports.EntityTypes = exports.EntityState = exports.EntityExtractionServiceTypes = exports.EntityEnrichmentServiceTypes = exports.EmailListingTypes = exports.ElevenLabsModels = exports.DeviceTypes = exports.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentSourceTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.ContentClassificationServiceTypes = exports.ConnectorTypes = exports.CollectionTypes = exports.CohereModels = exports.CerebrasModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = exports.AzureDocumentIntelligenceModels = exports.AuthenticationServiceTypes = exports.AssemblyAiModels = exports.ApplyPolicy = exports.AnthropicModels = exports.AlertTypes = void 0;
4
+ exports.SiteTypes = exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchServiceTypes = exports.SearchQueryTypes = exports.SdkTypes = exports.RevisionStrategyTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RerankingModelServiceTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.RegexSourceTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = exports.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiReasoningEffortLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = exports.LabelFacetTypes = void 0;
5
+ exports.YouTubeTypes = exports.VoyageModels = exports.UserTypes = exports.UnitTypes = exports.TrelloTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.StoragePolicyTypes = exports.SpecificationTypes = exports.SoftwareFacetTypes = void 0;
6
6
  /** Alert type */
7
7
  var AlertTypes;
8
8
  (function (AlertTypes) {
@@ -180,6 +180,10 @@ var CerebrasModels;
180
180
  /** Cohere model type */
181
181
  var CohereModels;
182
182
  (function (CohereModels) {
183
+ /** Command A (Latest) */
184
+ CohereModels["CommandA"] = "COMMAND_A";
185
+ /** Command A (2025-03 version) */
186
+ CohereModels["CommandA_202503"] = "COMMAND_A_202503";
183
187
  /** Command R (Latest) */
184
188
  CohereModels["CommandR"] = "COMMAND_R";
185
189
  /** Command R7B (2024-12 version) */
@@ -215,6 +219,14 @@ var ConnectorTypes;
215
219
  /** Integration connector */
216
220
  ConnectorTypes["Integration"] = "INTEGRATION";
217
221
  })(ConnectorTypes || (exports.ConnectorTypes = ConnectorTypes = {}));
222
+ /** Content classification service type */
223
+ var ContentClassificationServiceTypes;
224
+ (function (ContentClassificationServiceTypes) {
225
+ /** LLM-based Classification */
226
+ ContentClassificationServiceTypes["Model"] = "MODEL";
227
+ /** Regex-based Classification */
228
+ ContentClassificationServiceTypes["Regex"] = "REGEX";
229
+ })(ContentClassificationServiceTypes || (exports.ContentClassificationServiceTypes = ContentClassificationServiceTypes = {}));
218
230
  /** Content facet types */
219
231
  var ContentFacetTypes;
220
232
  (function (ContentFacetTypes) {
@@ -440,13 +452,23 @@ var ElevenLabsModels;
440
452
  (function (ElevenLabsModels) {
441
453
  /** Eleven English v1 */
442
454
  ElevenLabsModels["EnglishV1"] = "ENGLISH_V1";
455
+ /** Eleven Flash v2 */
456
+ ElevenLabsModels["FlashV2"] = "FLASH_V2";
457
+ /** Eleven Flash v2.5 */
458
+ ElevenLabsModels["FlashV2_5"] = "FLASH_V2_5";
443
459
  /** Eleven Multilingual v1 */
444
460
  ElevenLabsModels["MultilingualV1"] = "MULTILINGUAL_V1";
445
461
  /** Eleven Multilingual v2 */
446
462
  ElevenLabsModels["MultilingualV2"] = "MULTILINGUAL_V2";
447
- /** Eleven Turbo v2 */
463
+ /**
464
+ * Eleven Turbo v2
465
+ * @deprecated Use Flash_V2 instead.
466
+ */
448
467
  ElevenLabsModels["TurboV2"] = "TURBO_V2";
449
- /** Eleven Turbo v2.5 */
468
+ /**
469
+ * Eleven Turbo v2.5
470
+ * @deprecated Use Flash_V2_5 instead.
471
+ */
450
472
  ElevenLabsModels["TurboV2_5"] = "TURBO_V2_5";
451
473
  })(ElevenLabsModels || (exports.ElevenLabsModels = ElevenLabsModels = {}));
452
474
  /** Email list type */
@@ -497,6 +519,8 @@ var EntityState;
497
519
  EntityState["Archived"] = "ARCHIVED";
498
520
  /** Changed */
499
521
  EntityState["Changed"] = "CHANGED";
522
+ /** Classified */
523
+ EntityState["Classified"] = "CLASSIFIED";
500
524
  /** Closed */
501
525
  EntityState["Closed"] = "CLOSED";
502
526
  /** Created */
@@ -929,6 +953,8 @@ var ImageProjectionTypes;
929
953
  /** Integration service type */
930
954
  var IntegrationServiceTypes;
931
955
  (function (IntegrationServiceTypes) {
956
+ /** Email */
957
+ IntegrationServiceTypes["Email"] = "EMAIL";
932
958
  /** Slack */
933
959
  IntegrationServiceTypes["Slack"] = "SLACK";
934
960
  /** HTTP WebHook integration service */
@@ -1494,6 +1520,14 @@ var PromptStrategyTypes;
1494
1520
  /** Rewrite prompt */
1495
1521
  PromptStrategyTypes["Rewrite"] = "REWRITE";
1496
1522
  })(PromptStrategyTypes || (exports.PromptStrategyTypes = PromptStrategyTypes = {}));
1523
+ /** Regex classification source type */
1524
+ var RegexSourceTypes;
1525
+ (function (RegexSourceTypes) {
1526
+ /** Content markdown text */
1527
+ RegexSourceTypes["Markdown"] = "MARKDOWN";
1528
+ /** Content metadata */
1529
+ RegexSourceTypes["Metadata"] = "METADATA";
1530
+ })(RegexSourceTypes || (exports.RegexSourceTypes = RegexSourceTypes = {}));
1497
1531
  /** Rendition type */
1498
1532
  var RenditionTypes;
1499
1533
  (function (RenditionTypes) {
@@ -1628,6 +1662,8 @@ var SoftwareFacetTypes;
1628
1662
  /** Specification type */
1629
1663
  var SpecificationTypes;
1630
1664
  (function (SpecificationTypes) {
1665
+ /** Content classification */
1666
+ SpecificationTypes["Classification"] = "CLASSIFICATION";
1631
1667
  /** Prompt completion */
1632
1668
  SpecificationTypes["Completion"] = "COMPLETION";
1633
1669
  /** Data extraction */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250306001",
3
+ "version": "1.0.20250313001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",