types-salon-management 1.0.13 → 1.0.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.
@@ -14,4 +14,5 @@ export * from './user/index';
14
14
  export * from './company-settings/index';
15
15
  export * from './staff/index';
16
16
  export * from './user-roles/index';
17
+ export * from './permissions/index';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
package/dist/api/index.js CHANGED
@@ -30,4 +30,5 @@ __exportStar(require("./user/index"), exports);
30
30
  __exportStar(require("./company-settings/index"), exports);
31
31
  __exportStar(require("./staff/index"), exports);
32
32
  __exportStar(require("./user-roles/index"), exports);
33
+ __exportStar(require("./permissions/index"), exports);
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,0CAAwB;AACxB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,qDAAmC;AACnC,wDAAsC;AACtC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,2DAAyC;AACzC,gDAA8B;AAC9B,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,0CAAwB;AACxB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,qDAAmC;AACnC,wDAAsC;AACtC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,2DAAyC;AACzC,gDAA8B;AAC9B,qDAAmC;AACnC,sDAAoC"}
@@ -0,0 +1,2 @@
1
+ export type { PermissionCatalogDto, PermissionCatalogGroupDto, PermissionCatalogItemDto, } from './permission-catalog.dto';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/permissions/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/permissions/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ export interface PermissionCatalogGroupDto {
2
+ id: string;
3
+ name: string;
4
+ order: number;
5
+ }
6
+ export interface PermissionCatalogItemDto {
7
+ key: string;
8
+ groupId: string;
9
+ label: string;
10
+ order: number;
11
+ }
12
+ export interface PermissionCatalogDto {
13
+ groups: PermissionCatalogGroupDto[];
14
+ permissions: PermissionCatalogItemDto[];
15
+ }
16
+ //# sourceMappingURL=permission-catalog.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission-catalog.dto.d.ts","sourceRoot":"","sources":["../../../src/api/permissions/permission-catalog.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,yBAAyB,EAAE,CAAC;IACpC,WAAW,EAAE,wBAAwB,EAAE,CAAC;CACzC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=permission-catalog.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission-catalog.dto.js","sourceRoot":"","sources":["../../../src/api/permissions/permission-catalog.dto.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export type { StaffSummaryDto, StaffDetailDto, StaffRoleSummaryDto } from './staff.dto';
1
+ export type { CalendarStaffResourceDto, StaffSummaryDto, StaffDetailDto, StaffRoleSummaryDto, } from './staff.dto';
2
2
  export type { UserRoleSummaryDto } from '../user-roles';
3
3
  export type { ChangeStaffPasswordRequest, CreateStaffRequest, EnableStaffLoginRequest, UpdateStaffRequest, } from './staff.requests';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/staff/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACxF,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EACV,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/staff/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,wBAAwB,EACxB,eAAe,EACf,cAAc,EACd,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EACV,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC"}
@@ -35,4 +35,15 @@ export interface StaffDetailDto extends StaffSummaryDto {
35
35
  note: string | null;
36
36
  address: LocationAddressDto | null;
37
37
  }
38
+ /** Bookable staff row for scheduler / calendar resource columns */
39
+ export interface CalendarStaffResourceDto {
40
+ id: string;
41
+ userId: string | null;
42
+ firstName: string | null;
43
+ lastName: string | null;
44
+ title: string | null;
45
+ color: string | null;
46
+ photoUrl: string | null;
47
+ qualificationIds: string[];
48
+ }
38
49
  //# sourceMappingURL=staff.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"staff.dto.d.ts","sourceRoot":"","sources":["../../../src/api/staff/staff.dto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAk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AM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACpC;AAED,mEAAmE;AACnE,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B"}
@@ -1,2 +1,2 @@
1
- export type { CreateUserRoleRequest, UpdateUserRoleRequest, UserRoleDetailDto, UserRoleDto, UserRoleSummaryDto, } from './user-role.dto';
1
+ export type { CreateUserRoleRequest, ReorderUserRolesRequest, UpdateUserRoleRequest, UserRoleDetailDto, UserRoleDto, UserRoleSummaryDto, } from './user-role.dto';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/user-roles/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,GACnB,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/user-roles/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,GACnB,MAAM,iBAAiB,CAAC"}
@@ -22,6 +22,12 @@ export interface UpdateUserRoleRequest {
22
22
  name?: string;
23
23
  permissions?: Record<string, boolean>;
24
24
  }
