@bondsports/types 2.2.284-b-1 → 2.2.284-b-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.
@@ -1,5 +1,59 @@
1
- import { CreateProductDto, ProductInPackage } from '../product-pricing/dto/product.dto';
2
- import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ResourceNameTypeEnum } from '../services/enums.service';
1
+ import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../services/enums.service';
2
+ import { CreateProductAvailabilityTimesDto, CreateRentalProductAddonDto } from '../product-pricing/dto/product.dto';
3
+ import { CreateOrUpdateResourceSettingDto } from '../resource-settings/dto/create-or-update-resource-setting.dto';
4
+ import { CreatePaymentPlanDto } from '../payment/dto/payment-plan.dto';
5
+ import { VariantWithPrice } from './product-variants.dto';
6
+ import { CreateGroupPricingWithProduct, CreatePriceDto } from '../pricing/dto/pricing.dto';
7
+ export declare class CreateProductDto {
8
+ id?: number;
9
+ organizationId: number;
10
+ name: string;
11
+ quantity?: number;
12
+ isAll?: boolean;
13
+ isPublic: boolean;
14
+ startDate?: Date;
15
+ endDate?: Date;
16
+ description?: string;
17
+ resourcesType?: ResourceNameTypeEnum;
18
+ resourcesIdsToApplyOn?: number[];
19
+ requiredProductIds?: number[];
20
+ GL?: string;
21
+ glIds?: number[];
22
+ prices: CreatePriceDto[];
23
+ downpayment?: number;
24
+ productType: ProductTypesEnum;
25
+ subProductType?: string;
26
+ defaultForResourceId?: number;
27
+ defaultForResourceType?: ResourceNameTypeEnum;
28
+ entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
29
+ variantTitleIds?: number[];
30
+ variants?: VariantWithPrice[];
31
+ variantParentId?: number;
32
+ isAddon?: boolean;
33
+ isArchive?: boolean;
34
+ timePeriod?: AddonTimePeriodEnum;
35
+ isProRated?: boolean;
36
+ paymentPlan?: CreatePaymentPlanDto;
37
+ isTaxInclusive?: boolean;
38
+ tax?: number;
39
+ sports?: number[];
40
+ durationMinutes?: number;
41
+ durationDays?: number;
42
+ forms?: number[];
43
+ isForAllCustomers?: boolean;
44
+ punchCard?: boolean;
45
+ membershipsAvailableFor?: number[];
46
+ customersAvailableFor?: number[];
47
+ addons?: CreateRentalProductAddonDto[];
48
+ availabilityTimes?: CreateProductAvailabilityTimesDto[];
49
+ resourceSettings?: CreateOrUpdateResourceSettingDto[];
50
+ addonsToPackages?: ExistingProductToPackageDto[];
51
+ }
52
+ export declare class ProductInPackage extends CreateProductDto {
53
+ relationType: PackageProductsRelationTypeEnum;
54
+ amountInPackage?: number;
55
+ level?: ProductPackageLevelEnum;
56
+ }
3
57
  export declare class ExistingProductToPackageDto {
4
58
  id: number;
5
59
  relationType: PackageProductsRelationTypeEnum;
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateProductsDto = exports.CreatePackageToResourceDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.CreatePackageDto = exports.ExistingProductToPackageDto = void 0;
3
+ exports.CreateProductsDto = exports.CreatePackageToResourceDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.CreatePackageDto = exports.ExistingProductToPackageDto = exports.ProductInPackage = exports.CreateProductDto = void 0;
4
+ class CreateProductDto {
5
+ }
6
+ exports.CreateProductDto = CreateProductDto;
7
+ class ProductInPackage extends CreateProductDto {
8
+ }
9
+ exports.ProductInPackage = ProductInPackage;
4
10
  class ExistingProductToPackageDto {
5
11
  }
6
12
  exports.ExistingProductToPackageDto = ExistingProductToPackageDto;
@@ -1 +1 @@
1
- {"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAQA,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
1
+ {"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,gBAAgB;CAsF5B;AAtFD,4CAsFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AACD,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
@@ -67,7 +67,7 @@ export declare class FindEntitlementGroupByIdDto {
67
67
  }
68
68
  export declare class CreateGroupPricingWithProduct {
69
69
  groupId: number;
70
- price: number;
70
+ price?: number;
71
71
  startDate?: Date;
72
72
  endDate?: Date;
73
73
  discountValue?: number;
@@ -4,8 +4,8 @@ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
4
  import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
5
5
  import { ResourceDto } from '../../resources/dto/resource.dto';
6
6
  import { OrderByProductEnum } from '../types/enums/product.enums';
7
- import { IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
8
- export declare class FindPriceOfProductDto {
7
+ import { IFindPriceOfProduct, IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
8
+ export declare class FindPriceOfProductDto implements IFindPriceOfProduct {
9
9
  id?: number;
10
10
  productId: number;
11
11
  userId: number;
@@ -3,18 +3,16 @@ import { ActivityTimesDto } from '../../dto/activityTimes.dto';
3
3
  import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
4
4
  import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
5
5
  import { SimpleMembershipDto } from '../../dto/membership.dto';
6
- import { VariantDto, VariantTitleDto, VariantWithPrice } from '../../dto/product-variants.dto';
6
+ import { VariantDto, VariantTitleDto } from '../../dto/product-variants.dto';
7
7
  import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
8
8
  import { ProductPackage } from '../../entity/ProductPackage';
9
9
  import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
10
10
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
11
11
  import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
12
- import { CreatePaymentPlanDto, PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
12
+ import { PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
13
13
  import { PriceDto } from '../../pricing/dto/price.dto';
14
- import { CreateGroupPricingWithProduct, CreatePriceDto } from '../../pricing/dto/pricing.dto';
15
- import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
16
14
  import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
17
- import { ActivityEnum, AddonTimePeriodEnum, PackageProductsRelationTypeEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
15
+ import { ActivityEnum, AddonTimePeriodEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
18
16
  import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
19
17
  import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
20
18
  import { ProductResourceDto } from './product-resource.dto';
@@ -38,53 +36,6 @@ export declare class CreateRentalProductAddonDto {
38
36
  isMandatory?: boolean;
39
37
  level: ProductPackageLevelEnum;
40
38
  }
41
- export declare class CreateProductDto {
42
- id?: number;
43
- organizationId: number;
44
- name: string;
45
- quantity?: number;
46
- isAll?: boolean;
47
- isPublic: boolean;
48
- startDate?: Date;
49
- endDate?: Date;
50
- description?: string;
51
- resourcesType?: ResourceNameTypeEnum;
52
- resourcesIdsToApplyOn?: number[];
53
- GL?: string;
54
- glIds?: number[];
55
- prices: CreatePriceDto[];
56
- downpayment?: number;
57
- productType: ProductTypesEnum;
58
- subProductType?: string;
59
- defaultForResourceId?: number;
60
- defaultForResourceType?: ResourceNameTypeEnum;
61
- entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
62
- variantTitleIds?: number[];
63
- variants?: VariantWithPrice[];
64
- variantParentId?: number;
65
- isAddon?: boolean;
66
- isArchive?: boolean;
67
- timePeriod?: AddonTimePeriodEnum;
68
- isProRated?: boolean;
69
- paymentPlan?: CreatePaymentPlanDto;
70
- isTaxInclusive?: boolean;
71
- tax?: number;
72
- sports?: number[];
73
- durationMinutes?: number;
74
- durationDays?: number;
75
- forms?: number[];
76
- isForAllCustomers?: boolean;
77
- membershipsAvailableFor?: number[];
78
- customersAvailableFor?: number[];
79
- addons?: CreateRentalProductAddonDto[];
80
- availabilityTimes?: CreateProductAvailabilityTimesDto[];
81
- resourceSettings?: CreateOrUpdateResourceSettingDto[];
82
- }
83
- export declare class ProductInPackage extends CreateProductDto {
84
- relationType: PackageProductsRelationTypeEnum;
85
- amountInPackage?: number;
86
- level?: ProductPackageLevelEnum;
87
- }
88
39
  export declare class ConnectProductResourceDto {
89
40
  productId: number;
90
41
  resourceType: ResourceNameTypeEnum;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
3
+ exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  class FindByProductIdDto {
@@ -15,12 +15,6 @@ exports.ByProductAndOrgDto = ByProductAndOrgDto;
15
15
  class CreateRentalProductAddonDto {
16
16
  }
17
17
  exports.CreateRentalProductAddonDto = CreateRentalProductAddonDto;
18
- class CreateProductDto {
19
- }
20
- exports.CreateProductDto = CreateProductDto;
21
- class ProductInPackage extends CreateProductDto {
22
- }
23
- exports.ProductInPackage = ProductInPackage;
24
18
  class ConnectProductResourceDto {
25
19
  }
26
20
  exports.ConnectProductResourceDto = ConnectProductResourceDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAMtE,8EAA8E;AAsB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD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2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA0G1B;AA1GD,wCA0GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -5,6 +5,7 @@ import { ActivityEnum, OrderByEnum, SportsEnum } from '../../../services/enums.s
5
5
  import { IPagination } from '../../../util/models/interfaces/general.interfaces';
6
6
  import { OrderByProductEnum } from '../enums/product.enums';
7
7
  import { IProductResource } from './porduct-resource.interfaces';
8
+ import { ResourceDto } from '../../../resources/dto/resource.dto';
8
9
  export interface IGetCurrentPricesOptions {
9
10
  userId?: number;
10
11
  answers?: QuestionAnswersDto[];
@@ -46,3 +47,11 @@ export interface IGetProductsOptions {
46
47
  throwError?: boolean;
47
48
  skipRefetch?: boolean;
48
49
  }
50
+ export interface IFindPriceOfProduct {
51
+ id?: number;
52
+ productId: number;
53
+ userId: number;
54
+ resources?: ResourceDto[];
55
+ quantity?: number;
56
+ unique?: string;
57
+ }
@@ -3,6 +3,7 @@ import { IdAndNameDto, PaginationMetaDto, PaginationQuery } from '../../dto/gene
3
3
  import { Event } from '../../entity/Events';
4
4
  import { BaseNotificationDto } from '../../notifications/dto/backoffice.notify.dto';
5
5
  import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
6
+ import { Product } from '../../product-pricing/entities/Product';
6
7
  import { ByProgramDto, UpdateProgramOptionsDto } from '../../programs/dto/program.dto';
7
8
  import { MaintenanceDto } from '../../reservations/dto/maintenance.dto';
8
9
  import { SlotTypeEnum } from '../../reservations/types/enums/reservation.enums';
@@ -67,7 +68,24 @@ export declare class BlockedDatesDto {
67
68
  startDate: Date;
68
69
  endDate: Date;
69
70
  }
70
- export declare class BaseProgramSeasonDto {
71
+ export declare class RegistrationDatesDto {
72
+ registrationStartDate: Date;
73
+ registrationEndDate: Date;
74
+ earlyRegistrationStartDate?: Date;
75
+ earlyRegistrationEndDate?: Date;
76
+ lateRegistrationStartDate?: Date;
77
+ lateRegistrationEndDate?: Date;
78
+ }
79
+ export declare class RegistrationSettingsDto extends RegistrationDatesDto {
80
+ closeRegistrationPeriodValue?: number;
81
+ closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
82
+ closeRegistrationSpecTime?: string;
83
+ openRegistrationPeriodValue?: number;
84
+ openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
85
+ openRegistrationSpecTime?: string;
86
+ productsIdsToUpdate?: number[];
87
+ }
88
+ export declare class BaseProgramSeasonDto extends RegistrationSettingsDto {
71
89
  programId?: number;
72
90
  name: string;
73
91
  status: PublishingStatusEnum;
@@ -118,6 +136,7 @@ export declare class SubSeasonBasicInfo {
118
136
  }
119
137
  export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
120
138
  subSeasons?: SubSeasonBasicInfo[];
139
+ duplicateFromSeasonId?: number;
121
140
  }
122
141
  export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
123
142
  seasonId: number;
@@ -198,23 +217,6 @@ export declare class MoveAttendeeDto {
198
217
  export declare class UpdateSeasonRegistrationDatesDto {
199
218
  registrationPeriods: UpdateSeasonDatesDto[];
200
219
  }
201
- export declare class RegistrationDatesDto {
202
- registrationStartDate: Date;
203
- registrationEndDate: Date;
204
- earlyRegistrationStartDate?: Date;
205
- earlyRegistrationEndDate?: Date;
206
- lateRegistrationStartDate?: Date;
207
- lateRegistrationEndDate?: Date;
208
- }
209
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
210
- closeRegistrationPeriodValue?: number;
211
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
212
- closeRegistrationSpecTime?: string;
213
- openRegistrationPeriodValue?: number;
214
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
215
- openRegistrationSpecTime?: string;
216
- productsIdsToUpdate?: number[];
217
- }
218
220
  export declare class MoveParticipantDto {
219
221
  userId: number;
220
222
  oldProductId: number;
@@ -274,3 +276,7 @@ export declare class GetPaginatedEventsQueryDto extends GetPaginatedSessionQuery
274
276
  orderBy?: EventSortByFieldsEnum;
275
277
  order?: OrderByEnum;
276
278
  }
279
+ export declare class SeasonWithProduct {
280
+ season: ProgramSeason;
281
+ product: Product;
282
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSegmentsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
3
+ exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSegmentsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
6
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
@@ -44,7 +44,13 @@ exports.FindRegisteredUsersOptionsDto = FindRegisteredUsersOptionsDto;
44
44
  class BlockedDatesDto {
45
45
  }
46
46
  exports.BlockedDatesDto = BlockedDatesDto;
47
- class BaseProgramSeasonDto {
47
+ class RegistrationDatesDto {
48
+ }
49
+ exports.RegistrationDatesDto = RegistrationDatesDto;
50
+ class RegistrationSettingsDto extends RegistrationDatesDto {
51
+ }
52
+ exports.RegistrationSettingsDto = RegistrationSettingsDto;
53
+ class BaseProgramSeasonDto extends RegistrationSettingsDto {
48
54
  }
49
55
  exports.BaseProgramSeasonDto = BaseProgramSeasonDto;
50
56
  class CreateSessionScheduleDto {
@@ -92,12 +98,6 @@ exports.MoveAttendeeDto = MoveAttendeeDto;
92
98
  class UpdateSeasonRegistrationDatesDto {
93
99
  }
94
100
  exports.UpdateSeasonRegistrationDatesDto = UpdateSeasonRegistrationDatesDto;
95
- class RegistrationDatesDto {
96
- }
97
- exports.RegistrationDatesDto = RegistrationDatesDto;
98
- class RegistrationSettingsDto extends RegistrationDatesDto {
99
- }
100
- exports.RegistrationSettingsDto = RegistrationSettingsDto;
101
101
  class MoveParticipantDto {
102
102
  }
103
103
  exports.MoveParticipantDto = MoveParticipantDto;
@@ -140,4 +140,7 @@ exports.GetPaginatedSegmentsQueryDto = GetPaginatedSegmentsQueryDto;
140
140
  class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto {
141
141
  }
142
142
  exports.GetPaginatedEventsQueryDto = GetPaginatedEventsQueryDto;
143
+ class SeasonWithProduct {
144
+ }
145
+ exports.SeasonWithProduct = SeasonWithProduct;
143
146
  //# sourceMappingURL=program-seasons.dto.js.map
@@ -1 +1 @@
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;AAyBvF,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,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9B;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;AAED,MAAa,2BACZ,SAAQ,6BAAe;CAWvB;AAZD,kEAYC;AAED,MAAa,4BAA6B,SAAQ,2BAA0C;CAI3F;AAJD,oEAIC;AAED,MAAa,0BAA2B,SAAQ,2BAAkC;CAIjF;AAJD,gEAIC"}
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;AAEzG,gEAAuF;AAyBvF,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,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAA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ED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,2BACZ,SAAQ,6BAAe;CAWvB;AAZD,kEAYC;AAED,MAAa,4BAA6B,SAAQ,2BAA0C;CAI3F;AAJD,oEAIC;AAED,MAAa,0BAA2B,SAAQ,2BAAkC;CAIjF;AAJD,gEAIC;AACD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC"}
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "@bondsports/types",
3
- "version": "2.2.284-b-1",
4
- "description": "backend types module for Bond-Sports",
5
- "main": "./dist/index.js",
6
- "scripts": {
7
- "format": "prettier --check .",
8
- "format:fix": "prettier --write .",
9
- "prelint:fix": "npm run format:fix",
10
- "prelint": "npm run format",
11
- "lint": "eslint .",
12
- "lint:fix": "eslint --fix .",
13
- "release": "standard-version",
14
- "import:types": "rimraf src/types && node ./import.js",
15
- "prebuild": "npm run clean",
16
- "build": "tsc --project tsconfig.build.json",
17
- "start": "npm run build && cd dist && node ./index.js",
18
- "clean": "rimraf dist",
19
- "prepublish": "npm run build",
20
- "version": "echo $npm_package_version"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
- },
26
- "author": "Bond-Sports",
27
- "license": "ISC",
28
- "bugs": {
29
- "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
- },
31
- "files": [
32
- "dist/**/*"
33
- ],
34
- "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
- "dependencies": {
36
- "moment": "^2.29.1",
37
- "rimraf": "^3.0.2",
38
- "stripe": "9.1.0",
39
- "typeorm": "^0.2.32",
40
- "@bondsports/date-time": "latest",
41
- "@bondsports/notifications-sdk": "latest"
42
- },
43
- "devDependencies": {
44
- "@bondsports/eslint-config": "^1.0.2",
45
- "@bondsports/prettier-config": "0.0.1",
46
- "@types/node": "^13.9.1",
47
- "eslint": "^8.16.0",
48
- "prettier": "^2.6.2",
49
- "standard-version": "^9.5.0",
50
- "ts-node": "^10.8.0",
51
- "typescript": "^4.4.3"
52
- },
53
- "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
- }
1
+ {
2
+ "name": "@bondsports/types",
3
+ "version": "2.2.284-b-2",
4
+ "description": "backend types module for Bond-Sports",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "format": "prettier --check .",
8
+ "format:fix": "prettier --write .",
9
+ "prelint:fix": "npm run format:fix",
10
+ "prelint": "npm run format",
11
+ "lint": "eslint .",
12
+ "lint:fix": "eslint --fix .",
13
+ "release": "standard-version",
14
+ "import:types": "rimraf src/types && node ./import.js",
15
+ "prebuild": "npm run clean",
16
+ "build": "tsc --project tsconfig.build.json",
17
+ "start": "npm run build && cd dist && node ./index.js",
18
+ "clean": "rimraf dist",
19
+ "prepublish": "npm run build",
20
+ "version": "echo $npm_package_version"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
+ },
26
+ "author": "Bond-Sports",
27
+ "license": "ISC",
28
+ "bugs": {
29
+ "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
+ },
31
+ "files": [
32
+ "dist/**/*"
33
+ ],
34
+ "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
+ "dependencies": {
36
+ "moment": "^2.29.1",
37
+ "rimraf": "^3.0.2",
38
+ "stripe": "9.1.0",
39
+ "typeorm": "^0.2.32",
40
+ "@bondsports/date-time": "latest",
41
+ "@bondsports/notifications-sdk": "latest"
42
+ },
43
+ "devDependencies": {
44
+ "@bondsports/eslint-config": "^1.0.2",
45
+ "@bondsports/prettier-config": "0.0.1",
46
+ "@types/node": "^13.9.1",
47
+ "eslint": "^8.16.0",
48
+ "prettier": "^2.6.2",
49
+ "standard-version": "^9.5.0",
50
+ "ts-node": "^10.8.0",
51
+ "typescript": "^4.4.3"
52
+ },
53
+ "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
+ }