@bondsports/types 2.2.279-team-a-7 → 2.2.279-team-b-1

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.
Files changed (81) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/employees/dto/employee.dto.d.ts +3 -3
  3. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  4. package/dist/types/folders/dto/folder.dto.d.ts +58 -0
  5. package/dist/types/folders/dto/folder.dto.js +34 -0
  6. package/dist/types/folders/dto/folder.dto.js.map +1 -0
  7. package/dist/types/folders/dto/index.d.ts +1 -0
  8. package/dist/types/folders/dto/index.js +18 -0
  9. package/dist/types/folders/dto/index.js.map +1 -0
  10. package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
  11. package/dist/types/folders/entities/folder-content.entity.js +14 -0
  12. package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
  13. package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
  14. package/dist/types/folders/entities/folder-invite.entity.js +8 -0
  15. package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
  16. package/dist/types/folders/entities/folder.entity.d.ts +21 -0
  17. package/dist/types/folders/entities/folder.entity.js +12 -0
  18. package/dist/types/folders/entities/folder.entity.js.map +1 -0
  19. package/dist/types/folders/entities/index.d.ts +3 -0
  20. package/dist/types/folders/entities/index.js +20 -0
  21. package/dist/types/folders/entities/index.js.map +1 -0
  22. package/dist/types/folders/index.d.ts +2 -0
  23. package/dist/types/folders/index.js +19 -0
  24. package/dist/types/folders/index.js.map +1 -0
  25. package/dist/types/index.d.ts +2 -0
  26. package/dist/types/index.js +2 -0
  27. package/dist/types/index.js.map +1 -1
  28. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -1
  29. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  30. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -1
  31. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +0 -2
  32. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  33. package/dist/types/reservations/dto/addon.dto.d.ts +3 -4
  34. package/dist/types/reservations/dto/addon.dto.js +2 -6
  35. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  36. package/dist/types/reservations/dto/reservation.dto.d.ts +3 -8
  37. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  38. package/dist/types/reservations/dto/slot.dto.d.ts +13 -48
  39. package/dist/types/reservations/dto/slot.dto.js +5 -8
  40. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  41. package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -1
  42. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
  43. package/dist/types/reservations/types/consts/reservation.consts.d.ts +0 -1
  44. package/dist/types/reservations/types/consts/reservation.consts.js +1 -8
  45. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  46. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -20
  47. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +0 -4
  48. package/dist/types/resources/dto/space.dto.d.ts +0 -1
  49. package/dist/types/resources/dto/space.dto.js.map +1 -1
  50. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +0 -1
  51. package/dist/types/roles/dto/role.dto.d.ts +8 -4
  52. package/dist/types/roles/dto/role.dto.js +5 -5
  53. package/dist/types/roles/dto/role.dto.js.map +1 -1
  54. package/dist/types/services/enums.service.d.ts +4 -0
  55. package/dist/types/services/enums.service.js +6 -1
  56. package/dist/types/services/enums.service.js.map +1 -1
  57. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +22 -0
  58. package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
  59. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
  60. package/dist/types/session-participants/dto/index.d.ts +2 -0
  61. package/dist/types/session-participants/dto/index.js +19 -0
  62. package/dist/types/session-participants/dto/index.js.map +1 -0
  63. package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
  64. package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
  65. package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
  66. package/dist/types/session-participants/index.d.ts +2 -0
  67. package/dist/types/session-participants/index.js +19 -0
  68. package/dist/types/session-participants/index.js.map +1 -0
  69. package/dist/types/session-participants/types/consts.d.ts +3 -0
  70. package/dist/types/session-participants/types/consts.js +7 -0
  71. package/dist/types/session-participants/types/consts.js.map +1 -0
  72. package/dist/types/session-participants/types/enums.d.ts +17 -0
  73. package/dist/types/session-participants/types/enums.js +24 -0
  74. package/dist/types/session-participants/types/enums.js.map +1 -0
  75. package/dist/types/session-participants/types/index.d.ts +3 -0
  76. package/dist/types/session-participants/types/index.js +20 -0
  77. package/dist/types/session-participants/types/index.js.map +1 -0
  78. package/dist/types/session-participants/types/interfaces.d.ts +46 -0
  79. package/dist/types/session-participants/types/interfaces.js +3 -0
  80. package/dist/types/session-participants/types/interfaces.js.map +1 -0
  81. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { MediaDto } from '../../media/dto/media.dto';
2
2
  import { CustomerTypeEnum, GenderEnum, OrderByEnum, ResourceNameTypeEnum } from '../../services/enums.service';
