@bondsports/types 2.2.284-a-2 → 2.2.284-team-b
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/README.md +71 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/address/index.d.ts +0 -2
- package/dist/types/address/index.js +0 -2
- package/dist/types/address/index.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +2 -65
- package/dist/types/cart/dto/cart.dto.js +1 -28
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +0 -8
- 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/index.d.ts +0 -1
- package/dist/types/cart/types/index.js +0 -1
- package/dist/types/cart/types/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -63
- package/dist/types/customers/dto/customer-response.dto.d.ts +0 -5
- package/dist/types/customers/dto/customer-response.dto.js +1 -4
- 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 +0 -1
- package/dist/types/customers/types/consts/customers.consts.js +2 -5
- package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +1 -10
- package/dist/types/dto/activityTimes.dto.d.ts +0 -10
- package/dist/types/dto/activityTimes.dto.js +1 -4
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +2 -4
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +9 -2
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +5 -11
- package/dist/types/dto/general.dto.js +2 -4
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
- package/dist/types/dto/groupsDivisions.dto.js +3 -6
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +1 -17
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +0 -10
- package/dist/types/dto/product-user.js +1 -7
- package/dist/types/dto/product-user.js.map +1 -1
- package/dist/types/dto/product-variants.dto.d.ts +14 -2
- package/dist/types/dto/product-variants.dto.js +5 -2
- package/dist/types/dto/product-variants.dto.js.map +1 -1
- package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
- package/dist/types/dto/userPaymentMethod.dto.js +1 -4
- package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +5 -21
- package/dist/types/employees/dto/employee.dto.js +1 -8
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/types/index.d.ts +0 -1
- package/dist/types/employees/types/index.js +0 -1
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +3 -4
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
- package/dist/types/{address/entities → entity}/Address.js +1 -1
- package/dist/types/entity/Address.js.map +1 -0
- package/dist/types/entity/Customer.d.ts +1 -3
- 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 +0 -3
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/MembershipMember.d.ts +0 -11
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/PackageV1.d.ts +0 -2
- package/dist/types/entity/PackageV1.js.map +1 -1
- package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
- package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/entity/index.d.ts +2 -0
- package/dist/types/entity/index.js +2 -0
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -3
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
- package/dist/types/invoice/dto/invoice.dto.js +1 -5
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
- package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
- package/dist/types/invoice/types/interfaces/index.js +0 -1
- package/dist/types/invoice/types/interfaces/index.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
- package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
- package/dist/types/membership/index.d.ts +1 -2
- package/dist/types/membership/index.js +1 -2
- package/dist/types/membership/index.js.map +1 -1
- package/dist/types/membership/interfaces/index.d.ts +1 -0
- package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
- package/dist/types/membership/interfaces/index.js.map +1 -0
- package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
- package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
- package/dist/types/notifications/dto/index.d.ts +0 -1
- package/dist/types/notifications/dto/index.js +0 -1
- 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/index.d.ts +1 -0
- package/dist/types/notifications/index.js +1 -0
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/notifications/types/enums/index.js.map +1 -0
- package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
- package/dist/types/notifications/types/enums/notification.enums.js +41 -0
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/types/index.js.map +1 -0
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/interfaces/index.d.ts +0 -1
- package/dist/types/organization/interfaces/index.js +0 -1
- package/dist/types/organization/interfaces/index.js.map +1 -1
- package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
- package/dist/types/payment/dto/payment-method.dto.js +1 -4
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
- package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
- package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
- package/dist/types/payment/types/consts/payment.consts.js +1 -5
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
- package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
- package/dist/types/payment/types/enums/payment.enums.js +0 -2
- 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 +0 -16
- package/dist/types/pricing/dto/price.dto.d.ts +1 -3
- 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 +2 -3
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -4
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +0 -2
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -11
- package/dist/types/programs/dto/program.dto.d.ts +2 -5
- package/dist/types/programs/dto/program.dto.js +1 -4
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +18 -27
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +8 -11
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +2 -4
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +0 -2
- package/dist/types/programs-seasons/types/index.js +0 -2
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
- package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
- package/dist/types/reservations/dto/addon.dto.d.ts +8 -21
- package/dist/types/reservations/dto/addon.dto.js +2 -9
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +24 -171
- package/dist/types/reservations/dto/reservation.dto.js +7 -86
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.d.ts +4 -7
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +26 -106
- package/dist/types/reservations/dto/slot.dto.js +7 -25
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
- package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
- package/dist/types/reservations/entities/addon.entity.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +3 -11
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/consts/index.d.ts +0 -1
- package/dist/types/reservations/types/consts/index.js +0 -1
- package/dist/types/reservations/types/consts/index.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -12
- package/dist/types/reservations/types/consts/reservation.consts.js +1 -18
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
- package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/index.d.ts +0 -1
- package/dist/types/reservations/types/index.js +0 -1
- package/dist/types/reservations/types/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
- package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
- package/dist/types/reservations/types/interfaces/index.js +0 -2
- package/dist/types/reservations/types/interfaces/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +19 -160
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +24 -61
- package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +11 -23
- 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 +0 -1
- 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 +0 -1
- package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
- package/dist/types/roles/dto/permission-group.dto.js +1 -8
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +12 -27
- package/dist/types/roles/dto/role.dto.js +5 -23
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/dist/types/roles/entities/Role.d.ts +2 -3
- package/dist/types/roles/entities/Role.js.map +1 -1
- package/dist/types/roles/entities/index.d.ts +0 -6
- package/dist/types/roles/entities/index.js +0 -10
- package/dist/types/roles/entities/index.js.map +1 -1
- package/dist/types/roles/types/index.d.ts +0 -1
- package/dist/types/roles/types/index.js +0 -1
- package/dist/types/roles/types/index.js.map +1 -1
- package/dist/types/roles/types/role.enums.d.ts +2 -13
- package/dist/types/roles/types/role.enums.js +1 -13
- package/dist/types/roles/types/role.enums.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +2 -23
- package/dist/types/services/enums.service.js +3 -27
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +3 -15
- 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 +1 -3
- package/dist/types/user/entities/User.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +0 -15
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
- package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
- package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
- package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
- package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
- package/dist/types/webflow/index.d.ts +0 -2
- package/dist/types/webflow/index.js +0 -2
- package/dist/types/webflow/index.js.map +1 -1
- package/package.json +54 -54
- package/dist/types/accounting/entities/index.d.ts +0 -2
- package/dist/types/accounting/entities/index.js +0 -19
- package/dist/types/accounting/entities/index.js.map +0 -1
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
- package/dist/types/accounting/index.d.ts +0 -2
- package/dist/types/accounting/index.js +0 -19
- package/dist/types/accounting/index.js.map +0 -1
- package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
- package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
- package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
- package/dist/types/accounting/types/enums/index.d.ts +0 -1
- package/dist/types/accounting/types/enums/index.js +0 -18
- package/dist/types/accounting/types/enums/index.js.map +0 -1
- package/dist/types/accounting/types/index.js.map +0 -1
- package/dist/types/address/dto/address.dto.d.ts +0 -9
- package/dist/types/address/dto/address.dto.js +0 -7
- package/dist/types/address/dto/address.dto.js.map +0 -1
- package/dist/types/address/dto/index.d.ts +0 -1
- package/dist/types/address/dto/index.js.map +0 -1
- package/dist/types/address/entities/Address.js.map +0 -1
- package/dist/types/address/entities/index.d.ts +0 -1
- package/dist/types/address/entities/index.js +0 -18
- package/dist/types/address/entities/index.js.map +0 -1
- package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
- package/dist/types/cart/types/classes/cart.classes.js +0 -7
- package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
- package/dist/types/cart/types/classes/index.d.ts +0 -1
- package/dist/types/cart/types/classes/index.js +0 -18
- package/dist/types/cart/types/classes/index.js.map +0 -1
- package/dist/types/employees/types/consts/index.d.ts +0 -3
- package/dist/types/employees/types/consts/index.js +0 -25
- package/dist/types/employees/types/consts/index.js.map +0 -1
- package/dist/types/facilities/index.d.ts +0 -1
- package/dist/types/facilities/index.js +0 -18
- package/dist/types/facilities/index.js.map +0 -1
- package/dist/types/facilities/types/facilities.types.d.ts +0 -4
- package/dist/types/facilities/types/facilities.types.js +0 -3
- package/dist/types/facilities/types/facilities.types.js.map +0 -1
- package/dist/types/facilities/types/index.d.ts +0 -1
- package/dist/types/facilities/types/index.js +0 -18
- package/dist/types/facilities/types/index.js.map +0 -1
- package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
- package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
- package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
- package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
- package/dist/types/membership/dto/index.d.ts +0 -2
- package/dist/types/membership/dto/index.js +0 -19
- package/dist/types/membership/dto/index.js.map +0 -1
- package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
- package/dist/types/membership/dto/membershipMember.dto.js +0 -45
- package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
- package/dist/types/membership/types/index.d.ts +0 -5
- package/dist/types/membership/types/index.js +0 -22
- package/dist/types/membership/types/index.js.map +0 -1
- package/dist/types/membership/types/membership.interfaces.js.map +0 -1
- package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
- package/dist/types/membership/types/membership.member.classes.js +0 -7
- package/dist/types/membership/types/membership.member.classes.js.map +0 -1
- package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
- package/dist/types/membership/types/membership.member.consts.js +0 -8
- package/dist/types/membership/types/membership.member.consts.js.map +0 -1
- package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
- package/dist/types/membership/types/membership.members.interfaces.js +0 -3
- package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
- package/dist/types/membership/types/membership.members.types.d.ts +0 -4
- package/dist/types/membership/types/membership.members.types.js +0 -3
- package/dist/types/membership/types/membership.members.types.js.map +0 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
- package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
- package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/dto/types/index.d.ts +0 -1
- package/dist/types/notifications/dto/types/index.js +0 -18
- package/dist/types/notifications/dto/types/index.js.map +0 -1
- package/dist/types/online-rentals/index.d.ts +0 -1
- package/dist/types/online-rentals/index.js +0 -18
- package/dist/types/online-rentals/index.js.map +0 -1
- package/dist/types/online-rentals/types/index.d.ts +0 -2
- package/dist/types/online-rentals/types/index.js +0 -19
- package/dist/types/online-rentals/types/index.js.map +0 -1
- package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
- package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
- package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
- package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
- package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
- package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
- package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
- package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
- package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
- package/dist/types/programs-seasons/types/classes/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/classes/index.js +0 -18
- package/dist/types/programs-seasons/types/classes/index.js.map +0 -1
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +0 -6
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +0 -7
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +0 -1
- package/dist/types/programs-seasons/types/enums/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/enums/index.js +0 -18
- package/dist/types/programs-seasons/types/enums/index.js.map +0 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +0 -9
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +0 -15
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +0 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -22
- package/dist/types/reservations/types/classes/addon.classes.js +0 -7
- package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/index.d.ts +0 -7
- package/dist/types/reservations/types/classes/index.js +0 -24
- package/dist/types/reservations/types/classes/index.js.map +0 -1
- package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
- package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
- package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
- package/dist/types/reservations/types/classes/product.classes.js +0 -10
- package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
- package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
- package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
- package/dist/types/reservations/types/classes/segment.classes.js +0 -10
- package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
- package/dist/types/reservations/types/classes/series.classes.js +0 -7
- package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
- package/dist/types/reservations/types/classes/slot.classes.js +0 -11
- package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
- package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
- package/dist/types/reservations/types/consts/slot.consts.js +0 -5
- package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
- package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
- package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
- package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
- package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
- package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
- package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
- package/dist/types/roles/types/role.consts.d.ts +0 -1
- package/dist/types/roles/types/role.consts.js +0 -6
- package/dist/types/roles/types/role.consts.js.map +0 -1
- package/dist/types/webflow/dto/index.d.ts +0 -1
- package/dist/types/webflow/dto/index.js +0 -18
- package/dist/types/webflow/dto/index.js.map +0 -1
- package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
- package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
- package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
- package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
- package/dist/types/webflow/entities/index.d.ts +0 -1
- package/dist/types/webflow/entities/index.js +0 -18
- package/dist/types/webflow/entities/index.js.map +0 -1
- /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
- /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
- /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -14,7 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./classes"), exports);
|
18
|
-
__exportStar(require("./enums"), exports);
|
19
17
|
__exportStar(require("./interfaces"), exports);
|
20
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
@@ -10,7 +10,6 @@ import { OrderByEnum } from '../../services/enums.service';
|
|
10
10
|
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
11
11
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
12
12
|
import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
|
13
|
-
import { SimpleProductUserDto } from '../../dto/product-user';
|
14
13
|
export declare class PunchPassFinancialInfoDto {
|
15
14
|
price: number;
|
16
15
|
invoiceId: number;
|
@@ -33,7 +32,6 @@ export declare class PunchPassInfoDto {
|
|
33
32
|
facility: SimpleFacilityDto;
|
34
33
|
financialInfo: PunchPassFinancialInfoDto;
|
35
34
|
payment?: PaymentIdDto;
|
36
|
-
productUser?: SimpleProductUserDto;
|
37
35
|
}
|
38
36
|
export declare class PunchPassEventDto extends SimpleEventDto {
|
39
37
|
attendeeId: number;
|
@@ -61,12 +59,3 @@ export declare class GetPassEventsDto {
|
|
61
59
|
export declare class ByPassIdOrganizationIdUserIdDto extends ByOrganizationAndUserDto {
|
62
60
|
passId: number;
|
63
61
|
}
|
64
|
-
export declare class PunchPassUserProductInfoDto extends SimpleProductUserDto {
|
65
|
-
id: number;
|
66
|
-
organizationId: number;
|
67
|
-
productName: string;
|
68
|
-
productQuantityLeft: number;
|
69
|
-
productQuantity: number;
|
70
|
-
user: SimpleUserDto;
|
71
|
-
product: SimpleProductDto;
|
72
|
-
}
|
@@ -1,10 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
|
4
4
|
const events_dto_1 = require("../../dto/events.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const user_dto_1 = require("../../user/dto/user.dto");
|
7
|
-
const product_user_1 = require("../../dto/product-user");
|
8
7
|
class PunchPassFinancialInfoDto {
|
9
8
|
}
|
10
9
|
exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
|
@@ -23,7 +22,4 @@ exports.GetPassEventsDto = GetPassEventsDto;
|
|
23
22
|
class ByPassIdOrganizationIdUserIdDto extends user_dto_1.ByOrganizationAndUserDto {
|
24
23
|
}
|
25
24
|
exports.ByPassIdOrganizationIdUserIdDto = ByPassIdOrganizationIdUserIdDto;
|
26
|
-
class PunchPassUserProductInfoDto extends product_user_1.SimpleProductUserDto {
|
27
|
-
}
|
28
|
-
exports.PunchPassUserProductInfoDto = PunchPassUserProductInfoDto;
|
29
25
|
//# sourceMappingURL=punch-pass.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;
|
1
|
+
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAGlF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CAwB5B;AAxBD,4CAwBC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
2
1
|
import { UserAnswersDto } from '../../dto/application.dto';
|
3
2
|
import { Customer } from '../../entity/Customer';
|
4
3
|
import { Invoice } from '../../entity/Invoice';
|
@@ -130,9 +129,6 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
|
|
130
129
|
paymentInfo?: PurchasePaymentDto;
|
131
130
|
amountToPay?: number;
|
132
131
|
installments?: ScheduledPaymentDto[];
|
133
|
-
purchasingUserId?: number;
|
134
132
|
parentPurchasedId?: number;
|
135
133
|
parentPurchasedType?: ResourceNameTypeEnum;
|
136
|
-
updatePrices?: UpdateCartPricesDto;
|
137
|
-
addToReservationId?: number;
|
138
134
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
2
2
|
import { Customer } from '../../../entity/Customer';
|
3
3
|
import { Invoice } from '../../../entity/Invoice';
|
4
4
|
import { IInvoiceCart } from '../../../invoice/types/interfaces/invoice.interfaces';
|
5
|
-
import { Organization } from '../../../organization/entities/Organization';
|
6
5
|
import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
|
7
6
|
import { Payment } from '../../../payment/entities/Payment';
|
8
7
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
|
@@ -10,8 +9,9 @@ import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.i
|
|
10
9
|
import { Product } from '../../../product-pricing/entities/Product';
|
11
10
|
import { ResourceDto } from '../../../resources/dto/resource.dto';
|
12
11
|
import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
13
|
-
import { User } from '../../../user/entities/User';
|
14
12
|
import { PurchasePaymentDto } from '../../dto/purchase.dto';
|
13
|
+
import { User } from '../../../user/entities/User';
|
14
|
+
import { Organization } from '../../../organization/entities/Organization';
|
15
15
|
export type UserCount = {
|
16
16
|
male: number;
|
17
17
|
female: number;
|
@@ -68,8 +68,6 @@ export interface IPurchaseCart extends IInvoiceCart {
|
|
68
68
|
paymentInfo?: PurchasePaymentDto;
|
69
69
|
amountToPay?: number;
|
70
70
|
installments?: ScheduledPaymentDto[];
|
71
|
-
purchasingUserId?: number;
|
72
71
|
parentPurchasedId?: number;
|
73
72
|
parentPurchasedType?: ResourceNameTypeEnum;
|
74
|
-
updatePrices?: IUpdateCartPrices;
|
75
73
|
}
|
@@ -1,25 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
3
|
-
import { ProductPackageLevelEnum } from '../../services/enums.service';
|
4
|
-
import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
|
1
|
+
import { IAddon, IBaseAddon } from '../types/interfaces/addon.interfaces';
|
5
2
|
import { EditItemsRefundMetaDto } from './reservation.dto';
|
6
|
-
|
7
|
-
export declare class SelectAddonDto {
|
3
|
+
declare class BaseAddonDto implements IBaseAddon {
|
8
4
|
productId: number;
|
9
|
-
quantity?: number;
|
10
|
-
}
|
11
|
-
export declare class BaseAddonDto extends SelectAddonDto implements IBaseAddon {
|
12
5
|
unitPrice?: number;
|
6
|
+
quantity?: number;
|
13
7
|
totalPrice?: number;
|
14
|
-
}
|
15
|
-
export declare class AddonDto extends BaseAddonDto implements IAddon {
|
16
|
-
id?: number;
|
17
8
|
displayTotalWithTax?: number;
|
18
9
|
displayTotalPrice?: number;
|
19
10
|
displayUnitTax?: number;
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
}
|
12
|
+
export declare class AddonDto extends BaseAddonDto implements IAddon {
|
13
|
+
id?: number;
|
23
14
|
}
|
24
15
|
export declare class AddAddonsDto {
|
25
16
|
addons: AddonDto[];
|
@@ -36,11 +27,7 @@ export declare class EditAddonDto {
|
|
36
27
|
totalPrice: number;
|
37
28
|
unitPrice?: number;
|
38
29
|
}
|
39
|
-
export declare class
|
30
|
+
export declare class DraftAddonDto extends BaseAddonDto {
|
40
31
|
id?: string;
|
41
32
|
}
|
42
|
-
export
|
43
|
-
id: string;
|
44
|
-
product?: SimpleProductDto;
|
45
|
-
level?: ProductPackageLevelEnum;
|
46
|
-
}
|
33
|
+
export {};
|
@@ -1,12 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DraftAddonDto = exports.
|
4
|
-
class
|
3
|
+
exports.DraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
|
4
|
+
class BaseAddonDto {
|
5
5
|
}
|
6
|
-
exports.SelectAddonDto = SelectAddonDto;
|
7
|
-
class BaseAddonDto extends SelectAddonDto {
|
8
|
-
}
|
9
|
-
exports.BaseAddonDto = BaseAddonDto;
|
10
6
|
class AddonDto extends BaseAddonDto {
|
11
7
|
}
|
12
8
|
exports.AddonDto = AddonDto;
|
@@ -22,9 +18,6 @@ exports.EditReservationAddonsDto = EditReservationAddonsDto;
|
|
22
18
|
class EditAddonDto {
|
23
19
|
}
|
24
20
|
exports.EditAddonDto = EditAddonDto;
|
25
|
-
class CreateDraftAddonDto extends BaseAddonDto {
|
26
|
-
}
|
27
|
-
exports.CreateDraftAddonDto = CreateDraftAddonDto;
|
28
21
|
class DraftAddonDto extends BaseAddonDto {
|
29
22
|
}
|
30
23
|
exports.DraftAddonDto = DraftAddonDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAGA,MAAM,YAAY;CAcjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAEzC;AAFD,4BAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC"}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { DurationUnitTypesEnum, MaintenanceTimingEnum } from '../types/enums/reservation.enums';
|
2
|
-
|
3
|
-
export declare class MaintenanceDto implements IMaintenance {
|
2
|
+
export declare class MaintenanceDto {
|
4
3
|
title: string;
|
5
4
|
durationValue: number;
|
6
5
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}
|
@@ -1,31 +1,23 @@
|
|
1
|
-
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
2
|
-
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
3
|
-
import { FacilityDto } from '../../dto/facilities.dto';
|
4
1
|
import { PaginationQuery } from '../../dto/general.dto';
|
5
|
-
import {
|
6
|
-
import { InvoiceCartDto, InvoiceDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
|
7
|
-
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
2
|
+
import { InvoiceDto, UpdateInvoiceDto, UpdateInvoiceOptionsDto } from '../../invoice/dto/invoice.dto';
|
8
3
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
9
|
-
import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
|
10
4
|
import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
|
11
5
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
12
|
-
import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
|
13
|
-
import { ProductDto, SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
14
6
|
import { Product } from '../../product-pricing/entities/Product';
|
15
7
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
16
|
-
import {
|
17
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
18
|
-
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
19
|
-
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
8
|
+
import { AddonParentTypeEnum, NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
20
9
|
import { Reservation } from '../entities/reservation.entity';
|
21
10
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
22
|
-
import {
|
23
|
-
import {
|
24
|
-
import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
11
|
+
import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
|
12
|
+
import { AddonDto, DraftAddonDto } from './addon.dto';
|
25
13
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
26
14
|
import { SeriesDto } from './series.dto';
|
27
|
-
import {
|
28
|
-
|
15
|
+
import { SlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
16
|
+
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
17
|
+
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
18
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
19
|
+
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
20
|
+
export declare class ProductPricesDto {
|
29
21
|
productId: number;
|
30
22
|
product?: Product;
|
31
23
|
price?: number;
|
@@ -34,7 +26,7 @@ export declare class ProductPricesDto implements IProductPrice {
|
|
34
26
|
quantity?: number;
|
35
27
|
totalPrice?: number;
|
36
28
|
}
|
37
|
-
declare class BaseReservationDto
|
29
|
+
declare class BaseReservationDto {
|
38
30
|
organizationId?: number;
|
39
31
|
name: string;
|
40
32
|
reservationType: ReservationTypeEnum;
|
@@ -50,49 +42,16 @@ declare class BaseReservationDto implements IBaseReservation {
|
|
50
42
|
overrideProductsPrice?: OverrideProductsPricingDto;
|
51
43
|
colorCodeId?: number;
|
52
44
|
customerId?: number;
|
53
|
-
addToReservationId?: number;
|
54
45
|
}
|
55
|
-
export declare class
|
46
|
+
export declare class ReservationDto extends BaseReservationDto {
|
56
47
|
id?: number;
|
57
48
|
status?: ReservationStatusEnum;
|
58
49
|
paymentStatus?: ReservationPaymentStatusEnum;
|
59
|
-
}
|
60
|
-
export declare class DuplicatedDetailsDto implements IDuplicateDetails {
|
61
|
-
addToReservationId: number;
|
62
|
-
approvalStatus?: ReservationStatusEnum;
|
63
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
64
|
-
invoicesIds?: number[];
|
65
|
-
}
|
66
|
-
export declare class ReservationDto extends SimpleReservationDto {
|
67
50
|
segments: SegmentDto[];
|
68
51
|
addons?: AddonDto[];
|
69
52
|
targetGlobalPrice?: number;
|
70
53
|
userId?: number;
|
71
54
|
purchasingUserId?: number;
|
72
|
-
slots?: SlotDto[];
|
73
|
-
}
|
74
|
-
export declare class BaseReservationItemLineItemDataDto implements IBaseReservationItemLineItem {
|
75
|
-
id: number;
|
76
|
-
amount: number;
|
77
|
-
amountPaid: number;
|
78
|
-
quantity: number;
|
79
|
-
canVoid: boolean;
|
80
|
-
canRefund: boolean;
|
81
|
-
isEdit?: boolean;
|
82
|
-
}
|
83
|
-
declare class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
|
84
|
-
slotIds: number[];
|
85
|
-
}
|
86
|
-
declare class BaseSegmentsAddonsGroupDto {
|
87
|
-
groupId?: string;
|
88
|
-
ids: string[];
|
89
|
-
quantity: number;
|
90
|
-
}
|
91
|
-
export declare class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
|
92
|
-
productsIds: number[];
|
93
|
-
}
|
94
|
-
export declare class SegmentsAddonsDto extends CreateSegmentsAddonsDto implements ISegmentsAddons {
|
95
|
-
groupId: string;
|
96
55
|
}
|
97
56
|
export declare class CreateDraftReservationDto extends BaseReservationDto {
|
98
57
|
id?: string;
|
@@ -101,33 +60,25 @@ export declare class SimpleDraftReservationDto extends CreateDraftReservationDto
|
|
101
60
|
id: string;
|
102
61
|
conflictsCount?: number;
|
103
62
|
}
|
104
|
-
export declare class DraftReservationDto extends SimpleDraftReservationDto
|
105
|
-
segments
|
63
|
+
export declare class DraftReservationDto extends SimpleDraftReservationDto {
|
64
|
+
segments?: DraftSegmentDto[];
|
106
65
|
addons?: DraftAddonDto[];
|
107
66
|
owner?: SimpleCustomerDto;
|
108
67
|
participants?: SimpleCustomerDto[];
|
109
|
-
products?:
|
110
|
-
spaces?:
|
111
|
-
instructors?:
|
112
|
-
facilities: FacilityDto[];
|
113
|
-
segmentsAddons?: SegmentsAddonsDto[];
|
114
|
-
duplicateDetails?: DuplicatedDetailsDto;
|
115
|
-
combinedSlots?: DraftSlotsDto[];
|
68
|
+
products?: SimpleProductDto[];
|
69
|
+
spaces?: SimpleResourceDto[];
|
70
|
+
instructors?: SimpleResourceDto[];
|
116
71
|
}
|
117
72
|
export declare class ReservationInvoiceDto {
|
118
73
|
reservation: ReservationDto;
|
119
74
|
invoice: InvoiceDto;
|
120
75
|
debug: any;
|
121
76
|
}
|
122
|
-
export declare class
|
123
|
-
platform?: PlatformsEnum;
|
124
|
-
shiftId?: number;
|
125
|
-
updatePrices?: UpdateCartPricesDto;
|
126
|
-
addToReservationId?: number;
|
127
|
-
}
|
128
|
-
export declare class SaveReservationDto extends CreateReservationCartDto implements ISaveReservationOptions {
|
77
|
+
export declare class SaveReservationDto implements ISaveReservationOptions {
|
129
78
|
reservation: ReservationDto;
|
130
79
|
slotType?: SlotTypeEnum;
|
80
|
+
platform?: PlatformsEnum;
|
81
|
+
shiftId?: number;
|
131
82
|
}
|
132
83
|
export declare class SingleReservationIncludesDto {
|
133
84
|
includeCustomer?: boolean;
|
@@ -197,7 +148,7 @@ export declare class FindSlotsByFacilityIdFiltersDto {
|
|
197
148
|
activityTypes?: SportsEnum[];
|
198
149
|
includeActivityTimes?: boolean;
|
199
150
|
}
|
200
|
-
export declare class
|
151
|
+
export declare class getSlotsSlotCardDto {
|
201
152
|
includeConflicts?: boolean;
|
202
153
|
}
|
203
154
|
export declare class getSlotFQueryParamsDto {
|
@@ -206,18 +157,12 @@ export declare class getSlotFQueryParamsDto {
|
|
206
157
|
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
207
158
|
reservationId: number;
|
208
159
|
}
|
209
|
-
export declare class DuplicateSlotDto extends FindByReservationDto {
|
210
|
-
slotId: number;
|
211
|
-
}
|
212
160
|
export declare class FindByFacilityDto extends FindByReservationDto {
|
213
161
|
facilityId: number;
|
214
162
|
}
|
215
163
|
export declare class FindBySegmentDto extends FindByFacilityDto {
|
216
164
|
segmentId: number;
|
217
165
|
}
|
218
|
-
export declare class FindBySlotIdsDto {
|
219
|
-
slotsIds: number[];
|
220
|
-
}
|
221
166
|
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
222
167
|
status: ReservationStatusEnum;
|
223
168
|
}
|
@@ -244,12 +189,6 @@ export declare class EditReservationDetailsDto {
|
|
244
189
|
publicNotes?: string;
|
245
190
|
privateNotes?: string;
|
246
191
|
}
|
247
|
-
export declare class RemoveSlotsFinancialDataDto implements IRemoveSlotsFinancialData {
|
248
|
-
paymentMethods: PaymentMethodToFundLeftDto[];
|
249
|
-
lineItems: SlotsLineItemDataDto[];
|
250
|
-
nextFinancialStep: FinancialStepEnum;
|
251
|
-
invoice: Invoice;
|
252
|
-
}
|
253
192
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
254
193
|
updateAddons?: boolean;
|
255
194
|
updateMaintenance?: boolean;
|
@@ -281,9 +220,10 @@ export declare class AddSlotToSegmenResultDto {
|
|
281
220
|
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
282
221
|
reservationTotalPrice: number;
|
283
222
|
}
|
284
|
-
export declare class InvoiceReservationItemsDto extends
|
223
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
285
224
|
slotsIds?: number[];
|
286
225
|
addonsIds?: number[];
|
226
|
+
purchasingUserId?: number;
|
287
227
|
}
|
288
228
|
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
289
229
|
slots: SlotDto[];
|
@@ -302,16 +242,10 @@ export declare class GetDraftReservationSlotsFiltersDto extends PaginationQuery
|
|
302
242
|
startDate?: Date;
|
303
243
|
endDate?: Date;
|
304
244
|
includeResources?: boolean;
|
305
|
-
includeOwner?: boolean;
|
306
|
-
includeMaintenanceSlots?: boolean;
|
307
|
-
orderBy?: OrderByEnum;
|
308
245
|
}
|
309
246
|
export declare class ByDraftReservationIdDto extends ByOrganizationIdDto {
|
310
247
|
reservationId: string;
|
311
248
|
}
|
312
|
-
export declare class ByRentalProductId extends ByOrganizationIdDto {
|
313
|
-
productId: number;
|
314
|
-
}
|
315
249
|
export declare class SimpleDraftSegmentDto {
|
316
250
|
id: string;
|
317
251
|
name: string;
|
@@ -335,19 +269,8 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
|
|
335
269
|
includeProducts?: boolean;
|
336
270
|
includeParticipants?: boolean;
|
337
271
|
includeSegments?: boolean;
|
338
|
-
includeMaintenanceSlots?: boolean;
|
339
|
-
includeSlots?: boolean;
|
340
|
-
plainReservation?: boolean;
|
341
|
-
includeFacilities?: boolean;
|
342
|
-
}
|
343
|
-
export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
|
344
|
-
includeResources?: boolean;
|
345
|
-
includeConflicts?: boolean;
|
346
|
-
includeParticipants?: boolean;
|
347
|
-
includeMaintenanceSlots?: boolean;
|
348
|
-
includeFacilities?: boolean;
|
349
272
|
}
|
350
|
-
export declare class DraftIdsDto
|
273
|
+
export declare class DraftIdsDto {
|
351
274
|
ids: string[];
|
352
275
|
}
|
353
276
|
export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
|
@@ -358,74 +281,4 @@ export declare class GenerateReservationDto {
|
|
358
281
|
addSegments?: CreateDraftSegmentDto[];
|
359
282
|
removeSegmentsIds?: string[];
|
360
283
|
}
|
361
|
-
export declare class UpdateDraftSlotsDto {
|
362
|
-
slots: UpdateDraftSlotDto[];
|
363
|
-
slotsIds?: string[];
|
364
|
-
overrideProducts?: boolean;
|
365
|
-
}
|
366
|
-
export declare class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
|
367
|
-
products: SimpleProductDto[];
|
368
|
-
}
|
369
|
-
export declare class ReservationAddonsDto {
|
370
|
-
reservation: DraftAddonDto[];
|
371
|
-
segments: SegmentsAddonsGroupDto[];
|
372
|
-
}
|
373
|
-
export declare class CreateReservationAddonsDto {
|
374
|
-
reservation?: CreateDraftAddonDto[];
|
375
|
-
removeByIds?: string[];
|
376
|
-
segments?: CreateSegmentsAddonsDto[];
|
377
|
-
removeBySegmentIds?: string[];
|
378
|
-
removeByGroupIds?: string[];
|
379
|
-
}
|
380
|
-
export declare class ProblematicProductDto {
|
381
|
-
product: SimpleProductDto;
|
382
|
-
isAddon?: boolean;
|
383
|
-
level?: ProductPackageLevelEnum;
|
384
|
-
}
|
385
|
-
export declare class PaginatedSlotsSharedDto {
|
386
|
-
totalSlots?: number;
|
387
|
-
}
|
388
|
-
export declare class DuplicateReservationDto {
|
389
|
-
isEdit?: boolean;
|
390
|
-
}
|
391
|
-
export declare class DuplicateReservationItemsDto extends DuplicateReservationDto implements IDuplicateReservationItems {
|
392
|
-
slotsIds?: number[];
|
393
|
-
excludeIds?: number[];
|
394
|
-
reservationAddonsIds?: number[];
|
395
|
-
combineSlots?: boolean;
|
396
|
-
includedFields?: string[];
|
397
|
-
}
|
398
|
-
export declare class ReservationItemLineDto {
|
399
|
-
id: number;
|
400
|
-
amount: number;
|
401
|
-
amountPaid: number;
|
402
|
-
quantity: number;
|
403
|
-
canVoid: boolean;
|
404
|
-
canRefund: boolean;
|
405
|
-
isEdit?: boolean;
|
406
|
-
slotsIds?: number[];
|
407
|
-
addonsIds?: number[];
|
408
|
-
}
|
409
|
-
export declare class EditItemsRefundMetadataDto implements IEditItemsRefundMetadata {
|
410
|
-
lineItems: ReservationItemLineDto[];
|
411
|
-
refundAmount: number;
|
412
|
-
}
|
413
|
-
export declare class EditSlotsFinancialDetailsDto implements IEditSlotsFinancialDetails {
|
414
|
-
nextFinancialStep: FinancialStepEnum;
|
415
|
-
paymentMethods?: PaymentMethodToFundLeftDto[];
|
416
|
-
originalInvoicePrice?: number;
|
417
|
-
updatedInvoicePrice?: number;
|
418
|
-
originalItemsPrice?: number;
|
419
|
-
updatedItemsPrice?: number;
|
420
|
-
priceChange?: number;
|
421
|
-
refundMetadata?: EditItemsRefundMetadataDto;
|
422
|
-
conflicts?: TimeSlotConflictsDto[];
|
423
|
-
}
|
424
|
-
export declare class EditSlotsRefundMetadataDto {
|
425
|
-
refundMetadata?: EditItemsRefundMetaDto;
|
426
|
-
}
|
427
|
-
export declare class EditReservationItemsResultDto {
|
428
|
-
invoice: SimpleInvoiceDto;
|
429
|
-
refundResult?: RefundResult;
|
430
|
-
}
|
431
284
|
export {};
|