@selfcommunity/api-services 0.4.9-alpha.14 → 0.4.9-alpha.15

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.
@@ -3,7 +3,7 @@ import { SCGroupType, SCUserType } from '@selfcommunity/types';
3
3
  import { AxiosRequestConfig } from 'axios';
4
4
  import { GroupCreateParams } from '../../types';
5
5
  export interface GroupApiClientInterface {
6
- getUserGroups(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
6
+ getUserGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
7
7
  searchGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
8
8
  getSpecificGroupInfo(id: number | string, config?: AxiosRequestConfig): Promise<SCGroupType>;
9
9
  getGroupFeed(id: number | string, params?: GroupFeedParams, config?: AxiosRequestConfig): Promise<any>;
@@ -33,7 +33,7 @@ export declare class GroupApiClient {
33
33
  * @param params
34
34
  * @param config
35
35
  */
36
- static getUserGroups(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
36
+ static getUserGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
37
37
  /**
38
38
  * This endpoint performs groups search
39
39
  * @param params
@@ -185,7 +185,7 @@ export declare class GroupApiClient {
185
185
  :::
186
186
  */
187
187
  export default class GroupService {
188
- static getUserGroups(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
188
+ static getUserGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
189
189
  static searchGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
190
190
  static getSpecificGroupInfo(id: number | string, config?: AxiosRequestConfig): Promise<SCGroupType>;
191
191
  static getGroupFeed(id: number | string, params?: GroupFeedParams, config?: AxiosRequestConfig): Promise<any>;
@@ -3,7 +3,7 @@ import { SCGroupType, SCUserType } from '@selfcommunity/types';
3
3
  import { AxiosRequestConfig } from 'axios';
4
4
  import { GroupCreateParams } from '../../types';
5
5
  export interface GroupApiClientInterface {
6
- getUserGroups(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
6
+ getUserGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
7
7
  searchGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
8
8
  getSpecificGroupInfo(id: number | string, config?: AxiosRequestConfig): Promise<SCGroupType>;
9
9
  getGroupFeed(id: number | string, params?: GroupFeedParams, config?: AxiosRequestConfig): Promise<any>;
@@ -33,7 +33,7 @@ export declare class GroupApiClient {
33
33
  * @param params
34
34
  * @param config
35
35
  */
36
- static getUserGroups(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
36
+ static getUserGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
37
37
  /**
38
38
  * This endpoint performs groups search
39
39
  * @param params
@@ -185,7 +185,7 @@ export declare class GroupApiClient {
185
185
  :::
186
186
  */
187
187
  export default class GroupService {
188
- static getUserGroups(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
188
+ static getUserGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
189
189
  static searchGroups(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCGroupType>>;
190
190
  static getSpecificGroupInfo(id: number | string, config?: AxiosRequestConfig): Promise<SCGroupType>;
191
191
  static getGroupFeed(id: number | string, params?: GroupFeedParams, config?: AxiosRequestConfig): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/api-services",
3
- "version": "0.4.9-alpha.14",
3
+ "version": "0.4.9-alpha.15",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "./lib/cjs/index.js",
@@ -110,5 +110,5 @@
110
110
  "bugs": {
111
111
  "url": "https://github.com/selfcommunity/community-js/issues"
112
112
  },
113
- "gitHead": "cb4f8da927002a85f869dc790568e9a544ea7039"
113
+ "gitHead": "70678c004422472c21b1f774bed4fd6ca5de909a"
114
114
  }