graphlit-client 1.0.20250402001 → 1.0.20250407001

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
@@ -90,6 +90,8 @@ declare class Graphlit {
90
90
  queryMicrosoftTeamsChannels(properties: Types.MicrosoftTeamsChannelsInput, teamId: string): Promise<Types.QueryMicrosoftTeamsChannelsQuery>;
91
91
  querySlackChannels(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackChannelsQuery>;
92
92
  queryLinearProjects(properties: Types.LinearProjectsInput): Promise<Types.QueryLinearProjectsQuery>;
93
+ queryNotionDatabases(properties: Types.NotionDatabasesInput): Promise<Types.QueryNotionDatabasesQuery>;
94
+ queryNotionPages(properties: Types.NotionPagesInput, identifier: string): Promise<Types.QueryNotionPagesQuery>;
93
95
  createFeed(feed: Types.FeedInput, correlationId?: string): Promise<Types.CreateFeedMutation>;
94
96
  updateFeed(feed: Types.FeedUpdateInput): Promise<Types.UpdateFeedMutation>;
95
97
  deleteFeed(id: string): Promise<Types.DeleteFeedMutation>;
package/dist/client.js CHANGED
@@ -518,6 +518,16 @@ class Graphlit {
518
518
  return this.queryAndCheckError(Documents.QueryLinearProjects, { properties: properties });
519
519
  });
520
520
  }
521
+ queryNotionDatabases(properties) {
522
+ return __awaiter(this, void 0, void 0, function* () {
523
+ return this.queryAndCheckError(Documents.QueryNotionDatabases, { properties: properties });
524
+ });
525
+ }
526
+ queryNotionPages(properties, identifier) {
527
+ return __awaiter(this, void 0, void 0, function* () {
528
+ return this.queryAndCheckError(Documents.QueryNotionPages, { properties: properties, identifier: identifier });
529
+ });
530
+ }
521
531
  createFeed(feed, correlationId) {
522
532
  return __awaiter(this, void 0, void 0, function* () {
523
533
  return this.mutateAndCheckError(Documents.CreateFeed, { feed: feed, correlationId: correlationId });
@@ -97,6 +97,8 @@ export declare const QueryFeeds: import("graphql").DocumentNode;
97
97
  export declare const QueryLinearProjects: import("graphql").DocumentNode;
98
98
  export declare const QueryMicrosoftTeamsChannels: import("graphql").DocumentNode;
99
99
  export declare const QueryMicrosoftTeamsTeams: import("graphql").DocumentNode;
100
+ export declare const QueryNotionDatabases: import("graphql").DocumentNode;
101
+ export declare const QueryNotionPages: import("graphql").DocumentNode;
100
102
  export declare const QueryOneDriveFolders: import("graphql").DocumentNode;
101
103
  export declare const QuerySharePointFolders: import("graphql").DocumentNode;
102
104
  export declare const QuerySharePointLibraries: import("graphql").DocumentNode;
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.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;
7
+ exports.QueryNotionDatabases = 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.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 = exports.QueryOneDriveFolders = exports.QueryNotionPages = void 0;
9
+ 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 = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = void 0;
10
+ 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 = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = 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 = exports.QueryRepos = exports.GetRepo = 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) {
@@ -178,6 +178,12 @@ exports.GetAlert = (0, graphql_tag_1.default) `
178
178
  subject
179
179
  to
180
180
  }
181
+ twitter {
182
+ consumerKey
183
+ consumerSecret
184
+ accessTokenKey
185
+ accessTokenSecret
186
+ }
181
187
  }
182
188
  publishing {
183
189
  type
@@ -304,6 +310,12 @@ exports.QueryAlerts = (0, graphql_tag_1.default) `
304
310
  subject
305
311
  to
306
312
  }
313
+ twitter {
314
+ consumerKey
315
+ consumerSecret
316
+ accessTokenKey
317
+ accessTokenSecret
318
+ }
307
319
  }
308
320
  publishing {
309
321
  type
@@ -1004,6 +1016,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
1004
1016
  }
1005
1017
  email {
1006
1018
  identifier
1019
+ threadIdentifier
1007
1020
  subject
1008
1021
  labels
1009
1022
  sensitivity
@@ -1775,6 +1788,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1775
1788
  }
1776
1789
  email {
1777
1790
  identifier
1791
+ threadIdentifier
1778
1792
  subject
1779
1793
  labels
1780
1794
  sensitivity
@@ -5727,6 +5741,20 @@ exports.QueryMicrosoftTeamsTeams = (0, graphql_tag_1.default) `
5727
5741
  }
5728
5742
  }
5729
5743
  `;
5744
+ exports.QueryNotionDatabases = (0, graphql_tag_1.default) `
5745
+ query QueryNotionDatabases($properties: NotionDatabasesInput!) {
5746
+ notionDatabases(properties: $properties) {
5747
+ results
5748
+ }
5749
+ }
5750
+ `;
5751
+ exports.QueryNotionPages = (0, graphql_tag_1.default) `
5752
+ query QueryNotionPages($properties: NotionPagesInput!, $identifier: String!) {
5753
+ notionPages(properties: $properties, identifier: $identifier) {
5754
+ results
5755
+ }
5756
+ }
5757
+ `;
5730
5758
  exports.QueryOneDriveFolders = (0, graphql_tag_1.default) `
5731
5759
  query QueryOneDriveFolders($properties: OneDriveFoldersInput!, $folderId: ID) {
5732
5760
  oneDriveFolders(properties: $properties, folderId: $folderId) {
@@ -8303,6 +8331,12 @@ exports.GetUser = (0, graphql_tag_1.default) `
8303
8331
  subject
8304
8332
  to
8305
8333
  }
8334
+ twitter {
8335
+ consumerKey
8336
+ consumerSecret
8337
+ accessTokenKey
8338
+ accessTokenSecret
8339
+ }
8306
8340
  }
