graphlit-client 1.0.20251113002 → 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
@@ -426,6 +426,12 @@ declare class Graphlit {
426
426
  deleteInvestmentFund(id: string): Promise<Types.DeleteInvestmentFundMutation>;
427
427
  deleteInvestmentFunds(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteInvestmentFundsMutation>;
428
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>;
429
435
  /**
430
436
  * Creates an event handler that supports UI streaming mode
431
437
  * @internal
package/dist/client.js CHANGED
@@ -1882,6 +1882,36 @@ class Graphlit {
1882
1882
  correlationId: correlationId,
1883
1883
  });
1884
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
+ }
1885
1915
  /**
1886
1916
  * Creates an event handler that supports UI streaming mode
1887
1917
  * @internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20251113002",
3
+ "version": "1.0.20251118002",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",