graphlit-client 1.0.20251118002 → 1.0.20251119001

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
@@ -279,6 +279,7 @@ declare class Graphlit {
279
279
  deleteAllCategories(filter?: Types.CategoryFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllCategoriesMutation>;
280
280
  getCategory(id: string): Promise<Types.GetCategoryQuery>;
281
281
  queryCategories(filter?: Types.CategoryFilter): Promise<Types.QueryCategoriesQuery>;
282
+ countCategories(filter?: Types.CategoryFilter, correlationId?: string): Promise<Types.CountCategoriesQuery>;
282
283
  createLabel(label: Types.LabelInput): Promise<Types.CreateLabelMutation>;
283
284
  updateLabel(label: Types.LabelUpdateInput): Promise<Types.UpdateLabelMutation>;
284
285
  upsertLabel(label: Types.LabelInput): Promise<Types.UpsertLabelMutation>;
@@ -287,6 +288,7 @@ declare class Graphlit {
287
288
  deleteAllLabels(filter?: Types.LabelFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllLabelsMutation>;
288
289
  getLabel(id: string): Promise<Types.GetLabelQuery>;
289
290
  queryLabels(filter?: Types.LabelFilter): Promise<Types.QueryLabelsQuery>;
291
+ countLabels(filter?: Types.LabelFilter, correlationId?: string): Promise<Types.CountLabelsQuery>;
290
292
  createPerson(person: Types.PersonInput): Promise<Types.CreatePersonMutation>;
291
293
  updatePerson(person: Types.PersonUpdateInput): Promise<Types.UpdatePersonMutation>;
292
294
  deletePerson(id: string): Promise<Types.DeletePersonMutation>;
@@ -294,6 +296,7 @@ declare class Graphlit {
294
296
  deleteAllPersons(filter?: Types.PersonFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllPersonsMutation>;
295
297
  getPerson(id: string): Promise<Types.GetPersonQuery>;
296
298
  queryPersons(filter?: Types.PersonFilter): Promise<Types.QueryPersonsQuery>;
299
+ countPersons(filter?: Types.PersonFilter, correlationId?: string): Promise<Types.CountPersonsQuery>;
297
300
  createOrganization(organization: Types.OrganizationInput): Promise<Types.CreateOrganizationMutation>;
298
301
  updateOrganization(organization: Types.OrganizationUpdateInput): Promise<Types.UpdateOrganizationMutation>;
299
302
  deleteOrganization(id: string): Promise<Types.DeleteOrganizationMutation>;
@@ -301,6 +304,7 @@ declare class Graphlit {
301
304
  deleteAllOrganizations(filter?: Types.OrganizationFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllOrganizationsMutation>;
302
305
  getOrganization(id: string): Promise<Types.GetOrganizationQuery>;
303
306
  queryOrganizations(filter?: Types.OrganizationFilter): Promise<Types.QueryOrganizationsQuery>;
307
+ countOrganizations(filter?: Types.OrganizationFilter, correlationId?: string): Promise<Types.CountOrganizationsQuery>;
304
308
  createPlace(place: Types.PlaceInput): Promise<Types.CreatePlaceMutation>;
305
309
  updatePlace(place: Types.PlaceUpdateInput): Promise<Types.UpdatePlaceMutation>;
306
310
  deletePlace(id: string): Promise<Types.DeletePlaceMutation>;
@@ -308,6 +312,7 @@ declare class Graphlit {
308
312
  deleteAllPlaces(filter?: Types.PlaceFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllPlacesMutation>;
309
313
  getPlace(id: string): Promise<Types.GetPlaceQuery>;
310
314
  queryPlaces(filter?: Types.PlaceFilter): Promise<Types.QueryPlacesQuery>;
315
+ countPlaces(filter?: Types.PlaceFilter, correlationId?: string): Promise<Types.CountPlacesQuery>;
311
316
  createEvent(event: Types.EventInput): Promise<Types.CreateEventMutation>;
312
317
  updateEvent(event: Types.EventUpdateInput): Promise<Types.UpdateEventMutation>;
313
318
  deleteEvent(id: string): Promise<Types.DeleteEventMutation>;
@@ -315,6 +320,7 @@ declare class Graphlit {
315
320
  deleteAllEvents(filter?: Types.EventFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllEventsMutation>;
316
321
  getEvent(id: string): Promise<Types.GetEventQuery>;
317
322
  queryEvents(filter?: Types.EventFilter): Promise<Types.QueryEventsQuery>;
323
+ countEvents(filter?: Types.EventFilter, correlationId?: string): Promise<Types.CountEventsQuery>;
318
324
  createProduct(product: Types.ProductInput): Promise<Types.CreateProductMutation>;
319
325
  updateProduct(product: Types.ProductUpdateInput): Promise<Types.UpdateProductMutation>;
320
326
  deleteProduct(id: string): Promise<Types.DeleteProductMutation>;
@@ -322,6 +328,7 @@ declare class Graphlit {
322
328
  deleteAllProducts(filter?: Types.ProductFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllProductsMutation>;
323
329
  getProduct(id: string): Promise<Types.GetProductQuery>;
324
330
  queryProducts(filter?: Types.ProductFilter): Promise<Types.QueryProductsQuery>;
331
+ countProducts(filter?: Types.ProductFilter, correlationId?: string): Promise<Types.CountProductsQuery>;
325
332
  createRepo(repo: Types.RepoInput): Promise<Types.CreateRepoMutation>;
326
333
  updateRepo(repo: Types.RepoUpdateInput): Promise<Types.UpdateRepoMutation>;
327
334
  deleteRepo(id: string): Promise<Types.DeleteRepoMutation>;
@@ -329,6 +336,7 @@ declare class Graphlit {
329
336
  deleteAllRepos(filter?: Types.RepoFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllReposMutation>;
330
337
  getRepo(id: string): Promise<Types.GetRepoQuery>;
331
338
  queryRepos(filter?: Types.RepoFilter): Promise<Types.QueryReposQuery>;
339
+ countRepos(filter?: Types.RepoFilter, correlationId?: string): Promise<Types.CountReposQuery>;
332
340
  createSoftware(software: Types.SoftwareInput): Promise<Types.CreateSoftwareMutation>;
333
341
  updateSoftware(software: Types.SoftwareUpdateInput): Promise<Types.UpdateSoftwareMutation>;
334
342
  deleteSoftware(id: string): Promise<Types.DeleteSoftwareMutation>;
@@ -336,6 +344,7 @@ declare class Graphlit {
336
344
  deleteAllSoftwares(filter?: Types.SoftwareFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllSoftwaresMutation>;
337
345
  getSoftware(id: string): Promise<Types.GetSoftwareQuery>;
338
346
  querySoftwares(filter?: Types.SoftwareFilter): Promise<Types.QuerySoftwaresQuery>;
347
+ countSoftwares(filter?: Types.SoftwareFilter, correlationId?: string): Promise<Types.CountSoftwaresQuery>;
339
348
  createMedicalCondition(MedicalCondition: Types.MedicalConditionInput): Promise<Types.CreateMedicalConditionMutation>;
340
349
  updateMedicalCondition(MedicalCondition: Types.MedicalConditionUpdateInput): Promise<Types.UpdateMedicalConditionMutation>;
341
350
  deleteMedicalCondition(id: string): Promise<Types.DeleteMedicalConditionMutation>;
package/dist/client.js CHANGED
@@ -1313,6 +1313,12 @@ class Graphlit {
1313
1313
  async queryCategories(filter) {
1314
1314
  return this.queryAndCheckError(Documents.QueryCategories, { filter: filter });
1315
1315
  }
1316
+ async countCategories(filter, correlationId) {
1317
+ return this.queryAndCheckError(Documents.CountCategories, {
1318
+ filter: filter,
1319
+ correlationId: correlationId,
1320
+ });
1321
+ }
1316
1322
  async createLabel(label) {
1317
1323
  return this.mutateAndCheckError(Documents.CreateLabel, { label: label });
1318
1324
  }
@@ -1341,6 +1347,12 @@ class Graphlit {
1341
1347
  async queryLabels(filter) {
1342
1348
  return this.queryAndCheckError(Documents.QueryLabels, { filter: filter });
1343
1349
  }
1350
+ async countLabels(filter, correlationId) {
1351
+ return this.queryAndCheckError(Documents.CountLabels, {
1352
+ filter: filter,
1353
+ correlationId: correlationId,
1354
+ });
1355
+ }
1344
1356
  async createPerson(person) {
1345
1357
  return this.mutateAndCheckError(Documents.CreatePerson, { person: person });
1346
1358
  }
@@ -1366,6 +1378,12 @@ class Graphlit {
1366
1378
  async queryPersons(filter) {
1367
1379
  return this.queryAndCheckError(Documents.QueryPersons, { filter: filter });
1368
1380
  }
1381
+ async countPersons(filter, correlationId) {
1382
+ return this.queryAndCheckError(Documents.CountPersons, {
1383
+ filter: filter,
1384
+ correlationId: correlationId,
1385
+ });
1386
+ }
1369
1387
  async createOrganization(organization) {
1370
1388
  return this.mutateAndCheckError(Documents.CreateOrganization, { organization: organization });
1371
1389
  }
@@ -1394,6 +1412,12 @@ class Graphlit {
1394
1412
  async queryOrganizations(filter) {
1395
1413
  return this.queryAndCheckError(Documents.QueryOrganizations, { filter: filter });
1396
1414
  }
1415
+ async countOrganizations(filter, correlationId) {
1416
+ return this.queryAndCheckError(Documents.CountOrganizations, {
1417
+ filter: filter,
1418
+ correlationId: correlationId,
1419
+ });
1420
+ }
1397
1421
  async createPlace(place) {
1398
1422
  return this.mutateAndCheckError(Documents.CreatePlace, { place: place });
1399
1423
  }
@@ -1419,6 +1443,12 @@ class Graphlit {
1419
1443
  async queryPlaces(filter) {
1420
1444
  return this.queryAndCheckError(Documents.QueryPlaces, { filter: filter });
1421
1445
  }
1446
+ async countPlaces(filter, correlationId) {
1447
+ return this.queryAndCheckError(Documents.CountPlaces, {
1448
+ filter: filter,
1449
+ correlationId: correlationId,
1450
+ });
1451
+ }
1422
1452
  async createEvent(event) {
1423
1453
  return this.mutateAndCheckError(Documents.CreateEvent, { event: event });
1424
1454
  }
@@ -1444,6 +1474,12 @@ class Graphlit {
1444
1474
  async queryEvents(filter) {
1445
1475
  return this.queryAndCheckError(Documents.QueryEvents, { filter: filter });
1446
1476
  }
1477
+ async countEvents(filter, correlationId) {
1478
+ return this.queryAndCheckError(Documents.CountEvents, {
1479
+ filter: filter,
1480
+ correlationId: correlationId,
1481
+ });
1482
+ }
1447
1483
  async createProduct(product) {
1448
1484
  return this.mutateAndCheckError(Documents.CreateProduct, { product: product });
1449
1485
  }
@@ -1469,6 +1505,12 @@ class Graphlit {
1469
1505
  async queryProducts(filter) {
1470
1506
  return this.queryAndCheckError(Documents.QueryProducts, { filter: filter });
1471
1507
  }
1508
+ async countProducts(filter, correlationId) {
1509
+ return this.queryAndCheckError(Documents.CountProducts, {
1510
+ filter: filter,
1511
+ correlationId: correlationId,
1512
+ });
1513
+ }
1472
1514
  async createRepo(repo) {
1473
1515
  return this.mutateAndCheckError(Documents.CreateRepo, { repo: repo });
1474
1516
  }
@@ -1494,6 +1536,12 @@ class Graphlit {
1494
1536
  async queryRepos(filter) {
1495
1537
  return this.queryAndCheckError(Documents.QueryRepos, { filter: filter });
1496
1538
  }
1539
+ async countRepos(filter, correlationId) {
1540
+ return this.queryAndCheckError(Documents.CountRepos, {
1541
+ filter: filter,
1542
+ correlationId: correlationId,
1543
+ });
1544
+ }
1497
1545
  async createSoftware(software) {
1498
1546
  return this.mutateAndCheckError(Documents.CreateSoftware, { software: software });
1499
1547
  }
@@ -1519,6 +1567,12 @@ class Graphlit {
1519
1567
  async querySoftwares(filter) {
1520
1568
  return this.queryAndCheckError(Documents.QuerySoftwares, { filter: filter });
1521
1569
  }
1570
+ async countSoftwares(filter, correlationId) {
1571
+ return this.queryAndCheckError(Documents.CountSoftwares, {
1572
+ filter: filter,
1573
+ correlationId: correlationId,
1574
+ });
1575
+ }
1522
1576
  async createMedicalCondition(MedicalCondition) {
1523
1577
  return this.mutateAndCheckError(Documents.CreateMedicalCondition, { medicalCondition: MedicalCondition });
1524
1578
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20251118002",
3
+ "version": "1.0.20251119001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",