@bondsports/types 2.2.148 → 2.2.150

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purcha
8
8
  import { AddonParentTypeEnum, NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
9
9
  import { Reservation } from '../entities/reservation.entity';
10
10
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
11
- import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
11
+ import { IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
12
12
  import { AddonDto, DraftAddonDto } from './addon.dto';
13
13
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
14
14
  import { SeriesDto } from './series.dto';
@@ -270,7 +270,12 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
270
270
  includeParticipants?: boolean;
271
271
  includeSegments?: boolean;
272
272
  }
273
- export declare class DraftIdsDto {
273
+ export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
274
+ includeResources?: boolean;
275
+ includeConflicts?: boolean;
276
+ includeParticipants?: boolean;
277
+ }
278
+ export declare class DraftIdsDto extends GetDraftSlotsOptions {
274
279
  ids: string[];
275
280
  }
276
281
  export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
3
+ exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
6
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
@@ -148,7 +148,10 @@ exports.GetDraftReservationAddonsQueryDto = GetDraftReservationAddonsQueryDto;
148
148
  class GetDraftReservationOptionsDto {
149
149
  }
150
150
  exports.GetDraftReservationOptionsDto = GetDraftReservationOptionsDto;
151
- class DraftIdsDto {
151
+ class GetDraftSlotsOptions {
152
+ }
153
+ exports.GetDraftSlotsOptions = GetDraftSlotsOptions;
154
+ class DraftIdsDto extends GetDraftSlotsOptions {
152
155
  }
153
156
  exports.DraftIdsDto = DraftIdsDto;
154
157
  class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG,8EAA8E;AAI9E,kEAAwF;AAsCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB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DAIC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AACD,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,0BAA2B,SAAQ,gCAAiB;CAIhE;AAJD,gEAIC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AACD,MAAa,yBAA0B,SAAQ,wBAAwB;CAEtE;AAFD,8DAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,kCACZ,SAAQ,6BAAe;CAqBvB;AAtBD,gFAsBC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC"}
1
+ {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG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C;AAND,wDAMC"}
@@ -7,6 +7,7 @@ import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
7
7
  import { IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
8
8
  import { AddonDto, DraftAddonDto } from './addon.dto';
9
9
  import { MaintenanceDto } from './maintenance.dto';
10
+ import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
10
11
  export declare class SlotProductMetadataDto implements ISlotProductMetadata {
11
12
  productId: number;
12
13
  price: number;
@@ -43,6 +44,7 @@ export declare class BaseSlotDto extends DateTimeAndResourcesDto {
43
44
  conflictsIds?: number[];
44
45
  occurrence?: number;
45
46
  productMetadata?: SlotProductMetadataDto;
47
+ maintenance?: MaintenanceDto[];
46
48
  }
47
49
  export declare class SlotDto extends BaseSlotDto {
48
50
  id?: number;
@@ -61,7 +63,6 @@ export declare class SlotDto extends BaseSlotDto {
61
63
  [addonProductId: number]: IOverridePriceMeta;
62
64
  };
63
65
  addonProducts?: Product[];
64
- maintenance?: MaintenanceDto[];
65
66
  isPrivate: boolean;
66
67
  addonsIds?: number[];
67
68
  parentSlotId?: number;
@@ -101,6 +102,7 @@ export declare class DraftSlotDto extends BaseSlotDto implements IDraftSlot {
101
102
  instructors?: SimpleResourceDto[];
102
103
  totalSlotsInSeries?: number;
103
104
  parentSlotId?: string;
105
+ participants?: SimpleCustomerDto[];
104
106
  }
105
107
  export declare class TimeSlotConflictsDto {
106
108
  timeSlot: TimeSlotDto;
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAsB5C;AAtBD,oCAsBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAqBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CAgDvD;AAhDD,kCAgDC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAiCvC;AAjCD,0BAiCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAwB5C;AAxBD,oCAwBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
@@ -311,10 +311,15 @@ export interface IGetDraftReservationOptions {
311
311
  includeSegments?: boolean;
312
312
  includeSlots?: boolean;
313
313
  }
314
- export interface IGetDraftReservationSlotsOptions extends IPagination {
314
+ export interface IGetDraftReservationSlotsOptions extends IPagination, IExtendDraftSlotsOptions {
315
315
  segmentsIds?: string[];
316
316
  slotsIds?: string[];
317
317
  seriesIds?: string[];
318
318
  includeResources?: boolean;
319
319
  }
320
+ export interface IExtendDraftSlotsOptions {
321
+ includeResources?: boolean;
322
+ includeParticipants?: boolean;
323
+ includeConflicts?: boolean;
324
+ }
320
325
  export {};
@@ -27,6 +27,9 @@ export declare class InvalidResourceDto extends ResourceDto {
27
27
  }
28
28
  export declare class SimpleResourceDto extends IdAndNameDto {
29
29
  }
30
+ export declare class SimpleResourceWithSportsDto extends SimpleResourceDto {
31
+ sports: SportsEnum[];
32
+ }
30
33
  export declare class BaseResourceDto extends IdDto {
31
34
  organizationId: number;
32
35
  createdAt: Date;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
3
+ exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.SimpleResourceWithSportsDto = exports.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
4
4
  const facilities_dto_1 = require("../../dto/facilities.dto");
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
@@ -13,6 +13,9 @@ exports.InvalidResourceDto = InvalidResourceDto;
13
13
  class SimpleResourceDto extends general_dto_1.IdAndNameDto {
14
14
  }
15
15
  exports.SimpleResourceDto = SimpleResourceDto;
16
+ class SimpleResourceWithSportsDto extends SimpleResourceDto {
17
+ }
18
+ exports.SimpleResourceWithSportsDto = SimpleResourceWithSportsDto;
16
19
  class BaseResourceDto extends general_dto_1.IdDto {
17
20
  }
18
21
  exports.BaseResourceDto = BaseResourceDto;
@@ -1 +1 @@
1
- {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAoB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC;AAED,MAAa,8BAA+B,SAAQ,kCAAiB;CAIpE;AAJD,wEAIC"}
1
+ {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAoB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,2BAA4B,SAAQ,iBAAiB;CAEjE;AAFD,kEAEC;AAED,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC;AAED,MAAa,8BAA+B,SAAQ,kCAAiB;CAIpE;AAJD,wEAIC"}
@@ -6,5 +6,19 @@ export interface UpdateUser {
6
6
  status?: string;
7
7
  birthDate?: string;
8
8
  email?: string;
9
+ zip?: string;
10
+ street?: string;
11
+ city?: string;
12
+ state?: string;
13
+ gender?: GenderEnum;
14
+ }
15
+ export interface UpdateUserFields {
16
+ firstName?: string;
17
+ lastName?: string;
18
+ phoneNumber?: string;
19
+ status?: string;
20
+ birthDate?: string;
21
+ email?: string;
22
+ addressId?: number;
9
23
  gender?: GenderEnum;
10
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.148",
3
+ "version": "2.2.150",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {