@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
@@ -1,10 +1,11 @@
|
|
1
1
|
import { MediaDto } from '../../media/dto/media.dto';
|
2
2
|
import { CustomerTypeEnum, GenderEnum, OrderByEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
3
|
-
import { Role } from '../../roles/entities/Role';
|
4
3
|
import { EmployeeStatus, OrganizationUserOrderBy, UserOrderBy } from '../types/enums';
|
5
4
|
import { PaginationQuery } from '../../dto/general.dto';
|
6
|
-
import { Customer } from '../../entity/Customer';
|
7
5
|
import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
|
6
|
+
import { Address } from '../../address/entities/Address';
|
7
|
+
import { User } from '../../user/entities/User';
|
8
|
+
import { RoleDto, SimpleRoleDto } from '../../roles/dto/role.dto';
|
8
9
|
export declare class ByEmployeeIdDto {
|
9
10
|
employeeId: number;
|
10
11
|
}
|
@@ -24,17 +25,20 @@ export declare class EmployeeDto {
|
|
24
25
|
userId: number;
|
25
26
|
phoneNumber?: string;
|
26
27
|
customerId?: number;
|
28
|
+
address?: Address;
|
29
|
+
deletedAt?: Date;
|
27
30
|
}
|
28
31
|
export declare class EmployeeWithRoles extends EmployeeDto {
|
29
|
-
roles?:
|
32
|
+
roles?: SimpleRoleDto[];
|
30
33
|
}
|
31
34
|
export declare class EmployeeWithRoleIds extends EmployeeWithRoles {
|
32
35
|
rolesIds?: number[];
|
33
36
|
}
|
34
37
|
export declare class BuildEmployee {
|
35
|
-
|
38
|
+
user: User;
|
39
|
+
customerId: number;
|
36
40
|
organizationUser: OrganizationUsers;
|
37
|
-
roles:
|
41
|
+
roles: RoleDto[];
|
38
42
|
}
|
39
43
|
export declare class CreateEmployeeDto {
|
40
44
|
firstName: string;
|
@@ -64,6 +68,12 @@ export declare class CreateEmployeeDto {
|
|
64
68
|
employmentStartDate?: Date;
|
65
69
|
employmentEndDate?: Date;
|
66
70
|
}
|
71
|
+
export declare class CreateEmployeeOptions {
|
72
|
+
saveCustomer?: boolean;
|
73
|
+
sendCustomerNotification?: boolean;
|
74
|
+
allowExistingCustomer?: boolean;
|
75
|
+
requireNewUser?: boolean;
|
76
|
+
}
|
67
77
|
export declare class UpdateEmployeeDto {
|
68
78
|
firstName?: string;
|
69
79
|
lastName?: string;
|
@@ -87,6 +97,8 @@ export declare class UpdateEmployeeDto {
|
|
87
97
|
emergencyContactPhone?: string;
|
88
98
|
mainMedia?: MediaDto;
|
89
99
|
rolesIds?: number[];
|
100
|
+
rolesIdsToAdd?: number[];
|
101
|
+
rolesIdsToRemove?: number[];
|
90
102
|
referenceId?: string;
|
91
103
|
status?: EmployeeStatus;
|
92
104
|
employmentStartDate?: Date;
|
@@ -95,7 +107,11 @@ export declare class UpdateEmployeeDto {
|
|
95
107
|
export declare class GetEmployeesByFilterOptions extends PaginationQuery {
|
96
108
|
statuses?: EmployeeStatus[];
|
97
109
|
rolesIds?: number[];
|
110
|
+
excludedRolesIds?: number[];
|
111
|
+
mustHaveRolesIds?: number[];
|
112
|
+
includeRoles?: boolean;
|
98
113
|
search?: string;
|
99
114
|
orderBy?: UserOrderBy | OrganizationUserOrderBy;
|
100
115
|
order?: OrderByEnum;
|
116
|
+
onlyDeleted?: boolean;
|
101
117
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetEmployeesByFilterOptions = exports.UpdateEmployeeDto = exports.CreateEmployeeDto = exports.BuildEmployee = exports.EmployeeWithRoleIds = exports.EmployeeWithRoles = exports.EmployeeDto = exports.ByEmployeeIdDto = void 0;
|
3
|
+
exports.GetEmployeesByFilterOptions = exports.UpdateEmployeeDto = exports.CreateEmployeeOptions = exports.CreateEmployeeDto = exports.BuildEmployee = exports.EmployeeWithRoleIds = exports.EmployeeWithRoles = exports.EmployeeDto = exports.ByEmployeeIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
class ByEmployeeIdDto {
|
6
6
|
}
|
@@ -20,11 +20,18 @@ exports.BuildEmployee = BuildEmployee;
|
|
20
20
|
class CreateEmployeeDto {
|
21
21
|
}
|
22
22
|
exports.CreateEmployeeDto = CreateEmployeeDto;
|
23
|
+
class CreateEmployeeOptions {
|
24
|
+
}
|
25
|
+
exports.CreateEmployeeOptions = CreateEmployeeOptions;
|
23
26
|
// TODO: Update with the correct fields
|
24
27
|
class UpdateEmployeeDto {
|
25
28
|
}
|
26
29
|
exports.UpdateEmployeeDto = UpdateEmployeeDto;
|
27
30
|
class GetEmployeesByFilterOptions extends general_dto_1.PaginationQuery {
|
31
|
+
constructor() {
|
32
|
+
super(...arguments);
|
33
|
+
this.includeRoles = true;
|
34
|
+
}
|
28
35
|
}
|
29
36
|
exports.GetEmployeesByFilterOptions = GetEmployeesByFilterOptions;
|
30
37
|
//# sourceMappingURL=employee.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAMxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAkCvB;AAlCD,kCAkCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;QASC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAlBD,kEAkBC"}
|
@@ -0,0 +1,25 @@
|
|
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
|
+
exports.DEFAULT_CREATE_EMPLOYEE_OPTIONS = void 0;
|
18
|
+
exports.DEFAULT_CREATE_EMPLOYEE_OPTIONS = {
|
19
|
+
saveCustomer: true,
|
20
|
+
sendCustomerNotification: false,
|
21
|
+
allowExistingCustomer: false,
|
22
|
+
requireNewUser: true,
|
23
|
+
};
|
24
|
+
__exportStar(require("./index"), exports);
|
25
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/employees/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEa,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,KAAK;IAC/B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,IAAI;CACpB,CAAC;AACF,0CAAwB"}
|
@@ -14,6 +14,7 @@ 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("./consts"), exports);
|
17
18
|
__exportStar(require("./enums"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
@@ -1,9 +1,9 @@
|
|
1
|
+
import { Product } from '../product-pricing/entities/Product';
|
2
|
+
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
1
3
|
import { ProductTypesEnum, ResourceNameTypeEnum } from './../services/enums.service';
|
2
4
|
import { BondBaseEntity } from './BondBaseEntity';
|
3
|
-
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
4
|
-
import { Product } from '../product-pricing/entities/Product';
|
5
|
-
import { Event } from './Events';
|
6
5
|
import { Price } from '../pricing/entities/Price';
|
6
|
+
import { Event } from './Events';
|
7
7
|
export declare class ActivityTimes extends BondBaseEntity {
|
8
8
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
9
9
|
parentId: number;
|
@@ -13,6 +13,7 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
13
13
|
facilityId?: number;
|
14
14
|
groupId?: string;
|
15
15
|
isSameAsFacility: boolean;
|
16
|
+
deletedAt?: Date;
|
16
17
|
program: ProgramSeason;
|
17
18
|
availabilityStartDate: string;
|
18
19
|
availabilityEndDate: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActivityTimes.js","sourceRoot":"","sources":["../../../src/types/entity/ActivityTimes.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"ActivityTimes.js","sourceRoot":"","sources":["../../../src/types/entity/ActivityTimes.ts"],"names":[],"mappings":";;;AAIA,qDAAkD;AAKlD,MAAa,aAAc,SAAQ,+BAAc;CA8BhD;AA9BD,sCA8BC"}
|
@@ -3,7 +3,7 @@ import { Reservation } from '../reservations/entities/reservation.entity';
|
|
3
3
|
import { CustomerTypeEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
4
4
|
import { MembershipStatus } from '../services/interfaces.service';
|
5
5
|
import { User } from '../user/entities/User';
|
6
|
-
import { Address } from '
|
6
|
+
import { Address } from '../address/entities/Address';
|
7
7
|
import { ColorCode } from './ColorCode';
|
8
8
|
import { CustomerCreditTransaction } from './CustomerCreditTransaction';
|
9
9
|
import { CustomerNote } from './CustomerNotes';
|
@@ -11,6 +11,7 @@ import { EmergencyContact } from './EmergencyContact';
|
|
11
11
|
import { Media } from '../media/entities/Media';
|
12
12
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
13
13
|
import { ProductsReservedForCustomers } from './ProductsReservedForCustomers';
|
14
|
+
import { Slot } from '../reservations/entities/slot.entity';
|
14
15
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
15
16
|
name?: string;
|
16
17
|
isAnonymous?: boolean;
|
@@ -48,4 +49,5 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
48
49
|
reservations?: Reservation[];
|
49
50
|
user: User;
|
50
51
|
organizationName?: string;
|
52
|
+
slots?: Slot[];
|
51
53
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAYA,yFAAsF;
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAYA,yFAAsF;AAItF,MAAa,QAAS,SAAQ,mEAAgC;CA8E7D;AA9ED,4BA8EC"}
|
@@ -1,15 +1,15 @@
|
|
1
|
+
import { User } from '../user/entities/User';
|
1
2
|
import { EntryStatusEnum, RequestStatusEnum } from './../services/enums.service';
|
2
3
|
import { BondBaseEntity } from './BondBaseEntity';
|
3
4
|
import { Event } from './Events';
|
4
|
-
import { User } from '../user/entities/User';
|
5
|
-
import { PurchasedResource } from './PurchasedResources';
|
6
5
|
import { ProductsUsers } from './ProductsUsers';
|
6
|
+
import { PurchasedResource } from './PurchasedResources';
|
7
7
|
export declare class EventAttendee extends BondBaseEntity {
|
8
|
-
status: RequestStatusEnum | null;
|
9
|
-
hasPaid: boolean | null;
|
10
|
-
paymentId: number | null;
|
11
8
|
attendeeId: number;
|
12
|
-
eventId?: number
|
9
|
+
eventId?: number;
|
10
|
+
status?: RequestStatusEnum;
|
11
|
+
hasPaid: boolean;
|
12
|
+
paymentId?: number;
|
13
13
|
productUserId?: number;
|
14
14
|
productUser?: ProductsUsers;
|
15
15
|
answerTitleIds?: number[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EventAttendees.js","sourceRoot":"","sources":["../../../src/types/entity/EventAttendees.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"EventAttendees.js","sourceRoot":"","sources":["../../../src/types/entity/EventAttendees.ts"],"names":[],"mappings":";;;AAGA,qDAAkD;AAKlD,MAAa,aAAc,SAAQ,+BAAc;CA4BhD;AA5BD,sCA4BC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
2
1
|
import { EventStatusEnum } from '../services/enums.service';
|
2
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
3
3
|
export declare class EventHistory extends OrganizationConnectionBaseEntity {
|
4
4
|
eventId: number;
|
5
5
|
title?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EventHistory.js","sourceRoot":"","sources":["../../../src/types/entity/EventHistory.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"EventHistory.js","sourceRoot":"","sources":["../../../src/types/entity/EventHistory.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAEtF,MAAa,YAAa,SAAQ,mEAAgC;CAsFjE;AAtFD,oCAsFC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
2
2
|
import { Resource } from '../resources/entities/Resource';
|
3
|
-
import { Address } from '
|
3
|
+
import { Address } from '../address/entities/Address';
|
4
4
|
import { Media } from '../media/entities/Media';
|
5
5
|
import { OpeningTime } from './OpeningTime';
|
6
6
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ItemPriceMetadata } from '../cart/types/classes/cart.classes';
|
1
2
|
import { Reason } from '../organization/entities/Reason';
|
2
3
|
import { ItemDiscountDto, SimpleDiscountDto } from '../payment/dto/discount.dto';
|
3
4
|
import { Discount } from '../payment/entities/Discount';
|
@@ -58,6 +59,8 @@ export declare class LineItems extends OrganizationConnectionBaseEntity {
|
|
58
59
|
actionId?: string;
|
59
60
|
reasonId?: number;
|
60
61
|
reason?: Reason;
|
62
|
+
priceId?: number;
|
63
|
+
prices?: ItemPriceMetadata[];
|
61
64
|
lineItemsHistory: LineItemHistory[];
|
62
65
|
purchasedResources: PurchasedResource[];
|
63
66
|
payments: Payment[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AA2BA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CA0I9D;AA1ID,8BA0IC"}
|
@@ -5,6 +5,8 @@ import { Customer } from './Customer';
|
|
5
5
|
import { Membership } from './Membership';
|
6
6
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
7
7
|
import { ProductsUsers } from './ProductsUsers';
|
8
|
+
import { Reason } from '../organization/entities/Reason';
|
9
|
+
import { TimeUnit } from '@bondsports/date-time';
|
8
10
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
9
11
|
membership: Membership;
|
10
12
|
membershipId: number;
|
@@ -15,6 +17,7 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
15
17
|
durationMonths?: number;
|
16
18
|
startDate?: string;
|
17
19
|
endDate?: string;
|
20
|
+
originalEndDate?: string;
|
18
21
|
renewalOfMemberId?: number;
|
19
22
|
isAutoRenew?: boolean;
|
20
23
|
nextPaymentMethodId?: string;
|
@@ -23,9 +26,17 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
23
26
|
cancelledAt?: Date | null;
|
24
27
|
cancellationReason?: string;
|
25
28
|
cancellationStatus?: CancellationStatusEnum;
|
29
|
+
pauseStartDate?: Date;
|
30
|
+
pauseEndDate?: Date;
|
31
|
+
pauseDurationType?: TimeUnit;
|
32
|
+
pauseDurationValue?: number;
|
33
|
+
pauseReasonId?: number;
|
34
|
+
pauseDescription?: string;
|
35
|
+
pauseReason?: Reason;
|
26
36
|
isImported?: boolean;
|
27
37
|
deletedAt?: Date;
|
28
38
|
renewals?: MembershipMemberRenewal[];
|
29
39
|
membershipStatus?: MembershipStatusEnum;
|
40
|
+
hasPauseHistory?: boolean;
|
30
41
|
customer?: Customer;
|
31
42
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MembershipMember.js","sourceRoot":"","sources":["../../../src/types/entity/MembershipMember.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"MembershipMember.js","sourceRoot":"","sources":["../../../src/types/entity/MembershipMember.ts"],"names":[],"mappings":";;;AAgBA,yFAAsF;AAKtF,MAAa,gBAAiB,SAAQ,mEAAgC;CA+DrE;AA/DD,4CA+DC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BondBaseEntity } from './BondBaseEntity';
|
2
2
|
import { ActivityTimes } from './ActivityTimes';
|
3
|
+
import { Product } from '../product-pricing/entities/Product';
|
3
4
|
export declare class PackageV1 extends BondBaseEntity {
|
4
5
|
name?: string;
|
5
6
|
description?: string;
|
@@ -17,4 +18,5 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
17
18
|
isMandatory: boolean;
|
18
19
|
productId: number;
|
19
20
|
activityTimes?: ActivityTimes[];
|
21
|
+
product?: Product;
|
20
22
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PackageV1.js","sourceRoot":"","sources":["../../../src/types/entity/PackageV1.ts"],"names":[],"mappings":";;;AACA,qDAAkD;
|
1
|
+
{"version":3,"file":"PackageV1.js","sourceRoot":"","sources":["../../../src/types/entity/PackageV1.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAIlD,MAAa,SAAU,SAAQ,+BAAc;CAkC5C;AAlCD,8BAkCC"}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
export * from './ActivityLogRecord';
|
2
2
|
export * from './ActivityTimes';
|
3
|
-
export * from './Address';
|
4
3
|
export * from './BlockedDate';
|
5
4
|
export * from './BondBaseEntity';
|
6
5
|
export * from './BookingTypeSetting';
|
@@ -66,5 +65,4 @@ export * from './UserInFamilyAccount';
|
|
66
65
|
export * from './UsersInGroup';
|
67
66
|
export * from './VariantTitles';
|
68
67
|
export * from './Variants';
|
69
|
-
export * from './WebflowOrganizationConfiguration';
|
70
68
|
export * from './user-payment-method';
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./ActivityLogRecord"), exports);
|
18
18
|
__exportStar(require("./ActivityTimes"), exports);
|
19
|
-
__exportStar(require("./Address"), exports);
|
20
19
|
__exportStar(require("./BlockedDate"), exports);
|
21
20
|
__exportStar(require("./BondBaseEntity"), exports);
|
22
21
|
__exportStar(require("./BookingTypeSetting"), exports);
|
@@ -82,6 +81,5 @@ __exportStar(require("./UserInFamilyAccount"), exports);
|
|
82
81
|
__exportStar(require("./UsersInGroup"), exports);
|
83
82
|
__exportStar(require("./VariantTitles"), exports);
|
84
83
|
__exportStar(require("./Variants"), exports);
|
85
|
-
__exportStar(require("./WebflowOrganizationConfiguration"), exports);
|
86
84
|
__exportStar(require("./user-payment-method"), exports);
|
87
85
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,6CAA2B;AAC3B,uDAAqC;AACrC,kDAAgC;AAChC,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B;AAC7B,qDAAmC;AACnC,8DAA4C;AAC5C,gDAA8B;AAC9B,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,2DAAyC;AACzC,kDAAgC;AAChC,2CAAyB;AACzB,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,yDAAuC;AACvC,gDAA8B;AAC9B,yCAAuB;AACvB,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,wDAAsC"}
|
@@ -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/facilities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"facilities.types.js","sourceRoot":"","sources":["../../../../src/types/facilities/types/facilities.types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './facilities.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("./facilities.types"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/facilities/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/reservation.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,sBAAsB;CAqBlC;AArBD,wDAqBC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,eAAe;CAiC3B;AAjCD,0CAiCC;AAED,MAAa,sBAAsB;CAqBlC;AArBD,wDAqBC"}
|
package/dist/types/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from './accounting';
|
1
2
|
export * from './activities';
|
2
3
|
export * from './addons';
|
3
4
|
export * from './address';
|
@@ -8,6 +9,7 @@ export * from './dto';
|
|
8
9
|
export * from './employees';
|
9
10
|
export * from './entity';
|
10
11
|
export * from './errors';
|
12
|
+
export * from './facilities';
|
11
13
|
export * from './familyAccount';
|
12
14
|
export * from './fee';
|
13
15
|
export * from './future-installments';
|
@@ -22,6 +24,7 @@ export * from './membership';
|
|
22
24
|
export * from './monitor-config';
|
23
25
|
export * from './notes';
|
24
26
|
export * from './notifications';
|
27
|
+
export * from './online-rentals';
|
25
28
|
export * from './organization';
|
26
29
|
export * from './payment';
|
27
30
|
export * from './pricing';
|
package/dist/types/index.js
CHANGED
@@ -14,6 +14,7 @@ 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("./accounting"), exports);
|
17
18
|
__exportStar(require("./activities"), exports);
|
18
19
|
__exportStar(require("./addons"), exports);
|
19
20
|
__exportStar(require("./address"), exports);
|
@@ -24,6 +25,7 @@ __exportStar(require("./dto"), exports);
|
|
24
25
|
__exportStar(require("./employees"), exports);
|
25
26
|
__exportStar(require("./entity"), exports);
|
26
27
|
__exportStar(require("./errors"), exports);
|
28
|
+
__exportStar(require("./facilities"), exports);
|
27
29
|
__exportStar(require("./familyAccount"), exports);
|
28
30
|
__exportStar(require("./fee"), exports);
|
29
31
|
__exportStar(require("./future-installments"), exports);
|
@@ -38,6 +40,7 @@ __exportStar(require("./membership"), exports);
|
|
38
40
|
__exportStar(require("./monitor-config"), exports);
|
39
41
|
__exportStar(require("./notes"), exports);
|
40
42
|
__exportStar(require("./notifications"), exports);
|
43
|
+
__exportStar(require("./online-rentals"), exports);
|
41
44
|
__exportStar(require("./organization"), exports);
|
42
45
|
__exportStar(require("./payment"), exports);
|
43
46
|
__exportStar(require("./pricing"), exports);
|
package/dist/types/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
|
@@ -2,6 +2,7 @@ import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
2
2
|
import { CurrencyEnum, InvoiceStatusEnum, PlatformsEnum } from '../../services/enums.service';
|
3
3
|
import { IInvoiceCart } from '../types/interfaces/invoice.interfaces';
|
4
4
|
import { LineItemDto } from './lineItem.dto';
|
5
|
+
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
5
6
|
export declare class InvoiceDto {
|
6
7
|
invoiceId?: string;
|
7
8
|
organizationId: number;
|
@@ -31,3 +32,21 @@ export declare class InvoiceCartDto implements IInvoiceCart {
|
|
31
32
|
existingInvoiceToken?: string;
|
32
33
|
shiftId?: number;
|
33
34
|
}
|
35
|
+
export declare class SimpleInvoiceDto extends OrganizationBaseEntityDto {
|
36
|
+
invoiceId: string;
|
37
|
+
price: number;
|
38
|
+
paidAmount: number;
|
39
|
+
payingUserId?: number;
|
40
|
+
currency: CurrencyEnum;
|
41
|
+
isScheduled: boolean;
|
42
|
+
platform?: PlatformsEnum;
|
43
|
+
shiftId?: number;
|
44
|
+
paymentStatus: PaymentStatusEnum;
|
45
|
+
status?: InvoiceStatusEnum;
|
46
|
+
totalFeesAmount?: number;
|
47
|
+
discountAmount?: number;
|
48
|
+
discountSubtotal?: number;
|
49
|
+
subtotal?: number;
|
50
|
+
subtotalBalance?: number;
|
51
|
+
isPublic?: boolean;
|
52
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InvoiceCartDto = exports.UpdateInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.BaseInvoiceDto = exports.InvoiceDto = void 0;
|
3
|
+
exports.SimpleInvoiceDto = exports.InvoiceCartDto = exports.UpdateInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.BaseInvoiceDto = exports.InvoiceDto = void 0;
|
4
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
4
5
|
class InvoiceDto {
|
5
6
|
}
|
6
7
|
exports.InvoiceDto = InvoiceDto;
|
@@ -16,4 +17,7 @@ exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
|
16
17
|
class InvoiceCartDto {
|
17
18
|
}
|
18
19
|
exports.InvoiceCartDto = InvoiceCartDto;
|
20
|
+
class SimpleInvoiceDto extends organization_dto_1.OrganizationBaseEntityDto {
|
21
|
+
}
|
22
|
+
exports.SimpleInvoiceDto = SimpleInvoiceDto;
|
19
23
|
//# sourceMappingURL=invoice.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice.dto.ts"],"names":[],"mappings":";;;AAIA,8EAAoF;AAEpF,MAAa,UAAU;CAuBtB;AAvBD,gCAuBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,gBAAiB,SAAQ,4CAAyB;CAgC9D;AAhCD,4CAgCC"}
|
@@ -2,3 +2,13 @@ import { InvoiceDiscountOnEnum } from '../../../payment/types/enums/discount.enu
|
|
2
2
|
export declare const discountOnMapper: {
|
3
3
|
[key: string]: InvoiceDiscountOnEnum;
|
4
4
|
};
|
5
|
+
type HasIdOrUnique = {
|
6
|
+
id?: number | string;
|
7
|
+
unique?: string;
|
8
|
+
};
|
9
|
+
/**
|
10
|
+
* Generates a unique key for a given cart item.
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
export declare const getUniqueKey: (entity: HasIdOrUnique) => string;
|
14
|
+
export {};
|
@@ -1,9 +1,18 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.discountOnMapper = void 0;
|
3
|
+
exports.getUniqueKey = exports.discountOnMapper = void 0;
|
4
4
|
const discount_enums_1 = require("../../../payment/types/enums/discount.enums");
|
5
5
|
exports.discountOnMapper = {
|
6
6
|
[discount_enums_1.DiscountOnEnum.ITEM]: discount_enums_1.InvoiceDiscountOnEnum.LINE_ITEM,
|
7
7
|
[discount_enums_1.DiscountOnEnum.ALL]: discount_enums_1.InvoiceDiscountOnEnum.INVOICE,
|
8
8
|
};
|
9
|
+
/**
|
10
|
+
* Generates a unique key for a given cart item.
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
const getUniqueKey = (entity) => {
|
14
|
+
var _a, _b;
|
15
|
+
return (_b = (_a = entity.id) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : entity.unique;
|
16
|
+
};
|
17
|
+
exports.getUniqueKey = getUniqueKey;
|
9
18
|
//# sourceMappingURL=invoice.consts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAoG;AAEvF,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC"}
|
1
|
+
{"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAoG;AAEvF,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC;AAOF;;;GAGG;AACI,MAAM,YAAY,GAAsC,CAAC,MAAqB,EAAU,EAAE;;IAChG,OAAO,MAAA,MAAA,MAAM,CAAC,EAAE,0CAAE,QAAQ,EAAE,mCAAI,MAAM,CAAC,MAAM,CAAC;AAC/C,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./invoice.interfaces"), exports);
|
18
|
+
__exportStar(require("./line-item.interfaces"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC"}
|