@bondsports/types 2.2.284-team-b → 2.2.284
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/accounting/entities/index.d.ts +2 -0
- package/dist/types/accounting/entities/index.js +19 -0
- package/dist/types/accounting/entities/index.js.map +1 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
- package/dist/types/accounting/index.d.ts +2 -0
- package/dist/types/accounting/index.js +19 -0
- package/dist/types/accounting/index.js.map +1 -0
- package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
- package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
- package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
- package/dist/types/accounting/types/enums/index.d.ts +1 -0
- package/dist/types/{membership/interfaces → accounting/types/enums}/index.js +1 -1
- package/dist/types/accounting/types/enums/index.js.map +1 -0
- package/dist/types/accounting/types/index.js.map +1 -0
- package/dist/types/address/dto/address.dto.d.ts +9 -0
- package/dist/types/address/dto/address.dto.js +7 -0
- package/dist/types/address/dto/address.dto.js.map +1 -0
- package/dist/types/address/dto/index.d.ts +1 -0
- package/dist/types/address/dto/index.js +18 -0
- package/dist/types/address/dto/index.js.map +1 -0
- package/dist/types/{entity → address/entities}/Address.d.ts +1 -1
- package/dist/types/{entity → address/entities}/Address.js +1 -1
- package/dist/types/address/entities/Address.js.map +1 -0
- package/dist/types/address/entities/index.d.ts +1 -0
- package/dist/types/address/entities/index.js +18 -0
- package/dist/types/address/entities/index.js.map +1 -0
- package/dist/types/address/index.d.ts +2 -0
- package/dist/types/address/index.js +2 -0
- package/dist/types/address/index.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +65 -2
- package/dist/types/cart/dto/cart.dto.js +28 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +8 -0
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -1
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/classes/cart.classes.d.ts +9 -0
- package/dist/types/cart/types/classes/cart.classes.js +7 -0
- package/dist/types/cart/types/classes/cart.classes.js.map +1 -0
- package/dist/types/cart/types/classes/index.d.ts +1 -0
- package/dist/types/cart/types/classes/index.js +18 -0
- package/dist/types/cart/types/classes/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 +63 -1
- package/dist/types/customers/dto/customer-response.dto.d.ts +5 -0
- package/dist/types/customers/dto/customer-response.dto.js +4 -1
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
- package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
- package/dist/types/customers/types/consts/customers.consts.d.ts +1 -0
- package/dist/types/customers/types/consts/customers.consts.js +5 -2
- package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +10 -1
- package/dist/types/dto/activityTimes.dto.d.ts +10 -0
- package/dist/types/dto/activityTimes.dto.js +4 -1
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +4 -2
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +2 -9
- package/dist/types/dto/facilities.dto.js +1 -4
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +11 -5
- package/dist/types/dto/general.dto.js +4 -2
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +15 -2
- package/dist/types/dto/groupsDivisions.dto.js +6 -3
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +17 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +10 -0
- package/dist/types/dto/product-user.js +7 -1
- package/dist/types/dto/product-user.js.map +1 -1
- package/dist/types/dto/product-variants.dto.d.ts +2 -14
- package/dist/types/dto/product-variants.dto.js +2 -5
- package/dist/types/dto/product-variants.dto.js.map +1 -1
- package/dist/types/dto/userPaymentMethod.dto.d.ts +4 -0
- package/dist/types/dto/userPaymentMethod.dto.js +4 -1
- package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +21 -5
- package/dist/types/employees/dto/employee.dto.js +8 -1
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/types/consts/index.d.ts +3 -0
- package/dist/types/employees/types/consts/index.js +25 -0
- package/dist/types/employees/types/consts/index.js.map +1 -0
- package/dist/types/employees/types/index.d.ts +1 -0
- package/dist/types/employees/types/index.js +1 -0
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +4 -3
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +3 -1
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/EventAttendees.d.ts +6 -6
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/EventHistory.d.ts +1 -1
- package/dist/types/entity/EventHistory.js.map +1 -1
- package/dist/types/entity/Facility.d.ts +1 -1
- package/dist/types/entity/LineItems.d.ts +3 -0
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/MembershipMember.d.ts +11 -0
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/PackageV1.d.ts +2 -0
- package/dist/types/entity/PackageV1.js.map +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/facilities/index.d.ts +1 -0
- package/dist/types/facilities/index.js +18 -0
- package/dist/types/facilities/index.js.map +1 -0
- package/dist/types/facilities/types/facilities.types.d.ts +4 -0
- package/dist/types/facilities/types/facilities.types.js +3 -0
- package/dist/types/facilities/types/facilities.types.js.map +1 -0
- package/dist/types/facilities/types/index.d.ts +1 -0
- package/dist/types/facilities/types/index.js +18 -0
- package/dist/types/facilities/types/index.js.map +1 -0
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
- package/dist/types/invoice/dto/invoice.dto.js +5 -1
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
- package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
- package/dist/types/invoice/types/interfaces/index.js +1 -0
- package/dist/types/invoice/types/interfaces/index.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
- package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
- package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
- package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
- package/dist/types/membership/dto/index.d.ts +2 -0
- package/dist/types/membership/dto/index.js +19 -0
- package/dist/types/membership/dto/index.js.map +1 -0
- package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
- package/dist/types/membership/dto/membershipMember.dto.js +45 -0
- package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
- package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
- package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
- package/dist/types/membership/index.d.ts +2 -1
- package/dist/types/membership/index.js +2 -1
- package/dist/types/membership/index.js.map +1 -1
- package/dist/types/membership/types/index.d.ts +5 -0
- package/dist/types/membership/types/index.js +22 -0
- package/dist/types/membership/types/index.js.map +1 -0
- package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
- package/dist/types/membership/types/membership.interfaces.js.map +1 -0
- package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
- package/dist/types/membership/types/membership.member.classes.js +7 -0
- package/dist/types/membership/types/membership.member.classes.js.map +1 -0
- package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
- package/dist/types/membership/types/membership.member.consts.js +8 -0
- package/dist/types/membership/types/membership.member.consts.js.map +1 -0
- package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
- package/dist/types/membership/types/membership.members.interfaces.js +3 -0
- package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
- package/dist/types/membership/types/membership.members.types.d.ts +4 -0
- package/dist/types/membership/types/membership.members.types.js +3 -0
- package/dist/types/membership/types/membership.members.types.js.map +1 -0
- package/dist/types/notifications/dto/index.d.ts +1 -0
- package/dist/types/notifications/dto/index.js +1 -0
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/dto/types/index.d.ts +1 -0
- package/dist/types/notifications/dto/types/index.js +18 -0
- package/dist/types/notifications/dto/types/index.js.map +1 -0
- package/dist/types/notifications/index.d.ts +0 -1
- package/dist/types/notifications/index.js +0 -1
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/online-rentals/index.d.ts +1 -0
- package/dist/types/online-rentals/index.js +18 -0
- package/dist/types/online-rentals/index.js.map +1 -0
- package/dist/types/online-rentals/types/index.d.ts +2 -0
- package/dist/types/online-rentals/types/index.js +19 -0
- package/dist/types/online-rentals/types/index.js.map +1 -0
- package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
- package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
- package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
- package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
- package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
- package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/interfaces/index.d.ts +1 -0
- package/dist/types/organization/interfaces/index.js +1 -0
- package/dist/types/organization/interfaces/index.js.map +1 -1
- package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
- package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
- package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
- package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
- package/dist/types/payment/dto/payment-method.dto.js +4 -1
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
- package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
- package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
- package/dist/types/payment/types/consts/payment.consts.js +5 -1
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
- package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
- package/dist/types/payment/types/enums/payment.enums.js +2 -0
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
- package/dist/types/pricing/dto/price.dto.d.ts +3 -1
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
- package/dist/types/pricing/entities/Price.d.ts +3 -2
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +2 -0
- package/dist/types/programs/dto/program.dto.d.ts +5 -2
- package/dist/types/programs/dto/program.dto.js +4 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +2 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +4 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/classes/index.js +18 -0
- package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/enums/index.js +18 -0
- package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +9 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +15 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
- package/dist/types/programs-seasons/types/index.d.ts +2 -0
- package/dist/types/programs-seasons/types/index.js +2 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
- package/dist/types/reservations/dto/addon.dto.d.ts +21 -8
- package/dist/types/reservations/dto/addon.dto.js +9 -2
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +171 -24
- package/dist/types/reservations/dto/reservation.dto.js +86 -7
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.d.ts +7 -4
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +106 -26
- package/dist/types/reservations/dto/slot.dto.js +25 -7
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
- package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
- package/dist/types/reservations/entities/addon.entity.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +22 -0
- package/dist/types/reservations/types/classes/addon.classes.js +7 -0
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/index.d.ts +7 -0
- package/dist/types/reservations/types/classes/index.js +24 -0
- package/dist/types/reservations/types/classes/index.js.map +1 -0
- package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
- package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
- package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
- package/dist/types/reservations/types/classes/product.classes.js +10 -0
- package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
- package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
- package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
- package/dist/types/reservations/types/classes/segment.classes.js +10 -0
- package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
- package/dist/types/reservations/types/classes/series.classes.js +7 -0
- package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
- package/dist/types/reservations/types/classes/slot.classes.js +11 -0
- package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
- package/dist/types/reservations/types/consts/index.d.ts +1 -0
- package/dist/types/reservations/types/consts/index.js +1 -0
- package/dist/types/reservations/types/consts/index.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +12 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +18 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
- package/dist/types/reservations/types/consts/slot.consts.js +5 -0
- package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
- package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/index.d.ts +1 -0
- package/dist/types/reservations/types/index.js +1 -0
- package/dist/types/reservations/types/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
- package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
- package/dist/types/reservations/types/interfaces/index.js +2 -0
- package/dist/types/reservations/types/interfaces/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +160 -19
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
- package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +61 -24
- package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +23 -11
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -0
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Instructor.d.ts +2 -2
- package/dist/types/resources/entities/Instructor.js.map +1 -1
- package/dist/types/resources/entities/Space.d.ts +1 -1
- package/dist/types/resources/entities/Space.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
- package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
- package/dist/types/roles/dto/permission-group.dto.js +8 -1
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +27 -12
- package/dist/types/roles/dto/role.dto.js +23 -5
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/dist/types/roles/entities/Role.d.ts +3 -2
- package/dist/types/roles/entities/Role.js.map +1 -1
- package/dist/types/roles/entities/index.d.ts +6 -0
- package/dist/types/roles/entities/index.js +10 -0
- package/dist/types/roles/entities/index.js.map +1 -1
- package/dist/types/roles/types/index.d.ts +1 -0
- package/dist/types/roles/types/index.js +1 -0
- package/dist/types/roles/types/index.js.map +1 -1
- package/dist/types/roles/types/role.consts.d.ts +1 -0
- package/dist/types/roles/types/role.consts.js +6 -0
- package/dist/types/roles/types/role.consts.js.map +1 -0
- package/dist/types/roles/types/role.enums.d.ts +13 -2
- package/dist/types/roles/types/role.enums.js +13 -1
- package/dist/types/roles/types/role.enums.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +23 -2
- package/dist/types/services/enums.service.js +27 -3
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +15 -3
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/entities/User.d.ts +3 -1
- package/dist/types/user/entities/User.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +15 -0
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
- package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
- package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
- package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
- package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
- package/dist/types/webflow/dto/index.d.ts +1 -0
- package/dist/types/webflow/dto/index.js +18 -0
- package/dist/types/webflow/dto/index.js.map +1 -0
- package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
- package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/webflow/entities/index.d.ts +1 -0
- package/dist/types/webflow/entities/index.js +18 -0
- package/dist/types/webflow/entities/index.js.map +1 -0
- package/dist/types/webflow/index.d.ts +2 -0
- package/dist/types/webflow/index.js +2 -0
- package/dist/types/webflow/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/entity/Address.js.map +0 -1
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
- package/dist/types/membership/interfaces/index.d.ts +0 -1
- package/dist/types/membership/interfaces/index.js.map +0 -1
- package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
- package/dist/types/notifications/types/enums/index.js.map +0 -1
- package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
- package/dist/types/notifications/types/enums/notification.enums.js +0 -41
- package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/types/index.js.map +0 -1
- /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
- /package/dist/types/{notifications → accounting}/types/index.js +0 -0
- /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./revenue-recognition-milestone.entity"), exports);
|
18
|
+
__exportStar(require("./revenue-recognition-schedule.entity"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,wEAAsD"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { RevenueRecognitionSchedule } from './revenue-recognition-schedule.entity';
|
2
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
3
|
+
export declare class RevenueRecognitionMilestone extends BondBaseEntity {
|
4
|
+
schedule: RevenueRecognitionSchedule;
|
5
|
+
scheduleId: number;
|
6
|
+
recognitionDate: Date;
|
7
|
+
percentage: number;
|
8
|
+
deletedAt?: Date;
|
9
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RevenueRecognitionMilestone = void 0;
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
+
class RevenueRecognitionMilestone extends BondBaseEntity_1.BondBaseEntity {
|
6
|
+
}
|
7
|
+
exports.RevenueRecognitionMilestone = RevenueRecognitionMilestone;
|
8
|
+
//# sourceMappingURL=revenue-recognition-milestone.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"revenue-recognition-milestone.entity.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/revenue-recognition-milestone.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAE7D,MAAa,2BAA4B,SAAQ,+BAAc;CAU9D;AAVD,kEAUC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
3
|
+
import { RevenueRecognitionMethodEnum } from '../types/enums/accounting.enums';
|
4
|
+
import { RevenueRecognitionMilestone } from './revenue-recognition-milestone.entity';
|
5
|
+
export declare class RevenueRecognitionSchedule extends OrganizationConnectionBaseEntity {
|
6
|
+
resourceId: number;
|
7
|
+
resourceType: ResourceNameTypeEnum;
|
8
|
+
recognitionMethod: RevenueRecognitionMethodEnum;
|
9
|
+
startDate?: Date;
|
10
|
+
endDate?: Date;
|
11
|
+
numberOfMonths?: number;
|
12
|
+
deletedAt?: Date;
|
13
|
+
milestones?: RevenueRecognitionMilestone[];
|
14
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RevenueRecognitionSchedule = void 0;
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
5
|
+
class RevenueRecognitionSchedule extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
|
+
}
|
7
|
+
exports.RevenueRecognitionSchedule = RevenueRecognitionSchedule;
|
8
|
+
//# sourceMappingURL=revenue-recognition-schedule.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"revenue-recognition-schedule.entity.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/revenue-recognition-schedule.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,0BAA2B,SAAQ,mEAAgC;CAgB/E;AAhBD,gEAgBC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./types"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare enum ProductModuleEnum {
|
2
|
+
CLUB_TEAMS = 1,
|
3
|
+
COMMERCE = 2,
|
4
|
+
LEAGUES = 3,
|
5
|
+
MEMBERSHIPS = 4,
|
6
|
+
PROGRAMS = 5,
|
7
|
+
RESERVATIONS = 6
|
8
|
+
}
|
9
|
+
export declare enum RevenueRecognitionMethodEnum {
|
10
|
+
BY_EVENT = "by_event",
|
11
|
+
EVENLY = "evenly",
|
12
|
+
UPFRONT = "upfront",
|
13
|
+
MILESTONES = "milestones"
|
14
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RevenueRecognitionMethodEnum = exports.ProductModuleEnum = void 0;
|
4
|
+
var ProductModuleEnum;
|
5
|
+
(function (ProductModuleEnum) {
|
6
|
+
ProductModuleEnum[ProductModuleEnum["CLUB_TEAMS"] = 1] = "CLUB_TEAMS";
|
7
|
+
ProductModuleEnum[ProductModuleEnum["COMMERCE"] = 2] = "COMMERCE";
|
8
|
+
ProductModuleEnum[ProductModuleEnum["LEAGUES"] = 3] = "LEAGUES";
|
9
|
+
ProductModuleEnum[ProductModuleEnum["MEMBERSHIPS"] = 4] = "MEMBERSHIPS";
|
10
|
+
ProductModuleEnum[ProductModuleEnum["PROGRAMS"] = 5] = "PROGRAMS";
|
11
|
+
ProductModuleEnum[ProductModuleEnum["RESERVATIONS"] = 6] = "RESERVATIONS";
|
12
|
+
})(ProductModuleEnum = exports.ProductModuleEnum || (exports.ProductModuleEnum = {}));
|
13
|
+
var RevenueRecognitionMethodEnum;
|
14
|
+
(function (RevenueRecognitionMethodEnum) {
|
15
|
+
RevenueRecognitionMethodEnum["BY_EVENT"] = "by_event";
|
16
|
+
RevenueRecognitionMethodEnum["EVENLY"] = "evenly";
|
17
|
+
RevenueRecognitionMethodEnum["UPFRONT"] = "upfront";
|
18
|
+
RevenueRecognitionMethodEnum["MILESTONES"] = "milestones";
|
19
|
+
})(RevenueRecognitionMethodEnum = exports.RevenueRecognitionMethodEnum || (exports.RevenueRecognitionMethodEnum = {}));
|
20
|
+
//# sourceMappingURL=accounting.enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"accounting.enums.js","sourceRoot":"","sources":["../../../../../src/types/accounting/types/enums/accounting.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC5B,qEAAc,CAAA;IACd,iEAAY,CAAA;IACZ,+DAAW,CAAA;IACX,uEAAe,CAAA;IACf,iEAAY,CAAA;IACZ,yEAAgB,CAAA;AACjB,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B;AAED,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACvC,qDAAqB,CAAA;IACrB,iDAAiB,CAAA;IACjB,mDAAmB,CAAA;IACnB,yDAAyB,CAAA;AAC1B,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './accounting.enums';
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./accounting.enums"), exports);
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/accounting/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"address.dto.js","sourceRoot":"","sources":["../../../../src/types/address/dto/address.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,UAAU;CActB;AAdD,gCAcC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './address.dto';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./address.dto"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/address/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Address = void 0;
|
4
|
-
const BondBaseEntity_1 = require("
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
5
|
class Address extends BondBaseEntity_1.BondBaseEntity {
|
6
6
|
}
|
7
7
|
exports.Address = Address;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../../src/types/address/entities/Address.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,MAAa,OAAQ,SAAQ,+BAAc;CAkB1C;AAlBD,0BAkBC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Address';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./Address"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/address/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto"), exports);
|
18
|
+
__exportStar(require("./entities"), exports);
|
17
19
|
__exportStar(require("./types"), exports);
|
18
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/address/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/address/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
@@ -1,11 +1,14 @@
|
|
1
|
+
import { ScheduleDto } from '../../dto/activityTimes.dto';
|
1
2
|
import { UserAnswersDto } from '../../dto/application.dto';
|
2
3
|
import { PaginationQuery } from '../../dto/general.dto';
|
3
4
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
4
|
-
import {
|
5
|
+
import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
|
6
|
+
import { DurationUnitTypesEnum } from '../../reservations/types/enums/reservation.enums';
|
7
|
+
import { CurrencyEnum, PlatformsEnum, ProductPackageLevelEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
5
8
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
6
9
|
import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
|
10
|
+
import { IUpdateCartCategoriesPrices, IUpdateCartPrices, IUpdateCartProductPrices, IUpdateProductPrice } from '../types/interfaces/cart.interfaces';
|
7
11
|
import { AddCartItemDto, CartDiscountDto, CartItemDto, CartTaxDto, UpdateCartItemDto } from './cart-item.dto';
|
8
|
-
import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
|
9
12
|
export declare class CartDto extends OrganizationBaseEntityDto {
|
10
13
|
createdAt: Date;
|
11
14
|
price: number;
|
@@ -74,3 +77,63 @@ export declare class RemoveCartDiscountQueryDto {
|
|
74
77
|
export declare class UsePromoCodesOnCartDto {
|
75
78
|
codes: string[];
|
76
79
|
}
|
80
|
+
export declare class GetExtendedCartDto {
|
81
|
+
extended: boolean;
|
82
|
+
}
|
83
|
+
export declare class ProductPriceResultDto {
|
84
|
+
productId: number;
|
85
|
+
priceId: number;
|
86
|
+
quantity: number;
|
87
|
+
unitPrice: number;
|
88
|
+
schedules?: ScheduleDto[];
|
89
|
+
name: string;
|
90
|
+
isTaxInclusive?: boolean;
|
91
|
+
tax: number;
|
92
|
+
durationType: DurationUnitTypesEnum;
|
93
|
+
durationValue?: number;
|
94
|
+
subtotal: number;
|
95
|
+
totalPrice: number;
|
96
|
+
addonType?: ProductPackageLevelEnum;
|
97
|
+
/**
|
98
|
+
* used internally to store the original unit price
|
99
|
+
*/
|
100
|
+
originalUnitPrice?: number;
|
101
|
+
}
|
102
|
+
export declare class ByProductsResultDto {
|
103
|
+
products: ProductPriceResultDto[];
|
104
|
+
productsSubtotal: number;
|
105
|
+
addons: ProductPriceResultDto[];
|
106
|
+
addonsSubtotal?: number;
|
107
|
+
}
|
108
|
+
export declare class ByCategoriesResultDto {
|
109
|
+
products: number;
|
110
|
+
addons?: number;
|
111
|
+
}
|
112
|
+
export declare class CartPricingResultDto {
|
113
|
+
products: ByProductsResultDto;
|
114
|
+
categories: ByCategoriesResultDto;
|
115
|
+
totalPrice: number;
|
116
|
+
subtotal: number;
|
117
|
+
taxAmount?: number;
|
118
|
+
taxes?: CartTaxDto[];
|
119
|
+
}
|
120
|
+
export declare class UpdateProductPriceDto implements IUpdateProductPrice {
|
121
|
+
productId: number;
|
122
|
+
priceId: number;
|
123
|
+
unitPrice: number;
|
124
|
+
originalUnitPrice: number;
|
125
|
+
}
|
126
|
+
export declare class UpdatePricesByProductsDto implements IUpdateCartProductPrices {
|
127
|
+
products?: UpdateProductPriceDto[];
|
128
|
+
addons?: UpdateProductPriceDto[];
|
129
|
+
}
|
130
|
+
export declare class UpdatePricesByCategoriesDto implements IUpdateCartCategoriesPrices {
|
131
|
+
products?: number;
|
132
|
+
addons?: number;
|
133
|
+
}
|
134
|
+
export declare class UpdateCartPricesDto implements IUpdateCartPrices {
|
135
|
+
type: UpdatePricesTypeEnum;
|
136
|
+
products?: UpdatePricesByProductsDto;
|
137
|
+
categories?: UpdatePricesByCategoriesDto;
|
138
|
+
totalPrice?: number;
|
139
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UsePromoCodesOnCartDto = exports.RemoveCartDiscountQueryDto = exports.SetCartDiscountsDto = exports.SetCartDiscountDto = exports.GetCartsFiltersDto = exports.ByOrganizationCartDto = exports.UpdateCartItemsDto = exports.AddCartItemsDto = exports.ClearCartDto = exports.CreateCartDto = exports.UpdateCartDto = exports.CartDto = void 0;
|
3
|
+
exports.UpdateCartPricesDto = exports.UpdatePricesByCategoriesDto = exports.UpdatePricesByProductsDto = exports.UpdateProductPriceDto = exports.CartPricingResultDto = exports.ByCategoriesResultDto = exports.ByProductsResultDto = exports.ProductPriceResultDto = exports.GetExtendedCartDto = exports.UsePromoCodesOnCartDto = exports.RemoveCartDiscountQueryDto = exports.SetCartDiscountsDto = exports.SetCartDiscountDto = exports.GetCartsFiltersDto = exports.ByOrganizationCartDto = exports.UpdateCartItemsDto = exports.AddCartItemsDto = exports.ClearCartDto = exports.CreateCartDto = exports.UpdateCartDto = exports.CartDto = 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
|
const user_dto_1 = require("../../user/dto/user.dto");
|
@@ -45,4 +45,31 @@ exports.RemoveCartDiscountQueryDto = RemoveCartDiscountQueryDto;
|
|
45
45
|
class UsePromoCodesOnCartDto {
|
46
46
|
}
|
47
47
|
exports.UsePromoCodesOnCartDto = UsePromoCodesOnCartDto;
|
48
|
+
class GetExtendedCartDto {
|
49
|
+
}
|
50
|
+
exports.GetExtendedCartDto = GetExtendedCartDto;
|
51
|
+
class ProductPriceResultDto {
|
52
|
+
}
|
53
|
+
exports.ProductPriceResultDto = ProductPriceResultDto;
|
54
|
+
class ByProductsResultDto {
|
55
|
+
}
|
56
|
+
exports.ByProductsResultDto = ByProductsResultDto;
|
57
|
+
class ByCategoriesResultDto {
|
58
|
+
}
|
59
|
+
exports.ByCategoriesResultDto = ByCategoriesResultDto;
|
60
|
+
class CartPricingResultDto {
|
61
|
+
}
|
62
|
+
exports.CartPricingResultDto = CartPricingResultDto;
|
63
|
+
class UpdateProductPriceDto {
|
64
|
+
}
|
65
|
+
exports.UpdateProductPriceDto = UpdateProductPriceDto;
|
66
|
+
class UpdatePricesByProductsDto {
|
67
|
+
}
|
68
|
+
exports.UpdatePricesByProductsDto = UpdatePricesByProductsDto;
|
69
|
+
class UpdatePricesByCategoriesDto {
|
70
|
+
}
|
71
|
+
exports.UpdatePricesByCategoriesDto = UpdatePricesByCategoriesDto;
|
72
|
+
class UpdateCartPricesDto {
|
73
|
+
}
|
74
|
+
exports.UpdateCartPricesDto = UpdateCartPricesDto;
|
48
75
|
//# sourceMappingURL=cart.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,8EAAoF;AAUpF,sDAAkF;AAUlF,MAAa,OAAQ,SAAQ,4CAAyB;CA0CrD;AA1CD,0BA0CC;AAED,MAAa,aAAa;IACzB,YAAY,UAAmC;QAC9C,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;IACpC,CAAC;CAOD;AAZD,sCAYC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAsB,SAAQ,mCAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA+BjC;AA/BD,sDA+BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import { ScheduleDto } from '../../dto/activityTimes.dto';
|
2
|
+
import { ActivityTimes } from '../../entity/ActivityTimes';
|
1
3
|
import { EntitlementGroup } from '../../entity/EntitlementGroup';
|
2
4
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
5
|
import { Reason } from '../../organization/entities/Reason';
|
@@ -7,6 +9,7 @@ import { Product } from '../../product-pricing/entities/Product';
|
|
7
9
|
import { PurchaseResourceDto } from '../../purchase/dto/purchase.dto';
|
8
10
|
import { ProductTypesEnum } from '../../services/enums.service';
|
9
11
|
import { User } from '../../user/entities/User';
|
12
|
+
import { ItemPriceMetadata } from '../types/classes/cart.classes';
|
10
13
|
import { CartStatusEnum } from '../types/enums/cart.enums';
|
11
14
|
import { Cart } from './cart.entity';
|
12
15
|
export declare class CartItem extends OrganizationConnectionBaseEntity {
|
@@ -41,9 +44,14 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
|
|
41
44
|
actionId?: string;
|
42
45
|
discountOn?: DiscountOnEnum;
|
43
46
|
reasonId?: number;
|
47
|
+
priceId?: number;
|
48
|
+
prices?: ItemPriceMetadata[];
|
44
49
|
reason?: Reason;
|
45
50
|
discountAmount?: number;
|
51
|
+
subtotal?: number;
|
46
52
|
totalPrice?: number;
|
47
53
|
overrideTotalPrice?: number;
|
48
54
|
totalUnitPrice: number;
|
55
|
+
activityTimes?: ActivityTimes[];
|
56
|
+
schedules?: ScheduleDto[];
|
49
57
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,QAAS,SAAQ,mEAAgC;CAiF7D;AAjFD,4BAiFC"}
|
@@ -2,9 +2,9 @@ import { UserAnswersDto } from '../../dto/application.dto';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
3
|
import { CurrencyEnum, PlatformsEnum } from '../../services/enums.service';
|
4
4
|
import { User } from '../../user/entities/User';
|
5
|
+
import { CartDiscountDto, CartTaxDto } from '../dto/cart-item.dto';
|
5
6
|
import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
|
6
7
|
import { CartItem } from './cart-item.entity';
|
7
|
-
import { CartDiscountDto, CartTaxDto } from '../dto/cart-item.dto';
|
8
8
|
export declare class Cart extends OrganizationConnectionBaseEntity {
|
9
9
|
deletedAt?: Date;
|
10
10
|
price: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
1
|
+
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,IAAK,SAAQ,mEAAgC;CA8CzD;AA9CD,oBA8CC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ActivityTimes } from '../../../entity/ActivityTimes';
|
2
|
+
import { IItemPriceMetadata } from '../interfaces/cart.interfaces';
|
3
|
+
export declare class ItemPriceMetadata implements IItemPriceMetadata {
|
4
|
+
priceId: number;
|
5
|
+
price: number;
|
6
|
+
quantity?: number;
|
7
|
+
totalPrice?: number;
|
8
|
+
activityTimes?: ActivityTimes[];
|
9
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cart.classes.js","sourceRoot":"","sources":["../../../../../src/types/cart/types/classes/cart.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,iBAAiB;CAU7B;AAVD,8CAUC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './cart.classes';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./cart.classes"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/cart/types/classes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./classes"), exports);
|
17
18
|
__exportStar(require("./consts"), exports);
|
18
19
|
__exportStar(require("./enums"), exports);
|
19
20
|
__exportStar(require("./interfaces"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/cart/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/cart/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|