@bondsports/types 1.48.0 → 1.49.0
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.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +34 -14
- package/dist/types/cart/dto/cart-item.dto.js +7 -1
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +17 -1
- package/dist/types/cart/dto/cart.dto.js +6 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +9 -3
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +11 -4
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/consts/cart.consts.d.ts +4 -0
- package/dist/types/cart/types/consts/cart.consts.js +14 -0
- package/dist/types/cart/types/consts/cart.consts.js.map +1 -0
- package/dist/types/cart/types/consts/index.d.ts +1 -0
- package/dist/types/{entity/decorators → cart/types/consts}/index.js +1 -1
- package/dist/types/cart/types/consts/index.js.map +1 -0
- package/dist/types/cart/types/index.d.ts +1 -0
- package/dist/types/cart/types/index.js +1 -0
- package/dist/types/cart/types/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +5 -2
- package/dist/types/communication/types/enums/slack.enums.d.ts +8 -1
- package/dist/types/communication/types/enums/slack.enums.js +7 -0
- package/dist/types/communication/types/enums/slack.enums.js.map +1 -1
- package/dist/types/customers/dto/getCustomersListDto.d.ts +3 -3
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +21 -16
- package/dist/types/dto/events.dto.js +7 -13
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +22 -0
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +1 -0
- package/dist/types/dto/general.dto.js +5 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +1 -1
- package/dist/types/dto/index.js +1 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +11 -1
- package/dist/types/dto/membership.dto.js +7 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +1 -1
- package/dist/types/dto/slots.dto.d.ts +25 -0
- package/dist/types/dto/slots.dto.js +13 -0
- package/dist/types/dto/slots.dto.js.map +1 -0
- package/dist/types/entity/ActivityTimes.d.ts +1 -1
- package/dist/types/entity/CreditNote.js.map +1 -1
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/CustomerCreditTransaction.js.map +1 -1
- package/dist/types/entity/GroupItemsPricing.js.map +1 -1
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/InvoiceToPayment.js.map +1 -1
- package/dist/types/entity/LineItemHistory.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +2 -1
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/Membership.d.ts +4 -4
- package/dist/types/entity/Membership.js.map +1 -1
- package/dist/types/entity/ProductPackage.d.ts +1 -1
- package/dist/types/entity/ProductPackage.js.map +1 -1
- package/dist/types/entity/ProductResource.d.ts +1 -1
- package/dist/types/entity/ProductsReservedForCustomers.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.js.map +1 -1
- package/dist/types/entity/PurchasedResources.d.ts +1 -1
- package/dist/types/entity/index.d.ts +0 -2
- package/dist/types/entity/index.js +0 -2
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/errors/dto/error.dto.d.ts +6 -0
- package/dist/types/errors/dto/error.dto.js +7 -0
- package/dist/types/errors/dto/error.dto.js.map +1 -0
- package/dist/types/errors/dto/index.d.ts +1 -0
- package/dist/types/errors/dto/index.js +18 -0
- package/dist/types/errors/dto/index.js.map +1 -0
- package/dist/types/errors/index.d.ts +1 -0
- package/dist/types/errors/index.js +18 -0
- package/dist/types/errors/index.js.map +1 -0
- package/dist/types/fee/entities/Fee.js.map +1 -1
- package/dist/types/fee/entities/PaymentFee.js.map +1 -1
- package/dist/types/import/dto/product.dto.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/membership/interfaces/membership.interfaces.d.ts +27 -0
- package/dist/types/notifications/dto/index.d.ts +2 -0
- package/dist/types/notifications/dto/index.js +19 -0
- package/dist/types/notifications/dto/index.js.map +1 -0
- package/dist/types/notifications/dto/notification.create.dto.d.ts +30 -0
- package/dist/types/notifications/dto/notification.create.dto.js +49 -0
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -0
- package/dist/types/notifications/dto/notification.response.dto.d.ts +14 -0
- package/dist/types/notifications/dto/notification.response.dto.js +23 -0
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -0
- package/dist/types/notifications/index.d.ts +2 -0
- package/dist/types/notifications/index.js +19 -0
- package/dist/types/notifications/index.js.map +1 -0
- package/dist/types/notifications/types/enums/index.d.ts +1 -0
- package/dist/types/notifications/types/enums/index.js +18 -0
- package/dist/types/notifications/types/enums/index.js.map +1 -0
- package/dist/types/notifications/types/enums/notification.enums.d.ts +8 -0
- package/dist/types/notifications/types/enums/notification.enums.js +14 -0
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/types/index.d.ts +1 -0
- package/dist/types/notifications/types/index.js +18 -0
- package/dist/types/notifications/types/index.js.map +1 -0
- package/dist/types/notifyTracker/entities/notifyTracker.js.map +1 -1
- package/dist/types/organization/dto/organization.dto.d.ts +0 -4
- package/dist/types/organization/dto/organization.dto.js +1 -4
- package/dist/types/organization/dto/organization.dto.js.map +1 -1
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/organization/entities/OrganizationPaymentMethod.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -3
- package/dist/types/payment/dto/payment-plan.dto.js +2 -2
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/Discount.js.map +1 -1
- package/dist/types/payment/entities/FutureInstallment.js.map +1 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/entities/PaymentPlanSchedule.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +1 -1
- package/dist/types/payment/types/enums/discount.enums.d.ts +4 -0
- package/dist/types/payment/types/enums/discount.enums.js +6 -1
- package/dist/types/payment/types/enums/discount.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +4 -4
- package/dist/types/pricing/entities/Price.d.ts +1 -1
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +2 -0
- package/dist/types/product-pricing/dto/index.js +2 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-resource.dto.d.ts +9 -0
- package/dist/types/product-pricing/dto/product-resource.dto.js +8 -0
- package/dist/types/product-pricing/dto/product-resource.dto.js.map +1 -0
- package/dist/types/{dto → product-pricing/dto}/product.dto.d.ts +10 -6
- package/dist/types/{dto → product-pricing/dto}/product.dto.js +1 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -0
- package/dist/types/{entity → product-pricing/entities}/Product.d.ts +24 -22
- package/dist/types/{entity → product-pricing/entities}/Product.js +1 -1
- package/dist/types/product-pricing/entities/Product.js.map +1 -0
- package/dist/types/product-pricing/entities/index.d.ts +1 -0
- package/dist/types/product-pricing/entities/index.js +18 -0
- package/dist/types/product-pricing/entities/index.js.map +1 -0
- package/dist/types/product-pricing/index.d.ts +1 -0
- package/dist/types/product-pricing/index.js +1 -0
- package/dist/types/product-pricing/index.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +5 -5
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/Program.d.ts +6 -7
- package/dist/types/programs/entities/Program.js +2 -2
- package/dist/types/programs/entities/Program.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +16 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +4 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +10 -11
- package/dist/types/programs-seasons/entities/ProgramSeason.js +2 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +16 -4
- package/dist/types/purchase/dto/purchase.dto.js +4 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/consts/purchase.consts.d.ts +1 -0
- package/dist/types/purchase/types/consts/purchase.consts.js +11 -1
- package/dist/types/purchase/types/consts/purchase.consts.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +19 -9
- package/dist/types/reservations/dto/addon.dto.d.ts +1 -1
- package/dist/types/reservations/dto/invoice.dto.d.ts +7 -1
- package/dist/types/reservations/dto/invoice.dto.js +5 -3
- package/dist/types/reservations/dto/invoice.dto.js.map +1 -1
- package/dist/types/reservations/dto/lineItem.dto.d.ts +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +18 -18
- package/dist/types/reservations/dto/reservation.dto.js +9 -8
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/entities/Addon.d.ts +1 -1
- package/dist/types/reservations/entities/Addon.js.map +1 -1
- package/dist/types/reservations/entities/Reservations.js.map +1 -1
- package/dist/types/reservations/entities/Slots.d.ts +1 -1
- package/dist/types/reservations/entities/Slots.js.map +1 -1
- package/dist/types/reservations/interfaces/invoice.d.ts +1 -1
- package/dist/types/reservations/interfaces/reservation.d.ts +2 -2
- package/dist/types/reservations/interfaces/reservation.js +1 -1
- package/dist/types/services/interfaces.service.d.ts +2 -7
- package/dist/types/shifts/entities/shift.entity.js.map +1 -1
- package/dist/types/spaces/dto/resource.dto.d.ts +2 -2
- package/dist/types/spaces/dto/resource.dto.js.map +1 -1
- package/dist/types/spaces/dto/space.dto.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +0 -3
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/dto/product.dto.js.map +0 -1
- package/dist/types/entity/Product.js.map +0 -1
- package/dist/types/entity/decorators/column.numeric.transformer.d.ts +0 -5
- package/dist/types/entity/decorators/column.numeric.transformer.js +0 -21
- package/dist/types/entity/decorators/column.numeric.transformer.js.map +0 -1
- package/dist/types/entity/decorators/index.d.ts +0 -1
- package/dist/types/entity/decorators/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reservations.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Reservations.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"Reservations.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Reservations.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAajG,MAAa,WAAY,SAAQ,mEAAgC;CA+DhE;AA/DD,kCA+DC"}
|
|
@@ -2,7 +2,7 @@ import { ColorCode } from '../../entity/ColorCode';
|
|
|
2
2
|
import { Event } from '../../entity/Events';
|
|
3
3
|
import { Invoice } from '../../entity/Invoice';
|
|
4
4
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
5
|
-
import { Product } from '../../
|
|
5
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
6
6
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
|
7
7
|
import { ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../../services/enums.service';
|
|
8
8
|
import { Resource } from '../../spaces/entities/Resource';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slots.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Slots.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"Slots.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Slots.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,IAAK,SAAQ,mEAAgC;CA0HzD;AA1HD,oBA0HC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Invoice } from '../../entity/Invoice';
|
|
2
|
-
import { Product } from '../../
|
|
2
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
3
3
|
import { InvoiceDto } from '../dto/invoice.dto';
|
|
4
4
|
import { LineItemDto } from '../dto/lineItem.dto';
|
|
5
5
|
import { ProductPricesDto } from '../dto/reservation.dto';
|
|
@@ -2,7 +2,7 @@ import { PaginationQuery } from '../../dto/general.dto';
|
|
|
2
2
|
import { Answer } from '../../questionnaires/entities/Answer';
|
|
3
3
|
import { Customer } from '../../entity/Customer';
|
|
4
4
|
import { Invoice } from '../../entity/Invoice';
|
|
5
|
-
import { Product } from '../../
|
|
5
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
6
6
|
import { Payment } from '../../payment/entities/Payment';
|
|
7
7
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
8
8
|
import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
|
|
@@ -22,7 +22,7 @@ import { Series } from '../entities/Series';
|
|
|
22
22
|
import { Slot } from '../entities/Slots';
|
|
23
23
|
export declare const RESOURCE_TOTAL_FIELD = "totalPrice";
|
|
24
24
|
export declare const DEFAULT_ADDON_QUANTITY = 1;
|
|
25
|
-
export declare const PUBLIC_NOTES_LIMIT =
|
|
25
|
+
export declare const PUBLIC_NOTES_LIMIT = 500;
|
|
26
26
|
export declare const PRIVATE_NOTES_LIMIT = 500;
|
|
27
27
|
export type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
28
28
|
export type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SlotDateDto = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.DEFAULT_ADDON_QUANTITY = exports.RESOURCE_TOTAL_FIELD = void 0;
|
|
4
4
|
exports.RESOURCE_TOTAL_FIELD = 'totalPrice';
|
|
5
5
|
exports.DEFAULT_ADDON_QUANTITY = 1;
|
|
6
|
-
exports.PUBLIC_NOTES_LIMIT =
|
|
6
|
+
exports.PUBLIC_NOTES_LIMIT = 500;
|
|
7
7
|
exports.PRIVATE_NOTES_LIMIT = 500;
|
|
8
8
|
class SlotDateDto {
|
|
9
9
|
}
|
|
@@ -11,7 +11,7 @@ import { PurchasePaymentDto } from '../purchase/dto/purchase.dto';
|
|
|
11
11
|
import { SimpleUserDto } from '../user/dto/user.dto';
|
|
12
12
|
import { Answer } from '../questionnaires/entities/Answer';
|
|
13
13
|
import { Event } from './../entity/Events';
|
|
14
|
-
import { Product } from '
|
|
14
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
15
15
|
import { AddonTimePeriodEnum, CurrencyEnum, EntitlementTermsTypesEnum, GenderEnum, LevelOfPlayEnum, MembershipStatusEnum, PackageProductsRelationTypeEnum, ProductSubTypesEnum, ProductTypesEnum, ProgramTypesEnum, PurchasedResourceStatusEnum, RegistrationValidationStatusEnum, RegistrationWindowStatusEnum, ResourceNameTypeEnum, SlotTypeEnum, SportsEnum } from './enums.service';
|
|
16
16
|
export interface IEntitlementTerms {
|
|
17
17
|
type: EntitlementTermsTypesEnum;
|
|
@@ -81,11 +81,6 @@ export declare class EventAsSeasonSegment extends Event {
|
|
|
81
81
|
export interface ITokenResonse {
|
|
82
82
|
token: string;
|
|
83
83
|
}
|
|
84
|
-
export interface IPartialPaymentData {
|
|
85
|
-
purchasingUserId: number;
|
|
86
|
-
paymentData: PurchasePaymentDto;
|
|
87
|
-
amountToPay: number;
|
|
88
|
-
}
|
|
89
84
|
export interface IPayment {
|
|
90
85
|
id: number;
|
|
91
86
|
total: number;
|
|
@@ -354,7 +349,7 @@ export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
|
354
349
|
}
|
|
355
350
|
export interface CreatePaymentIntent {
|
|
356
351
|
amountToPay: number;
|
|
357
|
-
|
|
352
|
+
paymentInfo?: PurchasePaymentDto;
|
|
358
353
|
destinationId?: string;
|
|
359
354
|
stripeCustomerId?: string;
|
|
360
355
|
fee?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAMjG,MAAa,KAAM,SAAQ,mEAAgC;CAsC1D;AAtCD,sBAsCC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
|
2
1
|
import { IdAndNameDto } from '../../dto/general.dto';
|
|
2
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
|
3
3
|
export declare class ResourceDto {
|
|
4
|
-
type: ResourceNameTypeEnum;
|
|
5
4
|
id: number;
|
|
5
|
+
type: ResourceNameTypeEnum;
|
|
6
6
|
}
|
|
7
7
|
export declare class SimpleResourceDto extends IdAndNameDto {
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/spaces/dto/resource.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/spaces/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAGrD,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/spaces/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAGxD,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAc;CAgC1B;AAhCD,wCAgCC;
|
|
1
|
+
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/spaces/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAGxD,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAc;CAgC1B;AAhCD,wCAgCC;AACD,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAQ3D;AARD,0DAQC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SimpleEventDto } from '../../dto/events.dto';
|
|
2
2
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
|
3
3
|
import { IdDto, PaginationResultDto } from '../../dto/general.dto';
|
|
4
|
-
import { SimpleProductDto } from '../../dto/product.dto';
|
|
4
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
|
5
5
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
6
6
|
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
|
7
7
|
import { SimpleResourceDto } from '../../spaces/dto/resource.dto';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SimpleProductDto } from '../../dto/product.dto';
|
|
2
1
|
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
3
2
|
import { OrderByEnum } from '../../services/enums.service';
|
|
4
3
|
import { ByOrganizationAndUserDto } from '../../user/dto/user.dto';
|
|
@@ -23,7 +22,6 @@ export declare class ProgramEventDto {
|
|
|
23
22
|
startTime: string;
|
|
24
23
|
endTime: string;
|
|
25
24
|
timezone: string;
|
|
26
|
-
addons: SimpleProductDto[];
|
|
27
25
|
addonsCount: number;
|
|
28
26
|
}
|
|
29
27
|
export declare class ProgramSegmentDto {
|
|
@@ -33,7 +31,6 @@ export declare class ProgramSegmentDto {
|
|
|
33
31
|
registeredOn: Date;
|
|
34
32
|
startDate: Date;
|
|
35
33
|
endDate: Date;
|
|
36
|
-
addons: SimpleProductDto[];
|
|
37
34
|
addonsCount: number;
|
|
38
35
|
activityTimes: ActivityTimesDto[];
|
|
39
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;AAGA,sDAAmE;AACnE,uDAAwD;AAExD,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,eAAe;
|
|
1
|
+
{"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;AAGA,sDAAmE;AACnE,uDAAwD;AAExD,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,eAAe;CAoB3B;AApBD,0CAoBC;AAED,MAAa,iBAAiB;CAgB7B;AAhBD,8CAgBC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,mCAAoC,SAAQ,mCAAwB;CAEhF;AAFD,kFAEC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product.dto.ts"],"names":[],"mappings":";;;AAUA,+CAA8D;AAI9D,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAoBlD;AApBD,wCAoBC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAAG;AAArD,4CAAqD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/types/entity/Product.ts"],"names":[],"mappings":";;;AAqBA,yFAAsF;AAatF,MAAa,OAAQ,SAAQ,mEAAgC;CA4G5D;AA5GD,0BA4GC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.convertToNumber = exports.ColumnNumericTransformer = void 0;
|
|
4
|
-
class ColumnNumericTransformer {
|
|
5
|
-
to(data) {
|
|
6
|
-
return data;
|
|
7
|
-
}
|
|
8
|
-
from(data) {
|
|
9
|
-
return convertToNumber(data);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.ColumnNumericTransformer = ColumnNumericTransformer;
|
|
13
|
-
function convertToNumber(data) {
|
|
14
|
-
if (data === null)
|
|
15
|
-
return null;
|
|
16
|
-
if (!data)
|
|
17
|
-
return 0;
|
|
18
|
-
return parseFloat(data);
|
|
19
|
-
}
|
|
20
|
-
exports.convertToNumber = convertToNumber;
|
|
21
|
-
//# sourceMappingURL=column.numeric.transformer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"column.numeric.transformer.js","sourceRoot":"","sources":["../../../../src/types/entity/decorators/column.numeric.transformer.ts"],"names":[],"mappings":";;;AAAA,MAAa,wBAAwB;IACpC,EAAE,CAAC,IAAY;QACd,OAAO,IAAI,CAAC;IACb,CAAC;IACD,IAAI,CAAC,IAAY;QAChB,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACD;AAPD,4DAOC;AAED,SAAgB,eAAe,CAAC,IAAY;IAC3C,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAC/B,IAAI,CAAC,IAAI;QAAE,OAAO,CAAC,CAAC;IACpB,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC;AAJD,0CAIC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './column.numeric.transformer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/entity/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C"}
|