@bondsports/types 2.4.51 → 2.4.52-a-2

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 (65) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/accounting/entities/index.d.ts +1 -0
  3. package/dist/types/accounting/entities/index.js +1 -0
  4. package/dist/types/accounting/entities/index.js.map +1 -1
  5. package/dist/types/accounting/entities/revenue-recognition-schedule-history.entity.d.ts +17 -0
  6. package/dist/types/accounting/entities/revenue-recognition-schedule-history.entity.js +8 -0
  7. package/dist/types/accounting/entities/revenue-recognition-schedule-history.entity.js.map +1 -0
  8. package/dist/types/dto/general.dto.d.ts +1 -0
  9. package/dist/types/dto/general.dto.js.map +1 -1
  10. package/dist/types/employees/dto/employee-facilities.dto.d.ts +11 -0
  11. package/dist/types/employees/dto/employee-facilities.dto.js +14 -0
  12. package/dist/types/employees/dto/employee-facilities.dto.js.map +1 -0
  13. package/dist/types/employees/dto/index.d.ts +1 -0
  14. package/dist/types/employees/dto/index.js +1 -0
  15. package/dist/types/employees/dto/index.js.map +1 -1
  16. package/dist/types/employees/types/enums.d.ts +4 -0
  17. package/dist/types/employees/types/enums.js +6 -1
  18. package/dist/types/employees/types/enums.js.map +1 -1
  19. package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.d.ts +8 -1
  20. package/dist/types/organization/entities/Organization.d.ts +2 -0
  21. package/dist/types/organization/entities/Organization.js.map +1 -1
  22. package/dist/types/organization/index.d.ts +1 -0
  23. package/dist/types/organization/index.js +1 -0
  24. package/dist/types/organization/index.js.map +1 -1
  25. package/dist/types/organization/types/enums/index.d.ts +1 -0
  26. package/dist/types/organization/types/enums/index.js +18 -0
  27. package/dist/types/organization/types/enums/index.js.map +1 -0
  28. package/dist/types/organization/types/enums/organization-accounting-style.enum.d.ts +5 -0
  29. package/dist/types/organization/types/enums/organization-accounting-style.enum.js +10 -0
  30. package/dist/types/organization/types/enums/organization-accounting-style.enum.js.map +1 -0
  31. package/dist/types/organization/types/index.d.ts +1 -0
  32. package/dist/types/organization/types/index.js +18 -0
  33. package/dist/types/organization/types/index.js.map +1 -0
  34. package/dist/types/programs-seasons/entities/index.d.ts +1 -0
  35. package/dist/types/programs-seasons/entities/index.js +1 -0
  36. package/dist/types/programs-seasons/entities/index.js.map +1 -1
  37. package/dist/types/programs-seasons/entities/program-season-history.entity.d.ts +54 -0
  38. package/dist/types/programs-seasons/entities/program-season-history.entity.js +8 -0
  39. package/dist/types/programs-seasons/entities/program-season-history.entity.js.map +1 -0
  40. package/dist/types/reservations/dto/reservation.dto.d.ts +1 -0
  41. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  42. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -0
  43. package/dist/types/shifts/dto/find-shifts-filters.dto.d.ts +7 -12
  44. package/dist/types/shifts/dto/find-shifts-filters.dto.js +3 -5
  45. package/dist/types/shifts/dto/find-shifts-filters.dto.js.map +1 -1
  46. package/dist/types/shifts/dto/index.d.ts +1 -0
  47. package/dist/types/shifts/dto/index.js +1 -0
  48. package/dist/types/shifts/dto/index.js.map +1 -1
  49. package/dist/types/shifts/dto/shift.dto.d.ts +29 -0
  50. package/dist/types/shifts/dto/shift.dto.js +10 -0
  51. package/dist/types/shifts/dto/shift.dto.js.map +1 -0
  52. package/dist/types/shifts/entities/shift.entity.js.map +1 -1
  53. package/dist/types/shifts/index.d.ts +1 -0
  54. package/dist/types/shifts/index.js +1 -0
  55. package/dist/types/shifts/index.js.map +1 -1
  56. package/dist/types/shifts/types/enums/index.d.ts +1 -0
  57. package/dist/types/shifts/types/enums/index.js +18 -0
  58. package/dist/types/shifts/types/enums/index.js.map +1 -0
  59. package/dist/types/shifts/types/enums/shift.enums.d.ts +5 -0
  60. package/dist/types/shifts/types/enums/shift.enums.js +10 -0
  61. package/dist/types/shifts/types/enums/shift.enums.js.map +1 -0
  62. package/dist/types/shifts/types/index.d.ts +1 -0
  63. package/dist/types/shifts/types/index.js +18 -0
  64. package/dist/types/shifts/types/index.js.map +1 -0
  65. package/package.json +1 -1
