@visa-check-r/integrations 0.0.14 → 0.0.15

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
@@ -629,9 +629,9 @@ var activityLogSchema = {
629
629
 
630
630
  // src/services/user/activity-log.service.ts
631
631
  var createActivityLogService = (client) => ({
632
- getActivityLog(input, fetchFields, option) {
633
- var _a, _b;
634
- return client.request(
632
+ async getActivityLog(input, fetchFields, option) {
633
+ var _a, _b, _c;
634
+ const res = await client.request(
635
635
  activityLogSchema.getActivityLog(
636
636
  gqlQueryStringBuilder(
637
637
  (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getActivityLogResponseFields,
@@ -641,10 +641,11 @@ var createActivityLogService = (client) => ({
641
641
  input,
642
642
  option
643
643
  );
644
+ return (_c = res.data) == null ? void 0 : _c.getActivityLog;
644
645
  },
645
- listActivityLogs(input, fetchFields, option) {
646
- var _a, _b;
647
- return client.request(
646
+ async listActivityLogs(input, fetchFields, option) {
647
+ var _a, _b, _c;
648
+ const res = await client.request(
648
649
  activityLogSchema.listActivityLogs(
649
650
  gqlQueryStringBuilder(
650
651
  (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listActivityLogsResponseFields,
@@ -654,6 +655,7 @@ var createActivityLogService = (client) => ({
654
655
  input,
655
656
  option
656
657
  );
658
+ return (_c = res.data) == null ? void 0 : _c.listActivityLogs;
657
659
  }
658
660
  });
659
661