@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.
Files changed (196) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/cart/dto/cart-item.dto.d.ts +34 -14
  3. package/dist/types/cart/dto/cart-item.dto.js +7 -1
  4. package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
  5. package/dist/types/cart/dto/cart.dto.d.ts +17 -1
  6. package/dist/types/cart/dto/cart.dto.js +6 -1
  7. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  8. package/dist/types/cart/entities/cart-item.entity.d.ts +9 -3
  9. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  10. package/dist/types/cart/entities/cart.entity.d.ts +11 -4
  11. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  12. package/dist/types/cart/types/consts/cart.consts.d.ts +4 -0
  13. package/dist/types/cart/types/consts/cart.consts.js +14 -0
  14. package/dist/types/cart/types/consts/cart.consts.js.map +1 -0
  15. package/dist/types/cart/types/consts/index.d.ts +1 -0
  16. package/dist/types/{entity/decorators → cart/types/consts}/index.js +1 -1
  17. package/dist/types/cart/types/consts/index.js.map +1 -0
  18. package/dist/types/cart/types/index.d.ts +1 -0
  19. package/dist/types/cart/types/index.js +1 -0
  20. package/dist/types/cart/types/index.js.map +1 -1
  21. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +5 -2
  22. package/dist/types/communication/types/enums/slack.enums.d.ts +8 -1
  23. package/dist/types/communication/types/enums/slack.enums.js +7 -0
  24. package/dist/types/communication/types/enums/slack.enums.js.map +1 -1
  25. package/dist/types/customers/dto/getCustomersListDto.d.ts +3 -3
  26. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  27. package/dist/types/dto/application.dto.js.map +1 -1
  28. package/dist/types/dto/events.dto.d.ts +21 -16
  29. package/dist/types/dto/events.dto.js +7 -13
  30. package/dist/types/dto/events.dto.js.map +1 -1
  31. package/dist/types/dto/facilities.dto.d.ts +22 -0
  32. package/dist/types/dto/facilities.dto.js +4 -1
  33. package/dist/types/dto/facilities.dto.js.map +1 -1
  34. package/dist/types/dto/general.dto.d.ts +1 -0
  35. package/dist/types/dto/general.dto.js +5 -1
  36. package/dist/types/dto/general.dto.js.map +1 -1
  37. package/dist/types/dto/index.d.ts +1 -1
  38. package/dist/types/dto/index.js +1 -1
  39. package/dist/types/dto/index.js.map +1 -1
  40. package/dist/types/dto/membership.dto.d.ts +11 -1
  41. package/dist/types/dto/membership.dto.js +7 -1
  42. package/dist/types/dto/membership.dto.js.map +1 -1
  43. package/dist/types/dto/package.dto.d.ts +1 -1
  44. package/dist/types/dto/slots.dto.d.ts +25 -0
  45. package/dist/types/dto/slots.dto.js +13 -0
  46. package/dist/types/dto/slots.dto.js.map +1 -0
  47. package/dist/types/entity/ActivityTimes.d.ts +1 -1
  48. package/dist/types/entity/CreditNote.js.map +1 -1
  49. package/dist/types/entity/Customer.js.map +1 -1
  50. package/dist/types/entity/CustomerCreditTransaction.js.map +1 -1
  51. package/dist/types/entity/GroupItemsPricing.js.map +1 -1
  52. package/dist/types/entity/Invoice.js.map +1 -1
  53. package/dist/types/entity/InvoiceToPayment.js.map +1 -1
  54. package/dist/types/entity/LineItemHistory.js.map +1 -1
  55. package/dist/types/entity/LineItems.d.ts +2 -1
  56. package/dist/types/entity/LineItems.js.map +1 -1
  57. package/dist/types/entity/Membership.d.ts +4 -4
  58. package/dist/types/entity/Membership.js.map +1 -1
  59. package/dist/types/entity/ProductPackage.d.ts +1 -1
  60. package/dist/types/entity/ProductPackage.js.map +1 -1
  61. package/dist/types/entity/ProductResource.d.ts +1 -1
  62. package/dist/types/entity/ProductsReservedForCustomers.d.ts +1 -1
  63. package/dist/types/entity/ProductsUsers.d.ts +1 -1
  64. package/dist/types/entity/ProductsUsers.js.map +1 -1
  65. package/dist/types/entity/PurchasedResources.d.ts +1 -1
  66. package/dist/types/entity/index.d.ts +0 -2
  67. package/dist/types/entity/index.js +0 -2
  68. package/dist/types/entity/index.js.map +1 -1
  69. package/dist/types/errors/dto/error.dto.d.ts +6 -0
  70. package/dist/types/errors/dto/error.dto.js +7 -0
  71. package/dist/types/errors/dto/error.dto.js.map +1 -0
  72. package/dist/types/errors/dto/index.d.ts +1 -0
  73. package/dist/types/errors/dto/index.js +18 -0
  74. package/dist/types/errors/dto/index.js.map +1 -0
  75. package/dist/types/errors/index.d.ts +1 -0
  76. package/dist/types/errors/index.js +18 -0
  77. package/dist/types/errors/index.js.map +1 -0
  78. package/dist/types/fee/entities/Fee.js.map +1 -1
  79. package/dist/types/fee/entities/PaymentFee.js.map +1 -1
  80. package/dist/types/import/dto/product.dto.d.ts +1 -1
  81. package/dist/types/index.d.ts +2 -0
  82. package/dist/types/index.js +2 -0
  83. package/dist/types/index.js.map +1 -1
  84. package/dist/types/membership/interfaces/membership.interfaces.d.ts +27 -0
  85. package/dist/types/notifications/dto/index.d.ts +2 -0
  86. package/dist/types/notifications/dto/index.js +19 -0
  87. package/dist/types/notifications/dto/index.js.map +1 -0
  88. package/dist/types/notifications/dto/notification.create.dto.d.ts +30 -0
  89. package/dist/types/notifications/dto/notification.create.dto.js +49 -0
  90. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -0
  91. package/dist/types/notifications/dto/notification.response.dto.d.ts +14 -0
  92. package/dist/types/notifications/dto/notification.response.dto.js +23 -0
  93. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -0
  94. package/dist/types/notifications/index.d.ts +2 -0
  95. package/dist/types/notifications/index.js +19 -0
  96. package/dist/types/notifications/index.js.map +1 -0
  97. package/dist/types/notifications/types/enums/index.d.ts +1 -0
  98. package/dist/types/notifications/types/enums/index.js +18 -0
  99. package/dist/types/notifications/types/enums/index.js.map +1 -0
  100. package/dist/types/notifications/types/enums/notification.enums.d.ts +8 -0
  101. package/dist/types/notifications/types/enums/notification.enums.js +14 -0
  102. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  103. package/dist/types/notifications/types/index.d.ts +1 -0
  104. package/dist/types/notifications/types/index.js +18 -0
  105. package/dist/types/notifications/types/index.js.map +1 -0
  106. package/dist/types/notifyTracker/entities/notifyTracker.js.map +1 -1
  107. package/dist/types/organization/dto/organization.dto.d.ts +0 -4
  108. package/dist/types/organization/dto/organization.dto.js +1 -4
  109. package/dist/types/organization/dto/organization.dto.js.map +1 -1
  110. package/dist/types/organization/entities/Organization.d.ts +1 -1
  111. package/dist/types/organization/entities/Organization.js.map +1 -1
  112. package/dist/types/organization/entities/OrganizationPaymentMethod.js.map +1 -1
  113. package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -3
  114. package/dist/types/payment/dto/payment-plan.dto.js +2 -2
  115. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  116. package/dist/types/payment/entities/Discount.js.map +1 -1
  117. package/dist/types/payment/entities/FutureInstallment.js.map +1 -1
  118. package/dist/types/payment/entities/Payment.js.map +1 -1
  119. package/dist/types/payment/entities/PaymentPlanSchedule.js.map +1 -1
  120. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +1 -1
  121. package/dist/types/payment/types/enums/discount.enums.d.ts +4 -0
  122. package/dist/types/payment/types/enums/discount.enums.js +6 -1
  123. package/dist/types/payment/types/enums/discount.enums.js.map +1 -1
  124. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +4 -4
  125. package/dist/types/pricing/entities/Price.d.ts +1 -1
  126. package/dist/types/pricing/entities/Price.js.map +1 -1
  127. package/dist/types/product-pricing/dto/index.d.ts +2 -0
  128. package/dist/types/product-pricing/dto/index.js +2 -0
  129. package/dist/types/product-pricing/dto/index.js.map +1 -1
  130. package/dist/types/product-pricing/dto/product-resource.dto.d.ts +9 -0
  131. package/dist/types/product-pricing/dto/product-resource.dto.js +8 -0
  132. package/dist/types/product-pricing/dto/product-resource.dto.js.map +1 -0
  133. package/dist/types/{dto → product-pricing/dto}/product.dto.d.ts +10 -6
  134. package/dist/types/{dto → product-pricing/dto}/product.dto.js +1 -1
  135. package/dist/types/product-pricing/dto/product.dto.js.map +1 -0
  136. package/dist/types/{entity → product-pricing/entities}/Product.d.ts +24 -22
  137. package/dist/types/{entity → product-pricing/entities}/Product.js +1 -1
  138. package/dist/types/product-pricing/entities/Product.js.map +1 -0
  139. package/dist/types/product-pricing/entities/index.d.ts +1 -0
  140. package/dist/types/product-pricing/entities/index.js +18 -0
  141. package/dist/types/product-pricing/entities/index.js.map +1 -0
  142. package/dist/types/product-pricing/index.d.ts +1 -0
  143. package/dist/types/product-pricing/index.js +1 -0
  144. package/dist/types/product-pricing/index.js.map +1 -1
  145. package/dist/types/programs/dto/program.dto.d.ts +5 -5
  146. package/dist/types/programs/dto/program.dto.js.map +1 -1
  147. package/dist/types/programs/entities/Program.d.ts +6 -7
  148. package/dist/types/programs/entities/Program.js +2 -2
  149. package/dist/types/programs/entities/Program.js.map +1 -1
  150. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +16 -0
  151. package/dist/types/programs-seasons/dto/program-seasons.dto.js +4 -1
  152. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  153. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +10 -11
  154. package/dist/types/programs-seasons/entities/ProgramSeason.js +2 -2
  155. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  156. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +1 -1
  157. package/dist/types/purchase/dto/purchase.dto.d.ts +16 -4
  158. package/dist/types/purchase/dto/purchase.dto.js +4 -1
  159. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  160. package/dist/types/purchase/types/consts/purchase.consts.d.ts +1 -0
  161. package/dist/types/purchase/types/consts/purchase.consts.js +11 -1
  162. package/dist/types/purchase/types/consts/purchase.consts.js.map +1 -1
  163. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +19 -9
  164. package/dist/types/reservations/dto/addon.dto.d.ts +1 -1
  165. package/dist/types/reservations/dto/invoice.dto.d.ts +7 -1
  166. package/dist/types/reservations/dto/invoice.dto.js +5 -3
  167. package/dist/types/reservations/dto/invoice.dto.js.map +1 -1
  168. package/dist/types/reservations/dto/lineItem.dto.d.ts +1 -1
  169. package/dist/types/reservations/dto/reservation.dto.d.ts +18 -18
  170. package/dist/types/reservations/dto/reservation.dto.js +9 -8
  171. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  172. package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
  173. package/dist/types/reservations/entities/Addon.d.ts +1 -1
  174. package/dist/types/reservations/entities/Addon.js.map +1 -1
  175. package/dist/types/reservations/entities/Reservations.js.map +1 -1
  176. package/dist/types/reservations/entities/Slots.d.ts +1 -1
  177. package/dist/types/reservations/entities/Slots.js.map +1 -1
  178. package/dist/types/reservations/interfaces/invoice.d.ts +1 -1
  179. package/dist/types/reservations/interfaces/reservation.d.ts +2 -2
  180. package/dist/types/reservations/interfaces/reservation.js +1 -1
  181. package/dist/types/services/interfaces.service.d.ts +2 -7
  182. package/dist/types/shifts/entities/shift.entity.js.map +1 -1
  183. package/dist/types/spaces/dto/resource.dto.d.ts +2 -2
  184. package/dist/types/spaces/dto/resource.dto.js.map +1 -1
  185. package/dist/types/spaces/dto/space.dto.js.map +1 -1
  186. package/dist/types/user/dto/user.dto.d.ts +1 -1
  187. package/dist/types/user-activities/dto/user-activities.dto.d.ts +0 -3
  188. package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
  189. package/package.json +1 -1
  190. package/dist/types/dto/product.dto.js.map +0 -1
  191. package/dist/types/entity/Product.js.map +0 -1
  192. package/dist/types/entity/decorators/column.numeric.transformer.d.ts +0 -5
  193. package/dist/types/entity/decorators/column.numeric.transformer.js +0 -21
  194. package/dist/types/entity/decorators/column.numeric.transformer.js.map +0 -1
  195. package/dist/types/entity/decorators/index.d.ts +0 -1
  196. 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;AAcjG,MAAa,WAAY,SAAQ,mEAAgC;CA+DhE;AA/DD,kCA+DC"}
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 '../../entity/Product';
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;AAajG,MAAa,IAAK,SAAQ,mEAAgC;CA0HzD;AA1HD,oBA0HC"}
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 '../../entity/Product';
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 '../../entity/Product';
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 = 120;
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 = 120;
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 './../entity/Product';
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
- paymentData?: PurchasePaymentDto;
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;AAOjG,MAAa,KAAM,SAAQ,mEAAgC;CAsC1D;AAtCD,sBAsCC"}
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":";;;AACA,uDAAqD;AAErD,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
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;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,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;CAK3D;AALD,0DAKC"}
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;CAsB3B;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC;AAGD,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,mCAAoC,SAAQ,mCAAwB;CAEhF;AAFD,kFAEC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC"}
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "1.48.0",
3
+ "version": "1.49.0",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -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,5 +0,0 @@
1
- export declare class ColumnNumericTransformer {
2
- to(data: number): number;
3
- from(data: string): number;
4
- }
5
- export declare function convertToNumber(data: string): number;
@@ -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"}