@bondsports/types 2.2.279-team-b-1 → 2.2.279-team-b-2
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/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 +2 -17
- 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 -5
- package/dist/types/index.js +0 -5
- 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 +0 -1
- 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 +0 -1
- 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/entities/ProgramSeason.d.ts +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 +5 -17
- package/dist/types/reservations/dto/addon.dto.js +1 -4
- 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 -163
- package/dist/types/reservations/dto/reservation.dto.js +7 -83
- 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 +18 -63
- package/dist/types/reservations/dto/slot.dto.js +4 -19
- 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 -10
- 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 -11
- package/dist/types/reservations/types/consts/reservation.consts.js +1 -11
- 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 +18 -140
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +25 -58
- 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/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/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 +6 -25
- package/dist/types/roles/dto/role.dto.js +1 -19
- 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 -27
- package/dist/types/services/enums.service.js +3 -32
- 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 +1 -1
- 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/folders/dto/folder.dto.d.ts +0 -58
- package/dist/types/folders/dto/folder.dto.js +0 -34
- package/dist/types/folders/dto/folder.dto.js.map +0 -1
- package/dist/types/folders/dto/index.d.ts +0 -1
- package/dist/types/folders/dto/index.js +0 -18
- package/dist/types/folders/dto/index.js.map +0 -1
- package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
- package/dist/types/folders/entities/folder-content.entity.js +0 -14
- package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
- package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
- package/dist/types/folders/entities/folder.entity.d.ts +0 -21
- package/dist/types/folders/entities/folder.entity.js +0 -12
- package/dist/types/folders/entities/folder.entity.js.map +0 -1
- package/dist/types/folders/entities/index.d.ts +0 -3
- package/dist/types/folders/entities/index.js +0 -20
- package/dist/types/folders/entities/index.js.map +0 -1
- package/dist/types/folders/index.d.ts +0 -2
- package/dist/types/folders/index.js +0 -19
- package/dist/types/folders/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/reservations/types/classes/addon.classes.d.ts +0 -21
- 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/session-participants/dto/get.session.participant.dto.d.ts +0 -22
- package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/dto/index.d.ts +0 -2
- package/dist/types/session-participants/dto/index.js +0 -19
- package/dist/types/session-participants/dto/index.js.map +0 -1
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
- package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
- package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/index.d.ts +0 -2
- package/dist/types/session-participants/index.js +0 -19
- package/dist/types/session-participants/index.js.map +0 -1
- package/dist/types/session-participants/types/consts.d.ts +0 -3
- package/dist/types/session-participants/types/consts.js +0 -7
- package/dist/types/session-participants/types/consts.js.map +0 -1
- package/dist/types/session-participants/types/enums.d.ts +0 -17
- package/dist/types/session-participants/types/enums.js +0 -24
- package/dist/types/session-participants/types/enums.js.map +0 -1
- package/dist/types/session-participants/types/index.d.ts +0 -3
- package/dist/types/session-participants/types/index.js +0 -20
- package/dist/types/session-participants/types/index.js.map +0 -1
- package/dist/types/session-participants/types/interfaces.d.ts +0 -46
- package/dist/types/session-participants/types/interfaces.js +0 -3
- package/dist/types/session-participants/types/interfaces.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
@@ -1,6 +1,5 @@
|
|
1
|
-
import
|
2
|
-
import {
|
3
|
-
import { ICreateCartOptions, IUpdateCartPrices } from '../../../cart/types/interfaces/cart.interfaces';
|
1
|
+
import * as moment from 'moment';
|
2
|
+
import { ICreateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
4
3
|
import { PaginationQuery } from '../../../dto/general.dto';
|
5
4
|
import { Customer } from '../../../entity/Customer';
|
6
5
|
import { Invoice } from '../../../entity/Invoice';
|
@@ -11,7 +10,7 @@ import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
11
10
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
12
11
|
import { Product } from '../../../product-pricing/entities/Product';
|
13
12
|
import { Answer } from '../../../questionnaires/entities/Answer';
|
14
|
-
import { AddonParentTypeEnum, FinancialStepEnum,
|
13
|
+
import { AddonParentTypeEnum, FinancialStepEnum, PlatformsEnum } from '../../../services/enums.service';
|
15
14
|
import { IPaymentMethodToFundLeft } from '../../../services/interfaces.service';
|
16
15
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
17
16
|
import { AddonDto } from '../../dto/addon.dto';
|
@@ -24,16 +23,9 @@ import { Reservation } from '../../entities/reservation.entity';
|
|
24
23
|
import { Segment } from '../../entities/segment.entity';
|
25
24
|
import { Series } from '../../entities/series.entity';
|
26
25
|
import { Slot } from '../../entities/slot.entity';
|
27
|
-
import {
|
28
|
-
import { DraftReservation } from '../classes/reservation.classes';
|
29
|
-
import { DraftSegment } from '../classes/segment.classes';
|
30
|
-
import { DraftSeries } from '../classes/series.classes';
|
31
|
-
import { DraftSlot } from '../classes/slot.classes';
|
32
|
-
import { PrivacySettingsEnum, ReservationMigrationStatusEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
33
|
-
import { IDraftAddon, ISegmentsAddons } from './addon.interfaces';
|
34
|
-
import { IDraftSegment } from './segment.interfaces';
|
26
|
+
import { ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
35
27
|
import { ITimeSlot } from './slot.interfaces';
|
36
|
-
export type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto
|
28
|
+
export type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
37
29
|
export type TResource = Reservation | Segment | Series | Slot | Addon;
|
38
30
|
export type TSlotAndType = {
|
39
31
|
type: 'slots' | 'slot_addons';
|
@@ -58,22 +50,22 @@ export interface IReservationV1 {
|
|
58
50
|
name?: string;
|
59
51
|
}
|
60
52
|
export declare class ISlotDate {
|
61
|
-
startDate:
|
62
|
-
endDate:
|
53
|
+
startDate: moment.Moment;
|
54
|
+
endDate: moment.Moment;
|
63
55
|
}
|
64
56
|
export interface IProductQuantity {
|
65
57
|
productId: number;
|
66
58
|
quantity?: number;
|
67
59
|
unitPrice?: number;
|
68
60
|
}
|
69
|
-
export interface
|
61
|
+
export interface ISlotsLineItemData extends IBaseReservationItemLineItemData {
|
70
62
|
slotIds: number[];
|
71
63
|
}
|
72
|
-
export interface
|
64
|
+
export interface IAddonsLineItemData extends IBaseReservationItemLineItemData {
|
73
65
|
addonsIds: number[];
|
74
66
|
}
|
75
|
-
export type
|
76
|
-
export interface
|
67
|
+
export type TReservationItemLineItemData = IBaseReservationItemLineItemData | ISlotsLineItemData | IAddonsLineItemData;
|
68
|
+
export interface IBaseReservationItemLineItemData {
|
77
69
|
id: number;
|
78
70
|
amount: number;
|
79
71
|
amountPaid: number;
|
@@ -84,13 +76,13 @@ export interface IBaseReservationItemLineItem {
|
|
84
76
|
}
|
85
77
|
export interface IRemoveSlotsFinancialData {
|
86
78
|
paymentMethods: IPaymentMethodToFundLeft[];
|
87
|
-
lineItems:
|
79
|
+
lineItems: ISlotsLineItemData[];
|
88
80
|
nextFinancialStep: FinancialStepEnum;
|
89
81
|
invoice: Invoice;
|
90
82
|
}
|
91
83
|
export interface IRemoveAddonsFinancialData {
|
92
84
|
paymentMethods: IPaymentMethodToFundLeft[];
|
93
|
-
lineItems:
|
85
|
+
lineItems: IAddonsLineItemData[];
|
94
86
|
nextFinancialStep: FinancialStepEnum;
|
95
87
|
invoice: Invoice;
|
96
88
|
}
|
@@ -199,7 +191,6 @@ export interface ISingleReservation {
|
|
199
191
|
answers?: Answer[];
|
200
192
|
series: Series[];
|
201
193
|
segments?: Segment[];
|
202
|
-
privacySetting: PrivacySettingsEnum;
|
203
194
|
}
|
204
195
|
export interface IUpdateReservationResult {
|
205
196
|
reservation: Reservation;
|
@@ -236,20 +227,20 @@ export interface IValidateEditReservationAddonsResult extends IValidateEditItems
|
|
236
227
|
refundMetadata?: IEditAddonsRefundMetadata;
|
237
228
|
}
|
238
229
|
export interface IEditSlotsRefundMetadata {
|
239
|
-
lineItems:
|
230
|
+
lineItems: ISlotsLineItemData[];
|
240
231
|
refundAmount: number;
|
241
232
|
}
|
242
233
|
export interface IEditAddonsRefundMetadata {
|
243
|
-
lineItems:
|
234
|
+
lineItems: IAddonsLineItemData[];
|
244
235
|
refundAmount: number;
|
245
236
|
}
|
246
237
|
export interface IEditItemsRefundMetadata {
|
247
|
-
lineItems:
|
238
|
+
lineItems: TReservationItemLineItemData[];
|
248
239
|
refundAmount: number;
|
249
240
|
}
|
250
241
|
export interface IEditItemsData {
|
251
242
|
invoice?: Invoice;
|
252
|
-
editLineItems?:
|
243
|
+
editLineItems?: TReservationItemLineItemData[];
|
253
244
|
newLineItems?: LineItemDto[];
|
254
245
|
}
|
255
246
|
export interface IEditReservationItemsResult extends IUpdateReservationResult {
|
@@ -283,9 +274,6 @@ export interface ICartReservationOptions extends ICreateCartOptions {
|
|
283
274
|
targetGlobalPrice?: number;
|
284
275
|
platform?: PlatformsEnum;
|
285
276
|
shiftId?: number;
|
286
|
-
reservation?: DraftReservation;
|
287
|
-
updatePrices?: IUpdateCartPrices;
|
288
|
-
includeSpaces?: boolean;
|
289
277
|
}
|
290
278
|
export interface IProductItems {
|
291
279
|
[productInfo: string]: {
|
@@ -298,9 +286,6 @@ export interface ISaveReservationOptions {
|
|
298
286
|
slotType?: SlotTypeEnum;
|
299
287
|
platform?: PlatformsEnum;
|
300
288
|
shiftId?: number;
|
301
|
-
updatePrices?: IUpdateCartPrices;
|
302
|
-
draftReservation?: DraftReservation;
|
303
|
-
addToReservationId?: number;
|
304
289
|
}
|
305
290
|
export interface IGetDraftReservationSlotsFilter {
|
306
291
|
segmentsIds?: string[];
|
@@ -312,7 +297,6 @@ export interface IGetDraftReservationSlotsFilter {
|
|
312
297
|
includeConflicts?: boolean;
|
313
298
|
startDate?: Date;
|
314
299
|
endDate?: Date;
|
315
|
-
orderBy?: OrderByEnum;
|
316
300
|
}
|
317
301
|
export interface IGetDraftReservationAddonsQuery {
|
318
302
|
addonType: AddonParentTypeEnum;
|
@@ -324,119 +308,13 @@ export interface IGetDraftReservationOptions {
|
|
324
308
|
includeSpaces?: boolean;
|
325
309
|
includeProducts?: boolean;
|
326
310
|
includeParticipants?: boolean;
|
327
|
-
/**
|
328
|
-
* Always include this flag when using the reservation and then updating it
|
329
|
-
*/
|
330
311
|
includeSegments?: boolean;
|
331
|
-
/**
|
332
|
-
* Always include this flag when using the reservation and then updating it
|
333
|
-
*/
|
334
312
|
includeSlots?: boolean;
|
335
|
-
includeFacilities?: boolean;
|
336
|
-
/**
|
337
|
-
* Always include this flag when using the reservation and then updating it
|
338
|
-
*/
|
339
|
-
includeMaintenanceSlots?: boolean;
|
340
|
-
includeFullReservation?: boolean;
|
341
|
-
plainReservation?: boolean;
|
342
|
-
includeConflicts?: boolean;
|
343
|
-
reservation?: DraftReservation;
|
344
313
|
}
|
345
|
-
export interface IGetDraftReservationSlotsOptions extends IPagination
|
314
|
+
export interface IGetDraftReservationSlotsOptions extends IPagination {
|
346
315
|
segmentsIds?: string[];
|
347
316
|
slotsIds?: string[];
|
348
317
|
seriesIds?: string[];
|
349
|
-
excludeProducts?: boolean;
|
350
|
-
}
|
351
|
-
export interface IExtendDraftSlotsOptions {
|
352
318
|
includeResources?: boolean;
|
353
|
-
includeOwner?: boolean;
|
354
|
-
includeParticipants?: boolean;
|
355
|
-
includeConflicts?: boolean;
|
356
|
-
includeMaintenanceSlots?: boolean;
|
357
|
-
includeFacilities?: boolean;
|
358
|
-
}
|
359
|
-
export interface IOverrideProductsPricing {
|
360
|
-
[productInfo: string]: IProductPrice;
|
361
|
-
}
|
362
|
-
export interface IProductPrice {
|
363
|
-
productId: number;
|
364
|
-
price?: number;
|
365
|
-
}
|
366
|
-
export interface IBaseReservation {
|
367
|
-
organizationId?: number;
|
368
|
-
name: string;
|
369
|
-
reservationType: ReservationTypeEnum;
|
370
|
-
description?: string;
|
371
|
-
privacySetting?: PrivacySettingsEnum;
|
372
|
-
price?: number;
|
373
|
-
creatorId?: number;
|
374
|
-
creatorType?: ResourceNameTypeEnum;
|
375
|
-
userCreatorId?: number;
|
376
|
-
publicNotes?: string;
|
377
|
-
privateNotes?: string;
|
378
|
-
forms?: number[];
|
379
|
-
overrideProductsPrice?: IOverrideProductsPricing;
|
380
|
-
colorCodeId?: number;
|
381
|
-
customerId?: number;
|
382
|
-
}
|
383
|
-
export interface IDraftReservation extends IBaseReservation {
|
384
|
-
id: string;
|
385
|
-
conflictsCount?: number;
|
386
|
-
segments: IDraftSegment[];
|
387
|
-
addons?: IDraftAddon[];
|
388
|
-
segmentsAddons?: ISegmentsAddons[];
|
389
|
-
cartId?: number;
|
390
|
-
sportType?: SportsEnum;
|
391
|
-
approvalStatus?: ReservationStatusEnum;
|
392
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
393
|
-
migrationStatus?: ReservationMigrationStatusEnum;
|
394
|
-
startDate?: string;
|
395
|
-
startTime?: string;
|
396
|
-
endDate?: string;
|
397
|
-
endTime?: string;
|
398
|
-
}
|
399
|
-
export interface IInvoiceDraftReservationOptions {
|
400
|
-
shiftId?: number;
|
401
|
-
draftStatus?: InvoiceStatusEnum;
|
402
|
-
existingCart?: Cart;
|
403
|
-
}
|
404
|
-
export interface IUpdateDraftSlotsOptions {
|
405
|
-
overrideProducts?: boolean;
|
406
|
-
reservation?: DraftReservation;
|
407
|
-
}
|
408
|
-
export interface IDuplicateDetails {
|
409
|
-
addToReservationId: number;
|
410
|
-
approvalStatus?: ReservationStatusEnum;
|
411
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
412
|
-
invoicesIds?: number[];
|
413
|
-
}
|
414
|
-
export interface IValidateEditSlotsOptions {
|
415
|
-
updatePrices?: IUpdateCartPrices;
|
416
|
-
draftReservation?: DraftReservation;
|
417
|
-
reservation?: Reservation;
|
418
|
-
includeEditInfo?: boolean;
|
419
|
-
}
|
420
|
-
export interface IEditItems {
|
421
|
-
invoice?: Invoice;
|
422
|
-
newCartItems?: CartItem[];
|
423
|
-
editLineItems?: TReservationItemLineItem[];
|
424
|
-
}
|
425
|
-
export interface IEditSlotsFinancialDetails {
|
426
|
-
nextFinancialStep: FinancialStepEnum;
|
427
|
-
paymentMethods?: IPaymentMethodToFundLeft[];
|
428
|
-
originalInvoicePrice?: number;
|
429
|
-
updatedInvoicePrice?: number;
|
430
|
-
originalItemsPrice?: number;
|
431
|
-
updatedItemsPrice?: number;
|
432
|
-
priceChange?: number;
|
433
|
-
refundMetadata?: IEditItemsRefundMetadata;
|
434
|
-
conflicts?: ITimeSlotConflicts[];
|
435
|
-
editData?: IEditItems;
|
436
|
-
}
|
437
|
-
export interface IGetReservationOptions {
|
438
|
-
buildTree?: boolean;
|
439
|
-
extraRelations?: string[];
|
440
|
-
includeProducts?: boolean;
|
441
319
|
}
|
442
320
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;AAmEA,MAAa,SAAS;CAGrB;AAHD,8BAGC"}
|
@@ -1,9 +1,7 @@
|
|
1
|
-
import { ActivityTimes } from '../../../entity/ActivityTimes';
|
2
1
|
import { Product } from '../../../product-pricing/entities/Product';
|
3
2
|
import { ResourceNameTypeEnum, SportsEnum } from '../../../services/enums.service';
|
4
|
-
import {
|
5
|
-
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum,
|
6
|
-
import { IDraftAddon } from './addon.interfaces';
|
3
|
+
import { DraftAddonDto } from '../../dto/addon.dto';
|
4
|
+
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
7
5
|
export interface IReservationCreatorData {
|
8
6
|
type: ResourceNameTypeEnum;
|
9
7
|
id: number;
|
@@ -32,7 +30,6 @@ export interface ISlotReservationData {
|
|
32
30
|
reservationId: number;
|
33
31
|
reservationName: string;
|
34
32
|
date: string;
|
35
|
-
endDate: string;
|
36
33
|
startTime: string;
|
37
34
|
endTime: string;
|
38
35
|
notes: string;
|
@@ -52,28 +49,13 @@ export interface ISlotInSchedule {
|
|
52
49
|
export interface ISpaceWithSlots {
|
53
50
|
id: number;
|
54
51
|
name: string;
|
55
|
-
ordinal?: number;
|
56
52
|
slots: ISlotReservationData[];
|
57
53
|
}
|
58
54
|
export interface ISlotProductMetadata {
|
59
55
|
productId: number;
|
60
56
|
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;
|
74
57
|
}
|
75
58
|
export interface ICreateSlotsOptions {
|
76
|
-
id?: string;
|
77
59
|
userCreatorId?: number;
|
78
60
|
publicNotes?: string;
|
79
61
|
privateNotes?: string;
|
@@ -82,41 +64,20 @@ export interface ICreateSlotsOptions {
|
|
82
64
|
colorCodeId?: number;
|
83
65
|
overrideProduct?: Product;
|
84
66
|
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;
|
94
67
|
}
|
95
|
-
export interface
|
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 {
|
68
|
+
export interface IBaseSlot {
|
108
69
|
organizationId?: number;
|
109
|
-
title: string;
|
110
|
-
creatorId?: number;
|
111
|
-
creatorType?: ResourceNameTypeEnum;
|
112
|
-
userCreatorId?: number;
|
113
70
|
startDate: string;
|
114
71
|
startTime?: string;
|
115
72
|
endDate?: string;
|
116
73
|
endTime?: string;
|
117
|
-
timezone?: string;
|
118
74
|
spaceId: number;
|
119
75
|
instructorsIds?: number[];
|
76
|
+
title: string;
|
77
|
+
creatorId?: number;
|
78
|
+
creatorType?: ResourceNameTypeEnum;
|
79
|
+
userCreatorId?: number;
|
80
|
+
timezone?: string;
|
120
81
|
publicNotes?: string;
|
121
82
|
privateNotes?: string;
|
122
83
|
slotType: SlotTypeEnum;
|
@@ -129,25 +90,31 @@ export declare class IBaseSlot {
|
|
129
90
|
totalPrice?: number;
|
130
91
|
privacySetting?: PrivacySettingsEnum;
|
131
92
|
slotDurationType: DurationTypeEnum;
|
132
|
-
colorCodeId?: number;
|
133
93
|
participantsNumber?: number;
|
134
|
-
|
94
|
+
participantsIds?: number[];
|
95
|
+
colorCodeId?: number;
|
96
|
+
conflictsIds?: number[];
|
97
|
+
product?: Product;
|
135
98
|
productMetadata?: ISlotProductMetadata;
|
136
|
-
maintenance?: MaintenanceDto[];
|
137
|
-
slotId?: number;
|
138
99
|
}
|
139
100
|
export interface IDraftSlot extends IBaseSlot {
|
140
101
|
id: string;
|
141
|
-
facilityId: number;
|
142
102
|
reservationId?: string;
|
143
103
|
segmentId?: string;
|
144
104
|
seriesId?: string;
|
145
105
|
parentSlotId?: string;
|
146
|
-
participantsIds?: number[];
|
147
106
|
maintenanceSlots?: IDraftSlot[];
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
107
|
+
addons?: DraftAddonDto[];
|
108
|
+
}
|
109
|
+
export interface ITimeSlot {
|
110
|
+
id?: string | number;
|
111
|
+
/**
|
112
|
+
*/
|
113
|
+
resourceId?: number;
|
114
|
+
resourcesIds?: number[];
|
115
|
+
startDate: string;
|
116
|
+
startTime: string;
|
117
|
+
endDate: string;
|
118
|
+
endTime: string;
|
119
|
+
parentSlotId?: string | number;
|
153
120
|
}
|
@@ -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":""}
|
@@ -1,24 +1,12 @@
|
|
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
|
-
import { Reservation } from '../entities/reservation.entity';
|
8
|
-
import { Segment } from '../entities/segment.entity';
|
9
|
-
import { Series } from '../entities/series.entity';
|
10
1
|
import { Slot } from '../entities/slot.entity';
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import {
|
15
|
-
import {
|
16
|
-
|
17
|
-
|
18
|
-
export type
|
19
|
-
export type
|
20
|
-
export type
|
21
|
-
export type
|
22
|
-
amount: number;
|
23
|
-
id: string;
|
24
|
-
};
|
2
|
+
import { DraftSlotDto, SlotDto } from '../dto/slot.dto';
|
3
|
+
import { DraftSeriesDto, SeriesDto } from '../dto/series.dto';
|
4
|
+
import { Series } from '../entities/series.entity';
|
5
|
+
import { Segment } from '../entities/segment.entity';
|
6
|
+
import { DraftSegmentDto, SegmentDto } from '../dto/segment.dto';
|
7
|
+
import { Reservation } from '../entities/reservation.entity';
|
8
|
+
import { DraftReservationDto, ReservationDto } from '../dto/reservation.dto';
|
9
|
+
export type ReservationEntity = Reservation | ReservationDto | DraftReservationDto;
|
10
|
+
export type SegmentEntity = Segment | SegmentDto | DraftSegmentDto;
|
11
|
+
export type SeriesEntity = Series | SeriesDto | DraftSeriesDto;
|
12
|
+
export type SlotEntity = Slot | SlotDto | DraftSlotDto;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
|
+
import { AddressDto } from '../../dto/facilities.dto';
|
2
3
|
import { ActivityEnum, ProgramTypesEnum, ResourceAgesEnum, SportsEnum } from '../../services/enums.service';
|
3
4
|
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":";;;AAGA,iDAA6F;AAE7F,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"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
-
import { ProgramTypesEnum } from '../../services/enums.service';
|
3
1
|
import { Resource } from './Resource';
|
2
|
+
import { ProgramTypesEnum } from '../../services/enums.service';
|
3
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
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":";;;AAGA,gEAA6D;AAE7D,MAAa,UAAW,SAAQ,+BAAc;CAQ7C;AARD,gCAQC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
1
|
import { AmenitiesEnum, ResourceSubTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
3
2
|
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":";;;AAGA,gEAA6D;AAE7D,MAAa,KAAM,SAAQ,+BAAc;CAkBxC;AAlBD,sBAkBC"}
|
@@ -19,8 +19,4 @@ 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;
|
26
22
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
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,14 +22,7 @@ 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;
|
26
25
|
}
|
27
26
|
}
|
28
27
|
exports.GetPermissionGroupsOptionsDto = GetPermissionGroupsOptionsDto;
|
29
|
-
class VerifyActionDto {
|
30
|
-
constructor() {
|
31
|
-
this.areYouSure = false;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
exports.VerifyActionDto = VerifyActionDto;
|
35
28
|
//# 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;
|
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;AAJD,sEAIC"}
|
@@ -2,54 +2,46 @@ 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';
|
5
6
|
import { PermissionGroupDto } from './permission-group.dto';
|
6
7
|
import { PermissionDto } from './permission.dto';
|
7
8
|
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;
|
15
14
|
isEditable?: boolean;
|
16
|
-
type
|
15
|
+
type: RoleTypesEnum;
|
17
16
|
permissionGroupsIds: number[];
|
18
17
|
usersIds: number[];
|
19
18
|
}
|
20
19
|
export declare class RoleDto extends OptionalFacilityIdDto {
|
21
20
|
id: number;
|
22
21
|
name: string;
|
23
|
-
description?: string;
|
24
22
|
deletedAt?: Date;
|
25
23
|
isEditable?: boolean;
|
26
|
-
type
|
24
|
+
type: RoleTypesEnum;
|
27
25
|
permissionGroups: PermissionGroupDto[];
|
28
26
|
usersRoles: UserRoleDto[];
|
29
|
-
activeUsersCount?: number;
|
30
27
|
}
|
31
28
|
export declare class SimpleRoleDto extends OptionalFacilityIdDto {
|
32
29
|
id: number;
|
33
30
|
name: string;
|
34
|
-
type
|
31
|
+
type: RoleTypesEnum;
|
35
32
|
deletedAt?: Date;
|
36
33
|
}
|
37
34
|
export declare class GetRolesFiltersDto extends PaginatedSearchDto {
|
38
35
|
platforms?: PlatformsEnum[];
|
39
36
|
facilityId?: number;
|
40
|
-
|
37
|
+
organizationOnly?: boolean;
|
41
38
|
deletedAt?: Date;
|
42
39
|
isEditable?: boolean;
|
43
|
-
|
44
|
-
includeBondy?: boolean;
|
45
|
-
countUserRoles?: boolean;
|
40
|
+
type: RoleTypesEnum;
|
46
41
|
}
|
47
42
|
export declare class ByOrganizationIdAndRole extends ByOrganizationIdDto {
|
48
43
|
role: string;
|
49
44
|
}
|
50
|
-
export declare class RequiredRoleIdsDto {
|
51
|
-
roleIds: number[];
|
52
|
-
}
|
53
45
|
export declare class RoleIdsDto {
|
54
46
|
roleIds?: number[];
|
55
47
|
}
|
@@ -60,12 +52,8 @@ export declare class RoleIdsAndUserIdDto {
|
|
60
52
|
export declare class UpdateRoleDto extends OptionalFacilityIdDto {
|
61
53
|
id: number;
|
62
54
|
name?: string;
|
63
|
-
description?: string;
|
64
55
|
isEditable?: boolean;
|
65
56
|
}
|
66
|
-
export declare class DeleteRolesOptionsDto extends RoleIdsDto {
|
67
|
-
includeUserRoles?: boolean;
|
68
|
-
}
|
69
57
|
export declare class GetRolesOptionsDto {
|
70
58
|
includeGlobalRoles?: boolean;
|
71
59
|
includePermissionGroups?: boolean;
|
@@ -75,10 +63,3 @@ export declare class GetRolesOptionsDto {
|
|
75
63
|
export declare class DeprecatedRoleDto extends RoleDto {
|
76
64
|
permissions?: PermissionDto[];
|
77
65
|
}
|
78
|
-
export declare class EditRoleDto {
|
79
|
-
name: string;
|
80
|
-
description?: string;
|
81
|
-
permissionGroupsIds?: number[];
|
82
|
-
userIdsToAdd?: number[];
|
83
|
-
userIdsToRemove?: number[];
|
84
|
-
}
|