graphlit-client 1.0.20251113001 → 1.0.20251118002

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
@@ -166,6 +166,7 @@ declare class Graphlit {
166
166
  queryContentsObservations(filter?: Types.ContentFilter): Promise<Types.QueryContentsObservationsQuery>;
167
167
  queryContentsFacets(filter?: Types.ContentFilter): Promise<Types.QueryContentsFacetsQuery>;
168
168
  queryContentsGraph(filter?: Types.ContentFilter): Promise<Types.QueryContentsGraphQuery>;
169
+ queryGraph(filter?: Types.GraphFilter, graph?: Types.GraphInput, correlationId?: string): Promise<Types.QueryGraphQuery>;
169
170
  countContents(filter?: Types.ContentFilter): Promise<Types.CountContentsQuery>;
170
171
  isContentDone(id: string): Promise<Types.IsContentDoneQuery>;
171
172
  createConversation(conversation: Types.ConversationInput, correlationId?: string): Promise<Types.CreateConversationMutation>;
@@ -425,6 +426,12 @@ declare class Graphlit {
425
426
  deleteInvestmentFund(id: string): Promise<Types.DeleteInvestmentFundMutation>;
426
427
  deleteInvestmentFunds(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteInvestmentFundsMutation>;
427
428
  deleteAllInvestmentFunds(filter?: Types.InvestmentFundFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllInvestmentFundsMutation>;
429
+ getInvestment(id: string, correlationId?: string): Promise<Types.GetInvestmentQuery>;
430
+ queryInvestments(filter?: Types.InvestmentFilter, correlationId?: string): Promise<Types.QueryInvestmentsQuery>;
431
+ countInvestments(filter?: Types.InvestmentFilter, correlationId?: string): Promise<Types.CountInvestmentsQuery>;
432
+ getInvestmentFund(id: string, correlationId?: string): Promise<Types.GetInvestmentFundQuery>;
433
+ queryInvestmentFunds(filter?: Types.InvestmentFundFilter, correlationId?: string): Promise<Types.QueryInvestmentFundsQuery>;
434
+ countInvestmentFunds(filter?: Types.InvestmentFundFilter, correlationId?: string): Promise<Types.CountInvestmentFundsQuery>;
428
435
  /**
429
436
  * Creates an event handler that supports UI streaming mode
430
437
  * @internal
package/dist/client.js CHANGED
@@ -767,6 +767,13 @@ class Graphlit {
767
767
  },
768
768
  });
769
769
  }
770
+ async queryGraph(filter, graph, correlationId) {
771
+ return this.queryAndCheckError(Documents.QueryGraph, {
772
+ filter: filter,
773
+ graph: graph,
774
+ correlationId: correlationId,
775
+ });
776
+ }
770
777
  async countContents(filter) {
771
778
  return this.queryAndCheckError(Documents.CountContents, { filter: filter });
772
779
  }
@@ -1875,6 +1882,36 @@ class Graphlit {
1875
1882
  correlationId: correlationId,
1876
1883
  });
1877
1884
  }
1885
+ async getInvestment(id, correlationId) {
1886
+ return this.queryAndCheckError(Documents.GetInvestment, { id: id, correlationId: correlationId });
1887
+ }
1888
+ async queryInvestments(filter, correlationId) {
1889
+ return this.queryAndCheckError(Documents.QueryInvestments, {
1890
+ filter: filter,
1891
+ correlationId: correlationId,
1892
+ });
1893
+ }
1894
+ async countInvestments(filter, correlationId) {
1895
+ return this.queryAndCheckError(Documents.CountInvestments, {
1896
+ filter: filter,
1897
+ correlationId: correlationId,
1898
+ });
1899
+ }
1900
+ async getInvestmentFund(id, correlationId) {
1901
+ return this.queryAndCheckError(Documents.GetInvestmentFund, { id: id, correlationId: correlationId });
1902
+ }
1903
+ async queryInvestmentFunds(filter, correlationId) {
1904
+ return this.queryAndCheckError(Documents.QueryInvestmentFunds, {
1905
+ filter: filter,
1906
+ correlationId: correlationId,
1907
+ });
1908
+ }
1909
+ async countInvestmentFunds(filter, correlationId) {
1910
+ return this.queryAndCheckError(Documents.CountInvestmentFunds, {
1911
+ filter: filter,
1912
+ correlationId: correlationId,
1913
+ });
1914
+ }
1878
1915
  /**
1879
1916
  * Creates an event handler that supports UI streaming mode
1880
1917
  * @internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20251113001",
3
+ "version": "1.0.20251118002",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",