8307
8341
  }
8308
8342
  }
@@ -8351,6 +8385,12 @@ exports.QueryUsers = (0, graphql_tag_1.default) `
8351
8385
  subject
8352
8386
  to
8353
8387
  }
8388
+ twitter {
8389
+ consumerKey
8390
+ consumerSecret
8391
+ accessTokenKey
8392
+ accessTokenSecret
8393
+ }
8354
8394
  }
8355
8395
  }
8356
8396
  }
@@ -8400,6 +8440,7 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8400
8440
  name
8401
8441
  }
8402
8442
  }
8443
+ enableEmailCollections
8403
8444
  }
8404
8445
  indexing {
8405
8446
  jobs {
@@ -8565,6 +8606,12 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
8565
8606
  subject
8566
8607
  to
8567
8608
  }
8609
+ twitter {
8610
+ consumerKey
8611
+ consumerSecret
8612
+ accessTokenKey
8613
+ accessTokenSecret
8614
+ }
8568
8615
  }
8569
8616
  }
8570
8617
  }
@@ -8628,6 +8675,7 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8628
8675
  name
8629
8676
  }
8630
8677
  }
8678
+ enableEmailCollections
8631
8679
  }
8632
8680
  indexing {
8633
8681
  jobs {
@@ -8793,6 +8841,12 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
8793
8841
  subject
8794
8842
  to
8795
8843
  }
8844
+ twitter {
8845
+ consumerKey
8846
+ consumerSecret
8847
+ accessTokenKey
8848
+ accessTokenSecret
8849
+ }
8796
8850
  }
8797
8851
  }
8798
8852
  }
@@ -8829,6 +8883,7 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
8829
8883
  name
8830
8884
  }
8831
8885
  }
8886
+ enableEmailCollections
8832
8887
  }
8833
8888
  indexing {
8834
8889
  jobs {
@@ -8994,6 +9049,12 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
8994
9049
  subject
8995
9050
  to
8996
9051
  }
9052
+ twitter {
9053
+ consumerKey
9054
+ consumerSecret
9055
+ accessTokenKey
9056
+ accessTokenSecret
9057
+ }
8997
9058
  }
8998
9059
  }
8999
9060
  }
@@ -9025,6 +9086,7 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9025
9086
  name
9026
9087
  }
9027
9088
  }
9089
+ enableEmailCollections
9028
9090
  }
9029
9091
  indexing {
9030
9092
  jobs {
@@ -9190,6 +9252,12 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
9190
9252
  subject
9191
9253
  to
9192
9254
  }
9255
+ twitter {
9256
+ consumerKey
9257
+ consumerSecret
9258
+ accessTokenKey
9259
+ accessTokenSecret
9260
+ }
9193
9261
  }
9194
9262
  }
9195
9263
  }
@@ -9220,6 +9288,7 @@ exports.UpsertWorkflow = (0, graphql_tag_1.default) `
9220
9288
  name
