@visa-check-r/integrations 0.0.82 → 0.0.83

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/index.cjs.js CHANGED
@@ -1340,6 +1340,13 @@ var createUserCreditService = (client) => ({
1340
1340
 
1341
1341
  // src/services/checklist/schemas/checklist-item.schema.ts
1342
1342
  var checklistItemSchema = {
1343
+ getChecklistItemCount: (query) => `
1344
+ query getChecklistItemCount($checklistItem: ChecklistItemInput!) {
1345
+ getChecklistItemCount(checklistItem: $checklistItem) {
1346
+ ${query}
1347
+ }
1348
+ }
1349
+ `,
1343
1350
  getChecklistItem: (query) => `
1344
1351
  query getChecklistItem($checklistItem: ChecklistItemInput!) {
1345
1352
  getChecklistItem(checklistItem: $checklistItem) {
@@ -1408,6 +1415,7 @@ var getChecklistItemResponse = ["checklistItem"];
1408
1415
  var getChecklistItemResponseNestedFields = {
1409
1416
  checklistItem: checklistItemQuery
1410
1417
  };
1418
+ var getChecklistItemCountResponse = ["count"];
1411
1419
  var listChecklistItemResponse = [
1412
1420
  "checklistItems"
1413
1421
  ];
@@ -1464,6 +1472,19 @@ var createChecklistItemService = (client) => ({
1464
1472
  );
1465
1473
  return (_c = res.data) == null ? void 0 : _c.createChecklistItem;
1466
1474
  },
1475
+ async getChecklistItemCount(input, fetchFields, option) {
1476
+ var _a, _b;
1477
+ const res = await client.request(
1478
+ checklistItemSchema.getChecklistItemCount(
1479
+ gqlQueryStringBuilder(
1480
+ (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getChecklistItemCountResponse
1481
+ )
1482
+ ),
1483
+ input,
1484
+ option
1485
+ );
1486
+ return (_b = res.data) == null ? void 0 : _b.getChecklistItemCount;
1487
+ },
1467
1488
  async getChecklistItem(input, fetchFields, option) {
1468
1489
  var _a, _b, _c;
1469
1490
  const res = await client.request(
@@ -3614,6 +3635,7 @@ exports.getAIServerAuthResponse = getAIServerAuthResponse;
3614
3635
  exports.getAIServerAuthResponseNestedFields = getAIServerAuthResponseNestedFields;
3615
3636
  exports.getActivityLogResponseFields = getActivityLogResponseFields;
3616
3637
  exports.getActivityLogResponseNestedFields = getActivityLogResponseNestedFields;
3638
+ exports.getChecklistItemCountResponse = getChecklistItemCountResponse;
3617
3639
  exports.getChecklistItemResponse = getChecklistItemResponse;
3618
3640
  exports.getChecklistItemResponseNestedFields = getChecklistItemResponseNestedFields;
3619
3641
  exports.getConsultantAssignmentCountResponseFields = getConsultantAssignmentCountResponseFields;