25
+ export interface ReorderUserRolesRequest {
26
+ updates: Array<{
27
+ id: string;
28
+ order: number;
29
+ }>;
30
+ }
25
31
  /** Same shape as staff summary `role`; list item for pickers. */
26
32
  export type UserRoleSummaryDto = Pick<UserRoleDto, 'id' | 'name' | 'value'>;
27
33
  //# sourceMappingURL=user-role.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-role.dto.d.ts","sourceRoot":"","sources":["../../../src/api/user-roles/user-role.dto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC;AAED,iEAAiE;AACjE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"user-role.dto.d.ts","sourceRoot":"","sources":["../../../src/api/user-roles/user-role.dto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,iEAAiE;AACjE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "types-salon-management",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Types for Salon Management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/api/index.ts CHANGED
@@ -14,3 +14,4 @@ export * from './user/index';
14
14
  export * from './company-settings/index';
15
15
  export * from './staff/index';
16
16
  export * from './user-roles/index';
17
+ export * from './permissions/index';
@@ -0,0 +1,5 @@
1
+ export type {
2
+ PermissionCatalogDto,
3
+ PermissionCatalogGroupDto,
4
+ PermissionCatalogItemDto,
5
+ } from './permission-catalog.dto';
@@ -0,0 +1,17 @@
1
+ export interface PermissionCatalogGroupDto {
2
+ id: string;
3
+ name: string;
4
+ order: number;
5
+ }
6
+
7
+ export interface PermissionCatalogItemDto {
8
+ key: string;
9
+ groupId: string;
10
+ label: string;
11
+ order: number;
12
+ }
13
+
14
+ export interface PermissionCatalogDto {
15
+ groups: PermissionCatalogGroupDto[];
16
+ permissions: PermissionCatalogItemDto[];
17
+ }
@@ -1,4 +1,9 @@
1
- export type { StaffSummaryDto, StaffDetailDto, StaffRoleSummaryDto } from './staff.dto';
1
+ export type {
2
+ CalendarStaffResourceDto,
3
+ StaffSummaryDto,
4
+ StaffDetailDto,
5
+ StaffRoleSummaryDto,
6
+ } from './staff.dto';
2
7
  export type { UserRoleSummaryDto } from '../user-roles';
3
8
  export type {
4
9
  ChangeStaffPasswordRequest,
@@ -38,3 +38,15 @@ export interface StaffDetailDto extends StaffSummaryDto {
38
38
  note: string | null;
39
39
  address: LocationAddressDto | null;
40
40
  }
41
+
42
+ /** Bookable staff row for scheduler / calendar resource columns */
43
+ export interface CalendarStaffResourceDto {
44
+ id: string;
45
+ userId: string | null;
46
+ firstName: string | null;
47
+ lastName: string | null;
48
+ title: string | null;
49
+ color: string | null;
50
+ photoUrl: string | null;
51
+ qualificationIds: string[];
52
+ }
@@ -1,5 +1,6 @@
1
1
  export type {
2
2
  CreateUserRoleRequest,
3
+ ReorderUserRolesRequest,
3
4
  UpdateUserRoleRequest,
4
5
  UserRoleDetailDto,
5
6
  UserRoleDto,
@@ -27,5 +27,9 @@ export interface UpdateUserRoleRequest {
27
27
  permissions?: Record<string, boolean>;
28
28
  }
29
29
 
30
+ export interface ReorderUserRolesRequest {
31
+ updates: Array<{ id: string; order: number }>;
32
+ }
33
+
30
34
  /** Same shape as staff summary `role`; list item for pickers. */
31
35
  export type UserRoleSummaryDto = Pick<UserRoleDto, 'id' | 'name' | 'value'>;