nazar-salary 3.2.0 → 3.2.2

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.
Files changed (3) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -653,6 +653,7 @@ declare module 'nazar-salary' {
653
653
  export interface UpdateStudentData {
654
654
  first_name?: string;
655
655
  last_name?: string;
656
+ phone?: string;
656
657
  enrollment_months?: number;
657
658
  age?: number;
658
659
  group_name?: string;
@@ -1116,6 +1117,7 @@ declare module 'nazar-salary' {
1116
1117
  lesson_group_id: number | null;
1117
1118
  /** enrollment_months * monthly_team_price; null if no team_salary config for this price */
1118
1119
  team_salary_amount: number | null;
1120
+ is_deleted: boolean;
1119
1121
  }
1120
1122
 
1121
1123
  export interface SearchStudentsParams {
package/index.js CHANGED
@@ -554,6 +554,7 @@ class SalaryAPI {
554
554
  * @param {object} data - Update data
555
555
  * @param {string} [data.first_name] - First name
556
556
  * @param {string} [data.last_name] - Last name
557
+ * @param {string} [data.phone] - Phone number (11 digits)
557
558
  * @param {number} [data.enrollment_months] - Enrollment months (1-12), recalculates total_lessons
558
559
  * @param {number} [data.age] - Age
559
560
  * @param {string} [data.group_name] - Group name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nazar-salary",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "Frontend library for Nazar Salary API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",