nazar-salary 3.3.2 → 3.3.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.
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1242,6 +1242,8 @@ declare module 'nazar-salary' {
|
|
|
1242
1242
|
created_from?: string;
|
|
1243
1243
|
created_to?: string;
|
|
1244
1244
|
main_course?: string;
|
|
1245
|
+
/** If true, returns students who have finished the course (is_active=FALSE) */
|
|
1246
|
+
is_finished?: boolean;
|
|
1245
1247
|
page?: number;
|
|
1246
1248
|
limit?: number;
|
|
1247
1249
|
}
|
package/index.js
CHANGED
|
@@ -313,6 +313,7 @@ class SalaryAPI {
|
|
|
313
313
|
* @param {string} [params.created_from] - Filter by created date from (ISO 8601)
|
|
314
314
|
* @param {string} [params.created_to] - Filter by created date to (ISO 8601)
|
|
315
315
|
* @param {string} [params.main_course] - Filter by main course
|
|
316
|
+
* @param {boolean} [params.is_finished] - If true, returns students who have finished the course
|
|
316
317
|
* @param {number} [params.page=1] - Page number
|
|
317
318
|
* @param {number} [params.limit=30] - Items per page (max 30)
|
|
318
319
|
* @returns {Promise<{manager: object, total_students: number, current_page: number, total_pages: number, students: array}>}
|