@selfcommunity/api-services 0.6.4-courses.224 → 0.6.4-courses.227
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.
|
@@ -39,7 +39,7 @@ export interface CourseApiClientInterface {
|
|
|
39
39
|
getCourseSuggestedUsers(id: number | string, search: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
40
40
|
getCourseInvitedUsers(id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
41
41
|
getCourseJoinedUsers(id: number | string, params?: CourseUsersParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
42
|
-
joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<
|
|
42
|
+
joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<SCCourseType>;
|
|
43
43
|
leaveOrRemoveCourseRequest(id: number | string, params?: {
|
|
44
44
|
user: number;
|
|
45
45
|
}, config?: AxiosRequestConfig): Promise<any>;
|
|
@@ -330,7 +330,7 @@ export declare class CourseApiClient {
|
|
|
330
330
|
* @param id
|
|
331
331
|
* @param config
|
|
332
332
|
*/
|
|
333
|
-
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<
|
|
333
|
+
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<SCCourseType>;
|
|
334
334
|
/**
|
|
335
335
|
* This endpoint unsubscribes from a course.
|
|
336
336
|
* @param id
|
|
@@ -436,7 +436,7 @@ export default class CourseService {
|
|
|
436
436
|
static getCourseSuggestedUsers(id: number | string, search: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
437
437
|
static getCourseInvitedUsers(id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
438
438
|
static getCourseJoinedUsers(id: number | string, params?: CourseUsersParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
439
|
-
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<
|
|
439
|
+
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<SCCourseType>;
|
|
440
440
|
static leaveOrRemoveCourseRequest(id: number | string, params?: {
|
|
441
441
|
user: number;
|
|
442
442
|
}, config?: AxiosRequestConfig): Promise<any>;
|
|
@@ -39,7 +39,7 @@ export interface CourseApiClientInterface {
|
|
|
39
39
|
getCourseSuggestedUsers(id: number | string, search: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
40
40
|
getCourseInvitedUsers(id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
41
41
|
getCourseJoinedUsers(id: number | string, params?: CourseUsersParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
42
|
-
joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<
|
|
42
|
+
joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<SCCourseType>;
|
|
43
43
|
leaveOrRemoveCourseRequest(id: number | string, params?: {
|
|
44
44
|
user: number;
|
|
45
45
|
}, config?: AxiosRequestConfig): Promise<any>;
|
|
@@ -330,7 +330,7 @@ export declare class CourseApiClient {
|
|
|
330
330
|
* @param id
|
|
331
331
|
* @param config
|
|
332
332
|
*/
|
|
333
|
-
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<
|
|
333
|
+
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<SCCourseType>;
|
|
334
334
|
/**
|
|
335
335
|
* This endpoint unsubscribes from a course.
|
|
336
336
|
* @param id
|
|
@@ -436,7 +436,7 @@ export default class CourseService {
|
|
|
436
436
|
static getCourseSuggestedUsers(id: number | string, search: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
437
437
|
static getCourseInvitedUsers(id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
438
438
|
static getCourseJoinedUsers(id: number | string, params?: CourseUsersParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
|
|
439
|
-
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<
|
|
439
|
+
static joinOrAcceptInviteToCourse(id: number | string, config?: AxiosRequestConfig): Promise<SCCourseType>;
|
|
440
440
|
static leaveOrRemoveCourseRequest(id: number | string, params?: {
|
|
441
441
|
user: number;
|
|
442
442
|
}, config?: AxiosRequestConfig): Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/api-services",
|
|
3
|
-
"version": "0.6.4-courses.
|
|
3
|
+
"version": "0.6.4-courses.227+a3d873d7f",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@selfcommunity/types": "0.7.4-courses.
|
|
62
|
-
"@selfcommunity/utils": "0.2.61-courses.
|
|
61
|
+
"@selfcommunity/types": "0.7.4-courses.227+a3d873d7f",
|
|
62
|
+
"@selfcommunity/utils": "0.2.61-courses.227+a3d873d7f",
|
|
63
63
|
"axios": "^1.4.0",
|
|
64
64
|
"jose": "^4.14.4"
|
|
65
65
|
},
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"bugs": {
|
|
116
116
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "a3d873d7fccf32ec53d945ac16e72ccef74059e4"
|
|
119
119
|
}
|