@vitalfit/sdk 0.3.10 → 0.3.11

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 CHANGED
@@ -1907,6 +1907,8 @@ var ReportService = class {
1907
1907
  this.instructorStudentCountKPI = this.instructorStudentCountKPI.bind(this);
1908
1908
  this.instructorMonthlyClassesCount = this.instructorMonthlyClassesCount.bind(this);
1909
1909
  this.instructorClassesToday = this.instructorClassesToday.bind(this);
1910
+ this.instructorStudentsToday = this.instructorStudentsToday.bind(this);
1911
+ this.instructorAttendanceRate = this.instructorAttendanceRate.bind(this);
1910
1912
  this.weeklyRevenueKPI = this.weeklyRevenueKPI.bind(this);
1911
1913
  this.monthlyRecurringRevenueKPI = this.monthlyRecurringRevenueKPI.bind(this);
1912
1914
  this.accountsReceivableKPI = this.accountsReceivableKPI.bind(this);
@@ -2117,6 +2119,20 @@ var ReportService = class {
2117
2119
  });
2118
2120
  return response;
2119
2121
  }
2122
+ async instructorStudentsToday(jwt) {
2123
+ const response = await this.client.get({
2124
+ url: "/reports/instructors/students-today",
2125
+ jwt
2126
+ });
2127
+ return response;
2128
+ }
2129
+ async instructorAttendanceRate(jwt) {
2130
+ const response = await this.client.get({
2131
+ url: "/reports/instructors/attendance-rate",
2132
+ jwt
2133
+ });
2134
+ return response;
2135
+ }
2120
2136
  async weeklyRevenueKPI(jwt, branchId) {
2121
2137
  const response = await this.client.get({
2122
2138
  url: "/reports/kpi/weekly-revenue",
@@ -2777,7 +2793,7 @@ var VitalFit = class _VitalFit {
2777
2793
  return _VitalFit.instance;
2778
2794
  }
2779
2795
  version() {
2780
- return "0.3.10";
2796
+ return "0.3.11";
2781
2797
  }
2782
2798
  };
2783
2799
  // Annotate the CommonJS export names for ESM import in node: