graphlit-client 1.0.20250628004 → 1.0.20250701001

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
@@ -136,11 +136,11 @@ declare class Graphlit {
136
136
  screenshotPage(uri: string, maximumHeight?: number, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.ScreenshotPageMutation>;
137
137
  ingestTextBatch(batch: Types.TextContentInput[], textType: Types.TextTypes, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestTextBatchMutation>;
138
138
  ingestBatch(uris: string[], workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestBatchMutation>;
139
- ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestUriMutation>;
140
- ingestText(text: string, name?: string, textType?: Types.TextTypes, uri?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestTextMutation>;
141
- ingestMemory(text: string, name?: string, textType?: Types.TextTypes, id?: string, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestMemoryMutation>;
142
- ingestEvent(markdown: string, name?: string, description?: string, eventDate?: Types.Scalars["DateTime"]["input"], id?: string, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestEventMutation>;
143
- ingestEncodedFile(name: string, data: string, mimeType: string, fileCreationDate?: Types.Scalars["DateTime"]["input"], fileModifiedDate?: Types.Scalars["DateTime"]["input"], id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestEncodedFileMutation>;
139
+ ingestUri(uri: string, name?: string, id?: string, identifier?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestUriMutation>;
140
+ ingestText(text: string, name?: string, textType?: Types.TextTypes, uri?: string, id?: string, identifier?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestTextMutation>;
141
+ ingestMemory(text: string, name?: string, textType?: Types.TextTypes, id?: string, identifier?: string, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestMemoryMutation>;
142
+ ingestEvent(markdown: string, name?: string, description?: string, eventDate?: Types.Scalars["DateTime"]["input"], id?: string, identifier?: string, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestEventMutation>;
143
+ ingestEncodedFile(name: string, data: string, mimeType: string, fileCreationDate?: Types.Scalars["DateTime"]["input"], fileModifiedDate?: Types.Scalars["DateTime"]["input"], id?: string, identifier?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestEncodedFileMutation>;
144
144
  updateContent(content: Types.ContentUpdateInput): Promise<Types.UpdateContentMutation>;
145
145
  deleteContent(id: string): Promise<Types.DeleteContentMutation>;
146
146
  deleteContents(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteContentsMutation>;
package/dist/client.js CHANGED
@@ -540,11 +540,12 @@ class Graphlit {
540
540
  correlationId: correlationId,
541
541
  });
542
542
  }
543
- async ingestUri(uri, name, id, isSynchronous, workflow, collections, observations, correlationId) {
543
+ async ingestUri(uri, name, id, identifier, isSynchronous, workflow, collections, observations, correlationId) {
544
544
  return this.mutateAndCheckError(Documents.IngestUri, {
545
545
  uri: uri,
546
546
  name: name,
547
547
  id: id,
548
+ identifier: identifier,
548
549
  isSynchronous: isSynchronous,
549
550
  workflow: workflow,
550
551
  collections: collections,
@@ -552,13 +553,14 @@ class Graphlit {
552
553
  correlationId: correlationId,
553
554
  });
554
555
  }
555
- async ingestText(text, name, textType, uri, id, isSynchronous, workflow, collections, observations, correlationId) {
556
+ async ingestText(text, name, textType, uri, id, identifier, isSynchronous, workflow, collections, observations, correlationId) {
556
557
  return this.mutateAndCheckError(Documents.IngestText, {
557
558
  name: name,
558
559
  text: text,
559
560
  textType: textType,
560
561
  uri: uri,
561
562
  id: id,
563
+ identifier: identifier,
562
564
  isSynchronous: isSynchronous,
563
565
  workflow: workflow,
564
566
  collections: collections,
@@ -566,28 +568,30 @@ class Graphlit {
566
568
  correlationId: correlationId,
567
569
  });
568
570
  }
569
- async ingestMemory(text, name, textType, id, collections, correlationId) {
571
+ async ingestMemory(text, name, textType, id, identifier, collections, correlationId) {
570
572
  return this.mutateAndCheckError(Documents.IngestMemory, {
571
573
  name: name,
572
574
  text: text,
573
575
  textType: textType,
574
576
  id: id,
577
+ identifier: identifier,
575
578
  collections: collections,
576
579
  correlationId: correlationId,
577
580
  });
578
581
  }
579
- async ingestEvent(markdown, name, description, eventDate, id, collections, correlationId) {
582
+ async ingestEvent(markdown, name, description, eventDate, id, identifier, collections, correlationId) {
580
583
  return this.mutateAndCheckError(Documents.IngestEvent, {
581
584
  name: name,
582
585
  markdown: markdown,
583
586
  description: description,
584
587
  eventDate: eventDate,
585
588
  id: id,
589
+ identifier: identifier,
586
590
  collections: collections,
587
591
  correlationId: correlationId,
588
592
  });
589
593
  }
590
- async ingestEncodedFile(name, data, mimeType, fileCreationDate, fileModifiedDate, id, isSynchronous, workflow, collections, observations, correlationId) {
594
+ async ingestEncodedFile(name, data, mimeType, fileCreationDate, fileModifiedDate, id, identifier, isSynchronous, workflow, collections, observations, correlationId) {
591
595
  return this.mutateAndCheckError(Documents.IngestEncodedFile, {
592
596
  name: name,
593
597
  data: data,
@@ -595,6 +599,7 @@ class Graphlit {
595
599
  fileCreationDate: fileCreationDate,
596
600
  fileModifiedDate: fileModifiedDate,
597
601
  id: id,
602
+ identifier: identifier,
598
603
  isSynchronous: isSynchronous,
599
604
  workflow: workflow,
600
605
  collections: collections,
@@ -180,6 +180,10 @@ export const GetAlert = gql `
180
180
  accessTokenKey
181
181
  accessTokenSecret
182
182
  }
183
+ mcp {
184
+ token
185
+ type
186
+ }
183
187
  }
184
188
  publishing {
185
189
  type
@@ -326,6 +330,10 @@ export const QueryAlerts = gql `
326
330
  accessTokenKey
327
331
  accessTokenSecret
328
332
  }
333
+ mcp {
334
+ token
335
+ type
336
+ }
329
337
  }
330
338
  publishing {
331
339
  type
@@ -640,6 +648,10 @@ export const GetConnector = gql `
640
648
  accessTokenKey
641
649
  accessTokenSecret
642
650
  }
651
+ mcp {
652
+ token
653
+ type
654
+ }
643
655
  }
644
656
  }
645
657
  }
@@ -697,6 +709,10 @@ export const QueryConnectors = gql `
697
709
  accessTokenKey
698
710
  accessTokenSecret
699
711
  }
712
+ mcp {
713
+ token
714
+ type
715
+ }
700
716
  }
701
717
  }
702
718
  }
@@ -1414,6 +1430,7 @@ export const IngestBatch = gql `
1414
1430
  fileType
1415
1431
  mimeType
1416
1432
  uri
1433
+ identifier
1417
1434
  collections {
1418
1435
  id
1419
1436
  name
@@ -1450,12 +1467,13 @@ export const IngestBatch = gql `
1450
1467
  }
1451
1468
  `;
1452
1469
  export const IngestEncodedFile = gql `
1453
- mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $fileCreationDate: DateTime, $fileModifiedDate: DateTime, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
1470
+ mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $identifier: String, $fileCreationDate: DateTime, $fileModifiedDate: DateTime, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
1454
1471
  ingestEncodedFile(
1455
1472
  name: $name
1456
1473
  data: $data
1457
1474
  mimeType: $mimeType
1458
1475
  id: $id
1476
+ identifier: $identifier
1459
1477
  fileCreationDate: $fileCreationDate
1460
1478
  fileModifiedDate: $fileModifiedDate
1461
1479
  isSynchronous: $isSynchronous
@@ -1471,6 +1489,7 @@ export const IngestEncodedFile = gql `
1471
1489
  fileType
1472
1490
  mimeType
1473
1491
  uri
1492
+ identifier
1474
1493
  collections {
1475
1494
  id
1476
1495
  name
@@ -1507,13 +1526,14 @@ export const IngestEncodedFile = gql `
1507
1526
  }
1508
1527
  `;
1509
1528
  export const IngestEvent = gql `
1510
- mutation IngestEvent($markdown: String!, $name: String, $description: String, $eventDate: DateTime, $id: ID, $collections: [EntityReferenceInput!], $correlationId: String) {
1529
+ mutation IngestEvent($markdown: String!, $name: String, $description: String, $eventDate: DateTime, $id: ID, $identifier: String, $collections: [EntityReferenceInput!], $correlationId: String) {
1511
1530
  ingestEvent(
1512
1531
  name: $name
1513
1532
  description: $description
1514
1533
  eventDate: $eventDate
1515
1534
  markdown: $markdown
1516
1535
  id: $id
1536
+ identifier: $identifier
1517
1537
  collections: $collections
1518
1538
  correlationId: $correlationId
1519
1539
  ) {
@@ -1524,6 +1544,7 @@ export const IngestEvent = gql `
1524
1544
  fileType
1525
1545
  mimeType
1526
1546
  uri
1547
+ identifier
1527
1548
  collections {
1528
1549
  id
1529
1550
  name
@@ -1560,12 +1581,13 @@ export const IngestEvent = gql `
1560
1581
  }
1561
1582
  `;
1562
1583
  export const IngestMemory = gql `
1563
- mutation IngestMemory($text: String!, $name: String, $textType: TextTypes, $id: ID, $collections: [EntityReferenceInput!], $correlationId: String) {
1584
+ mutation IngestMemory($text: String!, $name: String, $textType: TextTypes, $id: ID, $identifier: String, $collections: [EntityReferenceInput!], $correlationId: String) {
1564
1585
  ingestMemory(
1565
1586
  name: $name
1566
1587
  text: $text
1567
1588
  textType: $textType
1568
1589
  id: $id
1590
+ identifier: $identifier
1569
1591
  collections: $collections
1570
1592
  correlationId: $correlationId
1571
1593
  ) {
@@ -1576,6 +1598,7 @@ export const IngestMemory = gql `
1576
1598
  fileType
1577
1599
  mimeType
1578
1600
  uri
1601
+ identifier
1579
1602
  collections {
1580
1603
  id
1581
1604
  name
@@ -1612,7 +1635,7 @@ export const IngestMemory = gql `
1612
1635
  }
1613
1636
  `;
1614
1637
  export const IngestText = gql `
1615
- mutation IngestText($text: String!, $name: String, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
1638
+ mutation IngestText($text: String!, $name: String, $textType: TextTypes, $uri: URL, $id: ID, $identifier: String, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
1616
1639
  ingestText(
1617
1640
  name: $name
1618
1641
  text: $text
@@ -1621,6 +1644,7 @@ export const IngestText = gql `
1621
1644
  id: $id
1622
1645
  isSynchronous: $isSynchronous
1623
1646
  workflow: $workflow
1647
+ identifier: $identifier
1624
1648
  collections: $collections
1625
1649
  observations: $observations
1626
1650
  correlationId: $correlationId
@@ -1632,6 +1656,7 @@ export const IngestText = gql `
1632
1656
  fileType
1633
1657
  mimeType
1634
1658
  uri
1659
+ identifier
1635
1660
  collections {
1636
1661
  id
1637
1662
  name
@@ -1684,6 +1709,7 @@ export const IngestTextBatch = gql `
1684
1709
  fileType
1685
1710
  mimeType
1686
1711
  uri
1712
+ identifier
1687
1713
  collections {
1688
1714
  id
1689
1715
  name
@@ -1720,7 +1746,7 @@ export const IngestTextBatch = gql `
1720
1746
  }
1721
1747
  `;
1722
1748
  export const IngestUri = gql `
1723
- mutation IngestUri($name: String, $uri: URL!, $id: ID, $mimeType: String, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
1749
+ mutation IngestUri($name: String, $uri: URL!, $id: ID, $mimeType: String, $identifier: String, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $observations: [ObservationReferenceInput!], $correlationId: String) {
1724
1750
  ingestUri(
1725
1751
  name: $name
1726
1752
  uri: $uri
@@ -1729,6 +1755,7 @@ export const IngestUri = gql `
1729
1755
  workflow: $workflow
1730
1756
  collections: $collections
1731
1757
  observations: $observations
1758
+ identifier: $identifier
1732
1759
  isSynchronous: $isSynchronous
1733
1760
  correlationId: $correlationId
1734
1761
  ) {
@@ -1739,6 +1766,7 @@ export const IngestUri = gql `
1739
1766
  fileType
1740
1767
  mimeType
1741
1768
  uri
1769
+ identifier
1742
1770
  collections {
1743
1771
  id
1744
1772
  name
@@ -2988,6 +3016,7 @@ export const ScreenshotPage = gql `
2988
3016
  fileType
2989
3017
  mimeType
2990
3018
  uri
3019
+ identifier
2991
3020
  collections {
2992
3021
  id
2993
3022
  name
@@ -3080,6 +3109,7 @@ export const UpdateContent = gql `
3080
3109
  fileType
3081
3110
  mimeType
3082
3111
  uri
3112
+ identifier
3083
3113
  collections {
3084
3114
  id
3085
3115
  name
@@ -9729,6 +9759,10 @@ export const GetUser = gql `
9729
9759
  accessTokenKey
9730
9760
  accessTokenSecret
9731
9761
  }
9762
+ mcp {
9763
+ token
9764
+ type
9765
+ }
9732
9766
  }
9733
9767
  }
9734
9768
  }
@@ -9793,6 +9827,10 @@ export const GetUserByIdentifier = gql `
9793
9827
  accessTokenKey
9794
9828
  accessTokenSecret
9795
9829
  }
9830
+ mcp {
9831
+ token
9832
+ type
9833
+ }
9796
9834
  }
9797
9835
  }
9798
9836
  }
@@ -9858,6 +9896,10 @@ export const QueryUsers = gql `
9858
9896
  accessTokenKey
9859
9897
  accessTokenSecret
9860
9898
  }
9899
+ mcp {
9900
+ token
9901
+ type
9902
+ }
9861
9903
  }
9862
9904
  }
9863
9905
  }
@@ -11067,6 +11109,10 @@ export const CreateWorkflow = gql `
11067
11109
  accessTokenKey
11068
11110
  accessTokenSecret
11069
11111
  }
11112
+ mcp {
11113
+ token
11114
+ type
11115
+ }
11070
11116
  }
11071
11117
  }
11072
11118
  }
@@ -11315,6 +11361,10 @@ export const GetWorkflow = gql `
11315
11361
  accessTokenKey
11316
11362
  accessTokenSecret
11317
11363
  }
11364
+ mcp {
11365
+ token
11366
+ type
11367
+ }
11318
11368
  }
11319
11369
  }
11320
11370
  }
@@ -11536,6 +11586,10 @@ export const QueryWorkflows = gql `
11536
11586
  accessTokenKey
11537
11587
  accessTokenSecret
11538
11588
  }
11589
+ mcp {
11590
+ token
11591
+ type
11592
+ }
11539
11593
  }
11540
11594
  }
11541
11595
  }
@@ -11752,6 +11806,10 @@ export const UpdateWorkflow = gql `
11752
11806
  accessTokenKey
11753
11807
  accessTokenSecret
11754
11808
  }
11809
+ mcp {
11810
+ token
11811
+ type
11812
+ }
11755
11813
  }
11756
11814
  }
11757
11815
  }
@@ -11967,6 +12025,10 @@ export const UpsertWorkflow = gql `
11967
12025
  accessTokenKey
11968
12026
  accessTokenSecret
11969
12027
  }
12028
+ mcp {
12029
+ token
12030
+ type
12031
+ }
11970
12032
  }
11971
12033
  }
11972
12034
  }
@@ -5661,6 +5661,8 @@ export type IntegrationConnector = {
5661
5661
  __typename?: 'IntegrationConnector';
5662
5662
  /** Email integration properties. */
5663
5663
  email?: Maybe<EmailIntegrationProperties>;
5664
+ /** MCP integration properties. */
5665
+ mcp?: Maybe<McpIntegrationProperties>;
5664
5666
  /** Slack integration properties. */
5665
5667
  slack?: Maybe<SlackIntegrationProperties>;
5666
5668
  /** Twitter integration properties. */
@@ -5674,6 +5676,8 @@ export type IntegrationConnector = {
5674
5676
  export type IntegrationConnectorInput = {
5675
5677
  /** Email integration properties. */
5676
5678
  email?: InputMaybe<EmailIntegrationPropertiesInput>;
5679
+ /** MCP integration properties. */
5680
+ mcp?: InputMaybe<McpIntegrationPropertiesInput>;
5677
5681
  /** Slack integration properties. */
5678
5682
  slack?: InputMaybe<SlackIntegrationPropertiesInput>;
5679
5683
  /** Twitter integration properties. */
@@ -5687,6 +5691,8 @@ export type IntegrationConnectorInput = {
5687
5691
  export type IntegrationConnectorUpdateInput = {
5688
5692
  /** Email integration properties. */
5689
5693
  email?: InputMaybe<EmailIntegrationPropertiesInput>;
5694
+ /** MCP integration properties. */
5695
+ mcp?: InputMaybe<McpIntegrationPropertiesInput>;
5690
5696
  /** Slack integration properties. */
5691
5697
  slack?: InputMaybe<SlackIntegrationPropertiesInput>;
5692
5698
  /** Twitter integration properties. */
@@ -5698,6 +5704,8 @@ export type IntegrationConnectorUpdateInput = {
5698
5704
  export declare enum IntegrationServiceTypes {
5699
5705
  /** Email */
5700
5706
  Email = "EMAIL",
5707
+ /** MCP */
5708
+ Mcp = "MCP",
5701
5709
  /** Slack */
5702
5710
  Slack = "SLACK",
5703
5711
  /** Twitter/X */
@@ -6209,6 +6217,30 @@ export type LookupContentsResults = {
6209
6217
  /** The content results. */
6210
6218
  results?: Maybe<Array<Maybe<Content>>>;
6211
6219
  };
6220
+ /** Represents MCP integration properties. */
6221
+ export type McpIntegrationProperties = {
6222
+ __typename?: 'MCPIntegrationProperties';
6223
+ /** MCP server authentication token. */
6224
+ token?: Maybe<Scalars['String']['output']>;
6225
+ /** MCP server type. */
6226
+ type: McpServerTypes;
6227
+ };
6228
+ /** Represents MCP integration properties. */
6229
+ export type McpIntegrationPropertiesInput = {
6230
+ /** MCP server authentication token. */
6231
+ token?: InputMaybe<Scalars['String']['input']>;
6232
+ /** MCP server type. */
6233
+ type: McpServerTypes;
6234
+ };
6235
+ /** MCP Server Types */
6236
+ export declare enum McpServerTypes {
6237
+ /** Local MCP server using NPX */
6238
+ LocalNpx = "LOCAL_NPX",
6239
+ /** Remote MCP server using Streamable HTTP */
6240
+ RemoteHttp = "REMOTE_HTTP",
6241
+ /** Remote MCP server using SSE */
6242
+ RemoteSse = "REMOTE_SSE"
6243
+ }
6212
6244
  /** Mail importance */
6213
6245
  export declare enum MailImportance {
6214
6246
  /** High importance */
@@ -9427,6 +9459,7 @@ export type MutationIngestEncodedFileArgs = {
9427
9459
  fileCreationDate?: InputMaybe<Scalars['DateTime']['input']>;
9428
9460
  fileModifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
9429
9461
  id?: InputMaybe<Scalars['ID']['input']>;
9462
+ identifier?: InputMaybe<Scalars['String']['input']>;
9430
9463
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
9431
9464
  mimeType: Scalars['String']['input'];
9432
9465
  name: Scalars['String']['input'];
@@ -9439,6 +9472,7 @@ export type MutationIngestEventArgs = {
9439
9472
  description?: InputMaybe<Scalars['String']['input']>;
9440
9473
  eventDate?: InputMaybe<Scalars['DateTime']['input']>;
9441
9474
  id?: InputMaybe<Scalars['ID']['input']>;
9475
+ identifier?: InputMaybe<Scalars['String']['input']>;
9442
9476
  markdown: Scalars['String']['input'];
9443
9477
  name?: InputMaybe<Scalars['String']['input']>;
9444
9478
  };
@@ -9455,6 +9489,7 @@ export type MutationIngestMemoryArgs = {
9455
9489
  collections?: InputMaybe<Array<EntityReferenceInput>>;
9456
9490
  correlationId?: InputMaybe<Scalars['String']['input']>;
9457
9491
  id?: InputMaybe<Scalars['ID']['input']>;
9492
+ identifier?: InputMaybe<Scalars['String']['input']>;
9458
9493
  name?: InputMaybe<Scalars['String']['input']>;
9459
9494
  text: Scalars['String']['input'];
9460
9495
  textType?: InputMaybe<TextTypes>;
@@ -9472,6 +9507,7 @@ export type MutationIngestTextArgs = {
9472
9507
  collections?: InputMaybe<Array<EntityReferenceInput>>;
9473
9508
  correlationId?: InputMaybe<Scalars['String']['input']>;
9474
9509
  id?: InputMaybe<Scalars['ID']['input']>;
9510
+ identifier?: InputMaybe<Scalars['String']['input']>;
9475
9511
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
9476
9512
  name?: InputMaybe<Scalars['String']['input']>;
9477
9513
  observations?: InputMaybe<Array<ObservationReferenceInput>>;
@@ -9492,6 +9528,7 @@ export type MutationIngestUriArgs = {
9492
9528
  collections?: InputMaybe<Array<EntityReferenceInput>>;
9493
9529
  correlationId?: InputMaybe<Scalars['String']['input']>;
9494
9530
  id?: InputMaybe<Scalars['ID']['input']>;
9531
+ identifier?: InputMaybe<Scalars['String']['input']>;
9495
9532
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
9496
9533
  mimeType?: InputMaybe<Scalars['String']['input']>;
9497
9534
  name?: InputMaybe<Scalars['String']['input']>;
@@ -15199,6 +15236,11 @@ export type GetAlertQuery = {
15199
15236
  accessTokenKey: string;
15200
15237
  accessTokenSecret: string;
15201
15238
  } | null;
15239
+ mcp?: {
15240
+ __typename?: 'MCPIntegrationProperties';
15241
+ token?: string | null;
15242
+ type: McpServerTypes;
15243
+ } | null;
15202
15244
  };
15203
15245
  publishing: {
15204
15246
  __typename?: 'ContentPublishingConnector';
@@ -15387,6 +15429,11 @@ export type QueryAlertsQuery = {
15387
15429
  accessTokenKey: string;
15388
15430
  accessTokenSecret: string;
15389
15431
  } | null;
15432
+ mcp?: {
15433
+ __typename?: 'MCPIntegrationProperties';
15434
+ token?: string | null;
15435
+ type: McpServerTypes;
15436
+ } | null;
15390
15437
  };
15391
15438
  publishing: {
15392
15439
  __typename?: 'ContentPublishingConnector';
@@ -15803,6 +15850,11 @@ export type GetConnectorQuery = {
15803
15850
  accessTokenKey: string;
15804
15851
  accessTokenSecret: string;
15805
15852
  } | null;
15853
+ mcp?: {
15854
+ __typename?: 'MCPIntegrationProperties';
15855
+ token?: string | null;
15856
+ type: McpServerTypes;
15857
+ } | null;
15806
15858
  } | null;
15807
15859
  } | null;
15808
15860
  };
@@ -15875,6 +15927,11 @@ export type QueryConnectorsQuery = {
15875
15927
  accessTokenKey: string;
15876
15928
  accessTokenSecret: string;
15877
15929
  } | null;
15930
+ mcp?: {
15931
+ __typename?: 'MCPIntegrationProperties';
15932
+ token?: string | null;
15933
+ type: McpServerTypes;
15934
+ } | null;
15878
15935
  } | null;
15879
15936
  }> | null;
15880
15937
  } | null;
@@ -16671,6 +16728,7 @@ export type IngestBatchMutation = {
16671
16728
  fileType?: FileTypes | null;
16672
16729
  mimeType?: string | null;
16673
16730
  uri?: any | null;
16731
+ identifier?: string | null;
16674
16732
  collections?: Array<{
16675
16733
  __typename?: 'Collection';
16676
16734
  id: string;
@@ -16716,6 +16774,7 @@ export type IngestEncodedFileMutationVariables = Exact<{
16716
16774
  data: Scalars['String']['input'];
16717
16775
  mimeType: Scalars['String']['input'];
16718
16776
  id?: InputMaybe<Scalars['ID']['input']>;
16777
+ identifier?: InputMaybe<Scalars['String']['input']>;
16719
16778
  fileCreationDate?: InputMaybe<Scalars['DateTime']['input']>;
16720
16779
  fileModifiedDate?: InputMaybe<Scalars['DateTime']['input']>;
16721
16780
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
@@ -16735,6 +16794,7 @@ export type IngestEncodedFileMutation = {
16735
16794
  fileType?: FileTypes | null;
16736
16795
  mimeType?: string | null;
16737
16796
  uri?: any | null;
16797
+ identifier?: string | null;
16738
16798
  collections?: Array<{
16739
16799
  __typename?: 'Collection';
16740
16800
  id: string;
@@ -16781,6 +16841,7 @@ export type IngestEventMutationVariables = Exact<{
16781
16841
  description?: InputMaybe<Scalars['String']['input']>;
16782
16842
  eventDate?: InputMaybe<Scalars['DateTime']['input']>;
16783
16843
  id?: InputMaybe<Scalars['ID']['input']>;
16844
+ identifier?: InputMaybe<Scalars['String']['input']>;
16784
16845
  collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
16785
16846
  correlationId?: InputMaybe<Scalars['String']['input']>;
16786
16847
  }>;
@@ -16795,6 +16856,7 @@ export type IngestEventMutation = {
16795
16856
  fileType?: FileTypes | null;
16796
16857
  mimeType?: string | null;
16797
16858
  uri?: any | null;
16859
+ identifier?: string | null;
16798
16860
  collections?: Array<{
16799
16861
  __typename?: 'Collection';
16800
16862
  id: string;
@@ -16840,6 +16902,7 @@ export type IngestMemoryMutationVariables = Exact<{
16840
16902
  name?: InputMaybe<Scalars['String']['input']>;
16841
16903
  textType?: InputMaybe<TextTypes>;
16842
16904
  id?: InputMaybe<Scalars['ID']['input']>;
16905
+ identifier?: InputMaybe<Scalars['String']['input']>;
16843
16906
  collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
16844
16907
  correlationId?: InputMaybe<Scalars['String']['input']>;
16845
16908
  }>;
@@ -16854,6 +16917,7 @@ export type IngestMemoryMutation = {
16854
16917
  fileType?: FileTypes | null;
16855
16918
  mimeType?: string | null;
16856
16919
  uri?: any | null;
16920
+ identifier?: string | null;
16857
16921
  collections?: Array<{
16858
16922
  __typename?: 'Collection';
16859
16923
  id: string;
@@ -16900,6 +16964,7 @@ export type IngestTextMutationVariables = Exact<{
16900
16964
  textType?: InputMaybe<TextTypes>;
16901
16965
  uri?: InputMaybe<Scalars['URL']['input']>;
16902
16966
  id?: InputMaybe<Scalars['ID']['input']>;
16967
+ identifier?: InputMaybe<Scalars['String']['input']>;
16903
16968
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
16904
16969
  workflow?: InputMaybe<EntityReferenceInput>;
16905
16970
  collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
@@ -16917,6 +16982,7 @@ export type IngestTextMutation = {
16917
16982
  fileType?: FileTypes | null;
16918
16983
  mimeType?: string | null;
16919
16984
  uri?: any | null;
16985
+ identifier?: string | null;
16920
16986
  collections?: Array<{
16921
16987
  __typename?: 'Collection';
16922
16988
  id: string;
@@ -16976,6 +17042,7 @@ export type IngestTextBatchMutation = {
16976
17042
  fileType?: FileTypes | null;
16977
17043
  mimeType?: string | null;
16978
17044
  uri?: any | null;
17045
+ identifier?: string | null;
16979
17046
  collections?: Array<{
16980
17047
  __typename?: 'Collection';
16981
17048
  id: string;
@@ -17021,6 +17088,7 @@ export type IngestUriMutationVariables = Exact<{
17021
17088
  uri: Scalars['URL']['input'];
17022
17089
  id?: InputMaybe<Scalars['ID']['input']>;
17023
17090
  mimeType?: InputMaybe<Scalars['String']['input']>;
17091
+ identifier?: InputMaybe<Scalars['String']['input']>;
17024
17092
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
17025
17093
  workflow?: InputMaybe<EntityReferenceInput>;
17026
17094
  collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
@@ -17038,6 +17106,7 @@ export type IngestUriMutation = {
17038
17106
  fileType?: FileTypes | null;
17039
17107
  mimeType?: string | null;
17040
17108
  uri?: any | null;
17109
+ identifier?: string | null;
17041
17110
  collections?: Array<{
17042
17111
  __typename?: 'Collection';
17043
17112
  id: string;
@@ -18443,6 +18512,7 @@ export type ScreenshotPageMutation = {
18443
18512
  fileType?: FileTypes | null;
18444
18513
  mimeType?: string | null;
18445
18514
  uri?: any | null;
18515
+ identifier?: string | null;
18446
18516
  collections?: Array<{
18447
18517
  __typename?: 'Collection';
18448
18518
  id: string;
@@ -18552,6 +18622,7 @@ export type UpdateContentMutation = {
18552
18622
  fileType?: FileTypes | null;
18553
18623
  mimeType?: string | null;
18554
18624
  uri?: any | null;
18625
+ identifier?: string | null;
18555
18626
  collections?: Array<{
18556
18627
  __typename?: 'Collection';
18557
18628
  id: string;
@@ -26429,6 +26500,11 @@ export type GetUserQuery = {
26429
26500
  accessTokenKey: string;
26430
26501
  accessTokenSecret: string;
26431
26502
  } | null;
26503
+ mcp?: {
26504
+ __typename?: 'MCPIntegrationProperties';
26505
+ token?: string | null;
26506
+ type: McpServerTypes;
26507
+ } | null;
26432
26508
  } | null;
26433
26509
  } | null> | null;
26434
26510
  } | null;
@@ -26507,6 +26583,11 @@ export type GetUserByIdentifierQuery = {
26507
26583
  accessTokenKey: string;
26508
26584
  accessTokenSecret: string;
26509
26585
  } | null;
26586
+ mcp?: {
26587
+ __typename?: 'MCPIntegrationProperties';
26588
+ token?: string | null;
26589
+ type: McpServerTypes;
26590
+ } | null;
26510
26591
  } | null;
26511
26592
  } | null> | null;
26512
26593
  } | null;
@@ -26588,6 +26669,11 @@ export type QueryUsersQuery = {
26588
26669
  accessTokenKey: string;
26589
26670
  accessTokenSecret: string;
26590
26671
  } | null;
26672
+ mcp?: {
26673
+ __typename?: 'MCPIntegrationProperties';
26674
+ token?: string | null;
26675
+ type: McpServerTypes;
26676
+ } | null;
26591
26677
  } | null;
26592
26678
  } | null> | null;
26593
26679
  }> | null;
@@ -28156,6 +28242,11 @@ export type CreateWorkflowMutation = {
28156
28242
  accessTokenKey: string;
28157
28243
  accessTokenSecret: string;
28158
28244
  } | null;
28245
+ mcp?: {
28246
+ __typename?: 'MCPIntegrationProperties';
28247
+ token?: string | null;
28248
+ type: McpServerTypes;
28249
+ } | null;
28159
28250
  } | null;
28160
28251
  } | null> | null;
28161
28252
  } | null;
@@ -28470,6 +28561,11 @@ export type GetWorkflowQuery = {
28470
28561
  accessTokenKey: string;
28471
28562
  accessTokenSecret: string;
28472
28563
  } | null;
28564
+ mcp?: {
28565
+ __typename?: 'MCPIntegrationProperties';
28566
+ token?: string | null;
28567
+ type: McpServerTypes;
28568
+ } | null;
28473
28569
  } | null;
28474
28570
  } | null> | null;
28475
28571
  } | null;
@@ -28750,6 +28846,11 @@ export type QueryWorkflowsQuery = {
28750
28846
  accessTokenKey: string;
28751
28847
  accessTokenSecret: string;
28752
28848
  } | null;
28849
+ mcp?: {
28850
+ __typename?: 'MCPIntegrationProperties';
28851
+ token?: string | null;
28852
+ type: McpServerTypes;
28853
+ } | null;
28753
28854
  } | null;
28754
28855
  } | null> | null;
28755
28856
  }> | null;
@@ -29022,6 +29123,11 @@ export type UpdateWorkflowMutation = {
29022
29123
  accessTokenKey: string;
29023
29124
  accessTokenSecret: string;
29024
29125
  } | null;
29126
+ mcp?: {
29127
+ __typename?: 'MCPIntegrationProperties';
29128
+ token?: string | null;
29129
+ type: McpServerTypes;
29130
+ } | null;
29025
29131
  } | null;
29026
29132
  } | null> | null;
29027
29133
  } | null;
@@ -29293,6 +29399,11 @@ export type UpsertWorkflowMutation = {
29293
29399
  accessTokenKey: string;
29294
29400
  accessTokenSecret: string;
29295
29401
  } | null;
29402
+ mcp?: {
29403
+ __typename?: 'MCPIntegrationProperties';
29404
+ token?: string | null;
29405
+ type: McpServerTypes;
29406
+ } | null;
29296
29407
  } | null;
29297
29408
  } | null> | null;
29298
29409
  } | null;
@@ -1162,6 +1162,8 @@ export var IntegrationServiceTypes;
1162
1162
  (function (IntegrationServiceTypes) {
1163
1163
  /** Email */
1164
1164
  IntegrationServiceTypes["Email"] = "EMAIL";
1165
+ /** MCP */
1166
+ IntegrationServiceTypes["Mcp"] = "MCP";
1165
1167
  /** Slack */
1166
1168
  IntegrationServiceTypes["Slack"] = "SLACK";
1167
1169
  /** Twitter/X */
@@ -1279,6 +1281,16 @@ export var LinkTypes;
1279
1281
  /** YouTube link */
1280
1282
  LinkTypes["YouTube"] = "YOU_TUBE";
1281
1283
  })(LinkTypes || (LinkTypes = {}));
1284
+ /** MCP Server Types */
1285
+ export var McpServerTypes;
1286
+ (function (McpServerTypes) {
1287
+ /** Local MCP server using NPX */
1288
+ McpServerTypes["LocalNpx"] = "LOCAL_NPX";
1289
+ /** Remote MCP server using Streamable HTTP */
1290
+ McpServerTypes["RemoteHttp"] = "REMOTE_HTTP";
1291
+ /** Remote MCP server using SSE */
1292
+ McpServerTypes["RemoteSse"] = "REMOTE_SSE";
1293
+ })(McpServerTypes || (McpServerTypes = {}));
1282
1294
  /** Mail importance */
1283
1295
  export var MailImportance;
1284
1296
  (function (MailImportance) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250628004",
3
+ "version": "1.0.20250701001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",