nazar-salary 3.2.1 → 3.2.3

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 (2) hide show
  1. package/index.d.ts +9 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -836,10 +836,12 @@ declare module 'nazar-salary' {
836
836
  operation_number: string;
837
837
  purchase_amount: number;
838
838
  prepayment: boolean;
839
+ is_verified: boolean;
839
840
  commission: number;
840
841
  net_amount: number;
841
- manager_commission: number;
842
- verified_at: string;
842
+ manager_commission: number | null;
843
+ created_at: string;
844
+ verified_at: string | null;
843
845
  }
844
846
 
845
847
  export interface ManagerSalaryItem {
@@ -851,6 +853,8 @@ declare module 'nazar-salary' {
851
853
  work_days: number;
852
854
  students_count: number;
853
855
  payments_count: number;
856
+ total_purchase_amount: number;
857
+ verified_purchase_amount: number;
854
858
  total_commission: number;
855
859
  /** Sum of refund commission deductions for this manager in the requested month */
856
860
  commission_deductions: number;
@@ -868,6 +872,8 @@ declare module 'nazar-salary' {
868
872
  total_managers: number;
869
873
  total_students: number;
870
874
  total_payments: number;
875
+ total_purchase_amount: number;
876
+ verified_purchase_amount: number;
871
877
  total_commission: number;
872
878
  /** Total refund commission deductions across all managers for the month */
873
879
  total_commission_deductions: number;
@@ -1117,6 +1123,7 @@ declare module 'nazar-salary' {
1117
1123
  lesson_group_id: number | null;
1118
1124
  /** enrollment_months * monthly_team_price; null if no team_salary config for this price */
1119
1125
  team_salary_amount: number | null;
1126
+ is_deleted: boolean;
1120
1127
  }
1121
1128
 
1122
1129
  export interface SearchStudentsParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nazar-salary",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Frontend library for Nazar Salary API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",