3
+ import { Role } from '../../roles/entities/Role';
3
4
  import { EmployeeStatus, OrganizationUserOrderBy, UserOrderBy } from '../types/enums';
4
5
  import { PaginationQuery } from '../../dto/general.dto';
5
6
  import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
6
7
  import { Address } from '../../address/entities/Address';
7
8
  import { User } from '../../user/entities/User';
8
- import { RoleDto, SimpleRoleDto } from '../../roles/dto/role.dto';
9
9
  export declare class ByEmployeeIdDto {
10
10
  employeeId: number;
11
11
  }
@@ -29,7 +29,7 @@ export declare class EmployeeDto {
29
29
  deletedAt?: Date;
30
30
  }
31
31
  export declare class EmployeeWithRoles extends EmployeeDto {
32
- roles?: SimpleRoleDto[];
32
+ roles?: Role[];
33
33
  }
34
34
  export declare class EmployeeWithRoleIds extends EmployeeWithRoles {
35
35
  rolesIds?: number[];
@@ -38,7 +38,7 @@ export declare class BuildEmployee {
38
38
  user: User;
39
39
  customerId: number;
40
40
  organizationUser: OrganizationUsers;
41
- roles: RoleDto[];
41
+ roles: Role[];
42
42
  }
43
43
  export declare class CreateEmployeeDto {
44
44
  firstName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAMxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAkCvB;AAlCD,kCAkCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;QAOC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAhBD,kEAgBC"}
1
+ {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAKxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAkCvB;AAlCD,kCAkCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;QAOC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAhBD,kEAgBC"}
@@ -0,0 +1,58 @@
1
+ import { ContentType } from '../entities/folder-content.entity';
2
+ import { ReferableType } from '../entities/folder.entity';
3
+ export declare class CreateFolderDto {
4
+ parentFolderId: number;
5
+ name: string;
6
+ category?: string;
7
+ organizationId?: number;
8
+ facilityId?: number;
9
+ referableType?: ReferableType;
10
+ referableId?: number;
11
+ }
12
+ export declare class UpdateFolderDto {
13
+ name?: string;
14
+ category?: string;
15
+ organizationId?: number;
16
+ }
17
+ export declare class MoveFolderDto {
18
+ newParentFolderId?: number;
19
+ }
20
+ export declare class AddContentDto {
21
+ contentType: ContentType;
22
+ contentId: number;
23
+ }
24
+ export declare class GetFolderContentsDto {
25
+ folderIds: number[];
26
+ contentTypes?: ContentType[];
27
+ }
28
+ export declare class CreateFolderInviteDto {
29
+ }
30
+ export declare class FolderInviteResponseDto {
31
+ id: number;
32
+ folderId: number;
33
+ uuid: string;
34
+ createdAt: Date;
35
+ updatedAt: Date;
36
+ }
37
+ export declare class MoveFolderContentDto {
38
+ targetFolderId: number;
39
+ }
40
+ export declare class GetFolderHierarchyDto {
41
+ referableType: ReferableType;
42
+ referableId: number;
43
+ depthLimit?: number;
44
+ }
45
+ export declare class FolderHierarchyResponseDto {
46
+ id: number;
47
+ name: string;
48
+ category?: string;
49
+ organizationId: number;
50
+ facilityId?: number;
51
+ referableType: ReferableType;
52
+ referableId: number;
53
+ createdAt: Date;
54
+ updatedAt: Date;
55
+ parent_id?: number;
56
+ depth: number;
57
+ path: number[];
58
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FolderHierarchyResponseDto = exports.GetFolderHierarchyDto = exports.MoveFolderContentDto = exports.FolderInviteResponseDto = exports.CreateFolderInviteDto = exports.GetFolderContentsDto = exports.AddContentDto = exports.MoveFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = void 0;
4
+ class CreateFolderDto {
5
+ }
6
+ exports.CreateFolderDto = CreateFolderDto;
7
+ class UpdateFolderDto {
8
+ }
9
+ exports.UpdateFolderDto = UpdateFolderDto;
10
+ class MoveFolderDto {
11
+ }
12
+ exports.MoveFolderDto = MoveFolderDto;
13
+ class AddContentDto {
14
+ }
15
+ exports.AddContentDto = AddContentDto;
16
+ class GetFolderContentsDto {
17
+ }
18
+ exports.GetFolderContentsDto = GetFolderContentsDto;
19
+ class CreateFolderInviteDto {
20
+ }
21
+ exports.CreateFolderInviteDto = CreateFolderInviteDto;
22
+ class FolderInviteResponseDto {
23
+ }
24
+ exports.FolderInviteResponseDto = FolderInviteResponseDto;
25
+ class MoveFolderContentDto {
26
+ }
27
+ exports.MoveFolderContentDto = MoveFolderContentDto;
28
+ class GetFolderHierarchyDto {
29
+ }
30
+ exports.GetFolderHierarchyDto = GetFolderHierarchyDto;
31
+ class FolderHierarchyResponseDto {
32
+ }
33
+ exports.FolderHierarchyResponseDto = FolderHierarchyResponseDto;
34
+ //# sourceMappingURL=folder.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.dto.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/folder.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAGD,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,0BAA0B;CAwBtC;AAxBD,gEAwBC"}
@@ -0,0 +1 @@
1
+ export * from './folder.dto';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./folder.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1,12 @@
1
+ import { Folder } from './folder.entity';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ export declare enum ContentType {
4
+ FOLDER = 10,
5
+ USER = 20
6
+ }
7
+ export declare class FolderContent extends BondBaseEntity {
8
+ contentType: ContentType;
9
+ contentId: number;
10
+ folder: Folder;
11
+ deletedAt: Date;
12
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FolderContent = exports.ContentType = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ var ContentType;
6
+ (function (ContentType) {
7
+ ContentType[ContentType["FOLDER"] = 10] = "FOLDER";
8
+ ContentType[ContentType["USER"] = 20] = "USER";
9
+ // Add other content types as needed
10
+ })(ContentType = exports.ContentType || (exports.ContentType = {}));
11
+ class FolderContent extends BondBaseEntity_1.BondBaseEntity {
12
+ }
13
+ exports.FolderContent = FolderContent;
14
+ //# sourceMappingURL=folder-content.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-content.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder-content.entity.ts"],"names":[],"mappings":";;;AAUA,gEAA6D;AAG7D,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,kDAAW,CAAA;IACX,8CAAS,CAAA;IACT,oCAAoC;AACtC,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,MAAa,aAAc,SAAQ,+BAAc;CAQhD;AARD,sCAQC"}
@@ -0,0 +1,8 @@
1
+ import { Folder } from './folder.entity';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ export declare class FolderInvite extends BondBaseEntity {
4
+ folderId: number;
5
+ folder: Folder;
6
+ uuid: string;
7
+ deletedAt: Date;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FolderInvite = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class FolderInvite extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.FolderInvite = FolderInvite;
8
+ //# sourceMappingURL=folder-invite.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-invite.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder-invite.entity.ts"],"names":[],"mappings":";;;AAUA,gEAA6D;AAE7D,MAAa,YAAa,SAAQ,+BAAc;CAQ/C;AARD,oCAQC"}
@@ -0,0 +1,21 @@
1
+ import { FolderContent } from './folder-content.entity';
2
+ import { FolderInvite } from './folder-invite.entity';
3
+ import { Organization } from '../../organization/entities/Organization';
4
+ import { Facility } from '../../entity/Facility';
5
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
6
+ export declare enum ReferableType {
7
+ PROGRAM_SEASON = 10
8
+ }
9
+ export declare class Folder extends BondBaseEntity {
10
+ organizationId: number;
11
+ organization: Organization;
12
+ facilityId: number;
13
+ facility: Facility;
14
+ referableType: ReferableType;
15
+ referableId: number;
16
+ name: string;
17
+ category: string;
18
+ contents: FolderContent[];
19
+ invites: FolderInvite[];
20
+ deletedAt: Date;
21
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Folder = exports.ReferableType = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ var ReferableType;
6
+ (function (ReferableType) {
7
+ ReferableType[ReferableType["PROGRAM_SEASON"] = 10] = "PROGRAM_SEASON";
8
+ })(ReferableType = exports.ReferableType || (exports.ReferableType = {}));
9
+ class Folder extends BondBaseEntity_1.BondBaseEntity {
10
+ }
11
+ exports.Folder = Folder;
12
+ //# sourceMappingURL=folder.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder.entity.ts"],"names":[],"mappings":";;;AAKA,gEAA6D;AAE7D,IAAY,aAEX;AAFD,WAAY,aAAa;IACvB,sEAAmB,CAAA;AACrB,CAAC,EAFW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAExB;AAED,MAAa,MAAO,SAAQ,+BAAc;CAyBzC;AAzBD,wBAyBC"}
@@ -0,0 +1,3 @@
1
+ export * from './folder-content.entity';
2
+ export * from './folder-invite.entity';
3
+ export * from './folder.entity';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./folder-content.entity"), exports);
18
+ __exportStar(require("./folder-invite.entity"), exports);
19
+ __exportStar(require("./folder.entity"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC;AACvC,kDAAgC"}
@@ -0,0 +1,2 @@
1
+ export * from './dto';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/folders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
@@ -12,6 +12,7 @@ export * from './errors';
12
12
  export * from './facilities';
13
13
  export * from './familyAccount';
14
14
  export * from './fee';
15
+ export * from './folders';
15
16
  export * from './future-installments';
16
17
  export * from './gl-codes';
17
18
  export * from './import';
@@ -39,6 +40,7 @@ export * from './resource-settings';
39
40
  export * from './resources';
40
41
  export * from './roles';
41
42
  export * from './services';
43
+ export * from './session-participants';
42
44
  export * from './shifts';
43
45
  export * from './user';
44
46
  export * from './user-activities';
@@ -28,6 +28,7 @@ __exportStar(require("./errors"), exports);
28
28
  __exportStar(require("./facilities"), exports);
29
29
  __exportStar(require("./familyAccount"), exports);
30
30
  __exportStar(require("./fee"), exports);
31
+ __exportStar(require("./folders"), exports);
31
32
  __exportStar(require("./future-installments"), exports);
32
33
  __exportStar(require("./gl-codes"), exports);
33
34
  __exportStar(require("./import"), exports);
@@ -55,6 +56,7 @@ __exportStar(require("./resource-settings"), exports);
55
56
  __exportStar(require("./resources"), exports);
56
57
  __exportStar(require("./roles"), exports);
57
58
  __exportStar(require("./services"), exports);
59
+ __exportStar(require("./session-participants"), exports);
58
60
  __exportStar(require("./shifts"), exports);
59
61
  __exportStar(require("./user"), exports);
60
62
  __exportStar(require("./user-activities"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AAC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 +93,4 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
93
93
  search?: string;
94
94
  sortBy?: OrderByProductEnum;
95
95
  order?: OrderByEnum;
96
- inclusion?: boolean;
97
96
  }
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA8C7D;AA9CD,8DA8CC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA4C7D;AA5CD,8DA4CC"}
@@ -33,7 +33,6 @@ export interface IGetProductsByTypeOptions extends IPagination {
33
33
  sortBy?: OrderByProductEnum;
34
34
  order?: OrderByEnum;
35
35
  onlyValid?: boolean;
36
- inclusion?: boolean;
37
36
  }
38
37
  export interface IPricingSchedule {
39
38
  groupId: string;
@@ -154,7 +154,6 @@ export declare class SimpleSessionDto extends IdAndNameDto {
154
154
  startDate: Date;
155
155
  endDate: Date;
156
156
  programType?: ProgramTypesEnum;
157
- productCount?: number;
158
157
  }
159
158
  export declare class SpaceResourcePairDto {
160
159
  resourceType: ResourceNameTypeEnum;
@@ -251,5 +250,4 @@ export declare class RelatedSessionsDto {
251
250
  export declare class GetRelatedProgramSessionsDto {
252
251
  related?: RelatedSessionsDto;
253
252
  statuses?: PublishingStatusEnum[];
254
- includeProductsCount?: boolean;
255
253
  }
@@ -1 +1 @@
1
- {"version":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8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC"}
1
+ {"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAiBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAU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MjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
@@ -4,12 +4,10 @@ import { ProductPackageLevelEnum } from '../../services/enums.service';
4
4
  import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
5
5
  import { EditItemsRefundMetaDto } from './reservation.dto';
6
6
  import { SimpleProductUserDto } from '../../dto/product-user';
7
- export declare class SelectAddonDto {
7
+ declare class BaseAddonDto implements IBaseAddon {
8
8
  productId: number;
9
- quantity?: number;
10
- }
11
- export declare class BaseAddonDto extends SelectAddonDto implements IBaseAddon {
12
9
  unitPrice?: number;
10
+ quantity?: number;
13
11
  totalPrice?: number;
14
12
  }
15
13
  export declare class AddonDto extends BaseAddonDto implements IAddon {
@@ -44,3 +42,4 @@ export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
44
42
  product?: SimpleProductDto;
45
43
  level?: ProductPackageLevelEnum;
46
44
  }
45
+ export {};
@@ -1,12 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = exports.SelectAddonDto = void 0;
4
- class SelectAddonDto {
3
+ exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
4
+ class BaseAddonDto {
5
5
  }
6
- exports.SelectAddonDto = SelectAddonDto;
7
- class BaseAddonDto extends SelectAddonDto {
8
- }
9
- exports.BaseAddonDto = BaseAddonDto;
10
6
  class AddonDto extends BaseAddonDto {
11
7
  }
12
8
  exports.AddonDto = AddonDto;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,YAAa,SAAQ,cAAc;CAI/C;AAJD,oCAIC;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
1
+ {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAM,YAAY;CAQjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
@@ -20,11 +20,11 @@ import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum,
20
20
  import { Reservation } from '../entities/reservation.entity';
21
21
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
22
22
  import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
23
- import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IDuplicateReservationItems, IEditItemsRefundMetadata, IEditSlotsFinancialDetails, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
23
+ import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IEditItemsRefundMetadata, IEditSlotsFinancialDetails, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
24
24
  import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
25
25
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
26
26
  import { SeriesDto } from './series.dto';
27
- import { DraftSlotsDto, SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
27
+ import { SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
28
28
  export declare class ProductPricesDto implements IProductPrice {
29
29
  productId: number;
30
30
  product?: Product;
@@ -112,7 +112,6 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto imple
112
112
  facilities: FacilityDto[];
113
113
  segmentsAddons?: SegmentsAddonsDto[];
114
114
  duplicateDetails?: DuplicatedDetailsDto;
115
- combinedSlots?: DraftSlotsDto[];
116
115
  }
117
116
  export declare class ReservationInvoiceDto {
118
117
  reservation: ReservationDto;
@@ -357,7 +356,6 @@ export declare class GenerateReservationDto {
357
356
  }
358
357
  export declare class UpdateDraftSlotsDto {
359
358
  slots: UpdateDraftSlotDto[];
360
- slotsIds?: string[];
361
359
  overrideProducts?: boolean;
362
360
  }
363
361
  export declare class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
@@ -385,12 +383,9 @@ export declare class PaginatedSlotsSharedDto {
385
383
  export declare class DuplicateReservationDto {
386
384
  isEdit?: boolean;
387
385
  }
388
- export declare class DuplicateReservationItemsDto extends DuplicateReservationDto implements IDuplicateReservationItems {
386
+ export declare class DuplicateReservationItemsDto extends DuplicateReservationDto {
389
387
  slotsIds?: number[];
390
- excludeIds?: number[];
391
388
  reservationAddonsIds?: number[];
392
- combineSlots?: boolean;
393
- includedFields?: string[];
394
389
  }
395
390
  export declare class ReservationItemLineDto {
396
391
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAKA,uDAAwD;AAExD,+DAA+G;AAE/G,8EAA8E;AAO9E,kEAAwF;AAmDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CAgCvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAWvD;AAXD,wCAWC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAM,oBAAqB,SAAQ,kCAAkC;CAEpE;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD,8CAEC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MA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AED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAUxE;AAVD,oEAUC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
1
+ {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAKA,uDAAwD;AAExD,+DAA+G;AAE/G,8EAA8E;AAO9E,kEAAwF;AAkDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CAgCvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAWvD;AAXD,wCAWC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAM,oBAAqB,SAAQ,kCAAkC;CAEpE;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD,8CAEC;AAED,MAAa,yBA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wDAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAIxE;AAJD,oEAIC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
@@ -1,7 +1,5 @@
1
1
  import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
2
2
  import { FacilityDto } from '../../dto/facilities.dto';
3
- import { SimpleProductUserDto } from '../../dto/product-user';
4
- import { SimpleInvoiceDto } from '../../invoice/dto/invoice.dto';
5
3
  import { ProductDto } from '../../product-pricing/dto/product.dto';
6
4
  import { Product } from '../../product-pricing/entities/Product';
7
5
  import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
@@ -11,8 +9,10 @@ import { Slot } from '../entities/slot.entity';
11
9
  import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
12
10
  import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
13
11
  import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ISlotProductPricesMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
14
- import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
12
+ import { AddonDto, DraftAddonDto } from './addon.dto';
15
13
  import { MaintenanceDto } from './maintenance.dto';
14
+ import { SimpleProductUserDto } from '../../dto/product-user';
15
+ import { SimpleInvoiceDto } from '../../invoice/dto/invoice.dto';
16
16
  export declare class SlotProductMetadataDto implements ISlotProductMetadata {
17
17
  productId: number;
18
18
  price: number;
@@ -26,30 +26,23 @@ export declare class SlotProductPricesMetadataDto implements ISlotProductPricesM
26
26
  quantity: number;
27
27
  totalPrice: number;
28
28
  }
29
- export declare class BaseSlotFieldsDto {
30
- organizationId?: number;
29
+ export declare class DateTimeAndResourcesDto {
31
30
  startDate: string;
32
31
  startTime?: string;
33
32
  endDate?: string;
34
33
  endTime?: string;
35
34
  spaceId: number;
36
35
  instructorsIds?: number[];
37
- title?: string;
38
- publicNotes?: string;
39
- privateNotes?: string;
40
- sportIds?: SportsEnum[];
41
- sportId?: SportsEnum;
42
- privacySetting?: PrivacySettingsEnum;
43
- colorCodeId?: number;
44
- participantsNumber?: number;
45
- maintenance?: MaintenanceDto[];
46
36
  }
47
- export declare class BaseSlotDto extends BaseSlotFieldsDto implements IBaseSlot {
37
+ export declare class BaseSlotDto extends DateTimeAndResourcesDto implements IBaseSlot {
38
+ organizationId?: number;
48
39
  title: string;
49
40
  creatorId?: number;
50
41
  creatorType?: ResourceNameTypeEnum;
51
42
  userCreatorId?: number;
52
43
  timezone?: string;
44
+ publicNotes?: string;
45
+ privateNotes?: string;
53
46
  slotType: SlotTypeEnum;
54
47
  sportIds: SportsEnum[];
55
48
  maintenanceDurationdurationType?: DurationUnitTypesEnum;
@@ -58,9 +51,13 @@ export declare class BaseSlotDto extends BaseSlotFieldsDto implements IBaseSlot
58
51
  displayName?: string;
59
52
  internalName?: string;
60
53
  totalPrice?: number;
54
+ privacySetting?: PrivacySettingsEnum;
61
55
  slotDurationType: DurationTypeEnum;
56
+ colorCodeId?: number;
57
+ participantsNumber?: number;
62
58
  occurrence?: number;
63
59
  productMetadata?: SlotProductMetadataDto;
60
+ maintenance?: MaintenanceDto[];
64
61
  }
65
62
  export declare class SlotDto extends BaseSlotDto {
66
63
  id?: number;
@@ -94,37 +91,8 @@ export declare class BaseDraftSlotDto extends BaseSlotDto {
94
91
  participantsIds?: number[];
95
92
  slotId?: number;
96
93
  }
97
- export declare class UpdateDraftSlotDto {
98
- id?: string;
99
- title?: string;
100
- privacySetting?: PrivacySettingsEnum;
101
- colorCodeId?: number;
102
- spaceId?: number;
103
- sportIds?: SportsEnum[];
104
- startDate?: string;
105
- startTime?: string;
106
- endDate?: string;
107
- endTime?: string;
108
- maintenance?: MaintenanceDto[];
109
- privateNotes?: string;
110
- publicNotes?: string;
111
- productsIds?: number[];
112
- instructorsIds?: number[];
113
- participantsIds?: number[];
114
- participantsNumber?: number;
115
- addons?: CreateDraftAddonDto[];
116
- }
117
- export declare class DraftSlotsDto extends BaseSlotFieldsDto {
118
- ids: string[];
119
- facilitiesIds: number[];
120
- segmentsIds: string[];
121
- reservationId: string;
122
- participantsIds?: number[];
94
+ export declare class UpdateDraftSlotDto extends BaseDraftSlotDto {
123
95
  productsIds?: number[];
124
- addons?: CreateDraftAddonDto[];
125
- spacesIds?: number[];
126
- combinedInstructorsIds?: number[];
127
- sportsIds?: SportsEnum[];
128
96
  productId?: number;
129
97
  }
130
98
  export declare class DraftSlotDto extends BaseDraftSlotDto implements IDraftSlot {
@@ -175,16 +143,13 @@ export declare class DraftTimeSlotDto implements ITimeSlot {
175
143
  parentSlotId?: string;
176
144
  }
177
145
  export declare class ProblematicSlotDto {
178
- id: string;
179
146
  startDate: string;
180
147
  endDate: string;
181
148
  startTime: string;
182
149
  endTime: string;
183
150
  spaceId: number;
184
- title: string;
185
151
  spaceName?: string;
186
152
  instructorsIds?: number[];
187
- slotId?: number;
188
153
  }
189
154
  export declare class CardSlotDto extends SlotDto {
190
155
  resource: SpaceResourceDto;