@bondsports/types 2.2.284-a-4 → 2.2.284-a-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,5 +1,6 @@
1
+ import { SimpleResourceDto } from '../../dto/general.dto';
1
2
  import { Event } from '../../entity/Events';
2
- import { SportsEnum } from '../../services/enums.service';
3
+ import { ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
3
4
  import { Reservation } from '../entities/reservation.entity';
4
5
  import { Series } from '../entities/series.entity';
5
6
  import { MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
@@ -31,3 +32,13 @@ export declare class CalendarSlotDto {
31
32
  export declare class CalendarMaintenanceSlotDto extends CalendarSlotDto {
32
33
  maintenanceTiming: MaintenanceTimingEnum;
33
34
  }
35
+ export declare class CalendarFiltersOptionsDto {
36
+ resourcesTypes: ResourceTypeEnum[];
37
+ spaces: SimpleResourceDto[];
38
+ instructors: SimpleResourceDto[];
39
+ spaceSubTypes: ResourceSubTypeEnum[];
40
+ sports: SportsEnum[];
41
+ slotTypes: SlotTypeEnum[];
42
+ paymentStatuses: ReservationPaymentStatusEnum[];
43
+ approvalStatuses: ReservationStatusEnum[];
44
+ }
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CalendarMaintenanceSlotDto = exports.CalendarSlotDto = void 0;
3
+ exports.CalendarFiltersOptionsDto = exports.CalendarMaintenanceSlotDto = exports.CalendarSlotDto = void 0;
4
4
  class CalendarSlotDto {
5
5
  }
6
6
  exports.CalendarSlotDto = CalendarSlotDto;
7
7
  class CalendarMaintenanceSlotDto extends CalendarSlotDto {
8
8
  }
9
9
  exports.CalendarMaintenanceSlotDto = CalendarMaintenanceSlotDto;
10
+ class CalendarFiltersOptionsDto {
11
+ }
12
+ exports.CalendarFiltersOptionsDto = CalendarFiltersOptionsDto;
10
13
  //# sourceMappingURL=calendar-slot.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;AAYA,MAAa,eAAe;CA8C3B;AA9CD,0CA8CC;AAED,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC"}
1
+ {"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,eAAe;CA8C3B;AA9CD,0CA8CC;AAED,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC"}
@@ -27,6 +27,7 @@ export declare enum ReservationExtendedEnum {
27
27
  PURCHASE_ORDER = "purchase_order"
28
28
  }
29
29
  export type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
30
+ export declare const PaymentStatusOptions: PaymentStatusEnum[];
30
31
  export declare const ReservationPaymentStatusOptions: (PaymentStatusEnum | ReservationExtendedEnum.PURCHASE_ORDER)[];
31
32
  export declare enum ReservationStatusEnum {
32
33
  PLANNED = "Planned",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MaintenanceTimingEnum = exports.FrequencyEnum = exports.DurationUnitTypesEnum = exports.SlotTypeEnum = exports.ReservationMigrationStatusEnum = exports.ReservationStatusEnum = exports.ReservationPaymentStatusOptions = exports.ReservationExtendedEnum = exports.DurationTypeEnum = exports.ReservationTypeEnum = exports.PrivacySettingsEnum = exports.ItemResourceEnum = void 0;
3
+ exports.MaintenanceTimingEnum = exports.FrequencyEnum = exports.DurationUnitTypesEnum = exports.SlotTypeEnum = exports.ReservationMigrationStatusEnum = exports.ReservationStatusEnum = exports.ReservationPaymentStatusOptions = exports.PaymentStatusOptions = exports.ReservationExtendedEnum = exports.DurationTypeEnum = exports.ReservationTypeEnum = exports.PrivacySettingsEnum = exports.ItemResourceEnum = void 0;
4
4
  const payment_enums_1 = require("../../../payment/types/enums/payment.enums");
5
5
  var ItemResourceEnum;
6
6
  (function (ItemResourceEnum) {
@@ -34,10 +34,14 @@ var ReservationExtendedEnum;
34
34
  (function (ReservationExtendedEnum) {
35
35
  ReservationExtendedEnum["PURCHASE_ORDER"] = "purchase_order";
36
36
  })(ReservationExtendedEnum = exports.ReservationExtendedEnum || (exports.ReservationExtendedEnum = {}));
37
- exports.ReservationPaymentStatusOptions = [
38
- ...Object.values(payment_enums_1.PaymentStatusEnum),
39
- ...Object.values(ReservationExtendedEnum),
37
+ exports.PaymentStatusOptions = [
38
+ payment_enums_1.PaymentStatusEnum.NOT_PAID,
39
+ payment_enums_1.PaymentStatusEnum.PARTIAL_PAYMENT,
40
+ payment_enums_1.PaymentStatusEnum.FULLY_PAID,
41
+ payment_enums_1.PaymentStatusEnum.REFUNDED,
42
+ payment_enums_1.PaymentStatusEnum.VOID,
40
43
  ];
44
+ exports.ReservationPaymentStatusOptions = [...exports.PaymentStatusOptions, ...Object.values(ReservationExtendedEnum)];
41
45
  var ReservationStatusEnum;
42
46
  (function (ReservationStatusEnum) {
43
47
  ReservationStatusEnum["PLANNED"] = "Planned";
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.enums.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/enums/reservation.enums.ts"],"names":[],"mappings":";;;AAAA,8EAA+E;AAE/E,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;AAC5B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACn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YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,sCAAa,CAAA;AACd,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AAClB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uFAAmB,CAAA;IACnB,6EAAc,CAAA;AACf,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
1
+ {"version":3,"file":"reservation.enums.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/enums/reservation.enums.ts"],"names":[],"mappings":";;;AAAA,8EAA+E;AAE/E,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;AAC5B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,kDAA2B,CAAA;IAC3B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACtB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB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,sCAAa,CAAA;AACd,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AAClB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uFAAmB,CAAA;IACnB,6EAAc,CAAA;AACf,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.284-a-4",
3
+ "version": "2.2.284-a-5",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {