@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
@@ -1,19 +1,41 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.RemoveSlotsFinancialDataDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySlotIdsDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.DuplicateSlotDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.IncludeConflictsOptionsDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.CreateReservationCartDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.BaseReservationItemLineItemDataDto = exports.ReservationDto = exports.DuplicatedDetailsDto = exports.SimpleReservationDto = exports.ProductPricesDto = void 0;
|
4
|
+
exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = void 0;
|
4
5
|
const general_dto_1 = require("../../dto/general.dto");
|
5
6
|
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
6
7
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
7
8
|
const purchase_dto_1 = require("../../purchase/dto/purchase.dto");
|
8
9
|
const MAX_SLOTS_REQUEST_LIMIT = 5000;
|
10
|
+
const MONTH_OF_JANUARY = 0;
|
11
|
+
const MONTH_OF_DECEMBER = 11;
|
9
12
|
class ProductPricesDto {
|
10
13
|
}
|
11
14
|
exports.ProductPricesDto = ProductPricesDto;
|
12
15
|
class BaseReservationDto {
|
13
16
|
}
|
14
|
-
class
|
17
|
+
class SimpleReservationDto extends BaseReservationDto {
|
18
|
+
}
|
19
|
+
exports.SimpleReservationDto = SimpleReservationDto;
|
20
|
+
class DuplicatedDetailsDto {
|
21
|
+
}
|
22
|
+
exports.DuplicatedDetailsDto = DuplicatedDetailsDto;
|
23
|
+
class ReservationDto extends SimpleReservationDto {
|
15
24
|
}
|
16
25
|
exports.ReservationDto = ReservationDto;
|
26
|
+
class BaseReservationItemLineItemDataDto {
|
27
|
+
}
|
28
|
+
exports.BaseReservationItemLineItemDataDto = BaseReservationItemLineItemDataDto;
|
29
|
+
class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
|
30
|
+
}
|
31
|
+
class BaseSegmentsAddonsGroupDto {
|
32
|
+
}
|
33
|
+
class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
|
34
|
+
}
|
35
|
+
exports.CreateSegmentsAddonsDto = CreateSegmentsAddonsDto;
|
36
|
+
class SegmentsAddonsDto extends CreateSegmentsAddonsDto {
|
37
|
+
}
|
38
|
+
exports.SegmentsAddonsDto = SegmentsAddonsDto;
|
17
39
|
class CreateDraftReservationDto extends BaseReservationDto {
|
18
40
|
}
|
19
41
|
exports.CreateDraftReservationDto = CreateDraftReservationDto;
|
@@ -26,7 +48,10 @@ exports.DraftReservationDto = DraftReservationDto;
|
|
26
48
|
class ReservationInvoiceDto {
|
27
49
|
}
|
28
50
|
exports.ReservationInvoiceDto = ReservationInvoiceDto;
|
29
|
-
class
|
51
|
+
class CreateReservationCartDto {
|
52
|
+
}
|
53
|
+
exports.CreateReservationCartDto = CreateReservationCartDto;
|
54
|
+
class SaveReservationDto extends CreateReservationCartDto {
|
30
55
|
}
|
31
56
|
exports.SaveReservationDto = SaveReservationDto;
|
32
57
|
class SingleReservationIncludesDto {
|
@@ -61,21 +86,27 @@ class FindSlotsByFacilityIdFiltersDto {
|
|
61
86
|
}
|
62
87
|
}
|
63
88
|
exports.FindSlotsByFacilityIdFiltersDto = FindSlotsByFacilityIdFiltersDto;
|
64
|
-
class
|
89
|
+
class IncludeConflictsOptionsDto {
|
65
90
|
}
|
66
|
-
exports.
|
91
|
+
exports.IncludeConflictsOptionsDto = IncludeConflictsOptionsDto;
|
67
92
|
class getSlotFQueryParamsDto {
|
68
93
|
}
|
69
94
|
exports.getSlotFQueryParamsDto = getSlotFQueryParamsDto;
|
70
95
|
class FindByReservationDto extends organization_dto_1.ByOrganizationIdDto {
|
71
96
|
}
|
72
97
|
exports.FindByReservationDto = FindByReservationDto;
|
98
|
+
class DuplicateSlotDto extends FindByReservationDto {
|
99
|
+
}
|
100
|
+
exports.DuplicateSlotDto = DuplicateSlotDto;
|
73
101
|
class FindByFacilityDto extends FindByReservationDto {
|
74
102
|
}
|
75
103
|
exports.FindByFacilityDto = FindByFacilityDto;
|
76
104
|
class FindBySegmentDto extends FindByFacilityDto {
|
77
105
|
}
|
78
106
|
exports.FindBySegmentDto = FindBySegmentDto;
|
107
|
+
class FindBySlotIdsDto {
|
108
|
+
}
|
109
|
+
exports.FindBySlotIdsDto = FindBySlotIdsDto;
|
79
110
|
class UpdateReservationStatusDto extends FindByReservationDto {
|
80
111
|
}
|
81
112
|
exports.UpdateReservationStatusDto = UpdateReservationStatusDto;
|
@@ -97,6 +128,9 @@ exports.EditSlotsDto = EditSlotsDto;
|
|
97
128
|
class EditReservationDetailsDto {
|
98
129
|
}
|
99
130
|
exports.EditReservationDetailsDto = EditReservationDetailsDto;
|
131
|
+
class RemoveSlotsFinancialDataDto {
|
132
|
+
}
|
133
|
+
exports.RemoveSlotsFinancialDataDto = RemoveSlotsFinancialDataDto;
|
100
134
|
class ValidateEditSlotsDto extends UpdateSlotsDto {
|
101
135
|
}
|
102
136
|
exports.ValidateEditSlotsDto = ValidateEditSlotsDto;
|
@@ -121,7 +155,7 @@ exports.AddSlotToSegmenResultDto = AddSlotToSegmenResultDto;
|
|
121
155
|
class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
122
156
|
}
|
123
157
|
exports.SaveSlotToSegmenResultDto = SaveSlotToSegmenResultDto;
|
124
|
-
class InvoiceReservationItemsDto extends invoice_dto_1.
|
158
|
+
class InvoiceReservationItemsDto extends invoice_dto_1.InvoiceCartDto {
|
125
159
|
}
|
126
160
|
exports.InvoiceReservationItemsDto = InvoiceReservationItemsDto;
|
127
161
|
class AddSlotsDto extends invoice_dto_1.UpdateInvoiceDto {
|
@@ -148,7 +182,10 @@ exports.GetDraftReservationAddonsQueryDto = GetDraftReservationAddonsQueryDto;
|
|
148
182
|
class GetDraftReservationOptionsDto {
|
149
183
|
}
|
150
184
|
exports.GetDraftReservationOptionsDto = GetDraftReservationOptionsDto;
|
151
|
-
class
|
185
|
+
class GetDraftSlotsOptions {
|
186
|
+
}
|
187
|
+
exports.GetDraftSlotsOptions = GetDraftSlotsOptions;
|
188
|
+
class DraftIdsDto extends GetDraftSlotsOptions {
|
152
189
|
}
|
153
190
|
exports.DraftIdsDto = DraftIdsDto;
|
154
191
|
class ByDraftSlotIdDto extends ByDraftReservationIdDto {
|
@@ -157,4 +194,43 @@ exports.ByDraftSlotIdDto = ByDraftSlotIdDto;
|
|
157
194
|
class GenerateReservationDto {
|
158
195
|
}
|
159
196
|
exports.GenerateReservationDto = GenerateReservationDto;
|
197
|
+
class UpdateDraftSlotsDto {
|
198
|
+
}
|
199
|
+
exports.UpdateDraftSlotsDto = UpdateDraftSlotsDto;
|
200
|
+
class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
|
201
|
+
}
|
202
|
+
exports.SegmentsAddonsGroupDto = SegmentsAddonsGroupDto;
|
203
|
+
class ReservationAddonsDto {
|
204
|
+
}
|
205
|
+
exports.ReservationAddonsDto = ReservationAddonsDto;
|
206
|
+
class CreateReservationAddonsDto {
|
207
|
+
}
|
208
|
+
exports.CreateReservationAddonsDto = CreateReservationAddonsDto;
|
209
|
+
class ProblematicProductDto {
|
210
|
+
}
|
211
|
+
exports.ProblematicProductDto = ProblematicProductDto;
|
212
|
+
class PaginatedSlotsSharedDto {
|
213
|
+
}
|
214
|
+
exports.PaginatedSlotsSharedDto = PaginatedSlotsSharedDto;
|
215
|
+
class DuplicateReservationDto {
|
216
|
+
}
|
217
|
+
exports.DuplicateReservationDto = DuplicateReservationDto;
|
218
|
+
class DuplicateReservationItemsDto extends DuplicateReservationDto {
|
219
|
+
}
|
220
|
+
exports.DuplicateReservationItemsDto = DuplicateReservationItemsDto;
|
221
|
+
class ReservationItemLineDto {
|
222
|
+
}
|
223
|
+
exports.ReservationItemLineDto = ReservationItemLineDto;
|
224
|
+
class EditItemsRefundMetadataDto {
|
225
|
+
}
|
226
|
+
exports.EditItemsRefundMetadataDto = EditItemsRefundMetadataDto;
|
227
|
+
class EditSlotsFinancialDetailsDto {
|
228
|
+
}
|
229
|
+
exports.EditSlotsFinancialDetailsDto = EditSlotsFinancialDetailsDto;
|
230
|
+
class EditSlotsRefundMetadataDto {
|
231
|
+
}
|
232
|
+
exports.EditSlotsRefundMetadataDto = EditSlotsRefundMetadataDto;
|
233
|
+
class EditReservationItemsResultDto {
|
234
|
+
}
|
235
|
+
exports.EditReservationItemsResultDto = EditReservationItemsResultDto;
|
160
236
|
//# sourceMappingURL=reservation.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":"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"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { SportsEnum } from '../../services/enums.service';
|
2
2
|
import { PrivacySettingsEnum } from '../types/enums/reservation.enums';
|
3
|
+
import { IBaseDraftSegment, IBaseSegment, ICreateDraftSegment, IDraftSegment } from '../types/interfaces/segment.interfaces';
|
3
4
|
import { CreateDraftSeriesDto, DraftSeriesDto, SeriesDto } from './series.dto';
|
4
|
-
declare class BaseSegmentDto {
|
5
|
+
declare class BaseSegmentDto implements IBaseSegment {
|
5
6
|
organizationId?: number;
|
6
7
|
title: string;
|
7
8
|
privacySetting?: PrivacySettingsEnum;
|
@@ -20,17 +21,17 @@ export declare class SegmentDto extends BaseSegmentDto {
|
|
20
21
|
isPrivate: boolean;
|
21
22
|
addonIds?: number[];
|
22
23
|
}
|
23
|
-
declare class BaseDraftSegmentDto extends BaseSegmentDto {
|
24
|
+
declare class BaseDraftSegmentDto extends BaseSegmentDto implements IBaseDraftSegment {
|
24
25
|
id?: string;
|
25
26
|
reservationId?: string;
|
26
27
|
facilityId: number;
|
27
28
|
participantsIds?: number[];
|
28
29
|
productsIds?: number[];
|
29
30
|
}
|
30
|
-
export declare class CreateDraftSegmentDto extends BaseDraftSegmentDto {
|
31
|
+
export declare class CreateDraftSegmentDto extends BaseDraftSegmentDto implements ICreateDraftSegment {
|
31
32
|
series: CreateDraftSeriesDto[];
|
32
33
|
}
|
33
|
-
export declare class DraftSegmentDto extends BaseDraftSegmentDto {
|
34
|
+
export declare class DraftSegmentDto extends BaseDraftSegmentDto implements IDraftSegment {
|
34
35
|
id: string;
|
35
36
|
series: DraftSeriesDto[];
|
36
37
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;
|
1
|
+
{"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAW1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IASzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAM,mBAAoB,SAAQ,cAAc;CAU/C;AAED,MAAa,qBAAsB,SAAQ,mBAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAIvD;AAJD,0CAIC"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { DurationTypeEnum, DurationUnitTypesEnum, FrequencyEnum } from '../types/enums/reservation.enums';
|
2
|
+
import { IBaseSeries, ICreateDraftSeries, IDraftSeries } from '../types/interfaces/series.interfaces';
|
2
3
|
import { MaintenanceDto } from './maintenance.dto';
|
3
4
|
import { DraftSlotDto, SlotDto } from './slot.dto';
|
4
|
-
declare class BaseSeriesDto {
|
5
|
+
declare class BaseSeriesDto implements IBaseSeries {
|
5
6
|
startDate: string;
|
6
7
|
startTime?: string;
|
7
8
|
endDate?: string;
|
@@ -23,12 +24,14 @@ export declare class SeriesDto extends BaseSeriesDto {
|
|
23
24
|
segmentId?: number;
|
24
25
|
slots?: SlotDto[];
|
25
26
|
}
|
26
|
-
export declare class CreateDraftSeriesDto extends BaseSeriesDto {
|
27
|
+
export declare class CreateDraftSeriesDto extends BaseSeriesDto implements ICreateDraftSeries {
|
27
28
|
reservationId?: string;
|
28
29
|
segmentId?: string;
|
29
|
-
|
30
|
+
isEndDate?: boolean;
|
31
|
+
isOccurrence?: boolean;
|
30
32
|
}
|
31
|
-
export declare class DraftSeriesDto extends CreateDraftSeriesDto {
|
33
|
+
export declare class DraftSeriesDto extends CreateDraftSeriesDto implements IDraftSeries {
|
32
34
|
id: string;
|
35
|
+
slots: DraftSlotDto[];
|
33
36
|
}
|
34
37
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"series.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/series.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"series.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/series.dto.ts"],"names":[],"mappings":";;;AAKA,MAAM,aAAa;CA0BlB;AAED,MAAa,SAAU,SAAQ,aAAa;CAU3C;AAVD,8BAUC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAQtD;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAIvD;AAJD,wCAIC"}
|
@@ -1,15 +1,30 @@
|
|
1
|
+
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
2
|
+
import { FacilityDto } from '../../dto/facilities.dto';
|
3
|
+
import { ProductDto } from '../../product-pricing/dto/product.dto';
|
1
4
|
import { Product } from '../../product-pricing/entities/Product';
|
2
|
-
import {
|
5
|
+
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
6
|
+
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
3
7
|
import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
4
8
|
import { Slot } from '../entities/slot.entity';
|
5
9
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
6
10
|
import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
|
7
|
-
import { IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
|
11
|
+
import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ISlotProductPricesMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
|
8
12
|
import { AddonDto, DraftAddonDto } from './addon.dto';
|
9
13
|
import { MaintenanceDto } from './maintenance.dto';
|
14
|
+
import { SimpleProductUserDto } from '../../dto/product-user';
|
15
|
+
import { SimpleInvoiceDto } from '../../invoice/dto/invoice.dto';
|
10
16
|
export declare class SlotProductMetadataDto implements ISlotProductMetadata {
|
11
17
|
productId: number;
|
12
18
|
price: number;
|
19
|
+
quantity: number;
|
20
|
+
priceId?: number;
|
21
|
+
prices?: SlotProductPricesMetadataDto[];
|
22
|
+
}
|
23
|
+
export declare class SlotProductPricesMetadataDto implements ISlotProductPricesMetadata {
|
24
|
+
priceId: number;
|
25
|
+
price: number;
|
26
|
+
quantity: number;
|
27
|
+
totalPrice: number;
|
13
28
|
}
|
14
29
|
export declare class DateTimeAndResourcesDto {
|
15
30
|
startDate: string;
|
@@ -19,7 +34,7 @@ export declare class DateTimeAndResourcesDto {
|
|
19
34
|
spaceId: number;
|
20
35
|
instructorsIds?: number[];
|
21
36
|
}
|
22
|
-
export declare class BaseSlotDto extends DateTimeAndResourcesDto {
|
37
|
+
export declare class BaseSlotDto extends DateTimeAndResourcesDto implements IBaseSlot {
|
23
38
|
organizationId?: number;
|
24
39
|
title: string;
|
25
40
|
creatorId?: number;
|
@@ -40,9 +55,9 @@ export declare class BaseSlotDto extends DateTimeAndResourcesDto {
|
|
40
55
|
slotDurationType: DurationTypeEnum;
|
41
56
|
colorCodeId?: number;
|
42
57
|
participantsNumber?: number;
|
43
|
-
conflictsIds?: number[];
|
44
58
|
occurrence?: number;
|
45
59
|
productMetadata?: SlotProductMetadataDto;
|
60
|
+
maintenance?: MaintenanceDto[];
|
46
61
|
}
|
47
62
|
export declare class SlotDto extends BaseSlotDto {
|
48
63
|
id?: number;
|
@@ -61,10 +76,35 @@ export declare class SlotDto extends BaseSlotDto {
|
|
61
76
|
[addonProductId: number]: IOverridePriceMeta;
|
62
77
|
};
|
63
78
|
addonProducts?: Product[];
|
64
|
-
maintenance?: MaintenanceDto[];
|
65
79
|
isPrivate: boolean;
|
66
80
|
addonsIds?: number[];
|
67
81
|
parentSlotId?: number;
|
82
|
+
facilityId?: number;
|
83
|
+
}
|
84
|
+
export declare class BaseDraftSlotDto extends BaseSlotDto {
|
85
|
+
id: string;
|
86
|
+
facilityId: number;
|
87
|
+
reservationId: string;
|
88
|
+
segmentId: string;
|
89
|
+
seriesId: string;
|
90
|
+
parentSlotId?: string;
|
91
|
+
participantsIds?: number[];
|
92
|
+
slotId?: number;
|
93
|
+
}
|
94
|
+
export declare class UpdateDraftSlotDto extends BaseDraftSlotDto {
|
95
|
+
productsIds?: number[];
|
96
|
+
productId?: number;
|
97
|
+
}
|
98
|
+
export declare class DraftSlotDto extends BaseDraftSlotDto implements IDraftSlot {
|
99
|
+
maintenanceSlots?: DraftSlotDto[];
|
100
|
+
addons?: DraftAddonDto[];
|
101
|
+
space?: SpaceResourceDto;
|
102
|
+
instructors?: InstructorResourceDto[];
|
103
|
+
participants?: SimpleCustomerDto[];
|
104
|
+
product?: ProductDto;
|
105
|
+
conflictsIds?: number[];
|
106
|
+
facility?: FacilityDto;
|
107
|
+
owner?: SimpleCustomerDto;
|
68
108
|
}
|
69
109
|
export declare class TimeSlotDto implements ITimeSlot {
|
70
110
|
id?: number;
|
@@ -89,19 +129,6 @@ export declare class UpdateSlotsColorsDto {
|
|
89
129
|
slotId: number;
|
90
130
|
colorCodeId: number;
|
91
131
|
}
|
92
|
-
export declare class DraftSlotDto extends BaseSlotDto implements IDraftSlot {
|
93
|
-
id: string;
|
94
|
-
reservationId?: string;
|
95
|
-
segmentId?: string;
|
96
|
-
seriesId?: string;
|
97
|
-
maintenanceSlots?: DraftSlotDto[];
|
98
|
-
addons?: DraftAddonDto[];
|
99
|
-
participantsIds?: number[];
|
100
|
-
space?: SimpleResourceDto;
|
101
|
-
instructors?: SimpleResourceDto[];
|
102
|
-
totalSlotsInSeries?: number;
|
103
|
-
parentSlotId?: string;
|
104
|
-
}
|
105
132
|
export declare class TimeSlotConflictsDto {
|
106
133
|
timeSlot: TimeSlotDto;
|
107
134
|
conflicts: Slot[];
|
@@ -115,3 +142,21 @@ export declare class DraftTimeSlotDto implements ITimeSlot {
|
|
115
142
|
endTime: string;
|
116
143
|
parentSlotId?: string;
|
117
144
|
}
|
145
|
+
export declare class ProblematicSlotDto {
|
146
|
+
startDate: string;
|
147
|
+
endDate: string;
|
148
|
+
startTime: string;
|
149
|
+
endTime: string;
|
150
|
+
spaceId: number;
|
151
|
+
spaceName?: string;
|
152
|
+
instructorsIds?: number[];
|
153
|
+
}
|
154
|
+
export declare class CardSlotDto extends SlotDto {
|
155
|
+
resource: SpaceResourceDto;
|
156
|
+
productUser?: SimpleProductUserDto;
|
157
|
+
invoice?: SimpleInvoiceDto;
|
158
|
+
customer?: SimpleCustomerDto;
|
159
|
+
totalSlotsInReservation?: number;
|
160
|
+
hasConflicts?: boolean;
|
161
|
+
addons?: AddonDto[];
|
162
|
+
}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.CardSlotDto = exports.ProblematicSlotDto = exports.DraftTimeSlotDto = exports.TimeSlotConflictsDto = exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.DraftSlotDto = exports.UpdateDraftSlotDto = exports.BaseDraftSlotDto = exports.SlotDto = exports.BaseSlotDto = exports.DateTimeAndResourcesDto = exports.SlotProductPricesMetadataDto = exports.SlotProductMetadataDto = void 0;
|
4
4
|
class SlotProductMetadataDto {
|
5
5
|
}
|
6
6
|
exports.SlotProductMetadataDto = SlotProductMetadataDto;
|
7
|
+
class SlotProductPricesMetadataDto {
|
8
|
+
}
|
9
|
+
exports.SlotProductPricesMetadataDto = SlotProductPricesMetadataDto;
|
7
10
|
class DateTimeAndResourcesDto {
|
8
11
|
}
|
9
12
|
exports.DateTimeAndResourcesDto = DateTimeAndResourcesDto;
|
@@ -13,6 +16,15 @@ exports.BaseSlotDto = BaseSlotDto;
|
|
13
16
|
class SlotDto extends BaseSlotDto {
|
14
17
|
}
|
15
18
|
exports.SlotDto = SlotDto;
|
19
|
+
class BaseDraftSlotDto extends BaseSlotDto {
|
20
|
+
}
|
21
|
+
exports.BaseDraftSlotDto = BaseDraftSlotDto;
|
22
|
+
class UpdateDraftSlotDto extends BaseDraftSlotDto {
|
23
|
+
}
|
24
|
+
exports.UpdateDraftSlotDto = UpdateDraftSlotDto;
|
25
|
+
class DraftSlotDto extends BaseDraftSlotDto {
|
26
|
+
}
|
27
|
+
exports.DraftSlotDto = DraftSlotDto;
|
16
28
|
class TimeSlotDto {
|
17
29
|
}
|
18
30
|
exports.TimeSlotDto = TimeSlotDto;
|
@@ -25,13 +37,16 @@ exports.SlotsIdsDto = SlotsIdsDto;
|
|
25
37
|
class UpdateSlotsColorsDto {
|
26
38
|
}
|
27
39
|
exports.UpdateSlotsColorsDto = UpdateSlotsColorsDto;
|
28
|
-
class DraftSlotDto extends BaseSlotDto {
|
29
|
-
}
|
30
|
-
exports.DraftSlotDto = DraftSlotDto;
|
31
40
|
class TimeSlotConflictsDto {
|
32
41
|
}
|
33
42
|
exports.TimeSlotConflictsDto = TimeSlotConflictsDto;
|
34
43
|
class DraftTimeSlotDto {
|
35
44
|
}
|
36
45
|
exports.DraftTimeSlotDto = DraftTimeSlotDto;
|
46
|
+
class ProblematicSlotDto {
|
47
|
+
}
|
48
|
+
exports.ProblematicSlotDto = ProblematicSlotDto;
|
49
|
+
class CardSlotDto extends SlotDto {
|
50
|
+
}
|
51
|
+
exports.CardSlotDto = CardSlotDto;
|
37
52
|
//# sourceMappingURL=slot.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAgCA,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AAED,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,gBAAiB,SAAQ,WAAW;CAgBhD;AAhBD,4CAgBC;AAED,MAAa,kBAAmB,SAAQ,gBAAgB;CAKvD;AALD,gDAKC;AAED,MAAa,YAAa,SAAQ,gBAAgB;CAkBjD;AAlBD,oCAkBC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAc9B;AAdD,gDAcC;AAED,MAAa,WAAY,SAAQ,OAAO;CAcvC;AAdD,kCAcC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"v1.reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/v1.reservation.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAa,UAAU;CAMtB;AAND,gCAMC;AAED,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAED,MAAa,YAAY;
|
1
|
+
{"version":3,"file":"v1.reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/v1.reservation.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAa,UAAU;CAMtB;AAND,gCAMC;AAED,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAED,MAAa,YAAY;CAgBxB;AAhBD,oCAgBC"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
|
+
import { Resource } from '../../resources/entities/Resource';
|
2
3
|
import { ResourceTypeEnum } from '../../services/enums.service';
|
4
|
+
import { Slot } from './slot.entity';
|
3
5
|
export declare class SlotToResource extends OrganizationConnectionBaseEntity {
|
4
6
|
slotId: number;
|
7
|
+
slot: Slot;
|
5
8
|
resourceId: number;
|
9
|
+
resource: Resource;
|
6
10
|
resourceType: ResourceTypeEnum;
|
7
11
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SlotToResource.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/SlotToResource.ts"],"names":[],"mappings":";;;AACA,oGAAiG;
|
1
|
+
{"version":3,"file":"SlotToResource.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/SlotToResource.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,cAAe,SAAQ,mEAAgC;CAUnE;AAVD,wCAUC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;CA6C1D;AA7CD,sBA6CC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { Customer } from '../../entity/Customer';
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
|
-
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
3
|
+
import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
4
|
+
import { OverrideProductsPricing } from '../types/classes/reservation.classes';
|
4
5
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../types/enums/reservation.enums';
|
5
6
|
import { Addon } from './addon.entity';
|
6
7
|
import { Segment } from './segment.entity';
|
@@ -26,16 +27,14 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
26
27
|
answerTitleIds?: number[] | null;
|
27
28
|
segments?: Segment[];
|
28
29
|
addons: Addon[];
|
29
|
-
slots
|
30
|
-
overrideProductsPrice:
|
31
|
-
productId: number;
|
32
|
-
price: number;
|
33
|
-
}>;
|
30
|
+
slots?: Slot[];
|
31
|
+
overrideProductsPrice: OverrideProductsPricing;
|
34
32
|
targetGlobalPrice?: number;
|
35
33
|
invoiceId?: string;
|
36
34
|
startTime?: string;
|
37
35
|
startDate?: Date;
|
38
36
|
endDate?: Date;
|
39
|
-
sportType?:
|
37
|
+
sportType?: SportsEnum;
|
40
38
|
migrationStatus?: string;
|
39
|
+
invoicesIds?: number[];
|
41
40
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
1
|
+
{"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAejG,MAAa,WAAY,SAAQ,mEAAgC;CAiEhE;AAjED,kCAiEC"}
|
@@ -6,13 +6,15 @@ import { ProductsUsers } from '../../entity/ProductsUsers';
|
|
6
6
|
import { Product } from '../../product-pricing/entities/Product';
|
7
7
|
import { Resource } from '../../resources/entities/Resource';
|
8
8
|
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
9
|
+
import { SlotProductMetadata } from '../types/classes/product.classes';
|
9
10
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
10
11
|
import { IAddonMetadata } from '../types/interfaces/reservation.interfaces';
|
11
|
-
import { ISlotProductMetadata } from '../types/interfaces/slot.interfaces';
|
12
12
|
import { Addon } from './addon.entity';
|
13
13
|
import { Reservation } from './reservation.entity';
|
14
14
|
import { Segment } from './segment.entity';
|
15
15
|
import { Series } from './series.entity';
|
16
|
+
import { SlotToResource } from './SlotToResource';
|
17
|
+
import { Customer } from '../../entity/Customer';
|
16
18
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
17
19
|
isReverted: boolean;
|
18
20
|
deletedAt?: Date;
|
@@ -26,7 +28,8 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
26
28
|
event: Event;
|
27
29
|
spaceId?: number;
|
28
30
|
resource?: Resource;
|
29
|
-
|
31
|
+
slotToResources?: SlotToResource[];
|
32
|
+
resources?: Resource[];
|
30
33
|
parentSlotId?: number;
|
31
34
|
parent?: Slot;
|
32
35
|
children?: Slot[];
|
@@ -57,14 +60,16 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
57
60
|
displayName?: string;
|
58
61
|
internalName?: string;
|
59
62
|
totalPrice: number;
|
60
|
-
productMetadata?:
|
63
|
+
productMetadata?: SlotProductMetadata;
|
61
64
|
slotDurationType: DurationTypeEnum;
|
62
65
|
previousProductUsersIds?: number[];
|
63
66
|
previousProductUsers?: ProductsUsers[];
|
64
67
|
colorCodeId?: number;
|
65
68
|
colorCode?: ColorCode;
|
69
|
+
cartItemId?: string;
|
66
70
|
conflictsCount?: number;
|
67
71
|
conflicts?: Slot[];
|
72
|
+
hasConflicts?: boolean;
|
68
73
|
maintenance?: Slot[];
|
69
74
|
maintenanceSlots?: Slot[];
|
70
75
|
addonsProductUserIds?: number[] | null;
|
@@ -75,4 +80,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
75
80
|
isMonitorVisible: boolean;
|
76
81
|
isPrivate: boolean;
|
77
82
|
occurrence?: number;
|
83
|
+
totalSlotsInReservation?: number;
|
84
|
+
customer?: Customer;
|
78
85
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;
|
1
|
+
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAuBjG,MAAa,IAAK,SAAQ,mEAAgC;CAoIzD;AApID,oBAoIC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { Product } from '../../../product-pricing/entities/Product';
|
2
|
+
import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../../services/enums.service';
|
3
|
+
import { IDraftAddon } from '../interfaces/addon.interfaces';
|
4
|
+
import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../enums/reservation.enums';
|
5
|
+
export declare class DraftAddon implements IDraftAddon {
|
6
|
+
id: string;
|
7
|
+
productId: number;
|
8
|
+
product?: Product;
|
9
|
+
quantity: number;
|
10
|
+
unitPrice?: number;
|
11
|
+
totalPrice?: number;
|
12
|
+
parentId?: string;
|
13
|
+
parentType?: AddonParentTypeEnum;
|
14
|
+
level?: ProductPackageLevelEnum;
|
15
|
+
addonId?: number;
|
16
|
+
cartItemId?: string;
|
17
|
+
organizationId?: number;
|
18
|
+
productUserId?: number;
|
19
|
+
approvalStatus?: ReservationStatusEnum;
|
20
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
21
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CA8BtB;AA9BD,gCA8BC"}
|
@@ -0,0 +1,24 @@
|
|
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("./addon.classes"), exports);
|
18
|
+
__exportStar(require("./maintenance.classes"), exports);
|
19
|
+
__exportStar(require("./product.classes"), exports);
|
20
|
+
__exportStar(require("./reservation.classes"), exports);
|
21
|
+
__exportStar(require("./segment.classes"), exports);
|
22
|
+
__exportStar(require("./series.classes"), exports);
|
23
|
+
__exportStar(require("./slot.classes"), exports);
|
24
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,wDAAsC;AACtC,oDAAkC;AAClC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B"}
|