@insignia-education/api-sdk-js 0.15.48 → 0.15.49
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/package.json +1 -1
- package/src/api/v1/Employee.js +0 -2
- package/src/api/v1/Sales.js +3 -0
package/package.json
CHANGED
package/src/api/v1/Employee.js
CHANGED
|
@@ -21,8 +21,6 @@ export default class Employee {
|
|
|
21
21
|
/** Reassign a single session's teacher (not the whole course_date — that's a course-config action). */
|
|
22
22
|
changeSessionTeacher: (sessionId, teacherId) =>
|
|
23
23
|
this.#client.patch(`${base}/sessions/${sessionId}/teacher`, { teacher_id: teacherId }),
|
|
24
|
-
/** Users with all 3 KYC files uploaded but not yet verified. */
|
|
25
|
-
kycPending: () => this.#client.get(`${base}/kyc-pending`),
|
|
26
24
|
};
|
|
27
25
|
}
|
|
28
26
|
}
|
package/src/api/v1/Sales.js
CHANGED
|
@@ -15,4 +15,7 @@ export default class Sales {
|
|
|
15
15
|
mySales({ page, perPage } = {}) {
|
|
16
16
|
return this.#client.get('/sales/my-sales', { page, per_page: perPage });
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
/** Sellers and above: users with all 3 KYC files uploaded but not yet verified. */
|
|
20
|
+
kycPending() { return this.#client.get('/sales/kyc-pending'); }
|
|
18
21
|
}
|