@bondsports/types 2.2.284-team-b → 2.2.284
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/accounting/entities/index.d.ts +2 -0
- package/dist/types/accounting/entities/index.js +19 -0
- package/dist/types/accounting/entities/index.js.map +1 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
- package/dist/types/accounting/index.d.ts +2 -0
- package/dist/types/accounting/index.js +19 -0
- package/dist/types/accounting/index.js.map +1 -0
- package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
- package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
- package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
- package/dist/types/accounting/types/enums/index.d.ts +1 -0
- package/dist/types/{membership/interfaces → accounting/types/enums}/index.js +1 -1
- package/dist/types/accounting/types/enums/index.js.map +1 -0
- package/dist/types/accounting/types/index.js.map +1 -0
- package/dist/types/address/dto/address.dto.d.ts +9 -0
- package/dist/types/address/dto/address.dto.js +7 -0
- package/dist/types/address/dto/address.dto.js.map +1 -0
- package/dist/types/address/dto/index.d.ts +1 -0
- package/dist/types/address/dto/index.js +18 -0
- package/dist/types/address/dto/index.js.map +1 -0
- package/dist/types/{entity → address/entities}/Address.d.ts +1 -1
- package/dist/types/{entity → address/entities}/Address.js +1 -1
- package/dist/types/address/entities/Address.js.map +1 -0
- package/dist/types/address/entities/index.d.ts +1 -0
- package/dist/types/address/entities/index.js +18 -0
- package/dist/types/address/entities/index.js.map +1 -0
- package/dist/types/address/index.d.ts +2 -0
- package/dist/types/address/index.js +2 -0
- package/dist/types/address/index.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +65 -2
- package/dist/types/cart/dto/cart.dto.js +28 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +8 -0
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -1
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/classes/cart.classes.d.ts +9 -0
- package/dist/types/cart/types/classes/cart.classes.js +7 -0
- package/dist/types/cart/types/classes/cart.classes.js.map +1 -0
- package/dist/types/cart/types/classes/index.d.ts +1 -0
- package/dist/types/cart/types/classes/index.js +18 -0
- package/dist/types/cart/types/classes/index.js.map +1 -0
- package/dist/types/cart/types/index.d.ts +1 -0
- package/dist/types/cart/types/index.js +1 -0
- package/dist/types/cart/types/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +63 -1
- package/dist/types/customers/dto/customer-response.dto.d.ts +5 -0
- package/dist/types/customers/dto/customer-response.dto.js +4 -1
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
- package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
- package/dist/types/customers/types/consts/customers.consts.d.ts +1 -0
- package/dist/types/customers/types/consts/customers.consts.js +5 -2
- package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +10 -1
- package/dist/types/dto/activityTimes.dto.d.ts +10 -0
- package/dist/types/dto/activityTimes.dto.js +4 -1
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +4 -2
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +2 -9
- package/dist/types/dto/facilities.dto.js +1 -4
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +11 -5
- package/dist/types/dto/general.dto.js +4 -2
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +15 -2
- package/dist/types/dto/groupsDivisions.dto.js +6 -3
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +17 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +10 -0
- package/dist/types/dto/product-user.js +7 -1
- package/dist/types/dto/product-user.js.map +1 -1
- package/dist/types/dto/product-variants.dto.d.ts +2 -14
- package/dist/types/dto/product-variants.dto.js +2 -5
- package/dist/types/dto/product-variants.dto.js.map +1 -1
- package/dist/types/dto/userPaymentMethod.dto.d.ts +4 -0
- package/dist/types/dto/userPaymentMethod.dto.js +4 -1
- package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +21 -5
- package/dist/types/employees/dto/employee.dto.js +8 -1
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/types/consts/index.d.ts +3 -0
- package/dist/types/employees/types/consts/index.js +25 -0
- package/dist/types/employees/types/consts/index.js.map +1 -0
- package/dist/types/employees/types/index.d.ts +1 -0
- package/dist/types/employees/types/index.js +1 -0
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +4 -3
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +3 -1
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/EventAttendees.d.ts +6 -6
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/EventHistory.d.ts +1 -1
- package/dist/types/entity/EventHistory.js.map +1 -1
- package/dist/types/entity/Facility.d.ts +1 -1
- package/dist/types/entity/LineItems.d.ts +3 -0
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/MembershipMember.d.ts +11 -0
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/PackageV1.d.ts +2 -0
- package/dist/types/entity/PackageV1.js.map +1 -1
- package/dist/types/entity/index.d.ts +0 -2
- package/dist/types/entity/index.js +0 -2
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/facilities/index.d.ts +1 -0
- package/dist/types/facilities/index.js +18 -0
- package/dist/types/facilities/index.js.map +1 -0
- package/dist/types/facilities/types/facilities.types.d.ts +4 -0
- package/dist/types/facilities/types/facilities.types.js +3 -0
- package/dist/types/facilities/types/facilities.types.js.map +1 -0
- package/dist/types/facilities/types/index.d.ts +1 -0
- package/dist/types/facilities/types/index.js +18 -0
- package/dist/types/facilities/types/index.js.map +1 -0
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
- package/dist/types/invoice/dto/invoice.dto.js +5 -1
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
- package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
- package/dist/types/invoice/types/interfaces/index.js +1 -0
- package/dist/types/invoice/types/interfaces/index.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
- package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
- package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
- package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
- package/dist/types/membership/dto/index.d.ts +2 -0
- package/dist/types/membership/dto/index.js +19 -0
- package/dist/types/membership/dto/index.js.map +1 -0
- package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
- package/dist/types/membership/dto/membershipMember.dto.js +45 -0
- package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
- package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
- package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
- package/dist/types/membership/index.d.ts +2 -1
- package/dist/types/membership/index.js +2 -1
- package/dist/types/membership/index.js.map +1 -1
- package/dist/types/membership/types/index.d.ts +5 -0
- package/dist/types/membership/types/index.js +22 -0
- package/dist/types/membership/types/index.js.map +1 -0
- package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
- package/dist/types/membership/types/membership.interfaces.js.map +1 -0
- package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
- package/dist/types/membership/types/membership.member.classes.js +7 -0
- package/dist/types/membership/types/membership.member.classes.js.map +1 -0
- package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
- package/dist/types/membership/types/membership.member.consts.js +8 -0
- package/dist/types/membership/types/membership.member.consts.js.map +1 -0
- package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
- package/dist/types/membership/types/membership.members.interfaces.js +3 -0
- package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
- package/dist/types/membership/types/membership.members.types.d.ts +4 -0
- package/dist/types/membership/types/membership.members.types.js +3 -0
- package/dist/types/membership/types/membership.members.types.js.map +1 -0
- package/dist/types/notifications/dto/index.d.ts +1 -0
- package/dist/types/notifications/dto/index.js +1 -0
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/dto/types/index.d.ts +1 -0
- package/dist/types/notifications/dto/types/index.js +18 -0
- package/dist/types/notifications/dto/types/index.js.map +1 -0
- package/dist/types/notifications/index.d.ts +0 -1
- package/dist/types/notifications/index.js +0 -1
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/online-rentals/index.d.ts +1 -0
- package/dist/types/online-rentals/index.js +18 -0
- package/dist/types/online-rentals/index.js.map +1 -0
- package/dist/types/online-rentals/types/index.d.ts +2 -0
- package/dist/types/online-rentals/types/index.js +19 -0
- package/dist/types/online-rentals/types/index.js.map +1 -0
- package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
- package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
- package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
- package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
- package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
- package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/interfaces/index.d.ts +1 -0
- package/dist/types/organization/interfaces/index.js +1 -0
- package/dist/types/organization/interfaces/index.js.map +1 -1
- package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
- package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
- package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
- package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
- package/dist/types/payment/dto/payment-method.dto.js +4 -1
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
- package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
- package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
- package/dist/types/payment/types/consts/payment.consts.js +5 -1
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
- package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
- package/dist/types/payment/types/enums/payment.enums.js +2 -0
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
- package/dist/types/pricing/dto/price.dto.d.ts +3 -1
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
- package/dist/types/pricing/entities/Price.d.ts +3 -2
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +2 -0
- package/dist/types/programs/dto/program.dto.d.ts +5 -2
- package/dist/types/programs/dto/program.dto.js +4 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +2 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +4 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/classes/index.js +18 -0
- package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/enums/index.js +18 -0
- package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +9 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +15 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
- package/dist/types/programs-seasons/types/index.d.ts +2 -0
- package/dist/types/programs-seasons/types/index.js +2 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
- package/dist/types/reservations/dto/addon.dto.d.ts +21 -8
- package/dist/types/reservations/dto/addon.dto.js +9 -2
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +171 -24
- package/dist/types/reservations/dto/reservation.dto.js +86 -7
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.d.ts +7 -4
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +106 -26
- package/dist/types/reservations/dto/slot.dto.js +25 -7
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
- package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
- package/dist/types/reservations/entities/addon.entity.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +22 -0
- package/dist/types/reservations/types/classes/addon.classes.js +7 -0
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/index.d.ts +7 -0
- package/dist/types/reservations/types/classes/index.js +24 -0
- package/dist/types/reservations/types/classes/index.js.map +1 -0
- package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
- package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
- package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
- package/dist/types/reservations/types/classes/product.classes.js +10 -0
- package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
- package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
- package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
- package/dist/types/reservations/types/classes/segment.classes.js +10 -0
- package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
- package/dist/types/reservations/types/classes/series.classes.js +7 -0
- package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
- package/dist/types/reservations/types/classes/slot.classes.js +11 -0
- package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
- package/dist/types/reservations/types/consts/index.d.ts +1 -0
- package/dist/types/reservations/types/consts/index.js +1 -0
- package/dist/types/reservations/types/consts/index.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +12 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +18 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
- package/dist/types/reservations/types/consts/slot.consts.js +5 -0
- package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
- package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/index.d.ts +1 -0
- package/dist/types/reservations/types/index.js +1 -0
- package/dist/types/reservations/types/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
- package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
- package/dist/types/reservations/types/interfaces/index.js +2 -0
- package/dist/types/reservations/types/interfaces/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +160 -19
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
- package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +61 -24
- package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +23 -11
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -0
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Instructor.d.ts +2 -2
- package/dist/types/resources/entities/Instructor.js.map +1 -1
- package/dist/types/resources/entities/Space.d.ts +1 -1
- package/dist/types/resources/entities/Space.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
- package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
- package/dist/types/roles/dto/permission-group.dto.js +8 -1
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +27 -12
- package/dist/types/roles/dto/role.dto.js +23 -5
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/dist/types/roles/entities/Role.d.ts +3 -2
- package/dist/types/roles/entities/Role.js.map +1 -1
- package/dist/types/roles/entities/index.d.ts +6 -0
- package/dist/types/roles/entities/index.js +10 -0
- package/dist/types/roles/entities/index.js.map +1 -1
- package/dist/types/roles/types/index.d.ts +1 -0
- package/dist/types/roles/types/index.js +1 -0
- package/dist/types/roles/types/index.js.map +1 -1
- package/dist/types/roles/types/role.consts.d.ts +1 -0
- package/dist/types/roles/types/role.consts.js +6 -0
- package/dist/types/roles/types/role.consts.js.map +1 -0
- package/dist/types/roles/types/role.enums.d.ts +13 -2
- package/dist/types/roles/types/role.enums.js +13 -1
- package/dist/types/roles/types/role.enums.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +23 -2
- package/dist/types/services/enums.service.js +27 -3
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +15 -3
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/entities/User.d.ts +3 -1
- package/dist/types/user/entities/User.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +15 -0
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
- package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
- package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
- package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
- package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
- package/dist/types/webflow/dto/index.d.ts +1 -0
- package/dist/types/webflow/dto/index.js +18 -0
- package/dist/types/webflow/dto/index.js.map +1 -0
- package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
- package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/webflow/entities/index.d.ts +1 -0
- package/dist/types/webflow/entities/index.js +18 -0
- package/dist/types/webflow/entities/index.js.map +1 -0
- package/dist/types/webflow/index.d.ts +2 -0
- package/dist/types/webflow/index.js +2 -0
- package/dist/types/webflow/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/entity/Address.js.map +0 -1
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
- package/dist/types/membership/interfaces/index.d.ts +0 -1
- package/dist/types/membership/interfaces/index.js.map +0 -1
- package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
- package/dist/types/notifications/types/enums/index.js.map +0 -1
- package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
- package/dist/types/notifications/types/enums/notification.enums.js +0 -41
- package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/types/index.js.map +0 -1
- /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
- /package/dist/types/{notifications → accounting}/types/index.js +0 -0
- /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
import { SportsEnum } from '../../../services/enums.service';
|
2
|
+
import { PrivacySettingsEnum } from '../enums/reservation.enums';
|
3
|
+
import { ICreateDraftSeries, IDraftSeries } from './series.interfaces';
|
4
|
+
export interface IBaseSegment {
|
5
|
+
organizationId?: number;
|
6
|
+
title: string;
|
7
|
+
privacySetting?: PrivacySettingsEnum;
|
8
|
+
resourceIds: number[];
|
9
|
+
instructorsIds?: number[];
|
10
|
+
sportId?: SportsEnum;
|
11
|
+
participantsNumber?: number;
|
12
|
+
publicNotesForSlots?: string;
|
13
|
+
privateNotesForSlots?: string;
|
14
|
+
colorCodeId?: number;
|
15
|
+
}
|
16
|
+
export interface IBaseDraftSegment extends IBaseSegment {
|
17
|
+
id?: string;
|
18
|
+
reservationId?: string;
|
19
|
+
facilityId: number;
|
20
|
+
participantsIds?: number[];
|
21
|
+
productsIds?: number[];
|
22
|
+
}
|
23
|
+
export interface ICreateDraftSegment extends IBaseDraftSegment {
|
24
|
+
series: ICreateDraftSeries[];
|
25
|
+
}
|
26
|
+
export interface IDraftSegment extends IBaseDraftSegment {
|
27
|
+
id: string;
|
28
|
+
series: IDraftSeries[];
|
29
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"segment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/segment.interfaces.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { DurationTypeEnum, DurationUnitTypesEnum, FrequencyEnum, MaintenanceTimingEnum } from '../enums/reservation.enums';
|
2
|
+
import { IDraftSlot } from './slot.interfaces';
|
3
|
+
export interface IMaintenance {
|
4
|
+
title: string;
|
5
|
+
durationValue: number;
|
6
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
7
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
8
|
+
}
|
9
|
+
export interface IBaseSeries {
|
10
|
+
startDate: string;
|
11
|
+
startTime?: string;
|
12
|
+
endDate?: string;
|
13
|
+
endTime?: string;
|
14
|
+
slotDurationType: DurationTypeEnum;
|
15
|
+
durationEndsAfter?: number;
|
16
|
+
durationUnit?: DurationUnitTypesEnum;
|
17
|
+
frequency: FrequencyEnum;
|
18
|
+
repeatEvery?: number;
|
19
|
+
repeatOn?: number[];
|
20
|
+
repeatEndDate?: string;
|
21
|
+
numberOccurrences?: number;
|
22
|
+
maintenance?: IMaintenance[];
|
23
|
+
}
|
24
|
+
export interface ICreateDraftSeries extends IBaseSeries {
|
25
|
+
organizationId?: number;
|
26
|
+
reservationId?: string;
|
27
|
+
segmentId?: string;
|
28
|
+
slots?: IDraftSlot[];
|
29
|
+
}
|
30
|
+
export interface IDraftSeries extends ICreateDraftSeries {
|
31
|
+
id: string;
|
32
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"series.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/series.interfaces.ts"],"names":[],"mappings":""}
|
@@ -1,7 +1,9 @@
|
|
1
|
+
import { ActivityTimes } from '../../../entity/ActivityTimes';
|
1
2
|
import { Product } from '../../../product-pricing/entities/Product';
|
2
3
|
import { ResourceNameTypeEnum, SportsEnum } from '../../../services/enums.service';
|
3
|
-
import {
|
4
|
-
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
4
|
+
import { MaintenanceDto } from '../../dto/maintenance.dto';
|
5
|
+
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
6
|
+
import { IDraftAddon } from './addon.interfaces';
|
5
7
|
export interface IReservationCreatorData {
|
6
8
|
type: ResourceNameTypeEnum;
|
7
9
|
id: number;
|
@@ -30,6 +32,7 @@ export interface ISlotReservationData {
|
|
30
32
|
reservationId: number;
|
31
33
|
reservationName: string;
|
32
34
|
date: string;
|
35
|
+
endDate: string;
|
33
36
|
startTime: string;
|
34
37
|
endTime: string;
|
35
38
|
notes: string;
|
@@ -49,13 +52,28 @@ export interface ISlotInSchedule {
|
|
49
52
|
export interface ISpaceWithSlots {
|
50
53
|
id: number;
|
51
54
|
name: string;
|
55
|
+
ordinal?: number;
|
52
56
|
slots: ISlotReservationData[];
|
53
57
|
}
|
54
58
|
export interface ISlotProductMetadata {
|
55
59
|
productId: number;
|
56
60
|
price: number;
|
61
|
+
quantity: number;
|
62
|
+
priceId?: number;
|
63
|
+
/**
|
64
|
+
* Stores the matching fragment price making up the unit price of the slot
|
65
|
+
*/
|
66
|
+
prices?: ISlotProductPricesMetadata[];
|
67
|
+
}
|
68
|
+
export interface ISlotProductPricesMetadata {
|
69
|
+
priceId: number;
|
70
|
+
price: number;
|
71
|
+
quantity: number;
|
72
|
+
activityTimes?: ActivityTimes[];
|
73
|
+
totalPrice: number;
|
57
74
|
}
|
58
75
|
export interface ICreateSlotsOptions {
|
76
|
+
id?: string;
|
59
77
|
userCreatorId?: number;
|
60
78
|
publicNotes?: string;
|
61
79
|
privateNotes?: string;
|
@@ -64,20 +82,41 @@ export interface ICreateSlotsOptions {
|
|
64
82
|
colorCodeId?: number;
|
65
83
|
overrideProduct?: Product;
|
66
84
|
spaceProducts?: Product[];
|
85
|
+
title?: string;
|
86
|
+
instructorsIds?: number[];
|
87
|
+
participantsNumber?: number;
|
88
|
+
participantsIds?: number[];
|
89
|
+
maintenance?: MaintenanceDto[];
|
90
|
+
productMetadata?: ISlotProductMetadata;
|
91
|
+
slotId?: number;
|
92
|
+
approvalStatus?: ReservationStatusEnum;
|
93
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
67
94
|
}
|
68
|
-
export interface
|
95
|
+
export interface ITimeSlot {
|
96
|
+
id?: string | number;
|
97
|
+
/**
|
98
|
+
*/
|
99
|
+
resourceId?: number;
|
100
|
+
resourcesIds?: number[];
|
101
|
+
startDate: string;
|
102
|
+
startTime: string;
|
103
|
+
endDate: string;
|
104
|
+
endTime: string;
|
105
|
+
parentSlotId?: string | number;
|
106
|
+
}
|
107
|
+
export declare class IBaseSlot {
|
69
108
|
organizationId?: number;
|
109
|
+
title: string;
|
110
|
+
creatorId?: number;
|
111
|
+
creatorType?: ResourceNameTypeEnum;
|
112
|
+
userCreatorId?: number;
|
70
113
|
startDate: string;
|
71
114
|
startTime?: string;
|
72
115
|
endDate?: string;
|
73
116
|
endTime?: string;
|
117
|
+
timezone?: string;
|
74
118
|
spaceId: number;
|
75
119
|
instructorsIds?: number[];
|
76
|
-
title: string;
|
77
|
-
creatorId?: number;
|
78
|
-
creatorType?: ResourceNameTypeEnum;
|
79
|
-
userCreatorId?: number;
|
80
|
-
timezone?: string;
|
81
120
|
publicNotes?: string;
|
82
121
|
privateNotes?: string;
|
83
122
|
slotType: SlotTypeEnum;
|
@@ -90,31 +129,29 @@ export interface IBaseSlot {
|
|
90
129
|
totalPrice?: number;
|
91
130
|
privacySetting?: PrivacySettingsEnum;
|
92
131
|
slotDurationType: DurationTypeEnum;
|
93
|
-
participantsNumber?: number;
|
94
|
-
participantsIds?: number[];
|
95
132
|
colorCodeId?: number;
|
96
|
-
|
97
|
-
|
133
|
+
participantsNumber?: number;
|
134
|
+
occurrence?: number;
|
98
135
|
productMetadata?: ISlotProductMetadata;
|
136
|
+
maintenance?: MaintenanceDto[];
|
137
|
+
slotId?: number;
|
99
138
|
}
|
100
139
|
export interface IDraftSlot extends IBaseSlot {
|
101
140
|
id: string;
|
141
|
+
facilityId: number;
|
102
142
|
reservationId?: string;
|
103
143
|
segmentId?: string;
|
104
144
|
seriesId?: string;
|
105
145
|
parentSlotId?: string;
|
146
|
+
participantsIds?: number[];
|
106
147
|
maintenanceSlots?: IDraftSlot[];
|
107
|
-
|
148
|
+
conflictsIds?: number[];
|
149
|
+
cartItemId?: string;
|
150
|
+
addons?: IDraftAddon[];
|
151
|
+
approvalStatus?: ReservationStatusEnum;
|
152
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
108
153
|
}
|
109
|
-
export interface
|
110
|
-
|
111
|
-
|
112
|
-
*/
|
113
|
-
resourceId?: number;
|
114
|
-
resourcesIds?: number[];
|
115
|
-
startDate: string;
|
116
|
-
startTime: string;
|
117
|
-
endDate: string;
|
118
|
-
endTime: string;
|
119
|
-
parentSlotId?: string | number;
|
154
|
+
export interface IUpdateSlot extends IDraftSlot {
|
155
|
+
productsIds?: number[];
|
156
|
+
productId?: number;
|
120
157
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/slot.interfaces.ts"],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"slot.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/slot.interfaces.ts"],"names":[],"mappings":";;;AA4HA,MAAa,SAAS;CA+BrB;AA/BD,8BA+BC"}
|
@@ -1,12 +1,24 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
1
|
+
import { AddonDto } from '../dto/addon.dto';
|
2
|
+
import { ReservationDto } from '../dto/reservation.dto';
|
3
|
+
import { SegmentDto } from '../dto/segment.dto';
|
4
|
+
import { SeriesDto } from '../dto/series.dto';
|
5
|
+
import { SlotDto } from '../dto/slot.dto';
|
6
|
+
import { Addon } from '../entities/addon.entity';
|
7
7
|
import { Reservation } from '../entities/reservation.entity';
|
8
|
-
import {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
import { Segment } from '../entities/segment.entity';
|
9
|
+
import { Series } from '../entities/series.entity';
|
10
|
+
import { Slot } from '../entities/slot.entity';
|
11
|
+
import { DraftAddon } from './classes/addon.classes';
|
12
|
+
import { DraftReservation } from './classes/reservation.classes';
|
13
|
+
import { DraftSegment } from './classes/segment.classes';
|
14
|
+
import { DraftSeries } from './classes/series.classes';
|
15
|
+
import { DraftSlot } from './classes/slot.classes';
|
16
|
+
export type ReservationEntity = Reservation | ReservationDto | DraftReservation;
|
17
|
+
export type SegmentEntity = Segment | SegmentDto | DraftSegment;
|
18
|
+
export type SeriesEntity = Series | SeriesDto | DraftSeries;
|
19
|
+
export type SlotEntity = Slot | SlotDto | DraftSlot;
|
20
|
+
export type AddonEntity = Addon | AddonDto | DraftAddon;
|
21
|
+
export type IDraftEntitySplitAmount = {
|
22
|
+
amount: number;
|
23
|
+
id: string;
|
24
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
|
-
import { AddressDto } from '../../dto/facilities.dto';
|
3
2
|
import { ActivityEnum, ProgramTypesEnum, ResourceAgesEnum, SportsEnum } from '../../services/enums.service';
|
4
3
|
import { BaseResourceDto, ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
|
4
|
+
import { AddressDto } from '../../address/dto/address.dto';
|
5
5
|
export declare class InstructorResourceDto extends BaseResourceDto {
|
6
6
|
userId: number;
|
7
7
|
email?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAEA,iDAA6F;AAG7F,MAAa,qBAAsB,SAAQ,8BAAe;CAgBzD;AAhBD,sDAgBC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC;AAED,MAAa,mBAAoB,SAAQ,gCAAiB;CAIzD;AAJD,kDAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC"}
|
@@ -71,6 +71,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
|
|
71
71
|
includeActivityTimes?: boolean;
|
72
72
|
includeFacilities?: boolean;
|
73
73
|
searchByFacility?: boolean;
|
74
|
+
inclusion?: boolean;
|
74
75
|
}
|
75
76
|
export declare class UpdateSpaceDto extends UpdateResourceDto {
|
76
77
|
name?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;
|
1
|
+
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CA0B3D;AA1BD,0DA0BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Resource } from './Resource';
|
2
|
-
import { ProgramTypesEnum } from '../../services/enums.service';
|
3
1
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
+
import { ProgramTypesEnum } from '../../services/enums.service';
|
3
|
+
import { Resource } from './Resource';
|
4
4
|
export declare class Instructor extends BondBaseEntity {
|
5
5
|
deletedAt?: Date;
|
6
6
|
resourceId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Instructor.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Instructor.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"Instructor.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Instructor.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,UAAW,SAAQ,+BAAc;CAQ7C;AARD,gCAQC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
1
2
|
import { AmenitiesEnum, ResourceSubTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
2
3
|
import { Resource } from './Resource';
|
3
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
4
4
|
export declare class Space extends BondBaseEntity {
|
5
5
|
deletedAt?: Date;
|
6
6
|
resourceId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Space.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Space.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"Space.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Space.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,KAAM,SAAQ,+BAAc;CAkBxC;AAlBD,sBAkBC"}
|
@@ -19,4 +19,8 @@ export declare class UpdateRolePermissionGroupsDto {
|
|
19
19
|
export declare class GetPermissionGroupsOptionsDto extends PaginatedSearchDto {
|
20
20
|
includeInactive?: boolean;
|
21
21
|
includePermissions?: boolean;
|
22
|
+
includeChildGroups?: boolean;
|
23
|
+
}
|
24
|
+
export declare class VerifyActionDto {
|
25
|
+
areYouSure: boolean;
|
22
26
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetPermissionGroupsOptionsDto = exports.UpdateRolePermissionGroupsDto = exports.PermissionGroupDto = exports.BatchCreatePermissionGroupDto = exports.CreatePermissionGroupDto = void 0;
|
3
|
+
exports.VerifyActionDto = exports.GetPermissionGroupsOptionsDto = exports.UpdateRolePermissionGroupsDto = exports.PermissionGroupDto = exports.BatchCreatePermissionGroupDto = exports.CreatePermissionGroupDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
class CreatePermissionGroupDto {
|
6
6
|
constructor() {
|
@@ -22,7 +22,14 @@ class GetPermissionGroupsOptionsDto extends general_dto_1.PaginatedSearchDto {
|
|
22
22
|
super(...arguments);
|
23
23
|
this.includeInactive = false;
|
24
24
|
this.includePermissions = false;
|
25
|
+
this.includeChildGroups = false;
|
25
26
|
}
|
26
27
|
}
|
27
28
|
exports.GetPermissionGroupsOptionsDto = GetPermissionGroupsOptionsDto;
|
29
|
+
class VerifyActionDto {
|
30
|
+
constructor() {
|
31
|
+
this.areYouSure = false;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
exports.VerifyActionDto = VerifyActionDto;
|
28
35
|
//# sourceMappingURL=permission-group.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA2D;AAG3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;CAM/D;AAND,gDAMC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,6BAA8B,SAAQ,gCAAkB;IAArE;;QACC,oBAAe,GAAI,KAAK,CAAC;QAEzB,uBAAkB,GAAI,KAAK,CAAC;IAC7B,CAAC;CAAA;
|
1
|
+
{"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA2D;AAG3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;CAM/D;AAND,gDAMC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,6BAA8B,SAAQ,gCAAkB;IAArE;;QACC,oBAAe,GAAI,KAAK,CAAC;QAEzB,uBAAkB,GAAI,KAAK,CAAC;QAE5B,uBAAkB,GAAI,KAAK,CAAC;IAC7B,CAAC;CAAA;AAND,sEAMC;AAED,MAAa,eAAe;IAA5B;QACC,eAAU,GAAG,KAAK,CAAC;IACpB,CAAC;CAAA;AAFD,0CAEC"}
|
@@ -2,46 +2,50 @@ import { OptionalFacilityIdDto } from '../../dto/facilities.dto';
|
|
2
2
|
import { PaginatedSearchDto } from '../../dto/general.dto';
|
3
3
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
4
4
|
import { PlatformsEnum } from '../../services/enums.service';
|
5
|
-
import { RoleTypesEnum } from '../types/role.enums';
|
6
5
|
import { PermissionGroupDto } from './permission-group.dto';
|
7
6
|
import { PermissionDto } from './permission.dto';
|
8
7
|
import { UserRoleDto } from './user-role.dto';
|
8
|
+
import { RoleTypesEnum } from '../types/role.enums';
|
9
9
|
export declare class ByRoleIdDto extends OptionalFacilityIdDto {
|
10
10
|
roleId: number;
|
11
11
|
}
|
12
12
|
export declare class CreateRoleDto extends OptionalFacilityIdDto {
|
13
13
|
name: string;
|
14
|
+
description?: string;
|
14
15
|
isEditable?: boolean;
|
15
|
-
type
|
16
|
+
type?: number;
|
16
17
|
permissionGroupsIds: number[];
|
17
18
|
usersIds: number[];
|
18
19
|
}
|
19
|
-
export declare class
|
20
|
+
export declare class SimpleRoleDto extends OptionalFacilityIdDto {
|
20
21
|
id: number;
|
21
22
|
name: string;
|
23
|
+
description?: string;
|
22
24
|
deletedAt?: Date;
|
23
25
|
isEditable?: boolean;
|
24
|
-
type
|
26
|
+
type?: number;
|
27
|
+
activeUsersCount?: number;
|
28
|
+
}
|
29
|
+
export declare class RoleDto extends SimpleRoleDto {
|
25
30
|
permissionGroups: PermissionGroupDto[];
|
26
31
|
usersRoles: UserRoleDto[];
|
27
32
|
}
|
28
|
-
export declare class SimpleRoleDto extends OptionalFacilityIdDto {
|
29
|
-
id: number;
|
30
|
-
name: string;
|
31
|
-
type: RoleTypesEnum;
|
32
|
-
deletedAt?: Date;
|
33
|
-
}
|
34
33
|
export declare class GetRolesFiltersDto extends PaginatedSearchDto {
|
35
34
|
platforms?: PlatformsEnum[];
|
36
35
|
facilityId?: number;
|
37
|
-
|
36
|
+
includeEditedDefaults?: boolean;
|
38
37
|
deletedAt?: Date;
|
39
38
|
isEditable?: boolean;
|
40
|
-
|
39
|
+
rolesTypes?: RoleTypesEnum[];
|
40
|
+
includeBondy?: boolean;
|
41
|
+
countUserRoles?: boolean;
|
41
42
|
}
|
42
43
|
export declare class ByOrganizationIdAndRole extends ByOrganizationIdDto {
|
43
44
|
role: string;
|
44
45
|
}
|
46
|
+
export declare class RequiredRoleIdsDto {
|
47
|
+
roleIds: number[];
|
48
|
+
}
|
45
49
|
export declare class RoleIdsDto {
|
46
50
|
roleIds?: number[];
|
47
51
|
}
|
@@ -52,8 +56,12 @@ export declare class RoleIdsAndUserIdDto {
|
|
52
56
|
export declare class UpdateRoleDto extends OptionalFacilityIdDto {
|
53
57
|
id: number;
|
54
58
|
name?: string;
|
59
|
+
description?: string;
|
55
60
|
isEditable?: boolean;
|
56
61
|
}
|
62
|
+
export declare class DeleteRolesOptionsDto extends RoleIdsDto {
|
63
|
+
includeUserRoles?: boolean;
|
64
|
+
}
|
57
65
|
export declare class GetRolesOptionsDto {
|
58
66
|
includeGlobalRoles?: boolean;
|
59
67
|
includePermissionGroups?: boolean;
|
@@ -63,3 +71,10 @@ export declare class GetRolesOptionsDto {
|
|
63
71
|
export declare class DeprecatedRoleDto extends RoleDto {
|
64
72
|
permissions?: PermissionDto[];
|
65
73
|
}
|
74
|
+
export declare class EditRoleDto {
|
75
|
+
name: string;
|
76
|
+
description?: string;
|
77
|
+
permissionGroupsIds?: number[];
|
78
|
+
userIdsToAdd?: number[];
|
79
|
+
userIdsToRemove?: number[];
|
80
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.
|
3
|
+
exports.EditRoleDto = exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.DeleteRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.RequiredRoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.RoleDto = exports.SimpleRoleDto = exports.CreateRoleDto = exports.ByRoleIdDto = void 0;
|
4
4
|
const facilities_dto_1 = require("../../dto/facilities.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -10,22 +10,30 @@ exports.ByRoleIdDto = ByRoleIdDto;
|
|
10
10
|
class CreateRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
|
11
11
|
}
|
12
12
|
exports.CreateRoleDto = CreateRoleDto;
|
13
|
-
class
|
13
|
+
class SimpleRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
|
14
|
+
}
|
15
|
+
exports.SimpleRoleDto = SimpleRoleDto;
|
16
|
+
class RoleDto extends SimpleRoleDto {
|
14
17
|
constructor() {
|
15
18
|
super(...arguments);
|
16
19
|
this.permissionGroups = [];
|
17
20
|
}
|
18
21
|
}
|
19
22
|
exports.RoleDto = RoleDto;
|
20
|
-
class SimpleRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
|
21
|
-
}
|
22
|
-
exports.SimpleRoleDto = SimpleRoleDto;
|
23
23
|
class GetRolesFiltersDto extends general_dto_1.PaginatedSearchDto {
|
24
|
+
constructor() {
|
25
|
+
super(...arguments);
|
26
|
+
this.includeBondy = false;
|
27
|
+
this.countUserRoles = false;
|
28
|
+
}
|
24
29
|
}
|
25
30
|
exports.GetRolesFiltersDto = GetRolesFiltersDto;
|
26
31
|
class ByOrganizationIdAndRole extends organization_dto_1.ByOrganizationIdDto {
|
27
32
|
}
|
28
33
|
exports.ByOrganizationIdAndRole = ByOrganizationIdAndRole;
|
34
|
+
class RequiredRoleIdsDto {
|
35
|
+
}
|
36
|
+
exports.RequiredRoleIdsDto = RequiredRoleIdsDto;
|
29
37
|
class RoleIdsDto {
|
30
38
|
}
|
31
39
|
exports.RoleIdsDto = RoleIdsDto;
|
@@ -35,6 +43,13 @@ exports.RoleIdsAndUserIdDto = RoleIdsAndUserIdDto;
|
|
35
43
|
class UpdateRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
|
36
44
|
}
|
37
45
|
exports.UpdateRoleDto = UpdateRoleDto;
|
46
|
+
class DeleteRolesOptionsDto extends RoleIdsDto {
|
47
|
+
constructor() {
|
48
|
+
super(...arguments);
|
49
|
+
this.includeUserRoles = true;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
exports.DeleteRolesOptionsDto = DeleteRolesOptionsDto;
|
38
53
|
class GetRolesOptionsDto {
|
39
54
|
constructor() {
|
40
55
|
this.includeGlobalRoles = false;
|
@@ -47,4 +62,7 @@ exports.GetRolesOptionsDto = GetRolesOptionsDto;
|
|
47
62
|
class DeprecatedRoleDto extends RoleDto {
|
48
63
|
}
|
49
64
|
exports.DeprecatedRoleDto = DeprecatedRoleDto;
|
65
|
+
class EditRoleDto {
|
66
|
+
}
|
67
|
+
exports.EditRoleDto = EditRoleDto;
|
50
68
|
//# sourceMappingURL=role.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,sCAAqB;
|
1
|
+
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAYvD;AAZD,sCAYC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAcvD;AAdD,sCAcC;AAED,MAAa,OAAQ,SAAQ,aAAa;IAA1C;;QACC,qBAAgB,GAAyB,EAAE,CAAC;IAG7C,CAAC;CAAA;AAJD,0BAIC;AAED,MAAa,kBAAmB,SAAQ,gCAAkB;IAA1D;;QAaC,iBAAY,GAAI,KAAK,CAAC;QAEtB,mBAAc,GAAI,KAAK,CAAC;IACzB,CAAC;CAAA;AAhBD,gDAgBC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD;AARD,sCAQC;AAED,MAAa,qBAAsB,SAAQ,UAAU;IAArD;;QACC,qBAAgB,GAAI,IAAI,CAAC;IAC1B,CAAC;CAAA;AAFD,sDAEC;AAED,MAAa,kBAAkB;IAA/B;QACC,uBAAkB,GAAI,KAAK,CAAC;QAE5B,4BAAuB,GAAI,KAAK,CAAC;QAEjC,6BAAwB,GAAI,KAAK,CAAC;QAElC,qBAAgB,GAAI,KAAK,CAAC;IAC3B,CAAC;CAAA;AARD,gDAQC;AAED,MAAa,iBAAkB,SAAQ,OAAO;CAE7C;AAFD,8CAEC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC"}
|
@@ -1,14 +1,15 @@
|
|
1
1
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
-
import { RoleTypesEnum } from '../types/role.enums';
|
3
2
|
import { PermissionGroup } from './PermissionGroup';
|
4
3
|
import { UserRole } from './UserRole';
|
5
4
|
export declare class Role extends BondBaseEntity {
|
6
5
|
name: string;
|
6
|
+
description?: string;
|
7
7
|
deletedAt?: Date;
|
8
8
|
isEditable?: boolean;
|
9
|
-
type
|
9
|
+
type?: number;
|
10
10
|
organizationId: number;
|
11
11
|
facilityId: number;
|
12
12
|
permissionGroups: PermissionGroup[];
|
13
13
|
usersRoles: UserRole[];
|
14
|
+
activeUsersCount?: number;
|
14
15
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Role.ts"],"names":[],"mappings":";;;AACA,gEAA6D;
|
1
|
+
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Role.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,IAAK,SAAQ,+BAAc;CAoBvC;AApBD,oBAoBC"}
|
@@ -1,4 +1,10 @@
|
|
1
|
+
import { Permission } from './Permission';
|
2
|
+
import { PermissionGroup } from './PermissionGroup';
|
3
|
+
import { Role } from './Role';
|
4
|
+
import { UserRole } from './UserRole';
|
5
|
+
export { Permission, PermissionGroup, Role, UserRole };
|
1
6
|
export * from './Permission';
|
2
7
|
export * from './PermissionGroup';
|
3
8
|
export * from './Role';
|
4
9
|
export * from './UserRole';
|
10
|
+
export * from './index';
|
@@ -14,8 +14,18 @@ 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
|
+
exports.UserRole = exports.Role = exports.PermissionGroup = exports.Permission = void 0;
|
18
|
+
const Permission_1 = require("./Permission");
|
19
|
+
Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return Permission_1.Permission; } });
|
20
|
+
const PermissionGroup_1 = require("./PermissionGroup");
|
21
|
+
Object.defineProperty(exports, "PermissionGroup", { enumerable: true, get: function () { return PermissionGroup_1.PermissionGroup; } });
|
22
|
+
const Role_1 = require("./Role");
|
23
|
+
Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return Role_1.Role; } });
|
24
|
+
const UserRole_1 = require("./UserRole");
|
25
|
+
Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return UserRole_1.UserRole; } });
|
17
26
|
__exportStar(require("./Permission"), exports);
|
18
27
|
__exportStar(require("./PermissionGroup"), exports);
|
19
28
|
__exportStar(require("./Role"), exports);
|
20
29
|
__exportStar(require("./UserRole"), exports);
|
30
|
+
__exportStar(require("./index"), exports);
|
21
31
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6CAA0C;AAKjC,2FALA,uBAAU,OAKA;AAJnB,uDAAoD;AAI/B,gGAJZ,iCAAe,OAIY;AAHpC,iCAA8B;AAGQ,qFAH7B,WAAI,OAG6B;AAF1C,yCAAsC;AAEM,yFAFnC,mBAAQ,OAEmC;AACpD,+CAA6B;AAC7B,oDAAkC;AAClC,yCAAuB;AACvB,6CAA2B;AAC3B,0CAAwB"}
|
@@ -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("./role.consts"), exports);
|
17
18
|
__exportStar(require("./role.enums"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/roles/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/roles/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const BOND_ROLE_FILTER: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"role.consts.js","sourceRoot":"","sources":["../../../../src/types/roles/types/role.consts.ts"],"names":[],"mappings":";;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACnB,QAAA,gBAAgB,GAAG,GAAG,gBAAgB,GAAG,CAAC"}
|