graphlit-client 1.0.20260410001 → 1.0.20260412001

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
@@ -905,6 +905,13 @@ declare class Graphlit {
905
905
  * @returns The distribution results.
906
906
  */
907
907
  distribute(connector: Types.DistributionConnectorInput, authentication: Types.EntityReferenceInput, filter?: Types.ContentFilter, text?: string, textType?: Types.TextTypes, name?: string, correlationId?: string): Promise<Types.DistributeMutation>;
908
+ /**
909
+ * Reads external content through a distribution connector.
910
+ * @param connector - The distribution connector to use.
911
+ * @param authentication - The authentication reference for reading.
912
+ * @returns The external content read result.
913
+ */
914
+ read(connector: Types.DistributionConnectorInput, authentication: Types.EntityReferenceInput): Promise<Types.ReadQuery>;
908
915
  /**
909
916
  * Researches contents and publishes the results.
910
917
  * @param connector - The publishing connector to use.
@@ -1350,68 +1357,6 @@ declare class Graphlit {
1350
1357
  * @returns The Slack users with userId, displayName, realName, and email.
1351
1358
  */
1352
1359
  querySlackUsers(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackUsersQuery>;
1353
- /**
1354
- * Updates a Google Calendar event.
1355
- * @param properties - The Google Calendar authentication properties.
1356
- * @param eventId - The event identifier.
1357
- * @param input - The event fields to update.
1358
- * @returns The updated calendar event.
1359
- */
1360
- updateGoogleCalendarEvent(properties: Types.GoogleCalendarEventsInput, eventId: string, input: Types.CalendarEventUpdateInput): Promise<Types.UpdateGoogleCalendarEventMutation>;
1361
- /**
1362
- * Updates a Microsoft Calendar event.
1363
- * @param properties - The Microsoft Calendar authentication properties.
1364
- * @param eventId - The event identifier.
1365
- * @param input - The event fields to update.
1366
- * @returns The updated calendar event.
1367
- */
1368
- updateMicrosoftCalendarEvent(properties: Types.MicrosoftCalendarEventsInput, eventId: string, input: Types.CalendarEventUpdateInput): Promise<Types.UpdateMicrosoftCalendarEventMutation>;
1369
- /**
1370
- * Deletes a Google Calendar event.
1371
- * @param properties - The Google Calendar authentication properties.
1372
- * @param eventId - The event identifier.
1373
- * @returns True if the event was deleted.
1374
- */
1375
- deleteGoogleCalendarEvent(properties: Types.GoogleCalendarEventsInput, eventId: string): Promise<Types.DeleteGoogleCalendarEventMutation>;
1376
- /**
1377
- * Deletes a Microsoft Calendar event.
1378
- * @param properties - The Microsoft Calendar authentication properties.
1379
- * @param eventId - The event identifier.
1380
- * @returns True if the event was deleted.
1381
- */
1382
- deleteMicrosoftCalendarEvent(properties: Types.MicrosoftCalendarEventsInput, eventId: string): Promise<Types.DeleteMicrosoftCalendarEventMutation>;
1383
- /**
1384
- * Updates a Notion page.
1385
- * @param properties - The Notion authentication properties.
1386
- * @param pageId - The Notion page identifier.
1387
- * @param input - The page fields to update (title, content, appendContent).
1388
- * @returns The distribution result.
1389
- */
1390
- updateNotionPage(properties: Types.NotionDatabasesInput, pageId: string, input: Types.NotionPageUpdateInput): Promise<Types.UpdateNotionPageMutation>;
1391
- /**
1392
- * Updates a Confluence page.
1393
- * @param properties - The Confluence authentication properties.
1394
- * @param pageId - The Confluence page identifier.
1395
- * @param input - The page fields to update (title, content, appendContent).
1396
- * @returns The distribution result.
1397
- */
1398
- updateConfluencePage(properties: Types.ConfluenceSpacesInput, pageId: string, input: Types.ConfluencePageUpdateInput): Promise<Types.UpdateConfluencePageMutation>;
1399
- /**
1400
- * Updates a Jira issue.
1401
- * @param properties - The Jira authentication properties.
1402
- * @param issueIdOrKey - The Jira issue ID or key (e.g., "CS-123").
1403
- * @param input - The issue fields to update (summary, description, priority, status, assigneeId, labels).
1404
- * @returns The distribution result.
1405
- */
1406
- updateJiraIssue(properties: Types.JiraProjectsInput, issueIdOrKey: string, input: Types.JiraIssueUpdateInput): Promise<Types.UpdateJiraIssueMutation>;
1407
- /**
1408
- * Updates a Linear issue.
1409
- * @param properties - The Linear authentication properties.
1410
- * @param issueId - The Linear issue identifier.
1411
- * @param input - The issue fields to update (title, description, priority, stateId, assigneeId, labelIds).
1412
- * @returns The distribution result.
1413
- */
1414
- updateLinearIssue(properties: Types.LinearProjectsInput, issueId: string, input: Types.LinearIssueUpdateInput): Promise<Types.UpdateLinearIssueMutation>;
1415
1360
  /**
1416
1361
  * Queries Linear projects.
1417
1362
  * @param properties - The Linear project query properties.
package/dist/client.js CHANGED
@@ -1752,6 +1752,18 @@ class Graphlit {
1752
1752
  correlationId: correlationId,
1753
1753
  });
1754
1754
  }
1755
+ /**
1756
+ * Reads external content through a distribution connector.
1757
+ * @param connector - The distribution connector to use.
1758
+ * @param authentication - The authentication reference for reading.
1759
+ * @returns The external content read result.
1760
+ */
1761
+ async read(connector, authentication) {
1762
+ return this.queryAndCheckError(Documents.Read, {
1763
+ connector: connector,
1764
+ authentication: authentication,
1765
+ });
1766
+ }
1755
1767
  /**
1756
1768
  * Researches contents and publishes the results.
1757
1769
  * @param connector - The publishing connector to use.
@@ -2496,84 +2508,6 @@ class Graphlit {
2496
2508
  async querySlackUsers(properties) {
2497
2509
  return this.queryAndCheckError(Documents.QuerySlackUsers, { properties: properties });
2498
2510
  }
2499
- /**
2500
- * Updates a Google Calendar event.
2501
- * @param properties - The Google Calendar authentication properties.
2502
- * @param eventId - The event identifier.
2503
- * @param input - The event fields to update.
2504
- * @returns The updated calendar event.
2505
- */
2506
- async updateGoogleCalendarEvent(properties, eventId, input) {
2507
- return this.mutateAndCheckError(Documents.UpdateGoogleCalendarEvent, { properties, eventId, input });
2508
- }
2509
- /**
2510
- * Updates a Microsoft Calendar event.
2511
- * @param properties - The Microsoft Calendar authentication properties.
2512
- * @param eventId - The event identifier.
2513
- * @param input - The event fields to update.
2514
- * @returns The updated calendar event.
2515
- */
2516
- async updateMicrosoftCalendarEvent(properties, eventId, input) {
2517
- return this.mutateAndCheckError(Documents.UpdateMicrosoftCalendarEvent, { properties, eventId, input });
2518
- }
2519
- /**
2520
- * Deletes a Google Calendar event.
2521
- * @param properties - The Google Calendar authentication properties.
2522
- * @param eventId - The event identifier.
2523
- * @returns True if the event was deleted.
2524
- */
2525
- async deleteGoogleCalendarEvent(properties, eventId) {
2526
- return this.mutateAndCheckError(Documents.DeleteGoogleCalendarEvent, { properties, eventId });
2527
- }
2528
- /**
2529
- * Deletes a Microsoft Calendar event.
2530
- * @param properties - The Microsoft Calendar authentication properties.
2531
- * @param eventId - The event identifier.
2532
- * @returns True if the event was deleted.
2533
- */
2534
- async deleteMicrosoftCalendarEvent(properties, eventId) {
2535
- return this.mutateAndCheckError(Documents.DeleteMicrosoftCalendarEvent, { properties, eventId });
2536
- }
2537
- /**
2538
- * Updates a Notion page.
2539
- * @param properties - The Notion authentication properties.
2540
- * @param pageId - The Notion page identifier.
2541
- * @param input - The page fields to update (title, content, appendContent).
2542
- * @returns The distribution result.
2543
- */
2544
- async updateNotionPage(properties, pageId, input) {
2545
- return this.mutateAndCheckError(Documents.UpdateNotionPage, { properties, pageId, input });
2546
- }
2547
- /**
2548
- * Updates a Confluence page.
2549
- * @param properties - The Confluence authentication properties.
2550
- * @param pageId - The Confluence page identifier.
2551
- * @param input - The page fields to update (title, content, appendContent).
2552
- * @returns The distribution result.
2553
- */
2554
- async updateConfluencePage(properties, pageId, input) {
2555
- return this.mutateAndCheckError(Documents.UpdateConfluencePage, { properties, pageId, input });
2556
- }
2557
- /**
2558
- * Updates a Jira issue.
2559
- * @param properties - The Jira authentication properties.
2560
- * @param issueIdOrKey - The Jira issue ID or key (e.g., "CS-123").
2561
- * @param input - The issue fields to update (summary, description, priority, status, assigneeId, labels).
2562
- * @returns The distribution result.
2563
- */
2564
- async updateJiraIssue(properties, issueIdOrKey, input) {
2565
- return this.mutateAndCheckError(Documents.UpdateJiraIssue, { properties, issueIdOrKey, input });
2566
- }
2567
- /**
2568
- * Updates a Linear issue.
2569
- * @param properties - The Linear authentication properties.
2570
- * @param issueId - The Linear issue identifier.
2571
- * @param input - The issue fields to update (title, description, priority, stateId, assigneeId, labelIds).
2572
- * @returns The distribution result.
2573
- */
2574
- async updateLinearIssue(properties, issueId, input) {
2575
- return this.mutateAndCheckError(Documents.UpdateLinearIssue, { properties, issueId, input });
2576
- }
2577
2511
  /**
2578
2512
  * Queries Linear projects.
2579
2513
  * @param properties - The Linear project query properties.
@@ -91,6 +91,7 @@ export declare const QueryContentsGraph: import("graphql").DocumentNode;
91
91
  export declare const QueryContentsObservations: import("graphql").DocumentNode;
92
92
  export declare const QueryGraph: import("graphql").DocumentNode;
93
93
  export declare const QueryObservables: import("graphql").DocumentNode;
94
+ export declare const Read: import("graphql").DocumentNode;
94
95
  export declare const RejectContent: import("graphql").DocumentNode;
95
96
  export declare const RemoveContentLabel: import("graphql").DocumentNode;
96
97
  export declare const ResearchContents: import("graphql").DocumentNode;
@@ -170,8 +171,6 @@ export declare const CreateFeed: import("graphql").DocumentNode;
170
171
  export declare const DeleteAllFeeds: import("graphql").DocumentNode;
171
172
  export declare const DeleteFeed: import("graphql").DocumentNode;
172
173
  export declare const DeleteFeeds: import("graphql").DocumentNode;
173
- export declare const DeleteGoogleCalendarEvent: import("graphql").DocumentNode;
174
- export declare const DeleteMicrosoftCalendarEvent: import("graphql").DocumentNode;
175
174
  export declare const DisableFeed: import("graphql").DocumentNode;
176
175
  export declare const EnableFeed: import("graphql").DocumentNode;
177
176
  export declare const FeedExists: import("graphql").DocumentNode;
@@ -216,13 +215,7 @@ export declare const QuerySharePointLibraries: import("graphql").DocumentNode;
216
215
  export declare const QuerySlackChannels: import("graphql").DocumentNode;
217
216
  export declare const QuerySlackUsers: import("graphql").DocumentNode;
218
217
  export declare const TriggerFeed: import("graphql").DocumentNode;
219
- export declare const UpdateConfluencePage: import("graphql").DocumentNode;
220
218
  export declare const UpdateFeed: import("graphql").DocumentNode;
221
- export declare const UpdateGoogleCalendarEvent: import("graphql").DocumentNode;
222
- export declare const UpdateJiraIssue: import("graphql").DocumentNode;
223
- export declare const UpdateLinearIssue: import("graphql").DocumentNode;
224
- export declare const UpdateMicrosoftCalendarEvent: import("graphql").DocumentNode;
225
- export declare const UpdateNotionPage: import("graphql").DocumentNode;
226
219
  export declare const CountInvestments: import("graphql").DocumentNode;
227
220
  export declare const CreateInvestment: import("graphql").DocumentNode;
228
221
  export declare const DeleteAllInvestments: import("graphql").DocumentNode;
@@ -2104,6 +2104,9 @@ export const Distribute = gql `
2104
2104
  uri
2105
2105
  identifier
2106
2106
  serviceType
2107
+ operation
2108
+ resolvedTargetIdentifier
2109
+ resolvedTargetUri
2107
2110
  error
2108
2111
  }
2109
2112
  }
@@ -4888,6 +4891,18 @@ export const QueryObservables = gql `
4888
4891
  }
4889
4892
  }
4890
4893
  `;
4894
+ export const Read = gql `
4895
+ query Read($connector: DistributionConnectorInput!, $authentication: EntityReferenceInput!) {
4896
+ read(connector: $connector, authentication: $authentication) {
4897
+ identifier
4898
+ name
4899
+ markdown
4900
+ uri
4901
+ modifiedDate
4902
+ serviceType
4903
+ }
4904
+ }
4905
+ `;
4891
4906
  export const RejectContent = gql `
4892
4907
  mutation RejectContent($id: ID!, $reason: String) {
4893
4908
  rejectContent(id: $id, reason: $reason) {
@@ -9775,16 +9790,6 @@ export const DeleteFeeds = gql `
9775
9790
  }
9776
9791
  }
9777
9792
  `;
9778
- export const DeleteGoogleCalendarEvent = gql `
9779
- mutation DeleteGoogleCalendarEvent($properties: GoogleCalendarEventsInput!, $eventId: String!) {
9780
- deleteGoogleCalendarEvent(properties: $properties, eventId: $eventId)
9781
- }
9782
- `;
9783
- export const DeleteMicrosoftCalendarEvent = gql `
9784
- mutation DeleteMicrosoftCalendarEvent($properties: MicrosoftCalendarEventsInput!, $eventId: String!) {
9785
- deleteMicrosoftCalendarEvent(properties: $properties, eventId: $eventId)
9786
- }
9787
- `;
9788
9793
  export const DisableFeed = gql `
9789
9794
  mutation DisableFeed($id: ID!) {
9790
9795
  disableFeed(id: $id) {
@@ -10431,6 +10436,22 @@ export const GetFeed = gql `
10431
10436
  jobTitle
10432
10437
  jobRegion
10433
10438
  jobDescription
10439
+ fieldsToTrack
10440
+ headcountGrowthMin
10441
+ headcountGrowthMax
10442
+ headcountGrowthTimeframe
10443
+ baselineHeadcount
10444
+ headcountGrowthFromBaseline
10445
+ annualRevenueMin
10446
+ annualRevenueMax
10447
+ postCategories
10448
+ keyword
10449
+ industry
10450
+ fundingRoundTypes
10451
+ companyDepartment
10452
+ companyHeadcountRanges
10453
+ frequency
10454
+ expirationDate
10434
10455
  }
10435
10456
  linkedin {
10436
10457
  dateRange
@@ -11507,6 +11528,22 @@ export const QueryFeeds = gql `
11507
11528
  jobTitle
11508
11529
  jobRegion
11509
11530
  jobDescription
11531
+ fieldsToTrack
11532
+ headcountGrowthMin
11533
+ headcountGrowthMax
11534
+ headcountGrowthTimeframe
11535
+ baselineHeadcount
11536
+ headcountGrowthFromBaseline
11537
+ annualRevenueMin
11538
+ annualRevenueMax
11539
+ postCategories
11540
+ keyword
11541
+ industry
11542
+ fundingRoundTypes
11543
+ companyDepartment
11544
+ companyHeadcountRanges
11545
+ frequency
11546
+ expirationDate
11510
11547
  }
11511
11548
  linkedin {
11512
11549
  dateRange
@@ -12023,15 +12060,6 @@ export const TriggerFeed = gql `
12023
12060
  }
12024
12061
  }
12025
12062
  `;
12026
- export const UpdateConfluencePage = gql `
12027
- mutation UpdateConfluencePage($properties: ConfluenceSpacesInput!, $pageId: String!, $input: ConfluencePageUpdateInput!) {
12028
- updateConfluencePage(properties: $properties, pageId: $pageId, input: $input) {
12029
- identifier
12030
- uri
12031
- serviceType
12032
- }
12033
- }
12034
- `;
12035
12063
  export const UpdateFeed = gql `
12036
12064
  mutation UpdateFeed($feed: FeedUpdateInput!) {
12037
12065
  updateFeed(feed: $feed) {
@@ -12043,79 +12071,6 @@ export const UpdateFeed = gql `
12043
12071
  }
12044
12072
  }
12045
12073
  `;
12046
- export const UpdateGoogleCalendarEvent = gql `
12047
- mutation UpdateGoogleCalendarEvent($properties: GoogleCalendarEventsInput!, $eventId: String!, $input: CalendarEventUpdateInput!) {
12048
- updateGoogleCalendarEvent(
12049
- properties: $properties
12050
- eventId: $eventId
12051
- input: $input
12052
- ) {
12053
- eventId
12054
- summary
12055
- startDateTime
12056
- endDateTime
12057
- location
12058
- attendees
12059
- isOnlineMeeting
12060
- meetingLink
12061
- description
12062
- status
12063
- organizer
12064
- }
12065
- }
12066
- `;
12067
- export const UpdateJiraIssue = gql `
12068
- mutation UpdateJiraIssue($properties: JiraProjectsInput!, $issueIdOrKey: String!, $input: JiraIssueUpdateInput!) {
12069
- updateJiraIssue(
12070
- properties: $properties
12071
- issueIdOrKey: $issueIdOrKey
12072
- input: $input
12073
- ) {
12074
- identifier
12075
- uri
12076
- serviceType
12077
- }
12078
- }
12079
- `;
12080
- export const UpdateLinearIssue = gql `
12081
- mutation UpdateLinearIssue($properties: LinearProjectsInput!, $issueId: String!, $input: LinearIssueUpdateInput!) {
12082
- updateLinearIssue(properties: $properties, issueId: $issueId, input: $input) {
12083
- identifier
12084
- uri
12085
- serviceType
12086
- }
12087
- }
12088
- `;
12089
- export const UpdateMicrosoftCalendarEvent = gql `
12090
- mutation UpdateMicrosoftCalendarEvent($properties: MicrosoftCalendarEventsInput!, $eventId: String!, $input: CalendarEventUpdateInput!) {
12091
- updateMicrosoftCalendarEvent(
12092
- properties: $properties
12093
- eventId: $eventId
12094
- input: $input
12095
- ) {
12096
- eventId
12097
- summary
12098
- startDateTime
12099
- endDateTime
12100
- location
12101
- attendees
12102
- isOnlineMeeting
12103
- meetingLink
12104
- description
12105
- status
12106
- organizer
12107
- }
12108
- }
12109
- `;
12110
- export const UpdateNotionPage = gql `
12111
- mutation UpdateNotionPage($properties: NotionDatabasesInput!, $pageId: String!, $input: NotionPageUpdateInput!) {
12112
- updateNotionPage(properties: $properties, pageId: $pageId, input: $input) {
12113
- identifier
12114
- uri
12115
- serviceType
12116
- }
12117
- }
12118
- `;
12119
12074
  export const CountInvestments = gql `
12120
12075
  query CountInvestments($filter: InvestmentFilter, $correlationId: String) {
12121
12076
  countInvestments(filter: $filter, correlationId: $correlationId) {