@@ -1,2 +1,3 @@
1
1
  export * from './revenue-recognition-milestone.entity';
2
+ export * from './revenue-recognition-schedule-history.entity';
2
3
  export * from './revenue-recognition-schedule.entity';
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./revenue-recognition-milestone.entity"), exports);
18
+ __exportStar(require("./revenue-recognition-schedule-history.entity"), exports);
18
19
  __exportStar(require("./revenue-recognition-schedule.entity"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,wEAAsD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,gFAA8D;AAC9D,wEAAsD"}
@@ -0,0 +1,17 @@
1
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
+ import { RevenueRecognitionMethodEnum, RevenueRecognitionResourceTypeEnum } from '../types/enums/accounting.enums';
3
+ import { RevenueRecognitionSchedule } from './revenue-recognition-schedule.entity';
4
+ export declare class RevenueRecognitionScheduleHistory extends BondBaseEntity {
5
+ revenueRecognitionScheduleId: number;
6
+ schedule?: RevenueRecognitionSchedule;
7
+ organizationId?: number;
8
+ resourceId?: number;
9
+ resourceType?: RevenueRecognitionResourceTypeEnum;
10
+ recognitionMethod?: RevenueRecognitionMethodEnum;
11
+ startDate?: Date;
12
+ endDate?: Date;
13
+ numberOfMonths?: number;
14
+ deletedAt?: Date;
15
+ previousHistoryId?: number;
16
+ actionId?: string;
17
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevenueRecognitionScheduleHistory = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class RevenueRecognitionScheduleHistory extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.RevenueRecognitionScheduleHistory = RevenueRecognitionScheduleHistory;
8
+ //# sourceMappingURL=revenue-recognition-schedule-history.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenue-recognition-schedule-history.entity.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/revenue-recognition-schedule-history.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAK7D,MAAa,iCAAkC,SAAQ,+BAAc;CAwBpE;AAxBD,8EAwBC"}
@@ -55,6 +55,7 @@ export declare class ResourceIdAndTypeDto extends IdDto {
55
55
  type: ResourceNameTypeEnum;
56
56
  }
57
57
  export declare class SimpleResourceDto extends IdAndNameDto {
58
+ facilityIds?: number[];
58
59
  }
59
60
  export declare class ResourceScheduleDetailsDto extends IdDto {
60
61
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AAErC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AAEpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,cAAc,GAAG,CAAC,CAAC;AAEnB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAE5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAA5B;QAMC,iBAAY,GAAI,sCAA8B,CAAC;IAChD,CAAC;CAAA;AAPD,0CAOC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,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,4CAEC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC"}
@@ -0,0 +1,11 @@
1
+ import { FacilityDto, SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
2
+ import { EmployeeFacilitiesViewEnum } from '../types/enums';
3
+ export declare class EmployeeFacilitiesDto {
4
+ employeeId: number;
5
+ defaultFacilityId: number | null;
6
+ facilityIds: number[];
7
+ accessibleFacilities: SimpleFacilityDto[] | FacilityDto[];
8
+ }
9
+ export declare class GetEmployeeFacilitiesQueryDto {
10
+ view?: EmployeeFacilitiesViewEnum;
11
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetEmployeeFacilitiesQueryDto = exports.EmployeeFacilitiesDto = void 0;
4
+ const enums_1 = require("../types/enums");
5
+ class EmployeeFacilitiesDto {
6
+ }
7
+ exports.EmployeeFacilitiesDto = EmployeeFacilitiesDto;
8
+ class GetEmployeeFacilitiesQueryDto {
9
+ constructor() {
10
+ this.view = enums_1.EmployeeFacilitiesViewEnum.SUMMARY;
11
+ }
12
+ }
13
+ exports.GetEmployeeFacilitiesQueryDto = GetEmployeeFacilitiesQueryDto;
14
+ //# sourceMappingURL=employee-facilities.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"employee-facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee-facilities.dto.ts"],"names":[],"mappings":";;;AAEA,0CAA4D;AAE5D,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,6BAA6B;IAA1C;QACC,SAAI,GAAgC,kCAA0B,CAAC,OAAO,CAAC;IACxE,CAAC;CAAA;AAFD,sEAEC"}
@@ -1 +1,2 @@
1
+ export * from './employee-facilities.dto';
1
2
  export * from './employee.dto';
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./employee-facilities.dto"), exports);
17
18
  __exportStar(require("./employee.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iDAA+B"}
@@ -23,3 +23,7 @@ export declare enum MembershipSortByEnum {
23
23
  ACTIVITIES = "activities",
24
24
  MEMEMBERSHIP_TYPE = "membershipType"
25
25
  }
26
+ export declare enum EmployeeFacilitiesViewEnum {
27
+ SUMMARY = "SUMMARY",
28
+ FULL = "FULL"
29
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MembershipSortByEnum = exports.OrganizationUserOrderBy = exports.UserOrderBy = exports.EmployeeStatus = void 0;
3
+ exports.EmployeeFacilitiesViewEnum = exports.MembershipSortByEnum = exports.OrganizationUserOrderBy = exports.UserOrderBy = exports.EmployeeStatus = void 0;
4
4
  var EmployeeStatus;
5
5
  (function (EmployeeStatus) {
6
6
  EmployeeStatus["ACTIVE"] = "active";
@@ -30,4 +30,9 @@ var MembershipSortByEnum;
30
30
  MembershipSortByEnum["ACTIVITIES"] = "activities";
31
31
  MembershipSortByEnum["MEMEMBERSHIP_TYPE"] = "membershipType";
32
32
  })(MembershipSortByEnum = exports.MembershipSortByEnum || (exports.MembershipSortByEnum = {}));
33
+ var EmployeeFacilitiesViewEnum;
34
+ (function (EmployeeFacilitiesViewEnum) {
35
+ EmployeeFacilitiesViewEnum["SUMMARY"] = "SUMMARY";
36
+ EmployeeFacilitiesViewEnum["FULL"] = "FULL";
37
+ })(EmployeeFacilitiesViewEnum = exports.EmployeeFacilitiesViewEnum || (exports.EmployeeFacilitiesViewEnum = {}));
33
38
  //# sourceMappingURL=enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/employees/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACtB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,qCAAsB,CAAA;IACtB,uCAAwB,CAAA;AACzB,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,wEAA6C,CAAA;IAC7C,oEAAyC,CAAA;IACzC,uDAA4B,CAAA;AAC7B,CAAC,EALW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAKlC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,wDAAgC,CAAA;IAChC,0CAAkB,CAAA;IAClB,yCAAiB,CAAA;IACjB,iDAAyB,CAAA;IACzB,4DAAoC,CAAA;AACrC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/employees/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACtB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,qCAAsB,CAAA;IACtB,uCAAwB,CAAA;AACzB,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,wEAA6C,CAAA;IAC7C,oEAAyC,CAAA;IACzC,uDAA4B,CAAA;AAC7B,CAAC,EALW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAKlC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,wDAAgC,CAAA;IAChC,0CAAkB,CAAA;IAClB,yCAAiB,CAAA;IACjB,iDAAyB,CAAA;IACzB,4DAAoC,CAAA;AACrC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B;AAED,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,iDAAmB,CAAA;IACnB,2CAAa,CAAA;AACd,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC"}
@@ -1,4 +1,5 @@
1
- export interface IEmployeeFacilities {
1
+ import { Facility } from '../../../facilities/entities/Facility';
2
+ export interface ICreateEmployeeFacilityAccessInput {
2
3
  organizationId: number;
3
4
  userId: number;
4
5
  facilityIds: number[];
@@ -7,6 +8,12 @@ export interface IEmployeeFacilityAccessState {
7
8
  defaultFacilityId: number | null;
8
9
  facilityIds: number[];
9
10
  }
11
+ export interface IEmployeeFacilities {
12
+ defaultFacilityId: number | null;
13
+ employeeId: number;
14
+ accessibleFacilities: Facility[];
15
+ facilityIds: number[];
16
+ }
10
17
  export interface IFindFacilityAccessFilter {
11
18
  organizationId: number;
12
19
  facilityIds?: number[];
@@ -5,6 +5,7 @@ import { UberOrganization } from '../../entity/UberOrganization';
5
5
  import { Fee } from '../../fee/entities/Fee';
6
6
  import { Media } from '../../media/entities/Media';
7
7
  import { CurrencyEnum } from '../../services/enums.service';
8
+ import { OrganizationAccountingStyleEnum } from '../types/enums/organization-accounting-style.enum';
8
9
  import { OrganizationBranding } from './OrganizationBranding';
9
10
  import { OrganizationPaymentMethod } from './OrganizationPaymentMethod';
10
11
  export declare class Organization extends BondBaseEntity {
@@ -40,6 +41,7 @@ export declare class Organization extends BondBaseEntity {
40
41
  membershipQuestionnaireId?: number;
41
42
  currency: CurrencyEnum;
42
43
  anonymousCustomerId?: number;
44
+ accountingStyles?: OrganizationAccountingStyleEnum | null;
43
45
  mainMedia: Media;
44
46
  brandings: OrganizationBranding[];
45
47
  brandingsV2?: OrganizationBranding[];
@@ -1 +1 @@
1
- {"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAU7D,MAAa,YAAa,SAAQ,+BAAc;CA6F/C;AA7FD,oCA6FC"}
1
+ {"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAW7D,MAAa,YAAa,SAAQ,+BAAc;CA+F/C;AA/FD,oCA+FC"}
@@ -1,3 +1,4 @@
1
1
  export * from './dto';
2
2
  export * from './entities';
3
3
  export * from './interfaces';
4
+ export * from './types';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
18
  __exportStar(require("./entities"), exports);
19
19
  __exportStar(require("./interfaces"), exports);
20
+ __exportStar(require("./types"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/organization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/organization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B;AAC7B,0CAAwB"}
@@ -0,0 +1 @@
1
+ export * from './organization-accounting-style.enum';
@@ -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("./organization-accounting-style.enum"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/organization/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD"}
@@ -0,0 +1,5 @@
1
+ export declare enum OrganizationAccountingStyleEnum {
2
+ CASH = "cash",
3
+ GROSSUP = "grossup",
4
+ GAAP = "gaap"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganizationAccountingStyleEnum = void 0;
4
+ var OrganizationAccountingStyleEnum;
5
+ (function (OrganizationAccountingStyleEnum) {
6
+ OrganizationAccountingStyleEnum["CASH"] = "cash";
7
+ OrganizationAccountingStyleEnum["GROSSUP"] = "grossup";
8
+ OrganizationAccountingStyleEnum["GAAP"] = "gaap";
9
+ })(OrganizationAccountingStyleEnum = exports.OrganizationAccountingStyleEnum || (exports.OrganizationAccountingStyleEnum = {}));
10
+ //# sourceMappingURL=organization-accounting-style.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-accounting-style.enum.js","sourceRoot":"","sources":["../../../../../src/types/organization/types/enums/organization-accounting-style.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAIX;AAJD,WAAY,+BAA+B;IAC1C,gDAAa,CAAA;IACb,sDAAmB,CAAA;IACnB,gDAAa,CAAA;AACd,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C"}
@@ -0,0 +1 @@
1
+ export * from './enums';
@@ -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("./enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/organization/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -1 +1,2 @@
1
1
  export * from './ProgramSeason';
2
+ export * from './program-season-history.entity';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ProgramSeason"), exports);
18
+ __exportStar(require("./program-season-history.entity"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kEAAgD"}
@@ -0,0 +1,54 @@
1
+ import { SportsEnum } from '../../activities/types/activities.enums';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ import { LevelOfPlayEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum } from '../../programs/types/enums/program.enums';
4
+ import { GenderEnum } from '../../services/enums.service';
5
+ import { SegmentsMetadata } from '../types/classes/program-season.classes';
6
+ import { ProgramSeason } from './ProgramSeason';
7
+ export declare class ProgramSeasonHistory extends BondBaseEntity {
8
+ programSeasonId: number;
9
+ programSeason?: ProgramSeason;
10
+ organizationId?: number;
11
+ programId?: number;
12
+ name?: string;
13
+ description?: string | null;
14
+ GL?: string | null;
15
+ status?: PublishingStatusEnum;
16
+ startDate?: Date;
17
+ endDate?: Date;
18
+ registrationStartDate?: Date | null;
19
+ registrationEndDate?: Date | null;
20
+ questionnaires?: number[];
21
+ seasonType?: ProgramSeasonTypesEnum;
22
+ parentSeasonId?: number | null;
23
+ maxParticipants?: number | null;
24
+ maxMaleParticipants?: number | null;
25
+ maxFemaleParticipants?: number | null;
26
+ maxWaitlist?: number | null;
27
+ maxMaleWaitlist?: number | null;
28
+ maxFemaleWaitlist?: number | null;
29
+ facilityId?: number | null;
30
+ addressId?: number | null;
31
+ sport?: SportsEnum;
32
+ minAge?: string;
33
+ maxAge?: string;
34
+ gender?: GenderEnum;
35
+ level?: LevelOfPlayEnum[];
36
+ defaultProductId?: number;
37
+ longDescription?: string;
38
+ isPunchCard?: boolean;
39
+ deletedAt?: Date;
40
+ earlyRegistrationStartDate?: Date;
41
+ earlyRegistrationEndDate?: Date;
42
+ lateRegistrationStartDate?: Date;
43
+ lateRegistrationEndDate?: Date;
44
+ requiredProductIds?: number[];
45
+ ageCalcDate?: string;
46
+ ordinal?: number;
47
+ colorCodeId?: number;
48
+ segmentsMetadata?: SegmentsMetadata;
49
+ competitionId?: number;
50
+ programType?: ProgramTypesEnum;
51
+ isSegmented?: boolean;
52
+ previousHistoryId?: number;
53
+ actionId?: string;
54
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProgramSeasonHistory = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class ProgramSeasonHistory extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.ProgramSeasonHistory = ProgramSeasonHistory;
8
+ //# sourceMappingURL=program-season-history.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"program-season-history.entity.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/program-season-history.entity.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAY7D,MAAa,oBAAqB,SAAQ,+BAAc;CA4FvD;AA5FD,oDA4FC"}
@@ -204,6 +204,7 @@ export declare class FindReservationsByOrganizationIdFiltersDto extends Paginati
204
204
  export declare class ReservationTableOptionsDto extends PaginationQuery {
205
205
  spacesIds?: number[];
206
206
  instructorsIds?: number[];
207
+ facilitiesIds?: number[];
207
208
  sports?: SportsEnum[];
208
209
  startDate?: string;
209
210
  endDate?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAOA,uDAAkG;AAGlG,+DAAmG;AAEnG,8EAA8E;AAQ9E,kEAAwF;AAqDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAg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CAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;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;CAYxE;AAZD,oEAYC;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":";;;;AAOA,uDAAkG;AAGlG,+DAAmG;AAEnG,8EAA8E;AAQ9E,kEAAwF;AAqDxF,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;CA2BvD;AA3BD,wCA2BC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAM,oBAAqB,SAAQ,kCAAkC;CAEpE;AAED,M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qB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAYxE;AAZD,oEAYC;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"}
@@ -130,6 +130,7 @@ export interface IReservationsOptions extends PaginationQuery {
130
130
  startDate: string;
131
131
  endDate: string;
132
132
  };
133
+ facilitiesIds?: number[];
133
134
  includeDeleted?: boolean;
134
135
  instructorsIds?: number[];
135
136
  order?: OrderByEnum;
@@ -1,20 +1,15 @@
1
- export declare class FindShiftsFiltersDto {
2
- statuses?: string;
3
- stationIds?: string;
4
- openingUsersIds?: string;
5
- closingUsersIds?: string;
6
- closingManagersIds?: string;
7
- reconcilingUsersIds?: string;
8
- startDate?: Date;
9
- endDate?: Date;
10
- }
11
- export declare class FindShiftsFormattedFilters {
12
- statuses?: string[];
1
+ import { PaginationSearchQuery } from '../../dto/general.dto';
2
+ import { ShiftStatusEnum } from '../../services/enums.service';
3
+ import { ShiftOrderByEnum } from '../types/enums/shift.enums';
4
+ export declare class FindShiftsFiltersDto extends PaginationSearchQuery<ShiftOrderByEnum> {
5
+ statuses?: ShiftStatusEnum[];
13
6
  stationIds?: number[];
14
7
  openingUsersIds?: number[];
15
8
  closingUsersIds?: number[];
16
9
  closingManagersIds?: number[];
17
10
  reconcilingUsersIds?: number[];
11
+ facilityIds?: number[];
18
12
  startDate?: Date;
19
13
  endDate?: Date;
14
+ orderBy?: ShiftOrderByEnum;
20
15
  }
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindShiftsFormattedFilters = exports.FindShiftsFiltersDto = void 0;
4
- class FindShiftsFiltersDto {
3
+ exports.FindShiftsFiltersDto = void 0;
4
+ const general_dto_1 = require("../../dto/general.dto");
5
+ class FindShiftsFiltersDto extends general_dto_1.PaginationSearchQuery {
5
6
  }
6
7
  exports.FindShiftsFiltersDto = FindShiftsFiltersDto;
7
- class FindShiftsFormattedFilters {
8
- }
9
- exports.FindShiftsFormattedFilters = FindShiftsFormattedFilters;
10
8
  //# sourceMappingURL=find-shifts-filters.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-shifts-filters.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-filters.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,0BAA0B;CAStC;AATD,gEASC"}
1
+ {"version":3,"file":"find-shifts-filters.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-filters.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8D;AAI9D,MAAa,oBAAqB,SAAQ,mCAAuC;CAoBhF;AApBD,oDAoBC"}
@@ -3,3 +3,4 @@ export * from './find-shifts-by-ids.dto';
3
3
  export * from './find-shifts-filters.dto';
4
4
  export * from './management-closing-shifts.dto';
5
5
  export * from './open-shift.dto';
6
+ export * from './shift.dto';
@@ -19,4 +19,5 @@ __exportStar(require("./find-shifts-by-ids.dto"), exports);
19
19
  __exportStar(require("./find-shifts-filters.dto"), exports);
20
20
  __exportStar(require("./management-closing-shifts.dto"), exports);
21
21
  __exportStar(require("./open-shift.dto"), exports);
22
+ __exportStar(require("./shift.dto"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,4DAA0C;AAC1C,kEAAgD;AAChD,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,4DAA0C;AAC1C,kEAAgD;AAChD,mDAAiC;AACjC,8CAA4B"}
@@ -0,0 +1,29 @@
1
+ import { StationDto } from '../../dto/station.dto';
2
+ import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
3
+ import { ShiftStatusEnum } from '../../services/enums.service';
4
+ import { SimpleUserDto } from '../../user/dto/user.dto';
5
+ export declare class SimpleShiftDto {
6
+ id: number;
7
+ station?: StationDto;
8
+ status: ShiftStatusEnum;
9
+ openingDate: string;
10
+ openingTime: string;
11
+ closingDate?: string;
12
+ closingTime?: string;
13
+ openingUser?: SimpleUserDto;
14
+ closingUser?: SimpleUserDto;
15
+ }
16
+ export declare class ShiftDto extends SimpleShiftDto {
17
+ openingCashAmount: number;
18
+ closingCashAmount?: number;
19
+ managementClosingCashAmount?: number;
20
+ managementClosingDate?: string;
21
+ managementClosingTime?: string;
22
+ reconcilingUserId?: number;
23
+ reconciliationAmount?: number;
24
+ reconcilingDate?: string;
25
+ reconcilingTime?: string;
26
+ reconciliationInvoiceId?: number;
27
+ sumsOnShift?: Record<PaymentMethodTypeEnum, number>;
28
+ currentCashDifference?: number;
29
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShiftDto = exports.SimpleShiftDto = void 0;
4
+ class SimpleShiftDto {
5
+ }
6
+ exports.SimpleShiftDto = SimpleShiftDto;
7
+ class ShiftDto extends SimpleShiftDto {
8
+ }
9
+ exports.ShiftDto = ShiftDto;
10
+ //# sourceMappingURL=shift.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shift.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/shift.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,cAAc;CAkB1B;AAlBD,wCAkBC;AAED,MAAa,QAAS,SAAQ,cAAc;CAwB3C;AAxBD,4BAwBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,KAAM,SAAQ,mEAAgC;CAmD1D;AAnDD,sBAmDC"}
1
+ {"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,KAAM,SAAQ,mEAAgC;CAsD1D;AAtDD,sBAsDC"}
@@ -1,2 +1,3 @@
1
1
  export * from './dto';
2
2
  export * from './entities';
3
+ export * from './types';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
18
  __exportStar(require("./entities"), exports);
19
+ __exportStar(require("./types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/shifts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/shifts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1 @@
1
+ export * from './shift.enums';
@@ -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("./shift.enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/shifts/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
@@ -0,0 +1,5 @@
1
+ export declare enum ShiftOrderByEnum {
2
+ ID = "id",
3
+ OPENING_DATE = "openingDate",
4
+ CLOSING_DATE = "closingDate"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShiftOrderByEnum = void 0;
4
+ var ShiftOrderByEnum;
5
+ (function (ShiftOrderByEnum) {
6
+ ShiftOrderByEnum["ID"] = "id";
7
+ ShiftOrderByEnum["OPENING_DATE"] = "openingDate";
8
+ ShiftOrderByEnum["CLOSING_DATE"] = "closingDate";
9
+ })(ShiftOrderByEnum = exports.ShiftOrderByEnum || (exports.ShiftOrderByEnum = {}));
10
+ //# sourceMappingURL=shift.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shift.enums.js","sourceRoot":"","sources":["../../../../../src/types/shifts/types/enums/shift.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,6BAAS,CAAA;IACT,gDAA4B,CAAA;IAC5B,gDAA4B,CAAA;AAC7B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
@@ -0,0 +1 @@
1
+ export * from './enums';