@bondsports/types 2.2.284-b-1 → 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/application.dto.d.ts +0 -8
- package/dist/types/dto/application.dto.js +1 -4
- package/dist/types/dto/application.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/Events.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 -2
- 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 -2
- 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/index.d.ts +0 -1
- package/dist/types/programs-seasons/dto/index.js +0 -1
- package/dist/types/programs-seasons/dto/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +0 -23
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +1 -10
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -5
- 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/programs-seasons/types/interfaces/program-season.interfaces.d.ts +1 -18
- 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 -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 -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 -6
- 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 -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 -21
- 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/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/programs-seasons/dto/program-season-participant.dto.d.ts +0 -8
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +0 -7
- package/dist/types/programs-seasons/dto/program-season-participant.dto.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 -17
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +0 -25
- 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/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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/organization/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,qDAAmC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/organization/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,qDAAmC"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { UserPaymentMethod } from '../../entity/user-payment-method';
|
2
|
-
import { FeeDto } from '../../fee/dto/fee.dto';
|
3
1
|
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
4
|
-
import { IPaymentMethodToFundLeft } from '../../services/interfaces.service';
|
5
|
-
import { SimpleUserDto, UserIdDto } from '../../user/dto/user.dto';
|
6
2
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../types/enums/payment.enums';
|
3
|
+
import { FeeDto } from '../../fee/dto/fee.dto';
|
4
|
+
import { UserPaymentMethod } from '../../entity/user-payment-method';
|
5
|
+
import { UserIdDto } from '../../user/dto/user.dto';
|
7
6
|
export interface IConnectedResource {
|
8
7
|
resourceId: number;
|
9
8
|
resourceType: ResourceNameTypeEnum;
|
@@ -64,11 +63,3 @@ export declare class UserPaymentMethodOption {
|
|
64
63
|
export declare class ByUserAndUserPaymentMethodDto extends UserIdDto {
|
65
64
|
paymentMethodId: string;
|
66
65
|
}
|
67
|
-
export declare class PaymentMethodToFundLeftDto implements IPaymentMethodToFundLeft {
|
68
|
-
paymentMethodId: string;
|
69
|
-
paymentType: PaymentMethodTypeEnum;
|
70
|
-
fundLeft: number;
|
71
|
-
ccLast4?: string;
|
72
|
-
ccBrand?: string;
|
73
|
-
payingUser?: SimpleUserDto;
|
74
|
-
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.ByUserAndUserPaymentMethodDto = exports.UserPaymentMethodOption = exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = exports.ConnectedResourceDto = exports.UserPaymentMethodSimpleDto = void 0;
|
4
4
|
const user_dto_1 = require("../../user/dto/user.dto");
|
5
5
|
class UserPaymentMethodSimpleDto {
|
6
6
|
}
|
@@ -20,7 +20,4 @@ exports.UserPaymentMethodOption = UserPaymentMethodOption;
|
|
20
20
|
class ByUserAndUserPaymentMethodDto extends user_dto_1.UserIdDto {
|
21
21
|
}
|
22
22
|
exports.ByUserAndUserPaymentMethodDto = ByUserAndUserPaymentMethodDto;
|
23
|
-
class PaymentMethodToFundLeftDto {
|
24
|
-
}
|
25
|
-
exports.PaymentMethodToFundLeftDto = PaymentMethodToFundLeftDto;
|
26
23
|
//# sourceMappingURL=payment-method.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,
|
1
|
+
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,sDAAoD;AAgBpD,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CA0BhC;AA1BD,oDA0BC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAED,MAAa,6BAA8B,SAAQ,oBAAS;CAE3D;AAFD,sEAEC"}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
2
2
|
import { ProductPaymentPlan } from '../entities/ProductPaymentPlan';
|
3
|
-
import { PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
3
|
+
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
4
4
|
import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
|
5
|
-
import { RepetitionUnit } from '@bondsports/date-time';
|
6
5
|
export declare class PaymentPlanScheduleDto {
|
7
6
|
date: Date;
|
8
7
|
percent?: number;
|
@@ -17,14 +16,13 @@ export declare class PaymentPlanDto {
|
|
17
16
|
status?: PaymentPlanStatusEnum;
|
18
17
|
paymentPlanType?: PaymentPlanTypeEnum;
|
19
18
|
startsInMonths?: number;
|
20
|
-
installmentRepeat?:
|
19
|
+
installmentRepeat?: PaymentPlanRepetitionEnum;
|
21
20
|
}
|
22
21
|
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
23
22
|
name: string;
|
24
23
|
}
|
25
24
|
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
26
25
|
amountToSplit: number;
|
27
|
-
organizationId?: number;
|
28
26
|
}
|
29
27
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdDto {
|
30
28
|
invoiceId: number;
|
@@ -42,10 +40,10 @@ export declare class ScheduledPaymentDto {
|
|
42
40
|
originalPlannedDate?: Date;
|
43
41
|
}
|
44
42
|
export declare class FutureInstallmentsIdsDto {
|
45
|
-
paymentsIds
|
43
|
+
paymentsIds: number[];
|
46
44
|
}
|
47
45
|
export declare class CancelFutureInstallmentsDto extends FutureInstallmentsIdsDto {
|
48
|
-
invoiceId
|
46
|
+
invoiceId?: number;
|
49
47
|
userId?: number;
|
50
48
|
}
|
51
49
|
export declare class UpdateScheduledPaymentsDto {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;
|
1
|
+
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,2BAA4B,SAAQ,wBAAwB;CAIxE;AAJD,kEAIC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaymentFailures.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/PaymentFailures.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAEjG,MAAa,cAAe,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"PaymentFailures.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/PaymentFailures.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAEjG,MAAa,cAAe,SAAQ,mEAAgC;CAUnE;AAVD,wCAUC"}
|
@@ -1,14 +1,13 @@
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
2
|
import { Product } from '../../product-pricing/entities/Product';
|
3
|
-
import { PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
3
|
+
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
4
4
|
import { PaymentPlanSchedule } from './PaymentPlanSchedule';
|
5
|
-
import { RepetitionUnit } from '@bondsports/date-time';
|
6
5
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
7
6
|
productId: number;
|
8
7
|
maxInstallments?: number;
|
9
8
|
dayOfMonth?: number;
|
10
9
|
name: string;
|
11
|
-
installmentRepeat?:
|
10
|
+
installmentRepeat?: PaymentPlanRepetitionEnum;
|
12
11
|
startsInMonths?: number;
|
13
12
|
status: PaymentPlanStatusEnum;
|
14
13
|
paymentPlanType: PaymentPlanTypeEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/ProductPaymentPlan.ts"],"names":[],"mappings":";;;AACA,oGAAiG;
|
1
|
+
{"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/ProductPaymentPlan.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AASjG,qGAAqG;AACrG,MAAa,kBAAmB,SAAQ,mEAAgC;CAsBvE;AAtBD,gDAsBC"}
|
@@ -12,4 +12,3 @@ export declare const uniqueTaxTemplate: (lineItem: LineItems) => string;
|
|
12
12
|
export declare const UNIQUE_SPLIT_CHAR = "&";
|
13
13
|
export declare const uniqueDiscountTemplate: (discountItem: ItemDiscountDto) => string;
|
14
14
|
export declare const orderByResourceTemplate: (resource: PurchasedResource, type: PurchasedResourceTypeEnum) => string;
|
15
|
-
export declare const isRevertedStatus: (paymentStatus: PaymentStatusEnum) => boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.orderByResourceTemplate = exports.uniqueDiscountTemplate = exports.UNIQUE_SPLIT_CHAR = exports.uniqueTaxTemplate = exports.installmentStatusDict = exports.REVERTED_STATUSES = exports.MIN_ACH_PAYMENT_AMOUNT = void 0;
|
4
4
|
const payment_enums_1 = require("../enums/payment.enums");
|
5
5
|
exports.MIN_ACH_PAYMENT_AMOUNT = 0.5;
|
6
6
|
exports.REVERTED_STATUSES = [
|
@@ -34,8 +34,4 @@ const orderByResourceTemplate = (resource, type) => {
|
|
34
34
|
return `${(_b = (_a = resource[`${type}`]) === null || _a === void 0 ? void 0 : _a.startDate) !== null && _b !== void 0 ? _b : ''}_${(_c = resource[`${type}`]) === null || _c === void 0 ? void 0 : _c.id}`;
|
35
35
|
};
|
36
36
|
exports.orderByResourceTemplate = orderByResourceTemplate;
|
37
|
-
const isRevertedStatus = (paymentStatus) => {
|
38
|
-
return exports.REVERTED_STATUSES.includes(paymentStatus);
|
39
|
-
};
|
40
|
-
exports.isRevertedStatus = isRevertedStatus;
|
41
37
|
//# sourceMappingURL=payment.consts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/payment.consts.ts"],"names":[],"mappings":";;;AAIA,0DAAoF;AAEvE,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAE7B,QAAA,iBAAiB,GAAwB;IACrD,iCAAiB,CAAC,QAAQ;IAC1B,iCAAiB,CAAC,IAAI;IACtB,iCAAiB,CAAC,QAAQ;IAC1B,iCAAiB,CAAC,eAAe;CACjC,CAAC;AAEW,QAAA,qBAAqB,GAA8B;IAC/D,CAAC,uCAAuB,CAAC,SAAS,CAAC,EAAE,CAAC;IACtC,CAAC,uCAAuB,CAAC,OAAO,CAAC,EAAE,CAAC;IACpC,CAAC,uCAAuB,CAAC,MAAM,CAAC,EAAE,CAAC;IACnC,CAAC,uCAAuB,CAAC,QAAQ,CAAC,EAAE,CAAC;IACrC,CAAC,uCAAuB,CAAC,MAAM,CAAC,EAAE,CAAC;IACnC,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,CAAC;CACV,CAAC;AAEK,MAAM,iBAAiB,GAAG,CAAC,QAAmB,EAAU,EAAE;IAChE,OAAO,GAAG,QAAQ,CAAC,UAAU,IAAI,QAAQ,CAAC,cAAc,EAAE,CAAC;AAC5D,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAEW,QAAA,iBAAiB,GAAG,GAAG,CAAC;AAE9B,MAAM,sBAAsB,GAAG,CAAC,YAA6B,EAAU,EAAE;;IAC/E,MAAM,kBAAkB,GAAW,MAAA,GAAG,YAAY,CAAC,kBAAkB,EAAE,mCAAI,EAAE,CAAC;IAC9E,OAAO,GAAG,YAAY,CAAC,QAAQ,IAAI,YAAY,CAAC,UAAU,IAAI,MAAA,YAAY,CAAC,QAAQ,0CAAE,IAAI,IAAI,kBAAkB,EAAE,CAAC;AACnH,CAAC,CAAC;AAHW,QAAA,sBAAsB,0BAGjC;AAEK,MAAM,uBAAuB,GAAG,CAAC,QAA2B,EAAE,IAA+B,EAAU,EAAE;;IAC/G,OAAO,GAAG,MAAA,MAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAyB,0CAAE,SAAS,mCAAI,EAAE,IAAI,MAAA,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC,0CAAE,EAAE,EAAE,CAAC;AACtG,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC
|
1
|
+
{"version":3,"file":"payment.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/payment.consts.ts"],"names":[],"mappings":";;;AAIA,0DAAoF;AAEvE,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAE7B,QAAA,iBAAiB,GAAwB;IACrD,iCAAiB,CAAC,QAAQ;IAC1B,iCAAiB,CAAC,IAAI;IACtB,iCAAiB,CAAC,QAAQ;IAC1B,iCAAiB,CAAC,eAAe;CACjC,CAAC;AAEW,QAAA,qBAAqB,GAA8B;IAC/D,CAAC,uCAAuB,CAAC,SAAS,CAAC,EAAE,CAAC;IACtC,CAAC,uCAAuB,CAAC,OAAO,CAAC,EAAE,CAAC;IACpC,CAAC,uCAAuB,CAAC,MAAM,CAAC,EAAE,CAAC;IACnC,CAAC,uCAAuB,CAAC,QAAQ,CAAC,EAAE,CAAC;IACrC,CAAC,uCAAuB,CAAC,MAAM,CAAC,EAAE,CAAC;IACnC,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,CAAC;CACV,CAAC;AAEK,MAAM,iBAAiB,GAAG,CAAC,QAAmB,EAAU,EAAE;IAChE,OAAO,GAAG,QAAQ,CAAC,UAAU,IAAI,QAAQ,CAAC,cAAc,EAAE,CAAC;AAC5D,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAEW,QAAA,iBAAiB,GAAG,GAAG,CAAC;AAE9B,MAAM,sBAAsB,GAAG,CAAC,YAA6B,EAAU,EAAE;;IAC/E,MAAM,kBAAkB,GAAW,MAAA,GAAG,YAAY,CAAC,kBAAkB,EAAE,mCAAI,EAAE,CAAC;IAC9E,OAAO,GAAG,YAAY,CAAC,QAAQ,IAAI,YAAY,CAAC,UAAU,IAAI,MAAA,YAAY,CAAC,QAAQ,0CAAE,IAAI,IAAI,kBAAkB,EAAE,CAAC;AACnH,CAAC,CAAC;AAHW,QAAA,sBAAsB,0BAGjC;AAEK,MAAM,uBAAuB,GAAG,CAAC,QAA2B,EAAE,IAA+B,EAAU,EAAE;;IAC/G,OAAO,GAAG,MAAA,MAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAyB,0CAAE,SAAS,mCAAI,EAAE,IAAI,MAAA,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC,0CAAE,EAAE,EAAE,CAAC;AACtG,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC"}
|
@@ -1,6 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum = void 0;
|
3
|
+
exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum = exports.PaymentPlanRepetitionEnum = void 0;
|
4
|
+
var PaymentPlanRepetitionEnum;
|
5
|
+
(function (PaymentPlanRepetitionEnum) {
|
6
|
+
PaymentPlanRepetitionEnum["DAY"] = "day";
|
7
|
+
PaymentPlanRepetitionEnum["WEEK"] = "week";
|
8
|
+
PaymentPlanRepetitionEnum["MONTH"] = "month";
|
9
|
+
PaymentPlanRepetitionEnum["QUARTER"] = "quarter";
|
10
|
+
PaymentPlanRepetitionEnum["YEAR"] = "year";
|
11
|
+
})(PaymentPlanRepetitionEnum = exports.PaymentPlanRepetitionEnum || (exports.PaymentPlanRepetitionEnum = {}));
|
4
12
|
var PaymentPlanStatusEnum;
|
5
13
|
(function (PaymentPlanStatusEnum) {
|
6
14
|
PaymentPlanStatusEnum["ACTIVE"] = "active";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-plan.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment-plan.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACtB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B"}
|
1
|
+
{"version":3,"file":"payment-plan.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment-plan.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACpC,wCAAW,CAAA;IACX,0CAAa,CAAA;IACb,4CAAe,CAAA;IACf,gDAAmB,CAAA;IACnB,0CAAa,CAAA;AACd,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACtB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B"}
|
@@ -14,14 +14,12 @@ export declare enum PaymentFilterByEnum {
|
|
14
14
|
PAYMENT_STATUS = "paymentStatus",
|
15
15
|
STATUS = "status",
|
16
16
|
ID = "id",
|
17
|
-
CREATED_AT = "createdAt"
|
18
|
-
PRICE = "price"
|
17
|
+
CREATED_AT = "createdAt"
|
19
18
|
}
|
20
19
|
export declare enum ReasonTypeEnum {
|
21
20
|
REFUND = "refund",
|
22
21
|
DISCOUNT = "discount",
|
23
|
-
PROMO_CODE = "promo_code"
|
24
|
-
MEMBERSHIP_PAUSE = "membership_pause"
|
22
|
+
PROMO_CODE = "promo_code"
|
25
23
|
}
|
26
24
|
export declare enum PaymentStatusV1Enum {
|
27
25
|
SENT_TO_CLIENT = 1,
|
@@ -20,14 +20,12 @@ var PaymentFilterByEnum;
|
|
20
20
|
PaymentFilterByEnum["STATUS"] = "status";
|
21
21
|
PaymentFilterByEnum["ID"] = "id";
|
22
22
|
PaymentFilterByEnum["CREATED_AT"] = "createdAt";
|
23
|
-
PaymentFilterByEnum["PRICE"] = "price";
|
24
23
|
})(PaymentFilterByEnum = exports.PaymentFilterByEnum || (exports.PaymentFilterByEnum = {}));
|
25
24
|
var ReasonTypeEnum;
|
26
25
|
(function (ReasonTypeEnum) {
|
27
26
|
ReasonTypeEnum["REFUND"] = "refund";
|
28
27
|
ReasonTypeEnum["DISCOUNT"] = "discount";
|
29
28
|
ReasonTypeEnum["PROMO_CODE"] = "promo_code";
|
30
|
-
ReasonTypeEnum["MEMBERSHIP_PAUSE"] = "membership_pause";
|
31
29
|
})(ReasonTypeEnum = exports.ReasonTypeEnum || (exports.ReasonTypeEnum = {}));
|
32
30
|
var PaymentStatusV1Enum;
|
33
31
|
(function (PaymentStatusV1Enum) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,
|
1
|
+
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;AACzB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+DAAS,CAAA;IACT,6EAAgB,CAAA;IAChB,mEAAW,CAAA;AACZ,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,+DAAU,CAAA;IACV,2DAAQ,CAAA;AACT,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAChC,sCAAa,CAAA;IACb,gDAAuB,CAAA;IACvB,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,4CAAmB,CAAA;IACnB,8DAAqC,CAAA;IACrC,gDAAuB,CAAA;IACvB,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,gDAAuB,CAAA;IACvB,sCAAa,CAAA;IACb,8CAAqB,CAAA;IACrB,4DAAmC,CAAA;AACpC,CAAC,EAdW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAchC;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC/B,yCAAiB,CAAA;IACjB,uCAAe,CAAA;AAChB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B;AAED,IAAY,wBAKX;AALD,WAAY,wBAAwB;IACnC,6CAAiB,CAAA;IACjB,2CAAe,CAAA;IACf,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;AACpB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC;AAED,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,gDAAqB,CAAA;IACrB,8CAAmB,CAAA;IACnB,kEAAuC,CAAA;AACxC,CAAC,EAPW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOlC;AAEY,QAAA,wCAAwC,GAAG;IACvD,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,OAAO;IAC/B,uBAAuB,CAAC,SAAS;CACjC,CAAC;AAEW,QAAA,6BAA6B,GAAG;IAC5C,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;CACzC,CAAC;AAEF;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IProductRelatedMembership } from '../../../membership/
|
1
|
+
import { IProductRelatedMembership } from '../../../membership/interfaces/membership.interfaces';
|
2
2
|
import { Product } from '../../../product-pricing/entities/Product';
|
3
3
|
import { IProductRelatedProgram } from '../../../programs/types/interfaces/program.interfaces';
|
4
4
|
import { MembershipTypeEnum, ProgramTypesEnum } from '../../../services/enums.service';
|
@@ -89,22 +89,6 @@ export interface IGetPayment {
|
|
89
89
|
onlyPublicNotes?: boolean;
|
90
90
|
includeInvoice?: boolean;
|
91
91
|
}
|
92
|
-
export interface IBuildBookingConfirmationMail {
|
93
|
-
organization_name: string;
|
94
|
-
activity_type: string;
|
95
|
-
user_first_name: string;
|
96
|
-
user_last_name: string;
|
97
|
-
space_name: string;
|
98
|
-
events: IEventMail[];
|
99
|
-
total_cost: number;
|
100
|
-
}
|
101
|
-
export interface IEventMail {
|
102
|
-
space_name: string;
|
103
|
-
start_time: string;
|
104
|
-
end_time: string;
|
105
|
-
start_day_date: string;
|
106
|
-
end_day_date: string;
|
107
|
-
}
|
108
92
|
export interface IHandleGetPayment {
|
109
93
|
organizationId: number;
|
110
94
|
paymentId: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
2
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
3
|
-
import { CurrencyEnum
|
3
|
+
import { CurrencyEnum } from '../../services/enums.service';
|
4
4
|
export declare class PriceDto extends OrganizationBaseEntityDto {
|
5
5
|
createdAt: Date;
|
6
6
|
updatedAt: Date;
|
@@ -16,6 +16,4 @@ export declare class PriceDto extends OrganizationBaseEntityDto {
|
|
16
16
|
taxIncludedPrice?: number;
|
17
17
|
activityTimes?: ActivityTimesDto[];
|
18
18
|
isDefault?: boolean;
|
19
|
-
discountMethod?: DiscountMethodsEnum;
|
20
|
-
discountValue?: number;
|
21
19
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAGpF,MAAa,QAAS,SAAQ,4CAAyB;
|
1
|
+
{"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAGpF,MAAa,QAAS,SAAQ,4CAAyB;CA4BtD;AA5BD,4BA4BC"}
|
@@ -78,8 +78,8 @@ export declare class CreatePriceDto {
|
|
78
78
|
price: number;
|
79
79
|
currency: CurrencyEnum;
|
80
80
|
name: string;
|
81
|
-
startDate?:
|
82
|
-
endDate?:
|
81
|
+
startDate?: Date;
|
82
|
+
endDate?: Date;
|
83
83
|
discountValue?: number;
|
84
84
|
discountMethod?: DiscountMethodsEnum;
|
85
85
|
isDefaultPriceForProduct?: boolean;
|
@@ -11,8 +11,8 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
11
11
|
name: string | null;
|
12
12
|
price: number;
|
13
13
|
currency: CurrencyEnum;
|
14
|
-
startDate:
|
15
|
-
endDate:
|
14
|
+
startDate: Date;
|
15
|
+
endDate: Date;
|
16
16
|
groupId?: number;
|
17
17
|
groupName?: string;
|
18
18
|
originalPrice?: number;
|
@@ -24,5 +24,4 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
24
24
|
minQuantity?: number;
|
25
25
|
taxIncludedPrice?: number;
|
26
26
|
activityTimes?: ActivityTimes[];
|
27
|
-
matchingPrices?: [Price, number][];
|
28
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;CAwC1D;AAxCD,sBAwCC"}
|
@@ -81,7 +81,6 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
|
|
81
81
|
includePricesSchedule?: boolean;
|
82
82
|
includeEntitlementDiscounts?: boolean;
|
83
83
|
includeCustomers?: boolean;
|
84
|
-
onlyValid?: boolean;
|
85
84
|
facilitiesIds?: number[];
|
86
85
|
resourcesIds?: number[];
|
87
86
|
mustIncludeAllResourcesIds?: number[];
|
@@ -93,5 +92,4 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
|
|
93
92
|
search?: string;
|
94
93
|
sortBy?: OrderByProductEnum;
|
95
94
|
order?: OrderByEnum;
|
96
|
-
inclusion?: boolean;
|
97
95
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;
|
1
|
+
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA0C7D;AA1CD,8DA0CC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
2
2
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
3
|
-
import { ProductUserFinancialInfoDto
|
3
|
+
import { ProductUserFinancialInfoDto } from '../../dto/product-user';
|
4
4
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
5
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
6
6
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
@@ -28,9 +28,6 @@ export declare class GetOrganizationRelatedProgramsDto {
|
|
28
28
|
export declare class FindProgramsByOrganizationIdDto extends ByOrganizationIdDto {
|
29
29
|
programType?: ProgramTypesEnum;
|
30
30
|
}
|
31
|
-
export declare class FindProgramsByProgramTypeAndOrganizationIdDto extends ByOrganizationIdDto {
|
32
|
-
programType?: ProgramTypesEnum;
|
33
|
-
}
|
34
31
|
export declare class ByProgramIdDto extends OptionalOrganizationIdDto {
|
35
32
|
programId: number;
|
36
33
|
}
|
@@ -100,6 +97,7 @@ export declare class ProgramInfoDto {
|
|
100
97
|
name: string;
|
101
98
|
isSegment: boolean;
|
102
99
|
userId: number;
|
100
|
+
productUserId: number;
|
103
101
|
registeredOn: Date;
|
104
102
|
sport: SportsEnum;
|
105
103
|
user?: SimpleUserDto;
|
@@ -108,5 +106,4 @@ export declare class ProgramInfoDto {
|
|
108
106
|
resources?: SimpleResourceDto[];
|
109
107
|
facility?: SimpleFacilityDto;
|
110
108
|
financialInfo?: ProductUserFinancialInfoDto;
|
111
|
-
productUser?: SimpleProductUserDto;
|
112
109
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProgramInfoDto = exports.GetUsersProgramsQueryDto = exports.ByPlatformDto = exports.SimpleProgramDto = exports.UpdateProgramOptionsDto = exports.UpdateProgramDto = exports.CreateProgramDto = exports.BaseProgramDto = exports.ProgramHighlightDto = exports.UpdateProgramStatusDto = exports.FindProgramFiltersDto = exports.ByProgramDto = exports.ByProgramIdDto = exports.
|
3
|
+
exports.ProgramInfoDto = exports.GetUsersProgramsQueryDto = exports.ByPlatformDto = exports.SimpleProgramDto = exports.UpdateProgramOptionsDto = exports.UpdateProgramDto = exports.CreateProgramDto = exports.BaseProgramDto = exports.ProgramHighlightDto = exports.UpdateProgramStatusDto = exports.FindProgramFiltersDto = exports.ByProgramDto = exports.ByProgramIdDto = exports.FindProgramsByOrganizationIdDto = exports.GetOrganizationRelatedProgramsDto = exports.RelatedProgramsDto = exports.GetOrganizationProgramsDto = exports.FindOrganizationProgramsDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class FindOrganizationProgramsDto {
|
@@ -18,9 +18,6 @@ exports.GetOrganizationRelatedProgramsDto = GetOrganizationRelatedProgramsDto;
|
|
18
18
|
class FindProgramsByOrganizationIdDto extends organization_dto_1.ByOrganizationIdDto {
|
19
19
|
}
|
20
20
|
exports.FindProgramsByOrganizationIdDto = FindProgramsByOrganizationIdDto;
|
21
|
-
class FindProgramsByProgramTypeAndOrganizationIdDto extends organization_dto_1.ByOrganizationIdDto {
|
22
|
-
}
|
23
|
-
exports.FindProgramsByProgramTypeAndOrganizationIdDto = FindProgramsByProgramTypeAndOrganizationIdDto;
|
24
21
|
class ByProgramIdDto extends organization_dto_1.OptionalOrganizationIdDto {
|
25
22
|
}
|
26
23
|
exports.ByProgramIdDto = ByProgramIdDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,uDAAsE;AAEtE,8EAAyG;AAgBzG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,
|
1
|
+
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,uDAAsE;AAEtE,8EAAyG;AAgBzG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,cAAe,SAAQ,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AAED,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AAED,MAAa,cAAc;CA8C1B;AA9CD,wCA8CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAAG;AAAvD,4CAAuD;AAEvD,MAAa,gBAAiB,SAAQ,cAAc;CAInD;AAJD,4CAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAMjD;AAND,4CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
|
@@ -14,6 +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("./program-season-participant.dto"), exports);
|
18
17
|
__exportStar(require("./program-seasons.dto"), exports);
|
19
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
@@ -9,11 +9,6 @@ import { SlotTypeEnum } from '../../reservations/types/enums/reservation.enums';
|
|
9
9
|
import { ITimeSlotConflicts } from '../../reservations/types/interfaces/reservation.interfaces';
|
10
10
|
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
11
11
|
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
12
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
13
|
-
import { IGetProgramSeasonChildrenFilters, IGetProgramSeasonsChildrenOptions } from '../types/interfaces/program-season.interfaces';
|
14
|
-
import { EventSortByFieldsEnum, SegmentSortByFieldsEnum } from '../types/enums/program-season.enums';
|
15
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
16
|
-
import { ProgramSeason } from '../entities/ProgramSeason';
|
17
12
|
export declare class FindSessionsFiltersDto {
|
18
13
|
status?: PublishingStatusEnum;
|
19
14
|
isFullFetch?: boolean;
|
@@ -159,8 +154,6 @@ export declare class SimpleSessionDto extends IdAndNameDto {
|
|
159
154
|
startDate: Date;
|
160
155
|
endDate: Date;
|
161
156
|
programType?: ProgramTypesEnum;
|
162
|
-
productCount?: number;
|
163
|
-
resources?: SimpleResourceDto[];
|
164
157
|
}
|
165
158
|
export declare class SpaceResourcePairDto {
|
166
159
|
resourceType: ResourceNameTypeEnum;
|
@@ -257,20 +250,4 @@ export declare class RelatedSessionsDto {
|
|
257
250
|
export declare class GetRelatedProgramSessionsDto {
|
258
251
|
related?: RelatedSessionsDto;
|
259
252
|
statuses?: PublishingStatusEnum[];
|
260
|
-
includeProductsCount?: boolean;
|
261
|
-
}
|
262
|
-
export declare class GetPaginatedSessionQueryDto<T extends BondBaseEntity> extends PaginationQuery implements IGetProgramSeasonsChildrenOptions, IGetProgramSeasonChildrenFilters<T> {
|
263
|
-
includeResources?: boolean;
|
264
|
-
resourcesIds?: number[];
|
265
|
-
attendeeId?: number;
|
266
|
-
startDate?: string;
|
267
|
-
endDate?: string;
|
268
|
-
}
|
269
|
-
export declare class GetPaginatedSegmentsQueryDto extends GetPaginatedSessionQueryDto<ProgramSeason> {
|
270
|
-
orderBy?: SegmentSortByFieldsEnum;
|
271
|
-
order?: OrderByEnum;
|
272
|
-
}
|
273
|
-
export declare class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto<Event> {
|
274
|
-
orderBy?: EventSortByFieldsEnum;
|
275
|
-
order?: OrderByEnum;
|
276
253
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -131,13 +131,4 @@ exports.RelatedSessionsDto = RelatedSessionsDto;
|
|
131
131
|
class GetRelatedProgramSessionsDto {
|
132
132
|
}
|
133
133
|
exports.GetRelatedProgramSessionsDto = GetRelatedProgramSessionsDto;
|
134
|
-
class GetPaginatedSessionQueryDto extends general_dto_1.PaginationQuery {
|
135
|
-
}
|
136
|
-
exports.GetPaginatedSessionQueryDto = GetPaginatedSessionQueryDto;
|
137
|
-
class GetPaginatedSegmentsQueryDto extends GetPaginatedSessionQueryDto {
|
138
|
-
}
|
139
|
-
exports.GetPaginatedSegmentsQueryDto = GetPaginatedSegmentsQueryDto;
|
140
|
-
class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto {
|
141
|
-
}
|
142
|
-
exports.GetPaginatedEventsQueryDto = GetPaginatedEventsQueryDto;
|
143
134
|
//# sourceMappingURL=program-seasons.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAiBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,oBAAoB;CA8EhC;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,6BAA6B;CAwDzC;AAxDD,sEAwDC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAUjD;AAVD,4CAUC;AAED,MAAa,oBAAoB;CAWhC;AAXD,oDAWC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Address } from '../../address/entities/Address';
|
2
1
|
import { ActivityTimes } from '../../entity/ActivityTimes';
|
2
|
+
import { Address } from '../../entity/Address';
|
3
3
|
import { BlockedDate } from '../../entity/BlockedDate';
|
4
4
|
import { ColorCode } from '../../entity/ColorCode';
|
5
5
|
import { Event } from '../../entity/Events';
|
@@ -16,8 +16,6 @@ import { ResourceSetting } from '../../resource-settings/entities/resource-setti
|
|
16
16
|
import { GenderEnum, LevelOfPlayEnum, ProgramSeasonTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
|
17
17
|
import { EventAsSeasonSegment, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
18
18
|
import { Resource } from '../../resources/entities/Resource';
|
19
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
20
|
-
import { SegmentsMetadata } from '../types/classes/program-season.classes';
|
21
19
|
export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
22
20
|
programId: number;
|
23
21
|
name: string;
|
@@ -58,7 +56,6 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
58
56
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
59
57
|
program: Program;
|
60
58
|
spaces?: Resource[];
|
61
|
-
resources?: SimpleResourceDto[];
|
62
59
|
reservationId?: number;
|
63
60
|
earlyRegistrationStartDate?: Date;
|
64
61
|
earlyRegistrationEndDate?: Date;
|
@@ -72,7 +69,6 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
72
69
|
ordinal: number;
|
73
70
|
colorCodeId?: number;
|
74
71
|
colorCode?: ColorCode;
|
75
|
-
segmentsMetadata?: SegmentsMetadata;
|
76
72
|
isSegmented?: boolean;
|
77
73
|
/**
|
78
74
|
* After create + update, update the ageCalcDate column with the value
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;
|
1
|
+
{"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAmBjG,MAAa,aAAc,SAAQ,mEAAgC;CAiIlE;AAjID,sCAiIC"}
|
@@ -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"}
|