@atomsolution/sdk-merchant 1.1.0 → 1.2.0

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,4 +1,4 @@
1
- import { ApiRolePayload, RoleFormData } from '../types/role';
1
+ import { ApiRolePayload } from '../types/role';
2
2
  export interface RoleListResponse {
3
3
  data: TRole[];
4
4
  errors: string | null;
@@ -36,8 +36,4 @@ export declare const createRoleService: (axiosClientPortal: any) => {
36
36
  success: boolean;
37
37
  message?: string;
38
38
  }>;
39
- validateRoleData: (data: RoleFormData) => {
40
- isValid: boolean;
41
- errors: string[];
42
- };
43
39
  };
package/dist/style.css CHANGED
@@ -1805,6 +1805,9 @@ video {
1805
1805
  .opacity-50 {
1806
1806
  opacity: 0.5;
1807
1807
  }
1808
+ .opacity-60 {
1809
+ opacity: 0.6;
1810
+ }
1808
1811
  .opacity-75 {
1809
1812
  opacity: 0.75;
1810
1813
  }
@@ -1,17 +1,17 @@
1
1
  export interface Permission {
2
- id: string;
2
+ code: string;
3
3
  label: string;
4
4
  is_primary: boolean;
5
5
  active: boolean;
6
6
  max: number | null;
7
7
  }
8
8
  export interface PermissionSubGroup {
9
- id: string;
9
+ code: string;
10
10
  label: string;
11
11
  permissions: Permission[];
12
12
  }
13
13
  export interface PermissionGroup {
14
- id: string;
14
+ code: string;
15
15
  label: string;
16
16
  isNested?: boolean;
17
17
  permissions?: Permission[];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.1.0",
6
+ "version": "1.2.0",
7
7
  "type": "module",
8
8
  "main": "dist/index.cjs",
9
9
  "module": "dist/index.esm.js",