@ieeesa-npm/groups 0.0.2 → 0.0.5

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.
@@ -1,8 +1,9 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { CreateGroupPayload, CreateGroupResponse } from '../models/create-group.model';
3
- import { AlertsService, HttpService } from '@ieeesa-npm/utility';
4
3
  import { GroupTypeResponse } from '../models/group-types.model';
4
+ import { AlertsService, HttpService } from '@ieeesa-npm/utility';
5
5
  import { GetGroupResponse } from '../models/view-group.model';
6
+ import { DeleteGroupPayload } from '../models/delete-group.model';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Groups service is an abstract layer and responsible for managing groups REST API calls.
@@ -17,6 +18,8 @@ export declare class GroupsService {
17
18
  "1010": string;
18
19
  "1011": string;
19
20
  "1012": string;
21
+ "1009": string;
22
+ "1008": string;
20
23
  };
21
24
  apiBaseUrl: string;
22
25
  userPermission: any;
@@ -35,6 +38,13 @@ export declare class GroupsService {
35
38
  * @memberof GroupsService
36
39
  */
37
40
  getAllGroups(getGroupsPayload: any): Observable<GetGroupResponse>;
41
+ /**
42
+ * Deletes a group based on the provided information
43
+ * @param {groupId} string -groupId of the group which is to be deleted
44
+ * @return {*} {Observable<any>} -Observable representing the group deletion response
45
+ * @memberof GroupsService
46
+ */
47
+ deleteGroup(deleteGroupPayload: DeleteGroupPayload): Observable<any>;
38
48
  /**
39
49
  * Posts create group form data to server using HttpService for creating new group.
40
50
  * @param {CreateGroupPayload} createGroupPayload -create group form data which includes group name, type, short name, scope.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/groups",
3
- "version": "0.0.2",
3
+ "version": "0.0.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
7
- "@ieeesa-npm/presentation": "^0.3.0",
7
+ "@ieeesa-npm/presentation": "^0.3.3",
8
8
  "@ieeesa-npm/shared-styles": "^0.0.5",
9
- "@ieeesa-npm/utility": "^0.2.4"
9
+ "@ieeesa-npm/utility": "^0.2.5"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.3.0"