@bondsports/types 2.2.284-team-b → 2.2.284
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/accounting/entities/index.d.ts +2 -0
- package/dist/types/accounting/entities/index.js +19 -0
- package/dist/types/accounting/entities/index.js.map +1 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
- package/dist/types/accounting/index.d.ts +2 -0
- package/dist/types/accounting/index.js +19 -0
- package/dist/types/accounting/index.js.map +1 -0
- package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
- package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
- package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
- package/dist/types/accounting/types/enums/index.d.ts +1 -0
- package/dist/types/{membership/interfaces → accounting/types/enums}/index.js +1 -1
- package/dist/types/accounting/types/enums/index.js.map +1 -0
- package/dist/types/accounting/types/index.js.map +1 -0
- package/dist/types/address/dto/address.dto.d.ts +9 -0
- package/dist/types/address/dto/address.dto.js +7 -0
- package/dist/types/address/dto/address.dto.js.map +1 -0
- package/dist/types/address/dto/index.d.ts +1 -0
- package/dist/types/address/dto/index.js +18 -0
- package/dist/types/address/dto/index.js.map +1 -0
- package/dist/types/{entity → address/entities}/Address.d.ts +1 -1
- package/dist/types/{entity → address/entities}/Address.js +1 -1
- package/dist/types/address/entities/Address.js.map +1 -0
- package/dist/types/address/entities/index.d.ts +1 -0
- package/dist/types/address/entities/index.js +18 -0
- package/dist/types/address/entities/index.js.map +1 -0
- package/dist/types/address/index.d.ts +2 -0
- package/dist/types/address/index.js +2 -0
- package/dist/types/address/index.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +65 -2
- package/dist/types/cart/dto/cart.dto.js +28 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +8 -0
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -1
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/classes/cart.classes.d.ts +9 -0
- package/dist/types/cart/types/classes/cart.classes.js +7 -0
- package/dist/types/cart/types/classes/cart.classes.js.map +1 -0
- package/dist/types/cart/types/classes/index.d.ts +1 -0
- package/dist/types/cart/types/classes/index.js +18 -0
- package/dist/types/cart/types/classes/index.js.map +1 -0
- package/dist/types/cart/types/index.d.ts +1 -0
- package/dist/types/cart/types/index.js +1 -0
- package/dist/types/cart/types/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +63 -1
- package/dist/types/customers/dto/customer-response.dto.d.ts +5 -0
- package/dist/types/customers/dto/customer-response.dto.js +4 -1
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
- package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
- package/dist/types/customers/types/consts/customers.consts.d.ts +1 -0
- package/dist/types/customers/types/consts/customers.consts.js +5 -2
- package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +10 -1
- package/dist/types/dto/activityTimes.dto.d.ts +10 -0
- package/dist/types/dto/activityTimes.dto.js +4 -1
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +4 -2
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +2 -9
- package/dist/types/dto/facilities.dto.js +1 -4
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +11 -5
- package/dist/types/dto/general.dto.js +4 -2
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +15 -2
- package/dist/types/dto/groupsDivisions.dto.js +6 -3
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +17 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +10 -0
- package/dist/types/dto/product-user.js +7 -1
- package/dist/types/dto/product-user.js.map +1 -1
- package/dist/types/dto/product-variants.dto.d.ts +2 -14
- package/dist/types/dto/product-variants.dto.js +2 -5
- package/dist/types/dto/product-variants.dto.js.map +1 -1
- package/dist/types/dto/userPaymentMethod.dto.d.ts +4 -0
- package/dist/types/dto/userPaymentMethod.dto.js +4 -1
- package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +21 -5
- package/dist/types/employees/dto/employee.dto.js +8 -1
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/types/consts/index.d.ts +3 -0
- package/dist/types/employees/types/consts/index.js +25 -0
- package/dist/types/employees/types/consts/index.js.map +1 -0
- package/dist/types/employees/types/index.d.ts +1 -0
- package/dist/types/employees/types/index.js +1 -0
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +4 -3
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +3 -1
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/EventAttendees.d.ts +6 -6
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/EventHistory.d.ts +1 -1
- package/dist/types/entity/EventHistory.js.map +1 -1
- package/dist/types/entity/Facility.d.ts +1 -1
- package/dist/types/entity/LineItems.d.ts +3 -0
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/MembershipMember.d.ts +11 -0
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/PackageV1.d.ts +2 -0
- package/dist/types/entity/PackageV1.js.map +1 -1
- package/dist/types/entity/index.d.ts +0 -2
- package/dist/types/entity/index.js +0 -2
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/facilities/index.d.ts +1 -0
- package/dist/types/facilities/index.js +18 -0
- package/dist/types/facilities/index.js.map +1 -0
- package/dist/types/facilities/types/facilities.types.d.ts +4 -0
- package/dist/types/facilities/types/facilities.types.js +3 -0
- package/dist/types/facilities/types/facilities.types.js.map +1 -0
- package/dist/types/facilities/types/index.d.ts +1 -0
- package/dist/types/facilities/types/index.js +18 -0
- package/dist/types/facilities/types/index.js.map +1 -0
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
- package/dist/types/invoice/dto/invoice.dto.js +5 -1
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
- package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
- package/dist/types/invoice/types/interfaces/index.js +1 -0
- package/dist/types/invoice/types/interfaces/index.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
- package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
- package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
- package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
- package/dist/types/membership/dto/index.d.ts +2 -0
- package/dist/types/membership/dto/index.js +19 -0
- package/dist/types/membership/dto/index.js.map +1 -0
- package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
- package/dist/types/membership/dto/membershipMember.dto.js +45 -0
- package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
- package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
- package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
- package/dist/types/membership/index.d.ts +2 -1
- package/dist/types/membership/index.js +2 -1
- package/dist/types/membership/index.js.map +1 -1
- package/dist/types/membership/types/index.d.ts +5 -0
- package/dist/types/membership/types/index.js +22 -0
- package/dist/types/membership/types/index.js.map +1 -0
- package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
- package/dist/types/membership/types/membership.interfaces.js.map +1 -0
- package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
- package/dist/types/membership/types/membership.member.classes.js +7 -0
- package/dist/types/membership/types/membership.member.classes.js.map +1 -0
- package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
- package/dist/types/membership/types/membership.member.consts.js +8 -0
- package/dist/types/membership/types/membership.member.consts.js.map +1 -0
- package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
- package/dist/types/membership/types/membership.members.interfaces.js +3 -0
- package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
- package/dist/types/membership/types/membership.members.types.d.ts +4 -0
- package/dist/types/membership/types/membership.members.types.js +3 -0
- package/dist/types/membership/types/membership.members.types.js.map +1 -0
- package/dist/types/notifications/dto/index.d.ts +1 -0
- package/dist/types/notifications/dto/index.js +1 -0
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/dto/types/index.d.ts +1 -0
- package/dist/types/notifications/dto/types/index.js +18 -0
- package/dist/types/notifications/dto/types/index.js.map +1 -0
- package/dist/types/notifications/index.d.ts +0 -1
- package/dist/types/notifications/index.js +0 -1
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/online-rentals/index.d.ts +1 -0
- package/dist/types/online-rentals/index.js +18 -0
- package/dist/types/online-rentals/index.js.map +1 -0
- package/dist/types/online-rentals/types/index.d.ts +2 -0
- package/dist/types/online-rentals/types/index.js +19 -0
- package/dist/types/online-rentals/types/index.js.map +1 -0
- package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
- package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
- package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
- package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
- package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
- package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/interfaces/index.d.ts +1 -0
- package/dist/types/organization/interfaces/index.js +1 -0
- package/dist/types/organization/interfaces/index.js.map +1 -1
- package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
- package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
- package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
- package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
- package/dist/types/payment/dto/payment-method.dto.js +4 -1
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
- package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
- package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
- package/dist/types/payment/types/consts/payment.consts.js +5 -1
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
- package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
- package/dist/types/payment/types/enums/payment.enums.js +2 -0
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
- package/dist/types/pricing/dto/price.dto.d.ts +3 -1
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
- package/dist/types/pricing/entities/Price.d.ts +3 -2
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +2 -0
- package/dist/types/programs/dto/program.dto.d.ts +5 -2
- package/dist/types/programs/dto/program.dto.js +4 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +2 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +4 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/classes/index.js +18 -0
- package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/enums/index.js +18 -0
- package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +9 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +15 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
- package/dist/types/programs-seasons/types/index.d.ts +2 -0
- package/dist/types/programs-seasons/types/index.js +2 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
- package/dist/types/reservations/dto/addon.dto.d.ts +21 -8
- package/dist/types/reservations/dto/addon.dto.js +9 -2
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +171 -24
- package/dist/types/reservations/dto/reservation.dto.js +86 -7
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.d.ts +7 -4
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +106 -26
- package/dist/types/reservations/dto/slot.dto.js +25 -7
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
- package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
- package/dist/types/reservations/entities/addon.entity.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +22 -0
- package/dist/types/reservations/types/classes/addon.classes.js +7 -0
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/index.d.ts +7 -0
- package/dist/types/reservations/types/classes/index.js +24 -0
- package/dist/types/reservations/types/classes/index.js.map +1 -0
- package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
- package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
- package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
- package/dist/types/reservations/types/classes/product.classes.js +10 -0
- package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
- package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
- package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
- package/dist/types/reservations/types/classes/segment.classes.js +10 -0
- package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
- package/dist/types/reservations/types/classes/series.classes.js +7 -0
- package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
- package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
- package/dist/types/reservations/types/classes/slot.classes.js +11 -0
- package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
- package/dist/types/reservations/types/consts/index.d.ts +1 -0
- package/dist/types/reservations/types/consts/index.js +1 -0
- package/dist/types/reservations/types/consts/index.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +12 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +18 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
- package/dist/types/reservations/types/consts/slot.consts.js +5 -0
- package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
- package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/index.d.ts +1 -0
- package/dist/types/reservations/types/index.js +1 -0
- package/dist/types/reservations/types/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
- package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
- package/dist/types/reservations/types/interfaces/index.js +2 -0
- package/dist/types/reservations/types/interfaces/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +160 -19
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
- package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +61 -24
- package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +23 -11
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -0
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Instructor.d.ts +2 -2
- package/dist/types/resources/entities/Instructor.js.map +1 -1
- package/dist/types/resources/entities/Space.d.ts +1 -1
- package/dist/types/resources/entities/Space.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
- package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
- package/dist/types/roles/dto/permission-group.dto.js +8 -1
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +27 -12
- package/dist/types/roles/dto/role.dto.js +23 -5
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/dist/types/roles/entities/Role.d.ts +3 -2
- package/dist/types/roles/entities/Role.js.map +1 -1
- package/dist/types/roles/entities/index.d.ts +6 -0
- package/dist/types/roles/entities/index.js +10 -0
- package/dist/types/roles/entities/index.js.map +1 -1
- package/dist/types/roles/types/index.d.ts +1 -0
- package/dist/types/roles/types/index.js +1 -0
- package/dist/types/roles/types/index.js.map +1 -1
- package/dist/types/roles/types/role.consts.d.ts +1 -0
- package/dist/types/roles/types/role.consts.js +6 -0
- package/dist/types/roles/types/role.consts.js.map +1 -0
- package/dist/types/roles/types/role.enums.d.ts +13 -2
- package/dist/types/roles/types/role.enums.js +13 -1
- package/dist/types/roles/types/role.enums.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +23 -2
- package/dist/types/services/enums.service.js +27 -3
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +15 -3
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/entities/User.d.ts +3 -1
- package/dist/types/user/entities/User.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +15 -0
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
- package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
- package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
- package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
- package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
- package/dist/types/webflow/dto/index.d.ts +1 -0
- package/dist/types/webflow/dto/index.js +18 -0
- package/dist/types/webflow/dto/index.js.map +1 -0
- package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
- package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/webflow/entities/index.d.ts +1 -0
- package/dist/types/webflow/entities/index.js +18 -0
- package/dist/types/webflow/entities/index.js.map +1 -0
- package/dist/types/webflow/index.d.ts +2 -0
- package/dist/types/webflow/index.js +2 -0
- package/dist/types/webflow/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/entity/Address.js.map +0 -1
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
- package/dist/types/membership/interfaces/index.d.ts +0 -1
- package/dist/types/membership/interfaces/index.js.map +0 -1
- package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
- package/dist/types/notifications/types/enums/index.js.map +0 -1
- package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
- package/dist/types/notifications/types/enums/notification.enums.js +0 -41
- package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/types/index.js.map +0 -1
- /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
- /package/dist/types/{notifications → accounting}/types/index.js +0 -0
- /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -12,7 +12,7 @@
|
|
12
12
|
*/
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14
14
|
exports.NotificationCreateDto = exports.ContentDto = exports.RecipientsDto = exports.SenderDto = void 0;
|
15
|
-
const
|
15
|
+
const notifications_sdk_1 = require("@bondsports/notifications-sdk");
|
16
16
|
// This file contains DTOs for sending notifications with the SendService.
|
17
17
|
// Start at the Notification object, below.
|
18
18
|
// It contains all the other request objects.
|
@@ -57,15 +57,15 @@ class ContentDto {
|
|
57
57
|
exports.ContentDto = ContentDto;
|
58
58
|
class NotificationCreateDto {
|
59
59
|
constructor() {
|
60
|
-
this.classification =
|
60
|
+
this.classification = notifications_sdk_1.NotificationClassification.UNKNOWN;
|
61
61
|
}
|
62
62
|
/**
|
63
63
|
* Use NotificationCreateDto.emailTemplate(...) instead.
|
64
64
|
*/
|
65
65
|
static sendgridTemplate(toEmailAddress, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId) {
|
66
66
|
const note = new NotificationCreateDto();
|
67
|
-
note.channel =
|
68
|
-
note.classification =
|
67
|
+
note.channel = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
|
68
|
+
note.classification = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
|
69
69
|
note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId);
|
70
70
|
note.recipients = [RecipientsDto.to(toEmailAddress)];
|
71
71
|
// there is no Content object when using a sendgrid template, it's the template and dynamic data:
|
@@ -83,8 +83,8 @@ class NotificationCreateDto {
|
|
83
83
|
*/
|
84
84
|
static emailTemplate(toEmailAddress, templateKey, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId) {
|
85
85
|
const note = new NotificationCreateDto();
|
86
|
-
note.channel =
|
87
|
-
note.classification =
|
86
|
+
note.channel = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
|
87
|
+
note.classification = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
|
88
88
|
note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId);
|
89
89
|
note.recipients = [RecipientsDto.to(toEmailAddress)];
|
90
90
|
// there is no Content object when using an email template, it's the templateKey and dynamic data to be interpolated:
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,
|
1
|
+
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAOuC;AAEvC,0EAA0E;AAE1E,2CAA2C;AAC3C,6CAA6C;AAE7C,MAAa,SAAS;IAcrB,yBAAyB;IACzB,uDAAuD;IACvD,YACC,MAAc,EACd,cAAuB,EACvB,UAAmB,EACnB,OAAgB,EAChB,eAAwB;QAExB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACxC,CAAC;;AA5BF,8BA6BC;AA5BA,0GAA0G;AACnG,yBAAe,GAAG,CAAC,EAAE,CAAC;AA6B9B,MAAa,aAAa;IAYzB,yBAAyB;IACzB,uDAAuD;IACvD,MAAM,CAAC,EAAE,CAAC,EAAW;QACpB,MAAM,CAAC,GAAG,IAAI,aAAa,EAAE,CAAC;QAC9B,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,CAAC;IACV,CAAC;IAED,YAAY,EAAa,EAAE,EAAa,EAAE,GAAc;QACvD,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;QACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IAChB,CAAC;CACD;AAzBD,sCAyBC;AAED,MAAa,UAAU;IAStB,yBAAyB;IACzB,uDAAuD;IACvD,YAAY,OAAgB,EAAE,QAAiB,EAAE,QAAiB;QACjE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;CACD;AAhBD,gCAgBC;AAED,MAAa,qBAAqB;IAAlC;QAGC,mBAAc,GAAgC,8CAA0B,CAAC,OAAO,CAAC;IAkElF,CAAC;IAlDA;;OAEG;IACH,MAAM,CAAC,gBAAgB,CACtB,cAAsB,EACtB,mBAAwB,EACxB,aAAqB,EACrB,qBAA8B,EAC9B,iBAA0B;QAE1B,MAAM,IAAI,GAAG,IAAI,qBAAqB,EAAE,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,+CAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,8CAA0B,CAAC,aAAa,CAAC;QAC/D,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QACrF,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;QACrD,iGAAiG;QACjG,IAAI,CAAC,eAAe,GAAG;YACtB,wGAAwG;YACxG,mBAAmB,EAAE,mBAAmB;SACxC,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,aAAa,CACnB,cAAsB,EACtB,WAAmB,EACnB,mBAAwB,EACxB,aAAqB,EACrB,qBAA8B,EAC9B,iBAA0B;QAE1B,MAAM,IAAI,GAAG,IAAI,qBAAqB,EAAE,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,+CAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,8CAA0B,CAAC,aAAa,CAAC;QAC/D,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QACrF,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;QACrD,qHAAqH;QACrH,IAAI,CAAC,eAAe,GAAG;YACtB,qFAAqF;YACrF,WAAW,EAAE,WAAW;YACxB,mBAAmB,EAAE,mBAAmB,EAAE,2DAA2D;SACrG,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AArED,sDAqEC"}
|
@@ -5,13 +5,13 @@
|
|
5
5
|
* ************************
|
6
6
|
* ************************
|
7
7
|
*/
|
8
|
-
import { SendErrorCode } from '
|
9
|
-
export declare class SendErrorDto {
|
8
|
+
import { SendErrorDto as ISendErrorDto, SendResultDto as ISendResult, SendErrorCode } from '@bondsports/notifications-sdk';
|
9
|
+
export declare class SendErrorDto implements ISendErrorDto {
|
10
10
|
error: SendErrorCode;
|
11
11
|
serviceCode?: number;
|
12
12
|
serviceReason?: string;
|
13
13
|
}
|
14
|
-
export declare class SendResultDto {
|
14
|
+
export declare class SendResultDto implements ISendResult {
|
15
15
|
attempted: number;
|
16
16
|
succeeded: number;
|
17
17
|
failed: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notification.response.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.response.dto.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;
|
1
|
+
{"version":3,"file":"notification.response.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.response.dto.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAQH,MAAa,YAAY;CAMxB;AAND,oCAMC;AAED,MAAa,aAAa;IASzB,YAAY,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,MAAuB;QAR7E,cAAS,GAAG,CAAC,CAAC;QAEd,cAAS,GAAG,CAAC,CAAC;QAEd,WAAM,GAAG,CAAC,CAAC;QAEX,WAAM,GAAmB,EAAE,CAAC;QAG3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,KAAmB;QACnC,OAAO,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,KAAoB;QACzB,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;CACD;AA1BD,sCA0BC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SendErrorCode = exports.NotificationDeliveryChannel = exports.NotificationClassification = void 0;
|
4
|
+
const notifications_sdk_1 = require("@bondsports/notifications-sdk");
|
5
|
+
Object.defineProperty(exports, "NotificationClassification", { enumerable: true, get: function () { return notifications_sdk_1.NotificationClassification; } });
|
6
|
+
Object.defineProperty(exports, "NotificationDeliveryChannel", { enumerable: true, get: function () { return notifications_sdk_1.NotificationDeliveryChannel; } });
|
7
|
+
Object.defineProperty(exports, "SendErrorCode", { enumerable: true, get: function () { return notifications_sdk_1.SendErrorCode; } });
|
8
|
+
//# sourceMappingURL=notification.enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAAA,qEAAuH;AAE9G,2GAFA,8CAA0B,OAEA;AAAE,4GAFA,+CAA2B,OAEA;AAAE,8FAFA,iCAAa,OAEA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './enums';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./enums"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/dto/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./dto"), exports);
|
18
|
-
__exportStar(require("./types"), exports);
|
19
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './types';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./types"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/online-rentals/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./online-rentals.classes"), exports);
|
18
|
+
__exportStar(require("./online-rentals.dto"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/online-rentals/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,uDAAqC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { ResourceToPackageV1 } from '../../resources/types/interfaces/resource.interfaces';
|
2
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
3
|
+
export declare class BestPriceResult {
|
4
|
+
id: number;
|
5
|
+
quantity: number;
|
6
|
+
duration: number;
|
7
|
+
score: number;
|
8
|
+
resourceToPackage: ResourceToPackageV1;
|
9
|
+
}
|
10
|
+
export declare class TimeSlot {
|
11
|
+
startDate: string;
|
12
|
+
startTime: string;
|
13
|
+
endDate: string;
|
14
|
+
endTime: string;
|
15
|
+
isClosed: boolean;
|
16
|
+
parentType: ResourceNameTypeEnum;
|
17
|
+
parentId: number;
|
18
|
+
dayOfWeek: number;
|
19
|
+
mid?: string;
|
20
|
+
resourceId?: number;
|
21
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TimeSlot = exports.BestPriceResult = void 0;
|
4
|
+
class BestPriceResult {
|
5
|
+
}
|
6
|
+
exports.BestPriceResult = BestPriceResult;
|
7
|
+
class TimeSlot {
|
8
|
+
}
|
9
|
+
exports.TimeSlot = TimeSlot;
|
10
|
+
//# sourceMappingURL=online-rentals.classes.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"online-rentals.classes.js","sourceRoot":"","sources":["../../../../src/types/online-rentals/types/online-rentals.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,QAAQ;CAoBpB;AApBD,4BAoBC"}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
|
+
import { UserAnswersDto } from '../../dto/application.dto';
|
3
|
+
import { PackageV1 } from '../../entity/PackageV1';
|
4
|
+
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
|
+
import { Resource } from '../../resources/entities/Resource';
|
6
|
+
import { SportsEnum } from '../../services/enums.service';
|
7
|
+
export declare class TimeOfDayDto {
|
8
|
+
startTime: string;
|
9
|
+
endTime: string;
|
10
|
+
}
|
11
|
+
export declare class CheckFacilityAvailabilityDto {
|
12
|
+
days: string[];
|
13
|
+
sport?: SportsEnum;
|
14
|
+
}
|
15
|
+
export declare class CheckAvailabilityDto extends ByOrganizationIdDto {
|
16
|
+
dates: string[];
|
17
|
+
startTimeOfDay?: string;
|
18
|
+
endTimeOfDay?: string;
|
19
|
+
timeOfDay?: TimeOfDayDto[];
|
20
|
+
slotSize: number;
|
21
|
+
facilityId?: number;
|
22
|
+
spaceId?: number;
|
23
|
+
spaceIds?: number[];
|
24
|
+
sport?: SportsEnum;
|
25
|
+
space?: Resource;
|
26
|
+
timezone?: string;
|
27
|
+
}
|
28
|
+
export declare class ByFacilityAndOrganizationIdDto {
|
29
|
+
facilityId: number;
|
30
|
+
organizationId: number;
|
31
|
+
}
|
32
|
+
export declare class BySpaceAndOrganizationIdDto {
|
33
|
+
spaceId: number;
|
34
|
+
organizationId: number;
|
35
|
+
}
|
36
|
+
export declare class RentalTimeSlotDto extends ActivityTimesDto {
|
37
|
+
mid: string;
|
38
|
+
isClosed: boolean;
|
39
|
+
startDate: string;
|
40
|
+
endDate: string;
|
41
|
+
}
|
42
|
+
export declare class PackageTimesDto {
|
43
|
+
startDate: string;
|
44
|
+
endDate: string;
|
45
|
+
percentage: number;
|
46
|
+
}
|
47
|
+
export declare class CalculatePackageDto {
|
48
|
+
times: PackageTimesDto[];
|
49
|
+
answers?: UserAnswersDto[];
|
50
|
+
}
|
51
|
+
export declare class CalculatePackageQueryDto {
|
52
|
+
limit?: number;
|
53
|
+
}
|
54
|
+
export declare class CalculatedPackageDto {
|
55
|
+
resourcePackageId: number;
|
56
|
+
resourcePackageAmount: number;
|
57
|
+
package: PackageV1;
|
58
|
+
estimatedPrice: number;
|
59
|
+
spaceId: number;
|
60
|
+
estimatedTotalPrice: number;
|
61
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CalculatedPackageDto = exports.CalculatePackageQueryDto = exports.CalculatePackageDto = exports.PackageTimesDto = exports.RentalTimeSlotDto = exports.BySpaceAndOrganizationIdDto = exports.ByFacilityAndOrganizationIdDto = exports.CheckAvailabilityDto = exports.CheckFacilityAvailabilityDto = exports.TimeOfDayDto = void 0;
|
4
|
+
const activityTimes_dto_1 = require("../../dto/activityTimes.dto");
|
5
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
|
+
class TimeOfDayDto {
|
7
|
+
}
|
8
|
+
exports.TimeOfDayDto = TimeOfDayDto;
|
9
|
+
class CheckFacilityAvailabilityDto {
|
10
|
+
}
|
11
|
+
exports.CheckFacilityAvailabilityDto = CheckFacilityAvailabilityDto;
|
12
|
+
class CheckAvailabilityDto extends organization_dto_1.ByOrganizationIdDto {
|
13
|
+
}
|
14
|
+
exports.CheckAvailabilityDto = CheckAvailabilityDto;
|
15
|
+
class ByFacilityAndOrganizationIdDto {
|
16
|
+
}
|
17
|
+
exports.ByFacilityAndOrganizationIdDto = ByFacilityAndOrganizationIdDto;
|
18
|
+
class BySpaceAndOrganizationIdDto {
|
19
|
+
}
|
20
|
+
exports.BySpaceAndOrganizationIdDto = BySpaceAndOrganizationIdDto;
|
21
|
+
class RentalTimeSlotDto extends activityTimes_dto_1.ActivityTimesDto {
|
22
|
+
}
|
23
|
+
exports.RentalTimeSlotDto = RentalTimeSlotDto;
|
24
|
+
class PackageTimesDto {
|
25
|
+
}
|
26
|
+
exports.PackageTimesDto = PackageTimesDto;
|
27
|
+
class CalculatePackageDto {
|
28
|
+
}
|
29
|
+
exports.CalculatePackageDto = CalculatePackageDto;
|
30
|
+
class CalculatePackageQueryDto {
|
31
|
+
}
|
32
|
+
exports.CalculatePackageQueryDto = CalculatePackageQueryDto;
|
33
|
+
class CalculatedPackageDto {
|
34
|
+
}
|
35
|
+
exports.CalculatedPackageDto = CalculatedPackageDto;
|
36
|
+
//# sourceMappingURL=online-rentals.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"online-rentals.dto.js","sourceRoot":"","sources":["../../../../src/types/online-rentals/types/online-rentals.dto.ts"],"names":[],"mappings":";;;AAAA,mEAA+D;AAG/D,8EAA8E;AAI9E,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAsB5D;AAtBD,oDAsBC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,iBAAkB,SAAQ,oCAAgB;CAQtD;AARD,8CAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Address } from '../../
|
1
|
+
import { Address } from '../../address/entities/Address';
|
2
2
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
3
3
|
import { ColorCode } from '../../entity/ColorCode';
|
4
4
|
import { Media } from '../../media/entities/Media';
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./organization"), exports);
|
18
18
|
__exportStar(require("./organizationUser"), exports);
|
19
|
+
__exportStar(require("./reason.interfaces"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -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;AACnC,sDAAoC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reason.interfaces.js","sourceRoot":"","sources":["../../../../src/types/organization/interfaces/reason.interfaces.ts"],"names":[],"mappings":""}
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import { UserPaymentMethod } from '../../entity/user-payment-method';
|
2
|
+
import { FeeDto } from '../../fee/dto/fee.dto';
|
1
3
|
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
4
|
+
import { IPaymentMethodToFundLeft } from '../../services/interfaces.service';
|
5
|
+
import { SimpleUserDto, UserIdDto } from '../../user/dto/user.dto';
|
2
6
|
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';
|
6
7
|
export interface IConnectedResource {
|
7
8
|
resourceId: number;
|
8
9
|
resourceType: ResourceNameTypeEnum;
|
@@ -63,3 +64,11 @@ export declare class UserPaymentMethodOption {
|
|
63
64
|
export declare class ByUserAndUserPaymentMethodDto extends UserIdDto {
|
64
65
|
paymentMethodId: string;
|
65
66
|
}
|
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.ByUserAndUserPaymentMethodDto = exports.UserPaymentMethodOption = exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = exports.ConnectedResourceDto = exports.UserPaymentMethodSimpleDto = void 0;
|
3
|
+
exports.PaymentMethodToFundLeftDto = 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,4 +20,7 @@ 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;
|
23
26
|
//# 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,sDAAmE;AAiBnE,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;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
2
2
|
import { ProductPaymentPlan } from '../entities/ProductPaymentPlan';
|
3
|
-
import {
|
3
|
+
import { PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
4
4
|
import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
|
5
|
+
import { RepetitionUnit } from '@bondsports/date-time';
|
5
6
|
export declare class PaymentPlanScheduleDto {
|
6
7
|
date: Date;
|
7
8
|
percent?: number;
|
@@ -16,13 +17,14 @@ export declare class PaymentPlanDto {
|
|
16
17
|
status?: PaymentPlanStatusEnum;
|
17
18
|
paymentPlanType?: PaymentPlanTypeEnum;
|
18
19
|
startsInMonths?: number;
|
19
|
-
installmentRepeat?:
|
20
|
+
installmentRepeat?: RepetitionUnit;
|
20
21
|
}
|
21
22
|
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
22
23
|
name: string;
|
23
24
|
}
|
24
25
|
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
25
26
|
amountToSplit: number;
|
27
|
+
organizationId?: number;
|
26
28
|
}
|
27
29
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdDto {
|
28
30
|
invoiceId: number;
|
@@ -40,10 +42,10 @@ export declare class ScheduledPaymentDto {
|
|
40
42
|
originalPlannedDate?: Date;
|
41
43
|
}
|
42
44
|
export declare class FutureInstallmentsIdsDto {
|
43
|
-
paymentsIds
|
45
|
+
paymentsIds?: number[];
|
44
46
|
}
|
45
47
|
export declare class CancelFutureInstallmentsDto extends FutureInstallmentsIdsDto {
|
46
|
-
invoiceId
|
48
|
+
invoiceId: number;
|
47
49
|
userId?: number;
|
48
50
|
}
|
49
51
|
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;AAM9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAIrD;AAJD,gDAIC;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;CAYnE;AAZD,wCAYC"}
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
2
|
import { Product } from '../../product-pricing/entities/Product';
|
3
|
-
import {
|
3
|
+
import { PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
4
4
|
import { PaymentPlanSchedule } from './PaymentPlanSchedule';
|
5
|
+
import { RepetitionUnit } from '@bondsports/date-time';
|
5
6
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
6
7
|
productId: number;
|
7
8
|
maxInstallments?: number;
|
8
9
|
dayOfMonth?: number;
|
9
10
|
name: string;
|
10
|
-
installmentRepeat?:
|
11
|
+
installmentRepeat?: RepetitionUnit;
|
11
12
|
startsInMonths?: number;
|
12
13
|
status: PaymentPlanStatusEnum;
|
13
14
|
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;AAMjG,qGAAqG;AACrG,MAAa,kBAAmB,SAAQ,mEAAgC;CAsBvE;AAtBD,gDAsBC"}
|
@@ -12,3 +12,4 @@ 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.orderByResourceTemplate = exports.uniqueDiscountTemplate = exports.UNIQUE_SPLIT_CHAR = exports.uniqueTaxTemplate = exports.installmentStatusDict = exports.REVERTED_STATUSES = exports.MIN_ACH_PAYMENT_AMOUNT = void 0;
|
3
|
+
exports.isRevertedStatus = 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,4 +34,8 @@ 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;
|
37
41
|
//# 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;AAEK,MAAM,gBAAgB,GAAG,CAAC,aAAgC,EAAW,EAAE;IAC7E,OAAO,yBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAClD,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B"}
|
@@ -1,14 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum =
|
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 = {}));
|
3
|
+
exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum = void 0;
|
12
4
|
var PaymentPlanStatusEnum;
|
13
5
|
(function (PaymentPlanStatusEnum) {
|
14
6
|
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,
|
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"}
|
@@ -14,12 +14,14 @@ export declare enum PaymentFilterByEnum {
|
|
14
14
|
PAYMENT_STATUS = "paymentStatus",
|
15
15
|
STATUS = "status",
|
16
16
|
ID = "id",
|
17
|
-
CREATED_AT = "createdAt"
|
17
|
+
CREATED_AT = "createdAt",
|
18
|
+
PRICE = "price"
|
18
19
|
}
|
19
20
|
export declare enum ReasonTypeEnum {
|
20
21
|
REFUND = "refund",
|
21
22
|
DISCOUNT = "discount",
|
22
|
-
PROMO_CODE = "promo_code"
|
23
|
+
PROMO_CODE = "promo_code",
|
24
|
+
MEMBERSHIP_PAUSE = "membership_pause"
|
23
25
|
}
|
24
26
|
export declare enum PaymentStatusV1Enum {
|
25
27
|
SENT_TO_CLIENT = 1,
|
@@ -20,12 +20,14 @@ var PaymentFilterByEnum;
|
|
20
20
|
PaymentFilterByEnum["STATUS"] = "status";
|
21
21
|
PaymentFilterByEnum["ID"] = "id";
|
22
22
|
PaymentFilterByEnum["CREATED_AT"] = "createdAt";
|
23
|
+
PaymentFilterByEnum["PRICE"] = "price";
|
23
24
|
})(PaymentFilterByEnum = exports.PaymentFilterByEnum || (exports.PaymentFilterByEnum = {}));
|
24
25
|
var ReasonTypeEnum;
|
25
26
|
(function (ReasonTypeEnum) {
|
26
27
|
ReasonTypeEnum["REFUND"] = "refund";
|
27
28
|
ReasonTypeEnum["DISCOUNT"] = "discount";
|
28
29
|
ReasonTypeEnum["PROMO_CODE"] = "promo_code";
|
30
|
+
ReasonTypeEnum["MEMBERSHIP_PAUSE"] = "membership_pause";
|
29
31
|
})(ReasonTypeEnum = exports.ReasonTypeEnum || (exports.ReasonTypeEnum = {}));
|
30
32
|
var PaymentStatusV1Enum;
|
31
33
|
(function (PaymentStatusV1Enum) {
|