nazar-salary 3.2.3 → 3.2.4

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 +6 -4
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -421,7 +421,7 @@ declare module 'nazar-salary' {
421
421
  description?: string;
422
422
  format: PriceFormat;
423
423
  lesson_type: LessonType;
424
- lessons_per_month: 8 | 12 | 16;
424
+ lessons_per_month: number;
425
425
  duration_minutes: number;
426
426
  rate_per_lesson: number;
427
427
  created_at: number;
@@ -433,7 +433,8 @@ declare module 'nazar-salary' {
433
433
  description?: string;
434
434
  format: PriceFormat;
435
435
  lesson_type: LessonType;
436
- lessons_per_month: 8 | 12 | 16;
436
+ /** Integer from 1 to 30 */
437
+ lessons_per_month: number;
437
438
  duration_minutes: number;
438
439
  rate_per_lesson: number;
439
440
  }
@@ -443,7 +444,8 @@ declare module 'nazar-salary' {
443
444
  description?: string;
444
445
  format?: PriceFormat;
445
446
  lesson_type?: LessonType;
446
- lessons_per_month?: 8 | 12 | 16;
447
+ /** Integer from 1 to 30 */
448
+ lessons_per_month?: number;
447
449
  rate_per_lesson?: number;
448
450
  }
449
451
 
@@ -455,7 +457,7 @@ declare module 'nazar-salary' {
455
457
  id: number;
456
458
  format: PriceFormat;
457
459
  lesson_type: LessonType;
458
- lessons_per_month: 8 | 12 | 16;
460
+ lessons_per_month: number;
459
461
  duration_minutes: number;
460
462
  rate_per_lesson: number;
461
463
  created_at: number;
package/index.js CHANGED
@@ -442,7 +442,7 @@ class SalaryAPI {
442
442
  * @param {string} [data.description] - Description
443
443
  * @param {string} data.format - Format: individual, duet, trio, group
444
444
  * @param {string} data.lesson_type - Lesson type: online, offline
445
- * @param {number} data.lessons_per_month - Lessons per month: 8 or 12 or 16
445
+ * @param {number} data.lessons_per_month - Lessons per month: integer from 1 to 30
446
446
  * @param {number} data.duration_minutes - Duration in minutes
447
447
  * @param {number} data.rate_per_lesson - Rate per lesson in tenge
448
448
  * @returns {Promise<object>}
@@ -477,7 +477,7 @@ class SalaryAPI {
477
477
  * @param {string} [data.description] - Description
478
478
  * @param {string} [data.format] - Format: individual, duet, trio, group
479
479
  * @param {string} [data.lesson_type] - Lesson type: online, offline
480
- * @param {number} [data.lessons_per_month] - Lessons per month: 8 or 12 or 16
480
+ * @param {number} [data.lessons_per_month] - Lessons per month: integer from 1 to 30
481
481
  * @param {number} [data.rate_per_lesson] - Rate per lesson in tenge
482
482
  * @returns {Promise<object>}
483
483
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nazar-salary",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "Frontend library for Nazar Salary API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",