9221
9289
  }
9222
9290
  }
9291
+ enableEmailCollections
9223
9292
  }
9224
9293
  indexing {
9225
9294
  jobs {
@@ -9385,6 +9454,12 @@ exports.UpsertWorkflow = (0, graphql_tag_1.default) `
9385
9454
  subject
9386
9455
  to
9387
9456
  }
9457
+ twitter {
9458
+ consumerKey
9459
+ consumerSecret
9460
+ accessTokenKey
9461
+ accessTokenSecret
9462
+ }
9388
9463
  }
9389
9464
  }
9390
9465
  }
@@ -1334,7 +1334,9 @@ export type CollectionResults = {
1334
1334
  /** Collection type */
1335
1335
  export declare enum CollectionTypes {
1336
1336
  /** Content collection */
1337
- Collection = "COLLECTION"
1337
+ Collection = "COLLECTION",
1338
+ /** Email thread */
1339
+ Thread = "THREAD"
1338
1340
  }
1339
1341
  /** Represents a collection. */
1340
1342
  export type CollectionUpdateInput = {
@@ -2960,6 +2962,8 @@ export type EmailMetadata = {
2960
2962
  sensitivity?: Maybe<MailSensitivity>;
2961
2963
  /** The email subject. */
2962
2964
  subject?: Maybe<Scalars['String']['output']>;
2965
+ /** The email thread identifier. */
2966
+ threadIdentifier?: Maybe<Scalars['String']['output']>;
2963
2967
  /** The to recipients of the email. */
2964
2968
  to?: Maybe<Array<Maybe<PersonReference>>>;
2965
2969
  };
@@ -2985,6 +2989,8 @@ export type EmailMetadataInput = {
2985
2989
  sensitivity?: InputMaybe<MailSensitivity>;
2986
2990
  /** The email subject. */
2987
2991
  subject?: InputMaybe<Scalars['String']['input']>;
2992
+ /** The email thread identifier. */
2993
+ threadIdentifier?: InputMaybe<Scalars['String']['input']>;
2988
2994
  };
2989
2995
  /** Represents the email preparation properties. */
2990
2996
  export type EmailPreparationProperties = {
@@ -4476,6 +4482,10 @@ export declare enum GroqModels {
4476
4482
  Llama_3_8B = "LLAMA_3_8B",
4477
4483
  /** LLaMA 3 70b */
4478
4484
  Llama_3_70B = "LLAMA_3_70B",
4485
+ /** LLaMA 4 Maverick 17b */
4486
+ Llama_4Maverick_17B = "LLAMA_4_MAVERICK_17B",
4487
+ /** LLaMA 4 Scout 17b */
4488
+ Llama_4Scout_17B = "LLAMA_4_SCOUT_17B",
4479
4489
  /** Mixtral 8x7b Instruct */
4480
4490
  Mixtral_8X7BInstruct = "MIXTRAL_8X7B_INSTRUCT"
4481
4491
  }
@@ -4768,6 +4778,8 @@ export type IngestionWorkflowStage = {
4768
4778
  __typename?: 'IngestionWorkflowStage';
4769
4779
  /** The collections to be assigned to ingested content. */
4770
4780
  collections?: Maybe<Array<Maybe<EntityReference>>>;
4781
+ /** Whether to create collections for every email thread (aka conversation). Disabled by default. */
4782
+ enableEmailCollections?: Maybe<Scalars['Boolean']['output']>;
4771
4783
  /** The ingestion filter. */
4772
4784
  if?: Maybe<IngestionContentFilter>;
4773
4785
  /** The observations to be assigned to ingested content. */
@@ -4777,6 +4789,8 @@ export type IngestionWorkflowStage = {
4777
4789
  export type IngestionWorkflowStageInput = {
4778
4790
  /** The collections to be assigned to ingested content. */
4779
4791
  collections?: InputMaybe<Array<InputMaybe<EntityReferenceInput>>>;
4792
+ /** Whether to create collections for every email thread (aka conversation). Disabled by default. */
4793
+ enableEmailCollections?: InputMaybe<Scalars['Boolean']['input']>;
4780
4794
  /** The ingestion filter. */
4781
4795
  if?: InputMaybe<IngestionContentFilterInput>;
4782
4796
  /** The observations to be assigned to ingested content. */
@@ -4802,6 +4816,8 @@ export type IntegrationConnector = {
4802
4816
  email?: Maybe<EmailIntegrationProperties>;
4803
4817
  /** Slack integration properties. */
4804
4818
  slack?: Maybe<SlackIntegrationProperties>;
4819
+ /** Twitter integration properties. */
4820
+ twitter?: Maybe<TwitterIntegrationProperties>;
4805
4821
  /** Integration service type. */
4806
4822
  type: IntegrationServiceTypes;
4807
4823
  /** The URI for the integration, i.e. webhook URI. */
@@ -4813,6 +4829,8 @@ export type IntegrationConnectorInput = {
4813
4829
  email?: InputMaybe<EmailIntegrationPropertiesInput>;
4814
4830
  /** Slack integration properties. */
4815
4831
  slack?: InputMaybe<SlackIntegrationPropertiesInput>;
4832
+ /** Twitter integration properties. */
4833
+ twitter?: InputMaybe<TwitterIntegrationPropertiesInput>;
4816
4834
  /** Integration service type. */
4817
4835
  type: IntegrationServiceTypes;
4818
4836
  /** The URI for the integration, i.e. webhook URI. */
@@ -4824,6 +4842,8 @@ export type IntegrationConnectorUpdateInput = {
4824
4842
  email?: InputMaybe<EmailIntegrationPropertiesInput>;
4825
4843
  /** Slack integration properties. */
4826
4844
  slack?: InputMaybe<SlackIntegrationPropertiesInput>;
4845
+ /** Twitter integration properties. */
4846
+ twitter?: InputMaybe<TwitterIntegrationPropertiesInput>;
4827
4847
  /** The URI for the integration, i.e. webhook URI. */
4828
4848
  uri?: InputMaybe<Scalars['String']['input']>;
4829
4849
  };
@@ -4833,6 +4853,8 @@ export declare enum IntegrationServiceTypes {
4833
4853
  Email = "EMAIL",
4834
4854
  /** Slack */
4835
4855
  Slack = "SLACK",
4856
+ /** Twitter/X */
4857
+ Twitter = "TWITTER",
4836
4858
  /** HTTP WebHook integration service */
4837
4859
  WebHook = "WEB_HOOK"
4838
4860
  }
@@ -8695,6 +8717,11 @@ export type NamedEntityReferenceInput = {
8695
8717
  /** The name of the entity. */
8696
8718
  name?: InputMaybe<Scalars['String']['input']>;
8697
8719
  };
8720
+ /** Represents Notion databases properties. */
8721
+ export type NotionDatabasesInput = {
8722
+ /** Notion integration token. */
8723
+ token: Scalars['String']['input'];
8724
+ };
8698
8725
  /** Represents Notion feed properties. */
8699
8726
  export type NotionFeedProperties = {
8700
8727
  __typename?: 'NotionFeedProperties';
@@ -8711,30 +8738,35 @@ export type NotionFeedProperties = {
8711
8738
  };
8712
8739
  /** Represents Notion feed properties. */
8713
8740
  export type NotionFeedPropertiesInput = {
8714
- /** The Notion identifiers. */
8741
+ /** Notion identifiers. */
8715
8742
  identifiers: Array<Scalars['String']['input']>;
8716
8743
  /** Should the feed enumerate Notion pages and databases recursively. */
8717
8744
  isRecursive?: InputMaybe<Scalars['Boolean']['input']>;
8718
8745
  /** The limit of items to be read from feed, defaults to 100. */
8719
8746
  readLimit?: InputMaybe<Scalars['Int']['input']>;
8720
- /** The Notion integration token. */
8747
+ /** Notion integration token. */
8721
8748
  token: Scalars['String']['input'];
8722
- /** The Notion object type, i.e. page or database. */
8749
+ /** Notion object type, i.e. page or database. */
8723
8750
  type: NotionTypes;
8724
8751
  };
8725
8752
  /** Represents Notion feed properties. */
8726
8753
  export type NotionFeedPropertiesUpdateInput = {
8727
- /** The Notion identifiers. */
8754
+ /** Notion identifiers. */
8728
8755
  identifiers?: InputMaybe<Array<Scalars['String']['input']>>;
8729
8756
  /** Should the feed enumerate Notion pages and databases recursively. */
8730
8757
  isRecursive?: InputMaybe<Scalars['Boolean']['input']>;
8731
8758
  /** The limit of items to be read from feed, defaults to 100. */
8732
8759
  readLimit?: InputMaybe<Scalars['Int']['input']>;
8733
- /** The Notion integration token. */
8760
+ /** Notion integration token. */
8734
8761
  token: Scalars['String']['input'];
8735
- /** The Notion object type, i.e. page or database. */
8762
+ /** Notion object type, i.e. page or database. */
8736
8763
  type?: InputMaybe<NotionTypes>;
8737
8764
  };
8765
+ /** Represents Notion pages properties. */
8766
+ export type NotionPagesInput = {
8767
+ /** Notion integration token. */
8768
+ token: Scalars['String']['input'];
8769
+ };
8738
8770
  export declare enum NotionTypes {
8739
8771
  /** Notion Database */
8740
8772
  Database = "DATABASE",
@@ -10751,6 +10783,10 @@ export type Query = {
10751
10783
  microsoftTeamsTeams?: Maybe<MicrosoftTeamsTeamResults>;
10752
10784
  /** Retrieves available LLMs, embedding models and reranker models. */
10753
10785
  models?: Maybe<ModelCardResults>;
10786
+ /** Retrieves available Notion databases. */
10787
+ notionDatabases?: Maybe<StringResults>;
10788
+ /** Retrieves available Notion pages within Notion database, non-recursive. */
10789
+ notionPages?: Maybe<StringResults>;
10754
10790
  /** Lookup a observation given its ID. */
10755
10791
  observation?: Maybe<Observation>;
10756
10792
  /** Retrieves available OneDrive folders. */
@@ -11147,6 +11183,13 @@ export type QueryMicrosoftTeamsTeamsArgs = {
11147
11183
  export type QueryModelsArgs = {
11148
11184
  filter?: InputMaybe<ModelFilter>;
11149
11185
  };
11186
+ export type QueryNotionDatabasesArgs = {
11187
+ properties: NotionDatabasesInput;
11188
+ };
11189
+ export type QueryNotionPagesArgs = {
11190
+ identifier: Scalars['String']['input'];
11191
+ properties: NotionPagesInput;
11192
+ };
11150
11193
  export type QueryObservationArgs = {
11151
11194
  correlationId?: InputMaybe<Scalars['String']['input']>;
11152
11195
  id: Scalars['ID']['input'];
@@ -12858,6 +12901,29 @@ export type TwitterFeedPropertiesUpdateInput = {
12858
12901
  /** Twitter username. */
12859
12902
  userName?: InputMaybe<Scalars['String']['input']>;
12860
12903
  };
12904
+ /** Represents Twitter integration properties. */
12905
+ export type TwitterIntegrationProperties = {
12906
+ __typename?: 'TwitterIntegrationProperties';
12907
+ /** Twitter access token key. */
12908
+ accessTokenKey: Scalars['String']['output'];
12909
+ /** Twitter access token secret. */
12910
+ accessTokenSecret: Scalars['String']['output'];
12911
+ /** Twitter consumer key. */
12912
+ consumerKey: Scalars['String']['output'];
12913
+ /** Twitter consumer secret. */
12914
+ consumerSecret: Scalars['String']['output'];
12915
+ };
12916
+ /** Represents Twitter integration properties. */
12917
+ export type TwitterIntegrationPropertiesInput = {
12918
+ /** Twitter access token key. */
12919
+ accessTokenKey: Scalars['String']['input'];
12920
+ /** Twitter access token secret. */
12921
+ accessTokenSecret: Scalars['String']['input'];
12922
+ /** Twitter consumer key. */
12923
+ consumerKey: Scalars['String']['input'];
12924
+ /** Twitter consumer secret. */
12925
+ consumerSecret: Scalars['String']['input'];
12926
+ };
12861
12927
  export declare enum TwitterListingTypes {
12862
12928
  Mentions = "MENTIONS",
12863
12929
  Posts = "POSTS",
@@ -13618,6 +13684,13 @@ export type GetAlertQuery = {
13618
13684
  subject: string;
13619
13685
  to: Array<string>;
13620
13686
  } | null;
13687
+ twitter?: {
13688
+ __typename?: 'TwitterIntegrationProperties';
13689
+ consumerKey: string;
13690
+ consumerSecret: string;
13691
+ accessTokenKey: string;
13692
+ accessTokenSecret: string;
13693
+ } | null;
13621
13694
  };
13622
13695
  publishing: {
13623
13696
  __typename?: 'ContentPublishingConnector';
@@ -13781,6 +13854,13 @@ export type QueryAlertsQuery = {
13781
13854
  subject: string;
13782
13855
  to: Array<string>;
13783
13856
  } | null;
13857
+ twitter?: {
13858
+ __typename?: 'TwitterIntegrationProperties';
13859
+ consumerKey: string;
13860
+ consumerSecret: string;
13861
+ accessTokenKey: string;
13862
+ accessTokenSecret: string;
13863
+ } | null;
13784
13864
  };
13785
13865
  publishing: {
13786
13866
  __typename?: 'ContentPublishingConnector';
@@ -14605,6 +14685,7 @@ export type GetContentQuery = {
14605
14685
  email?: {
14606
14686
  __typename?: 'EmailMetadata';
14607
14687
  identifier?: string | null;
14688
+ threadIdentifier?: string | null;
14608
14689
  subject?: string | null;
14609
14690
  labels?: Array<string | null> | null;
14610
14691
  sensitivity?: MailSensitivity | null;
@@ -15463,6 +15544,7 @@ export type QueryContentsQuery = {
15463
15544
  email?: {
15464
15545
  __typename?: 'EmailMetadata';
15465
15546
  identifier?: string | null;
15547
+ threadIdentifier?: string | null;
15466
15548
  subject?: string | null;
15467
15549
  labels?: Array<string | null> | null;
15468
15550
  sensitivity?: MailSensitivity | null;
@@ -19954,6 +20036,27 @@ export type QueryMicrosoftTeamsTeamsQuery = {
19954
20036
  } | null> | null;
19955
20037
  } | null;
19956
20038
  };
20039
+ export type QueryNotionDatabasesQueryVariables = Exact<{
20040
+ properties: NotionDatabasesInput;
20041
+ }>;
20042
+ export type QueryNotionDatabasesQuery = {
20043
+ __typename?: 'Query';
20044
+ notionDatabases?: {
20045
+ __typename?: 'StringResults';
20046
+ results?: Array<string> | null;
20047
+ } | null;
20048
+ };
20049
+ export type QueryNotionPagesQueryVariables = Exact<{
20050
+ properties: NotionPagesInput;
20051
+ identifier: Scalars['String']['input'];
20052
+ }>;
20053
+ export type QueryNotionPagesQuery = {
20054
+ __typename?: 'Query';
20055
+ notionPages?: {
20056
+ __typename?: 'StringResults';
20057
+ results?: Array<string> | null;
20058
+ } | null;
20059
+ };
19957
20060
  export type QueryOneDriveFoldersQueryVariables = Exact<{
19958
20061
  properties: OneDriveFoldersInput;
19959
20062
  folderId?: InputMaybe<Scalars['ID']['input']>;
@@ -23206,6 +23309,13 @@ export type GetUserQuery = {
23206
23309
  subject: string;
23207
23310
  to: Array<string>;
23208
23311
  } | null;
23312
+ twitter?: {
23313
+ __typename?: 'TwitterIntegrationProperties';
23314
+ consumerKey: string;
23315
+ consumerSecret: string;
23316
+ accessTokenKey: string;
23317
+ accessTokenSecret: string;
23318
+ } | null;
23209
23319
  } | null;
23210
23320
  } | null> | null;
23211
23321
  } | null;
@@ -23267,6 +23377,13 @@ export type QueryUsersQuery = {
23267
23377
  subject: string;
23268
23378
  to: Array<string>;
23269
23379
  } | null;
23380
+ twitter?: {
23381
+ __typename?: 'TwitterIntegrationProperties';
23382
+ consumerKey: string;
23383
+ consumerSecret: string;
23384
+ accessTokenKey: string;
23385
+ accessTokenSecret: string;
23386
+ } | null;
23270
23387
  } | null;
23271
23388
  } | null> | null;
23272
23389
  } | null> | null;
@@ -23309,6 +23426,7 @@ export type CreateWorkflowMutation = {
23309
23426
  state: EntityState;
23310
23427
  ingestion?: {
23311
23428
  __typename?: 'IngestionWorkflowStage';
23429
+ enableEmailCollections?: boolean | null;
23312
23430
  if?: {
23313
23431
  __typename?: 'IngestionContentFilter';
23314
23432
  types?: Array<ContentTypes> | null;
@@ -23541,6 +23659,13 @@ export type CreateWorkflowMutation = {
23541
23659
  subject: string;
23542
23660
  to: Array<string>;
23543
23661
  } | null;
23662
+ twitter?: {
23663
+ __typename?: 'TwitterIntegrationProperties';
23664
+ consumerKey: string;
23665
+ consumerSecret: string;
23666
+ accessTokenKey: string;
23667
+ accessTokenSecret: string;
23668
+ } | null;
23544
23669
  } | null;
23545
23670
  } | null> | null;
23546
23671
  } | null;
@@ -23600,6 +23725,7 @@ export type GetWorkflowQuery = {
23600
23725
  };
23601
23726
  ingestion?: {
23602
23727
  __typename?: 'IngestionWorkflowStage';
23728
+ enableEmailCollections?: boolean | null;
23603
23729
  if?: {
23604
23730
  __typename?: 'IngestionContentFilter';
23605
23731
  types?: Array<ContentTypes> | null;
@@ -23832,6 +23958,13 @@ export type GetWorkflowQuery = {
23832
23958
  subject: string;
23833
23959
  to: Array<string>;
23834
23960
  } | null;
23961
+ twitter?: {
23962
+ __typename?: 'TwitterIntegrationProperties';
23963
+ consumerKey: string;
23964
+ consumerSecret: string;
23965
+ accessTokenKey: string;
23966
+ accessTokenSecret: string;
23967
+ } | null;
23835
23968
  } | null;
23836
23969
  } | null> | null;
23837
23970
  } | null;
@@ -23857,6 +23990,7 @@ export type QueryWorkflowsQuery = {
23857
23990
  };
23858
23991
  ingestion?: {
23859
23992
  __typename?: 'IngestionWorkflowStage';
23993
+ enableEmailCollections?: boolean | null;
23860
23994
  if?: {
23861
23995
  __typename?: 'IngestionContentFilter';
23862
23996
  types?: Array<ContentTypes> | null;
@@ -24089,6 +24223,13 @@ export type QueryWorkflowsQuery = {
24089
24223
  subject: string;
24090
24224
  to: Array<string>;
24091
24225
  } | null;
24226
+ twitter?: {
24227
+ __typename?: 'TwitterIntegrationProperties';
24228
+ consumerKey: string;
24229
+ consumerSecret: string;
24230
+ accessTokenKey: string;
24231
+ accessTokenSecret: string;
24232
+ } | null;
24092
24233
  } | null;
24093
24234
  } | null> | null;
24094
24235
  } | null> | null;
@@ -24106,6 +24247,7 @@ export type UpdateWorkflowMutation = {
24106
24247
  state: EntityState;
24107
24248
  ingestion?: {
24108
24249
  __typename?: 'IngestionWorkflowStage';
24250
+ enableEmailCollections?: boolean | null;
24109
24251
  if?: {
24110
24252
  __typename?: 'IngestionContentFilter';
24111
24253
  types?: Array<ContentTypes> | null;
@@ -24338,6 +24480,13 @@ export type UpdateWorkflowMutation = {
24338
24480
  subject: string;
24339
24481
  to: Array<string>;
24340
24482
  } | null;
24483
+ twitter?: {
24484
+ __typename?: 'TwitterIntegrationProperties';
24485
+ consumerKey: string;
24486
+ consumerSecret: string;
24487
+ accessTokenKey: string;
24488
+ accessTokenSecret: string;
24489
+ } | null;
24341
24490
  } | null;
24342
24491
  } | null> | null;
24343
24492
  } | null;
@@ -24354,6 +24503,7 @@ export type UpsertWorkflowMutation = {
24354
24503
  state: EntityState;
24355
24504
  ingestion?: {
24356
24505
  __typename?: 'IngestionWorkflowStage';
24506
+ enableEmailCollections?: boolean | null;
24357
24507
  if?: {
24358
24508
  __typename?: 'IngestionContentFilter';
24359
24509
  types?: Array<ContentTypes> | null;
@@ -24586,6 +24736,13 @@ export type UpsertWorkflowMutation = {
24586
24736
  subject: string;
24587
24737
  to: Array<string>;
24588
24738
  } | null;
24739
+ twitter?: {
24740
+ __typename?: 'TwitterIntegrationProperties';
24741
+ consumerKey: string;
24742
+ consumerSecret: string;
24743
+ accessTokenKey: string;
24744
+ accessTokenSecret: string;
24745
+ } | null;
24589
24746
  } | null;
24590
24747
  } | null> | null;
24591
24748
  } | null;
@@ -210,6 +210,8 @@ var CollectionTypes;
210
210
  (function (CollectionTypes) {
211
211
  /** Content collection */
212
212
  CollectionTypes["Collection"] = "COLLECTION";
213
+ /** Email thread */
214
+ CollectionTypes["Thread"] = "THREAD";
213
215
  })(CollectionTypes || (exports.CollectionTypes = CollectionTypes = {}));
214
216
  /** Connector type */
215
217
  var ConnectorTypes;
@@ -908,6 +910,10 @@ var GroqModels;
908
910
  GroqModels["Llama_3_8B"] = "LLAMA_3_8B";
909
911
  /** LLaMA 3 70b */
910
912
  GroqModels["Llama_3_70B"] = "LLAMA_3_70B";
913
+ /** LLaMA 4 Maverick 17b */
914
+ GroqModels["Llama_4Maverick_17B"] = "LLAMA_4_MAVERICK_17B";
915
+ /** LLaMA 4 Scout 17b */
916
+ GroqModels["Llama_4Scout_17B"] = "LLAMA_4_SCOUT_17B";
911
917
  /** Mixtral 8x7b Instruct */
912
918
  GroqModels["Mixtral_8X7BInstruct"] = "MIXTRAL_8X7B_INSTRUCT";
913
919
  })(GroqModels || (exports.GroqModels = GroqModels = {}));
@@ -962,6 +968,8 @@ var IntegrationServiceTypes;
962
968
  IntegrationServiceTypes["Email"] = "EMAIL";
963
969
  /** Slack */
964
970
  IntegrationServiceTypes["Slack"] = "SLACK";
971
+ /** Twitter/X */
972
+ IntegrationServiceTypes["Twitter"] = "TWITTER";
965
973
  /** HTTP WebHook integration service */
966
974
  IntegrationServiceTypes["WebHook"] = "WEB_HOOK";
967
975
  })(IntegrationServiceTypes || (exports.IntegrationServiceTypes = IntegrationServiceTypes = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250402001",
3
+ "version": "1.0.20250407001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",