@bondsports/types 2.2.279-team-b-2 → 2.2.279-team-b-4
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 +20 -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/Events.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/folders/dto/folder.dto.d.ts +58 -0
- package/dist/types/folders/dto/folder.dto.js +34 -0
- package/dist/types/folders/dto/folder.dto.js.map +1 -0
- package/dist/types/folders/dto/index.d.ts +1 -0
- package/dist/types/folders/dto/index.js +18 -0
- package/dist/types/folders/dto/index.js.map +1 -0
- package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
- package/dist/types/folders/entities/folder-content.entity.js +14 -0
- package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
- package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
- package/dist/types/folders/entities/folder-invite.entity.js +8 -0
- package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
- package/dist/types/folders/entities/folder.entity.d.ts +21 -0
- package/dist/types/folders/entities/folder.entity.js +12 -0
- package/dist/types/folders/entities/folder.entity.js.map +1 -0
- package/dist/types/folders/entities/index.d.ts +3 -0
- package/dist/types/folders/entities/index.js +20 -0
- package/dist/types/folders/entities/index.js.map +1 -0
- package/dist/types/folders/index.d.ts +2 -0
- package/dist/types/folders/index.js +19 -0
- package/dist/types/folders/index.js.map +1 -0
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.js +5 -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 +1 -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 +1 -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 +23 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +10 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +3 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- 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 +8 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +14 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
- package/dist/types/programs-seasons/types/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/index.js +1 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +18 -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 +17 -5
- package/dist/types/reservations/dto/addon.dto.js +4 -1
- 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 +163 -24
- package/dist/types/reservations/dto/reservation.dto.js +83 -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 +63 -18
- package/dist/types/reservations/dto/slot.dto.js +19 -4
- 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 +21 -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 +11 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +11 -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 +140 -18
- 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 +58 -25
- 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/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 +5 -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 +27 -2
- package/dist/types/services/enums.service.js +32 -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/session-participants/dto/get.session.participant.dto.d.ts +22 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
- package/dist/types/session-participants/dto/index.d.ts +2 -0
- package/dist/types/session-participants/dto/index.js +19 -0
- package/dist/types/session-participants/dto/index.js.map +1 -0
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
- package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
- package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
- package/dist/types/session-participants/index.d.ts +2 -0
- package/dist/types/session-participants/index.js +19 -0
- package/dist/types/session-participants/index.js.map +1 -0
- package/dist/types/session-participants/types/consts.d.ts +3 -0
- package/dist/types/session-participants/types/consts.js +7 -0
- package/dist/types/session-participants/types/consts.js.map +1 -0
- package/dist/types/session-participants/types/enums.d.ts +17 -0
- package/dist/types/session-participants/types/enums.js +24 -0
- package/dist/types/session-participants/types/enums.js.map +1 -0
- package/dist/types/session-participants/types/index.d.ts +3 -0
- package/dist/types/session-participants/types/index.js +20 -0
- package/dist/types/session-participants/types/index.js.map +1 -0
- package/dist/types/session-participants/types/interfaces.d.ts +46 -0
- package/dist/types/session-participants/types/interfaces.js +3 -0
- package/dist/types/session-participants/types/interfaces.js.map +1 -0
- 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,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EventSortByFieldsEnum = exports.SegmentSortByFieldsEnum = void 0;
|
4
|
+
var SegmentSortByFieldsEnum;
|
5
|
+
(function (SegmentSortByFieldsEnum) {
|
6
|
+
SegmentSortByFieldsEnum["NAME"] = "name";
|
7
|
+
SegmentSortByFieldsEnum["DATE"] = "startDate";
|
8
|
+
})(SegmentSortByFieldsEnum = exports.SegmentSortByFieldsEnum || (exports.SegmentSortByFieldsEnum = {}));
|
9
|
+
var EventSortByFieldsEnum;
|
10
|
+
(function (EventSortByFieldsEnum) {
|
11
|
+
EventSortByFieldsEnum["DATE"] = "startDate";
|
12
|
+
EventSortByFieldsEnum["TIME"] = "startTime";
|
13
|
+
})(EventSortByFieldsEnum = exports.EventSortByFieldsEnum || (exports.EventSortByFieldsEnum = {}));
|
14
|
+
//# sourceMappingURL=program-season.enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,6CAAkB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,2CAAkB,CAAA;IAClB,2CAAkB,CAAA;AACnB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
|
@@ -14,5 +14,6 @@ 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("./enums"), exports);
|
17
18
|
__exportStar(require("./interfaces"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { Event } from '../../../entity/Events';
|
2
2
|
import { SeasonAttendee } from '../../../entity/SeasonAttendees';
|
3
|
-
import { PlatformsEnum } from '../../../services/enums.service';
|
3
|
+
import { OrderByEnum, PlatformsEnum } from '../../../services/enums.service';
|
4
|
+
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
5
|
+
import { BondBaseEntity } from '../../../entity/BondBaseEntity';
|
4
6
|
export interface IGetProgramSeasonsByIdProps {
|
5
7
|
seasonsIds: number[];
|
6
8
|
fullFetch?: boolean;
|
@@ -18,6 +20,10 @@ export type EventsFilter = {
|
|
18
20
|
segmentsIds?: number[];
|
19
21
|
unselectedIds?: number[];
|
20
22
|
sessionId?: number;
|
23
|
+
resourcesIds?: number[];
|
24
|
+
attendeeId?: number;
|
25
|
+
sortBy?: keyof Event;
|
26
|
+
order?: OrderByEnum;
|
21
27
|
};
|
22
28
|
export type ProgramSeasonsSegmentsFilter = {
|
23
29
|
futureResources?: boolean;
|
@@ -33,3 +39,14 @@ export type NotifyEventsAttendees = {
|
|
33
39
|
oldStartDate: string;
|
34
40
|
oldEndDate: string;
|
35
41
|
};
|
42
|
+
export interface IGetProgramSeasonChildrenFilters<T extends BondBaseEntity> {
|
43
|
+
resourcesIds?: number[];
|
44
|
+
attendeeId?: number;
|
45
|
+
startDate?: string;
|
46
|
+
endDate?: string;
|
47
|
+
orderBy?: keyof T;
|
48
|
+
order?: OrderByEnum;
|
49
|
+
}
|
50
|
+
export interface IGetProgramSeasonsChildrenOptions extends IPagination {
|
51
|
+
includeResources?: boolean;
|
52
|
+
}
|
@@ -10,6 +10,7 @@ import { OrderByEnum } from '../../services/enums.service';
|
|
10
10
|
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
11
11
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
12
12
|
import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
|
13
|
+
import { SimpleProductUserDto } from '../../dto/product-user';
|
13
14
|
export declare class PunchPassFinancialInfoDto {
|
14
15
|
price: number;
|
15
16
|
invoiceId: number;
|
@@ -32,6 +33,7 @@ export declare class PunchPassInfoDto {
|
|
32
33
|
facility: SimpleFacilityDto;
|
33
34
|
financialInfo: PunchPassFinancialInfoDto;
|
34
35
|
payment?: PaymentIdDto;
|
36
|
+
productUser?: SimpleProductUserDto;
|
35
37
|
}
|
36
38
|
export declare class PunchPassEventDto extends SimpleEventDto {
|
37
39
|
attendeeId: number;
|
@@ -59,3 +61,12 @@ export declare class GetPassEventsDto {
|
|
59
61
|
export declare class ByPassIdOrganizationIdUserIdDto extends ByOrganizationAndUserDto {
|
60
62
|
passId: number;
|
61
63
|
}
|
64
|
+
export declare class PunchPassUserProductInfoDto extends SimpleProductUserDto {
|
65
|
+
id: number;
|
66
|
+
organizationId: number;
|
67
|
+
productName: string;
|
68
|
+
productQuantityLeft: number;
|
69
|
+
productQuantity: number;
|
70
|
+
user: SimpleUserDto;
|
71
|
+
product: SimpleProductDto;
|
72
|
+
}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
|
3
|
+
exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
|
4
4
|
const events_dto_1 = require("../../dto/events.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const user_dto_1 = require("../../user/dto/user.dto");
|
7
|
+
const product_user_1 = require("../../dto/product-user");
|
7
8
|
class PunchPassFinancialInfoDto {
|
8
9
|
}
|
9
10
|
exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
|
@@ -22,4 +23,7 @@ exports.GetPassEventsDto = GetPassEventsDto;
|
|
22
23
|
class ByPassIdOrganizationIdUserIdDto extends user_dto_1.ByOrganizationAndUserDto {
|
23
24
|
}
|
24
25
|
exports.ByPassIdOrganizationIdUserIdDto = ByPassIdOrganizationIdUserIdDto;
|
26
|
+
class PunchPassUserProductInfoDto extends product_user_1.SimpleProductUserDto {
|
27
|
+
}
|
28
|
+
exports.PunchPassUserProductInfoDto = PunchPassUserProductInfoDto;
|
25
29
|
//# sourceMappingURL=punch-pass.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;
|
1
|
+
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAElF,yDAA8D;AAE9D,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,2BAA4B,SAAQ,mCAAoB;CAcpE;AAdD,kEAcC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
1
2
|
import { UserAnswersDto } from '../../dto/application.dto';
|
2
3
|
import { Customer } from '../../entity/Customer';
|
3
4
|
import { Invoice } from '../../entity/Invoice';
|
@@ -129,6 +130,9 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
|
|
129
130
|
paymentInfo?: PurchasePaymentDto;
|
130
131
|
amountToPay?: number;
|
131
132
|
installments?: ScheduledPaymentDto[];
|
133
|
+
purchasingUserId?: number;
|
132
134
|
parentPurchasedId?: number;
|
133
135
|
parentPurchasedType?: ResourceNameTypeEnum;
|
136
|
+
updatePrices?: UpdateCartPricesDto;
|
137
|
+
addToReservationId?: number;
|
134
138
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAKA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAgBlD;AAhBD,0CAgBC"}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
1
|
+
import { IUpdateCartPrices, IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
2
2
|
import { Customer } from '../../../entity/Customer';
|
3
3
|
import { Invoice } from '../../../entity/Invoice';
|
4
4
|
import { IInvoiceCart } from '../../../invoice/types/interfaces/invoice.interfaces';
|
5
|
+
import { Organization } from '../../../organization/entities/Organization';
|
5
6
|
import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
|
6
7
|
import { Payment } from '../../../payment/entities/Payment';
|
7
8
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
|
@@ -9,9 +10,8 @@ import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.i
|
|
9
10
|
import { Product } from '../../../product-pricing/entities/Product';
|
10
11
|
import { ResourceDto } from '../../../resources/dto/resource.dto';
|
11
12
|
import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
12
|
-
import { PurchasePaymentDto } from '../../dto/purchase.dto';
|
13
13
|
import { User } from '../../../user/entities/User';
|
14
|
-
import {
|
14
|
+
import { PurchasePaymentDto } from '../../dto/purchase.dto';
|
15
15
|
export type UserCount = {
|
16
16
|
male: number;
|
17
17
|
female: number;
|
@@ -68,6 +68,8 @@ export interface IPurchaseCart extends IInvoiceCart {
|
|
68
68
|
paymentInfo?: PurchasePaymentDto;
|
69
69
|
amountToPay?: number;
|
70
70
|
installments?: ScheduledPaymentDto[];
|
71
|
+
purchasingUserId?: number;
|
71
72
|
parentPurchasedId?: number;
|
72
73
|
parentPurchasedType?: ResourceNameTypeEnum;
|
74
|
+
updatePrices?: IUpdateCartPrices;
|
73
75
|
}
|
@@ -1,16 +1,23 @@
|
|
1
|
-
import {
|
1
|
+
import { Product } from '../../product-pricing/entities/Product';
|
2
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
3
|
+
import { ProductPackageLevelEnum } from '../../services/enums.service';
|
4
|
+
import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
|
2
5
|
import { EditItemsRefundMetaDto } from './reservation.dto';
|
6
|
+
import { SimpleProductUserDto } from '../../dto/product-user';
|
3
7
|
declare class BaseAddonDto implements IBaseAddon {
|
4
8
|
productId: number;
|
5
9
|
unitPrice?: number;
|
6
10
|
quantity?: number;
|
7
11
|
totalPrice?: number;
|
8
|
-
displayTotalWithTax?: number;
|
9
|
-
displayTotalPrice?: number;
|
10
|
-
displayUnitTax?: number;
|
11
12
|
}
|
12
13
|
export declare class AddonDto extends BaseAddonDto implements IAddon {
|
13
14
|
id?: number;
|
15
|
+
displayTotalWithTax?: number;
|
16
|
+
displayTotalPrice?: number;
|
17
|
+
displayUnitTax?: number;
|
18
|
+
level?: ProductPackageLevelEnum;
|
19
|
+
product?: Product;
|
20
|
+
productUser?: SimpleProductUserDto;
|
14
21
|
}
|
15
22
|
export declare class AddAddonsDto {
|
16
23
|
addons: AddonDto[];
|
@@ -27,7 +34,12 @@ export declare class EditAddonDto {
|
|
27
34
|
totalPrice: number;
|
28
35
|
unitPrice?: number;
|
29
36
|
}
|
30
|
-
export declare class
|
37
|
+
export declare class CreateDraftAddonDto extends BaseAddonDto {
|
31
38
|
id?: string;
|
32
39
|
}
|
40
|
+
export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
|
41
|
+
id: string;
|
42
|
+
product?: SimpleProductDto;
|
43
|
+
level?: ProductPackageLevelEnum;
|
44
|
+
}
|
33
45
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
|
3
|
+
exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
|
4
4
|
class BaseAddonDto {
|
5
5
|
}
|
6
6
|
class AddonDto extends BaseAddonDto {
|
@@ -18,6 +18,9 @@ exports.EditReservationAddonsDto = EditReservationAddonsDto;
|
|
18
18
|
class EditAddonDto {
|
19
19
|
}
|
20
20
|
exports.EditAddonDto = EditAddonDto;
|
21
|
+
class CreateDraftAddonDto extends BaseAddonDto {
|
22
|
+
}
|
23
|
+
exports.CreateDraftAddonDto = CreateDraftAddonDto;
|
21
24
|
class DraftAddonDto extends BaseAddonDto {
|
22
25
|
}
|
23
26
|
exports.DraftAddonDto = DraftAddonDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAM,YAAY;CAQjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { DurationUnitTypesEnum, MaintenanceTimingEnum } from '../types/enums/reservation.enums';
|
2
|
-
|
2
|
+
import { IMaintenance } from '../types/interfaces/series.interfaces';
|
3
|
+
export declare class MaintenanceDto implements IMaintenance {
|
3
4
|
title: string;
|
4
5
|
durationValue: number;
|
5
6
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}
|
@@ -1,23 +1,31 @@
|
|
1
|
+
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
2
|
+
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
3
|
+
import { FacilityDto } from '../../dto/facilities.dto';
|
1
4
|
import { PaginationQuery } from '../../dto/general.dto';
|
2
|
-
import {
|
5
|
+
import { Invoice } from '../../entity/Invoice';
|
6
|
+
import { InvoiceCartDto, InvoiceDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
|
7
|
+
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
3
8
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
9
|
+
import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
|
4
10
|
import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
|
5
11
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
12
|
+
import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
|
13
|
+
import { ProductDto, SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
6
14
|
import { Product } from '../../product-pricing/entities/Product';
|
7
15
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
8
|
-
import {
|
16
|
+
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
17
|
+
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
18
|
+
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
19
|
+
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
9
20
|
import { Reservation } from '../entities/reservation.entity';
|
10
21
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
11
|
-
import {
|
12
|
-
import {
|
22
|
+
import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
|
23
|
+
import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IEditItemsRefundMetadata, IEditSlotsFinancialDetails, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
|
24
|
+
import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
13
25
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
14
26
|
import { SeriesDto } from './series.dto';
|
15
|
-
import { SlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
16
|
-
|
17
|
-
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
18
|
-
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
19
|
-
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
20
|
-
export declare class ProductPricesDto {
|
27
|
+
import { SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
28
|
+
export declare class ProductPricesDto implements IProductPrice {
|
21
29
|
productId: number;
|
22
30
|
product?: Product;
|
23
31
|
price?: number;
|
@@ -26,7 +34,7 @@ export declare class ProductPricesDto {
|
|
26
34
|
quantity?: number;
|
27
35
|
totalPrice?: number;
|
28
36
|
}
|
29
|
-
declare class BaseReservationDto {
|
37
|
+
declare class BaseReservationDto implements IBaseReservation {
|
30
38
|
organizationId?: number;
|
31
39
|
name: string;
|
32
40
|
reservationType: ReservationTypeEnum;
|
@@ -42,16 +50,49 @@ declare class BaseReservationDto {
|
|
42
50
|
overrideProductsPrice?: OverrideProductsPricingDto;
|
43
51
|
colorCodeId?: number;
|
44
52
|
customerId?: number;
|
53
|
+
addToReservationId?: number;
|
45
54
|
}
|
46
|
-
export declare class
|
55
|
+
export declare class SimpleReservationDto extends BaseReservationDto {
|
47
56
|
id?: number;
|
48
57
|
status?: ReservationStatusEnum;
|
49
58
|
paymentStatus?: ReservationPaymentStatusEnum;
|
59
|
+
}
|
60
|
+
export declare class DuplicatedDetailsDto implements IDuplicateDetails {
|
61
|
+
addToReservationId: number;
|
62
|
+
approvalStatus?: ReservationStatusEnum;
|
63
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
64
|
+
invoicesIds?: number[];
|
65
|
+
}
|
66
|
+
export declare class ReservationDto extends SimpleReservationDto {
|
50
67
|
segments: SegmentDto[];
|
51
68
|
addons?: AddonDto[];
|
52
69
|
targetGlobalPrice?: number;
|
53
70
|
userId?: number;
|
54
71
|
purchasingUserId?: number;
|
72
|
+
slots?: SlotDto[];
|
73
|
+
}
|
74
|
+
export declare class BaseReservationItemLineItemDataDto implements IBaseReservationItemLineItem {
|
75
|
+
id: number;
|
76
|
+
amount: number;
|
77
|
+
amountPaid: number;
|
78
|
+
quantity: number;
|
79
|
+
canVoid: boolean;
|
80
|
+
canRefund: boolean;
|
81
|
+
isEdit?: boolean;
|
82
|
+
}
|
83
|
+
declare class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
|
84
|
+
slotIds: number[];
|
85
|
+
}
|
86
|
+
declare class BaseSegmentsAddonsGroupDto {
|
87
|
+
groupId?: string;
|
88
|
+
ids: string[];
|
89
|
+
quantity: number;
|
90
|
+
}
|
91
|
+
export declare class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
|
92
|
+
productsIds: number[];
|
93
|
+
}
|
94
|
+
export declare class SegmentsAddonsDto extends CreateSegmentsAddonsDto implements ISegmentsAddons {
|
95
|
+
groupId: string;
|
55
96
|
}
|
56
97
|
export declare class CreateDraftReservationDto extends BaseReservationDto {
|
57
98
|
id?: string;
|
@@ -60,25 +101,32 @@ export declare class SimpleDraftReservationDto extends CreateDraftReservationDto
|
|
60
101
|
id: string;
|
61
102
|
conflictsCount?: number;
|
62
103
|
}
|
63
|
-
export declare class DraftReservationDto extends SimpleDraftReservationDto {
|
64
|
-
segments
|
104
|
+
export declare class DraftReservationDto extends SimpleDraftReservationDto implements IDraftReservation {
|
105
|
+
segments: DraftSegmentDto[];
|
65
106
|
addons?: DraftAddonDto[];
|
66
107
|
owner?: SimpleCustomerDto;
|
67
108
|
participants?: SimpleCustomerDto[];
|
68
|
-
products?:
|
69
|
-
spaces?:
|
70
|
-
instructors?:
|
109
|
+
products?: ProductDto[];
|
110
|
+
spaces?: SpaceResourceDto[];
|
111
|
+
instructors?: InstructorResourceDto[];
|
112
|
+
facilities: FacilityDto[];
|
113
|
+
segmentsAddons?: SegmentsAddonsDto[];
|
114
|
+
duplicateDetails?: DuplicatedDetailsDto;
|
71
115
|
}
|
72
116
|
export declare class ReservationInvoiceDto {
|
73
117
|
reservation: ReservationDto;
|
74
118
|
invoice: InvoiceDto;
|
75
119
|
debug: any;
|
76
120
|
}
|
77
|
-
export declare class
|
78
|
-
reservation: ReservationDto;
|
79
|
-
slotType?: SlotTypeEnum;
|
121
|
+
export declare class CreateReservationCartDto implements ISaveReservationOptions {
|
80
122
|
platform?: PlatformsEnum;
|
81
123
|
shiftId?: number;
|
124
|
+
updatePrices?: UpdateCartPricesDto;
|
125
|
+
addToReservationId?: number;
|
126
|
+
}
|
127
|
+
export declare class SaveReservationDto extends CreateReservationCartDto implements ISaveReservationOptions {
|
128
|
+
reservation: ReservationDto;
|
129
|
+
slotType?: SlotTypeEnum;
|
82
130
|
}
|
83
131
|
export declare class SingleReservationIncludesDto {
|
84
132
|
includeCustomer?: boolean;
|
@@ -148,7 +196,7 @@ export declare class FindSlotsByFacilityIdFiltersDto {
|
|
148
196
|
activityTypes?: SportsEnum[];
|
149
197
|
includeActivityTimes?: boolean;
|
150
198
|
}
|
151
|
-
export declare class
|
199
|
+
export declare class IncludeConflictsOptionsDto {
|
152
200
|
includeConflicts?: boolean;
|
153
201
|
}
|
154
202
|
export declare class getSlotFQueryParamsDto {
|
@@ -157,12 +205,18 @@ export declare class getSlotFQueryParamsDto {
|
|
157
205
|
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
158
206
|
reservationId: number;
|
159
207
|
}
|
208
|
+
export declare class DuplicateSlotDto extends FindByReservationDto {
|
209
|
+
slotId: number;
|
210
|
+
}
|
160
211
|
export declare class FindByFacilityDto extends FindByReservationDto {
|
161
212
|
facilityId: number;
|
162
213
|
}
|
163
214
|
export declare class FindBySegmentDto extends FindByFacilityDto {
|
164
215
|
segmentId: number;
|
165
216
|
}
|
217
|
+
export declare class FindBySlotIdsDto {
|
218
|
+
slotsIds: number[];
|
219
|
+
}
|
166
220
|
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
167
221
|
status: ReservationStatusEnum;
|
168
222
|
}
|
@@ -189,6 +243,12 @@ export declare class EditReservationDetailsDto {
|
|
189
243
|
publicNotes?: string;
|
190
244
|
privateNotes?: string;
|
191
245
|
}
|
246
|
+
export declare class RemoveSlotsFinancialDataDto implements IRemoveSlotsFinancialData {
|
247
|
+
paymentMethods: PaymentMethodToFundLeftDto[];
|
248
|
+
lineItems: SlotsLineItemDataDto[];
|
249
|
+
nextFinancialStep: FinancialStepEnum;
|
250
|
+
invoice: Invoice;
|
251
|
+
}
|
192
252
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
193
253
|
updateAddons?: boolean;
|
194
254
|
updateMaintenance?: boolean;
|
@@ -220,10 +280,9 @@ export declare class AddSlotToSegmenResultDto {
|
|
220
280
|
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
221
281
|
reservationTotalPrice: number;
|
222
282
|
}
|
223
|
-
export declare class InvoiceReservationItemsDto extends
|
283
|
+
export declare class InvoiceReservationItemsDto extends InvoiceCartDto {
|
224
284
|
slotsIds?: number[];
|
225
285
|
addonsIds?: number[];
|
226
|
-
purchasingUserId?: number;
|
227
286
|
}
|
228
287
|
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
229
288
|
slots: SlotDto[];
|
@@ -242,6 +301,9 @@ export declare class GetDraftReservationSlotsFiltersDto extends PaginationQuery
|
|
242
301
|
startDate?: Date;
|
243
302
|
endDate?: Date;
|
244
303
|
includeResources?: boolean;
|
304
|
+
includeOwner?: boolean;
|
305
|
+
includeMaintenanceSlots?: boolean;
|
306
|
+
orderBy?: OrderByEnum;
|
245
307
|
}
|
246
308
|
export declare class ByDraftReservationIdDto extends ByOrganizationIdDto {
|
247
309
|
reservationId: string;
|
@@ -269,8 +331,19 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
|
|
269
331
|
includeProducts?: boolean;
|
270
332
|
includeParticipants?: boolean;
|
271
333
|
includeSegments?: boolean;
|
334
|
+
includeMaintenanceSlots?: boolean;
|
335
|
+
includeSlots?: boolean;
|
336
|
+
plainReservation?: boolean;
|
337
|
+
includeFacilities?: boolean;
|
338
|
+
}
|
339
|
+
export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
|
340
|
+
includeResources?: boolean;
|
341
|
+
includeConflicts?: boolean;
|
342
|
+
includeParticipants?: boolean;
|
343
|
+
includeMaintenanceSlots?: boolean;
|
344
|
+
includeFacilities?: boolean;
|
272
345
|
}
|
273
|
-
export declare class DraftIdsDto {
|
346
|
+
export declare class DraftIdsDto extends GetDraftSlotsOptions {
|
274
347
|
ids: string[];
|
275
348
|
}
|
276
349
|
export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
|
@@ -281,4 +354,70 @@ export declare class GenerateReservationDto {
|
|
281
354
|
addSegments?: CreateDraftSegmentDto[];
|
282
355
|
removeSegmentsIds?: string[];
|
283
356
|
}
|
357
|
+
export declare class UpdateDraftSlotsDto {
|
358
|
+
slots: UpdateDraftSlotDto[];
|
359
|
+
overrideProducts?: boolean;
|
360
|
+
}
|
361
|
+
export declare class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
|
362
|
+
products: SimpleProductDto[];
|
363
|
+
}
|
364
|
+
export declare class ReservationAddonsDto {
|
365
|
+
reservation: DraftAddonDto[];
|
366
|
+
segments: SegmentsAddonsGroupDto[];
|
367
|
+
}
|
368
|
+
export declare class CreateReservationAddonsDto {
|
369
|
+
reservation?: CreateDraftAddonDto[];
|
370
|
+
removeByIds?: string[];
|
371
|
+
segments?: CreateSegmentsAddonsDto[];
|
372
|
+
removeBySegmentIds?: string[];
|
373
|
+
removeByGroupIds?: string[];
|
374
|
+
}
|
375
|
+
export declare class ProblematicProductDto {
|
376
|
+
product: SimpleProductDto;
|
377
|
+
isAddon?: boolean;
|
378
|
+
level?: ProductPackageLevelEnum;
|
379
|
+
}
|
380
|
+
export declare class PaginatedSlotsSharedDto {
|
381
|
+
totalSlots?: number;
|
382
|
+
}
|
383
|
+
export declare class DuplicateReservationDto {
|
384
|
+
isEdit?: boolean;
|
385
|
+
}
|
386
|
+
export declare class DuplicateReservationItemsDto extends DuplicateReservationDto {
|
387
|
+
slotsIds?: number[];
|
388
|
+
reservationAddonsIds?: number[];
|
389
|
+
}
|
390
|
+
export declare class ReservationItemLineDto {
|
391
|
+
id: number;
|
392
|
+
amount: number;
|
393
|
+
amountPaid: number;
|
394
|
+
quantity: number;
|
395
|
+
canVoid: boolean;
|
396
|
+
canRefund: boolean;
|
397
|
+
isEdit?: boolean;
|
398
|
+
slotsIds?: number[];
|
399
|
+
addonsIds?: number[];
|
400
|
+
}
|
401
|
+
export declare class EditItemsRefundMetadataDto implements IEditItemsRefundMetadata {
|
402
|
+
lineItems: ReservationItemLineDto[];
|
403
|
+
refundAmount: number;
|
404
|
+
}
|
405
|
+
export declare class EditSlotsFinancialDetailsDto implements IEditSlotsFinancialDetails {
|
406
|
+
nextFinancialStep: FinancialStepEnum;
|
407
|
+
paymentMethods?: PaymentMethodToFundLeftDto[];
|
408
|
+
originalInvoicePrice?: number;
|
409
|
+
updatedInvoicePrice?: number;
|
410
|
+
originalItemsPrice?: number;
|
411
|
+
updatedItemsPrice?: number;
|
412
|
+
priceChange?: number;
|
413
|
+
refundMetadata?: EditItemsRefundMetadataDto;
|
414
|
+
conflicts?: TimeSlotConflictsDto[];
|
415
|
+
}
|
416
|
+
export declare class EditSlotsRefundMetadataDto {
|
417
|
+
refundMetadata?: EditItemsRefundMetaDto;
|
418
|
+
}
|
419
|
+
export declare class EditReservationItemsResultDto {
|
420
|
+
invoice: SimpleInvoiceDto;
|
421
|
+
refundResult?: RefundResult;
|
422
|
+
}
|
284
423
|
export {};
|