@bondsports/types 2.2.284-b-1 → 2.2.284-team-b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/address/index.d.ts +0 -2
- package/dist/types/address/index.js +0 -2
- package/dist/types/address/index.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +2 -65
- package/dist/types/cart/dto/cart.dto.js +1 -28
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +0 -8
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -1
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/index.d.ts +0 -1
- package/dist/types/cart/types/index.js +0 -1
- package/dist/types/cart/types/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -63
- package/dist/types/customers/dto/customer-response.dto.d.ts +0 -5
- package/dist/types/customers/dto/customer-response.dto.js +1 -4
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
- package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
- package/dist/types/customers/types/consts/customers.consts.d.ts +0 -1
- package/dist/types/customers/types/consts/customers.consts.js +2 -5
- package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +1 -10
- package/dist/types/dto/activityTimes.dto.d.ts +0 -10
- package/dist/types/dto/activityTimes.dto.js +1 -4
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/application.dto.d.ts +0 -8
- package/dist/types/dto/application.dto.js +1 -4
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +2 -4
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +9 -2
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +5 -11
- package/dist/types/dto/general.dto.js +2 -4
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
- package/dist/types/dto/groupsDivisions.dto.js +3 -6
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +1 -17
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +0 -10
- package/dist/types/dto/product-user.js +1 -7
- package/dist/types/dto/product-user.js.map +1 -1
- package/dist/types/dto/product-variants.dto.d.ts +14 -2
- package/dist/types/dto/product-variants.dto.js +5 -2
- package/dist/types/dto/product-variants.dto.js.map +1 -1
- package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
- package/dist/types/dto/userPaymentMethod.dto.js +1 -4
- package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +5 -21
- package/dist/types/employees/dto/employee.dto.js +1 -8
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/types/index.d.ts +0 -1
- package/dist/types/employees/types/index.js +0 -1
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +3 -4
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
- package/dist/types/{address/entities → entity}/Address.js +1 -1
- package/dist/types/entity/Address.js.map +1 -0
- package/dist/types/entity/Customer.d.ts +1 -3
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/EventAttendees.d.ts +6 -6
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/EventHistory.d.ts +1 -1
- package/dist/types/entity/EventHistory.js.map +1 -1
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/entity/Facility.d.ts +1 -1
- package/dist/types/entity/LineItems.d.ts +0 -3
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/MembershipMember.d.ts +0 -11
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/PackageV1.d.ts +0 -2
- package/dist/types/entity/PackageV1.js.map +1 -1
- package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
- package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/entity/index.d.ts +2 -0
- package/dist/types/entity/index.js +2 -0
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.js +0 -5
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
- package/dist/types/invoice/dto/invoice.dto.js +1 -5
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
- package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
- package/dist/types/invoice/types/interfaces/index.js +0 -1
- package/dist/types/invoice/types/interfaces/index.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
- package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
- package/dist/types/membership/index.d.ts +1 -2
- package/dist/types/membership/index.js +1 -2
- package/dist/types/membership/index.js.map +1 -1
- package/dist/types/membership/interfaces/index.d.ts +1 -0
- package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
- package/dist/types/membership/interfaces/index.js.map +1 -0
- package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
- package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
- package/dist/types/notifications/dto/index.d.ts +0 -1
- package/dist/types/notifications/dto/index.js +0 -1
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
- package/dist/types/notifications/index.d.ts +1 -0
- package/dist/types/notifications/index.js +1 -0
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/notifications/types/enums/index.js.map +1 -0
- package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
- package/dist/types/notifications/types/enums/notification.enums.js +41 -0
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/types/index.js.map +1 -0
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/interfaces/index.d.ts +0 -1
- package/dist/types/organization/interfaces/index.js +0 -1
- package/dist/types/organization/interfaces/index.js.map +1 -1
- package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
- package/dist/types/payment/dto/payment-method.dto.js +1 -4
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
- package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
- package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
- package/dist/types/payment/types/consts/payment.consts.js +1 -5
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
- package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
- package/dist/types/payment/types/enums/payment.enums.js +0 -2
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -16
- package/dist/types/pricing/dto/price.dto.d.ts +1 -3
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
- package/dist/types/pricing/entities/Price.d.ts +2 -3
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -2
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -2
- package/dist/types/programs/dto/program.dto.d.ts +2 -5
- package/dist/types/programs/dto/program.dto.js +1 -4
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/index.d.ts +0 -1
- package/dist/types/programs-seasons/dto/index.js +0 -1
- package/dist/types/programs-seasons/dto/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +0 -23
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +1 -10
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -5
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +0 -2
- package/dist/types/programs-seasons/types/index.js +0 -2
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +1 -18
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
- package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
- package/dist/types/reservations/dto/addon.dto.d.ts +8 -21
- package/dist/types/reservations/dto/addon.dto.js +2 -9
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +24 -171
- package/dist/types/reservations/dto/reservation.dto.js +7 -86
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.d.ts +4 -7
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +26 -106
- package/dist/types/reservations/dto/slot.dto.js +7 -25
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
- package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
- package/dist/types/reservations/entities/addon.entity.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +3 -10
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/consts/index.d.ts +0 -1
- package/dist/types/reservations/types/consts/index.js +0 -1
- package/dist/types/reservations/types/consts/index.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -12
- package/dist/types/reservations/types/consts/reservation.consts.js +1 -18
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
- package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/index.d.ts +0 -1
- package/dist/types/reservations/types/index.js +0 -1
- package/dist/types/reservations/types/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
- package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
- package/dist/types/reservations/types/interfaces/index.js +0 -2
- package/dist/types/reservations/types/interfaces/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +19 -160
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +24 -61
- package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +11 -23
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +0 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Instructor.d.ts +2 -2
- package/dist/types/resources/entities/Instructor.js.map +1 -1
- package/dist/types/resources/entities/Space.d.ts +1 -1
- package/dist/types/resources/entities/Space.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +0 -6
- package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
- package/dist/types/roles/dto/permission-group.dto.js +1 -8
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +12 -27
- package/dist/types/roles/dto/role.dto.js +5 -23
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/dist/types/roles/entities/Role.d.ts +2 -3
- package/dist/types/roles/entities/Role.js.map +1 -1
- package/dist/types/roles/entities/index.d.ts +0 -6
- package/dist/types/roles/entities/index.js +0 -10
- package/dist/types/roles/entities/index.js.map +1 -1
- package/dist/types/roles/types/index.d.ts +0 -1
- package/dist/types/roles/types/index.js +0 -1
- package/dist/types/roles/types/index.js.map +1 -1
- package/dist/types/roles/types/role.enums.d.ts +2 -13
- package/dist/types/roles/types/role.enums.js +1 -13
- package/dist/types/roles/types/role.enums.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +2 -27
- package/dist/types/services/enums.service.js +3 -32
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +3 -21
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/entities/User.d.ts +1 -3
- package/dist/types/user/entities/User.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +0 -15
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
- package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
- package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
- package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
- package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
- package/dist/types/webflow/index.d.ts +0 -2
- package/dist/types/webflow/index.js +0 -2
- package/dist/types/webflow/index.js.map +1 -1
- package/package.json +54 -54
- package/dist/types/accounting/entities/index.d.ts +0 -2
- package/dist/types/accounting/entities/index.js +0 -19
- package/dist/types/accounting/entities/index.js.map +0 -1
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
- package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
- package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
- package/dist/types/accounting/index.d.ts +0 -2
- package/dist/types/accounting/index.js +0 -19
- package/dist/types/accounting/index.js.map +0 -1
- package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
- package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
- package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
- package/dist/types/accounting/types/enums/index.d.ts +0 -1
- package/dist/types/accounting/types/enums/index.js +0 -18
- package/dist/types/accounting/types/enums/index.js.map +0 -1
- package/dist/types/accounting/types/index.js.map +0 -1
- package/dist/types/address/dto/address.dto.d.ts +0 -9
- package/dist/types/address/dto/address.dto.js +0 -7
- package/dist/types/address/dto/address.dto.js.map +0 -1
- package/dist/types/address/dto/index.d.ts +0 -1
- package/dist/types/address/dto/index.js.map +0 -1
- package/dist/types/address/entities/Address.js.map +0 -1
- package/dist/types/address/entities/index.d.ts +0 -1
- package/dist/types/address/entities/index.js +0 -18
- package/dist/types/address/entities/index.js.map +0 -1
- package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
- package/dist/types/cart/types/classes/cart.classes.js +0 -7
- package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
- package/dist/types/cart/types/classes/index.d.ts +0 -1
- package/dist/types/cart/types/classes/index.js +0 -18
- package/dist/types/cart/types/classes/index.js.map +0 -1
- package/dist/types/employees/types/consts/index.d.ts +0 -3
- package/dist/types/employees/types/consts/index.js +0 -25
- package/dist/types/employees/types/consts/index.js.map +0 -1
- package/dist/types/facilities/index.d.ts +0 -1
- package/dist/types/facilities/index.js +0 -18
- package/dist/types/facilities/index.js.map +0 -1
- package/dist/types/facilities/types/facilities.types.d.ts +0 -4
- package/dist/types/facilities/types/facilities.types.js +0 -3
- package/dist/types/facilities/types/facilities.types.js.map +0 -1
- package/dist/types/facilities/types/index.d.ts +0 -1
- package/dist/types/facilities/types/index.js +0 -18
- package/dist/types/facilities/types/index.js.map +0 -1
- package/dist/types/folders/dto/folder.dto.d.ts +0 -58
- package/dist/types/folders/dto/folder.dto.js +0 -34
- package/dist/types/folders/dto/folder.dto.js.map +0 -1
- package/dist/types/folders/dto/index.d.ts +0 -1
- package/dist/types/folders/dto/index.js +0 -18
- package/dist/types/folders/dto/index.js.map +0 -1
- package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
- package/dist/types/folders/entities/folder-content.entity.js +0 -14
- package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
- package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
- package/dist/types/folders/entities/folder.entity.d.ts +0 -21
- package/dist/types/folders/entities/folder.entity.js +0 -12
- package/dist/types/folders/entities/folder.entity.js.map +0 -1
- package/dist/types/folders/entities/index.d.ts +0 -3
- package/dist/types/folders/entities/index.js +0 -20
- package/dist/types/folders/entities/index.js.map +0 -1
- package/dist/types/folders/index.d.ts +0 -2
- package/dist/types/folders/index.js +0 -19
- package/dist/types/folders/index.js.map +0 -1
- package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
- package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
- package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
- package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
- package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
- package/dist/types/membership/dto/index.d.ts +0 -2
- package/dist/types/membership/dto/index.js +0 -19
- package/dist/types/membership/dto/index.js.map +0 -1
- package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
- package/dist/types/membership/dto/membershipMember.dto.js +0 -45
- package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
- package/dist/types/membership/types/index.d.ts +0 -5
- package/dist/types/membership/types/index.js +0 -22
- package/dist/types/membership/types/index.js.map +0 -1
- package/dist/types/membership/types/membership.interfaces.js.map +0 -1
- package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
- package/dist/types/membership/types/membership.member.classes.js +0 -7
- package/dist/types/membership/types/membership.member.classes.js.map +0 -1
- package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
- package/dist/types/membership/types/membership.member.consts.js +0 -8
- package/dist/types/membership/types/membership.member.consts.js.map +0 -1
- package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
- package/dist/types/membership/types/membership.members.interfaces.js +0 -3
- package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
- package/dist/types/membership/types/membership.members.types.d.ts +0 -4
- package/dist/types/membership/types/membership.members.types.js +0 -3
- package/dist/types/membership/types/membership.members.types.js.map +0 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
- package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
- package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/dto/types/index.d.ts +0 -1
- package/dist/types/notifications/dto/types/index.js +0 -18
- package/dist/types/notifications/dto/types/index.js.map +0 -1
- package/dist/types/online-rentals/index.d.ts +0 -1
- package/dist/types/online-rentals/index.js +0 -18
- package/dist/types/online-rentals/index.js.map +0 -1
- package/dist/types/online-rentals/types/index.d.ts +0 -2
- package/dist/types/online-rentals/types/index.js +0 -19
- package/dist/types/online-rentals/types/index.js.map +0 -1
- package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
- package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
- package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
- package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
- package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
- package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
- package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
- package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
- package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
- package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +0 -8
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +0 -7
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +0 -1
- package/dist/types/programs-seasons/types/classes/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/classes/index.js +0 -18
- package/dist/types/programs-seasons/types/classes/index.js.map +0 -1
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +0 -6
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +0 -7
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +0 -1
- package/dist/types/programs-seasons/types/enums/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/enums/index.js +0 -18
- package/dist/types/programs-seasons/types/enums/index.js.map +0 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +0 -17
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +0 -25
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +0 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -22
- package/dist/types/reservations/types/classes/addon.classes.js +0 -7
- package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/index.d.ts +0 -7
- package/dist/types/reservations/types/classes/index.js +0 -24
- package/dist/types/reservations/types/classes/index.js.map +0 -1
- package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
- package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
- package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
- package/dist/types/reservations/types/classes/product.classes.js +0 -10
- package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
- package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
- package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
- package/dist/types/reservations/types/classes/segment.classes.js +0 -10
- package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
- package/dist/types/reservations/types/classes/series.classes.js +0 -7
- package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
- package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
- package/dist/types/reservations/types/classes/slot.classes.js +0 -11
- package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
- package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
- package/dist/types/reservations/types/consts/slot.consts.js +0 -5
- package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
- package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
- package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
- package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
- package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
- package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
- package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
- package/dist/types/roles/types/role.consts.d.ts +0 -1
- package/dist/types/roles/types/role.consts.js +0 -6
- package/dist/types/roles/types/role.consts.js.map +0 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +0 -22
- package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/dto/index.d.ts +0 -2
- package/dist/types/session-participants/dto/index.js +0 -19
- package/dist/types/session-participants/dto/index.js.map +0 -1
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
- package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
- package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/index.d.ts +0 -2
- package/dist/types/session-participants/index.js +0 -19
- package/dist/types/session-participants/index.js.map +0 -1
- package/dist/types/session-participants/types/consts.d.ts +0 -3
- package/dist/types/session-participants/types/consts.js +0 -7
- package/dist/types/session-participants/types/consts.js.map +0 -1
- package/dist/types/session-participants/types/enums.d.ts +0 -17
- package/dist/types/session-participants/types/enums.js +0 -24
- package/dist/types/session-participants/types/enums.js.map +0 -1
- package/dist/types/session-participants/types/index.d.ts +0 -3
- package/dist/types/session-participants/types/index.js +0 -20
- package/dist/types/session-participants/types/index.js.map +0 -1
- package/dist/types/session-participants/types/interfaces.d.ts +0 -46
- package/dist/types/session-participants/types/interfaces.js +0 -3
- package/dist/types/session-participants/types/interfaces.js.map +0 -1
- package/dist/types/webflow/dto/index.d.ts +0 -1
- package/dist/types/webflow/dto/index.js +0 -18
- package/dist/types/webflow/dto/index.js.map +0 -1
- package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
- package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
- package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
- package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
- package/dist/types/webflow/entities/index.d.ts +0 -1
- package/dist/types/webflow/entities/index.js +0 -18
- package/dist/types/webflow/entities/index.js.map +0 -1
- /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
- /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
- /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -16,6 +16,7 @@ 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);
|
19
20
|
__exportStar(require("./BlockedDate"), exports);
|
20
21
|
__exportStar(require("./BondBaseEntity"), exports);
|
21
22
|
__exportStar(require("./BookingTypeSetting"), exports);
|
@@ -81,5 +82,6 @@ __exportStar(require("./UserInFamilyAccount"), exports);
|
|
81
82
|
__exportStar(require("./UsersInGroup"), exports);
|
82
83
|
__exportStar(require("./VariantTitles"), exports);
|
83
84
|
__exportStar(require("./Variants"), exports);
|
85
|
+
__exportStar(require("./WebflowOrganizationConfiguration"), exports);
|
84
86
|
__exportStar(require("./user-payment-method"), exports);
|
85
87
|
//# 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,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"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,4CAA0B;AAC1B,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,qEAAmD;AACnD,wDAAsC"}
|
@@ -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":";;;AAEA,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,4 +1,3 @@
|
|
1
|
-
export * from './accounting';
|
2
1
|
export * from './activities';
|
3
2
|
export * from './addons';
|
4
3
|
export * from './address';
|
@@ -9,10 +8,8 @@ export * from './dto';
|
|
9
8
|
export * from './employees';
|
10
9
|
export * from './entity';
|
11
10
|
export * from './errors';
|
12
|
-
export * from './facilities';
|
13
11
|
export * from './familyAccount';
|
14
12
|
export * from './fee';
|
15
|
-
export * from './folders';
|
16
13
|
export * from './future-installments';
|
17
14
|
export * from './gl-codes';
|
18
15
|
export * from './import';
|
@@ -25,7 +22,6 @@ export * from './membership';
|
|
25
22
|
export * from './monitor-config';
|
26
23
|
export * from './notes';
|
27
24
|
export * from './notifications';
|
28
|
-
export * from './online-rentals';
|
29
25
|
export * from './organization';
|
30
26
|
export * from './payment';
|
31
27
|
export * from './pricing';
|
@@ -40,7 +36,6 @@ export * from './resource-settings';
|
|
40
36
|
export * from './resources';
|
41
37
|
export * from './roles';
|
42
38
|
export * from './services';
|
43
|
-
export * from './session-participants';
|
44
39
|
export * from './shifts';
|
45
40
|
export * from './user';
|
46
41
|
export * from './user-activities';
|
package/dist/types/index.js
CHANGED
@@ -14,7 +14,6 @@ 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);
|
18
17
|
__exportStar(require("./activities"), exports);
|
19
18
|
__exportStar(require("./addons"), exports);
|
20
19
|
__exportStar(require("./address"), exports);
|
@@ -25,10 +24,8 @@ __exportStar(require("./dto"), exports);
|
|
25
24
|
__exportStar(require("./employees"), exports);
|
26
25
|
__exportStar(require("./entity"), exports);
|
27
26
|
__exportStar(require("./errors"), exports);
|
28
|
-
__exportStar(require("./facilities"), exports);
|
29
27
|
__exportStar(require("./familyAccount"), exports);
|
30
28
|
__exportStar(require("./fee"), exports);
|
31
|
-
__exportStar(require("./folders"), exports);
|
32
29
|
__exportStar(require("./future-installments"), exports);
|
33
30
|
__exportStar(require("./gl-codes"), exports);
|
34
31
|
__exportStar(require("./import"), exports);
|
@@ -41,7 +38,6 @@ __exportStar(require("./membership"), exports);
|
|
41
38
|
__exportStar(require("./monitor-config"), exports);
|
42
39
|
__exportStar(require("./notes"), exports);
|
43
40
|
__exportStar(require("./notifications"), exports);
|
44
|
-
__exportStar(require("./online-rentals"), exports);
|
45
41
|
__exportStar(require("./organization"), exports);
|
46
42
|
__exportStar(require("./payment"), exports);
|
47
43
|
__exportStar(require("./pricing"), exports);
|
@@ -56,7 +52,6 @@ __exportStar(require("./resource-settings"), exports);
|
|
56
52
|
__exportStar(require("./resources"), exports);
|
57
53
|
__exportStar(require("./roles"), exports);
|
58
54
|
__exportStar(require("./services"), exports);
|
59
|
-
__exportStar(require("./session-participants"), exports);
|
60
55
|
__exportStar(require("./shifts"), exports);
|
61
56
|
__exportStar(require("./user"), exports);
|
62
57
|
__exportStar(require("./user-activities"), 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
|
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"}
|
@@ -2,7 +2,6 @@ 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';
|
6
5
|
export declare class InvoiceDto {
|
7
6
|
invoiceId?: string;
|
8
7
|
organizationId: number;
|
@@ -32,21 +31,3 @@ export declare class InvoiceCartDto implements IInvoiceCart {
|
|
32
31
|
existingInvoiceToken?: string;
|
33
32
|
shiftId?: number;
|
34
33
|
}
|
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,7 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
3
|
+
exports.InvoiceCartDto = exports.UpdateInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.BaseInvoiceDto = exports.InvoiceDto = void 0;
|
5
4
|
class InvoiceDto {
|
6
5
|
}
|
7
6
|
exports.InvoiceDto = InvoiceDto;
|
@@ -17,7 +16,4 @@ exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
|
17
16
|
class InvoiceCartDto {
|
18
17
|
}
|
19
18
|
exports.InvoiceCartDto = InvoiceCartDto;
|
20
|
-
class SimpleInvoiceDto extends organization_dto_1.OrganizationBaseEntityDto {
|
21
|
-
}
|
22
|
-
exports.SimpleInvoiceDto = SimpleInvoiceDto;
|
23
19
|
//# 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":";;;AAKA,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"}
|
@@ -2,13 +2,3 @@ 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,18 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
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;
|
18
9
|
//# 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"}
|
@@ -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("./invoice.interfaces"), exports);
|
18
|
-
__exportStar(require("./line-item.interfaces"), exports);
|
19
18
|
//# 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"}
|
@@ -1,11 +1,9 @@
|
|
1
|
-
import { Cart } from '../../../cart/entities/cart.entity';
|
2
1
|
import { IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
3
2
|
import { Invoice } from '../../../entity/Invoice';
|
4
3
|
import { LineItems } from '../../../entity/LineItems';
|
5
4
|
import { UserPaymentMethod } from '../../../entity/user-payment-method';
|
6
5
|
import { PurchaseProductDto } from '../../../purchase/dto/purchase.dto';
|
7
6
|
import { ProductPricesDto } from '../../../reservations/dto/reservation.dto';
|
8
|
-
import { IOverrideProductsPricing } from '../../../reservations/types/interfaces/reservation.interfaces';
|
9
7
|
import { InvoiceStatusEnum } from '../../../services/enums.service';
|
10
8
|
import { InvoiceDto } from '../../dto/invoice.dto';
|
11
9
|
import { LineItemDto } from '../../dto/lineItem.dto';
|
@@ -28,8 +26,6 @@ export interface IInvoiceCart {
|
|
28
26
|
shiftId?: number;
|
29
27
|
invoiceStatus?: InvoiceStatusEnum;
|
30
28
|
parentInvoice?: Invoice;
|
31
|
-
existingCart?: Cart;
|
32
|
-
existingInvoice?: Invoice;
|
33
29
|
}
|
34
30
|
export interface IInvoiceCartOptions extends IValidateCartOptions {
|
35
31
|
purchasedProductMap?: Map<PurchaseProductDto, LineItems>;
|
@@ -50,7 +46,7 @@ export interface IOverrideLineItemPrice {
|
|
50
46
|
isLastLineItem?: boolean;
|
51
47
|
priceLeft?: number;
|
52
48
|
}
|
53
|
-
export declare class OverrideProductsPricingDto
|
49
|
+
export declare class OverrideProductsPricingDto {
|
54
50
|
[productInfo: string]: ProductPricesDto;
|
55
51
|
}
|
56
52
|
export interface IInvoiceReservationOptions {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"invoice.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/interfaces/invoice.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"invoice.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/interfaces/invoice.interfaces.ts"],"names":[],"mappings":";;;AA6DA,MAAa,0BAA0B;CAEtC;AAFD,gEAEC"}
|
@@ -3,8 +3,6 @@ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConne
|
|
3
3
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
4
4
|
import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
5
5
|
import { CancellationStatusEnum, MembershipStatusEnum } from '../../services/enums.service';
|
6
|
-
import { Reason } from '../../organization/entities/Reason';
|
7
|
-
import { TimeUnit } from '@bondsports/date-time';
|
8
6
|
export declare class MembershipMemberRenewal extends OrganizationConnectionBaseEntity {
|
9
7
|
userId: number;
|
10
8
|
startDate?: string;
|
@@ -20,13 +18,6 @@ export declare class MembershipMemberRenewal extends OrganizationConnectionBaseE
|
|
20
18
|
answerTitleIds?: number[];
|
21
19
|
paymentMethodId?: string;
|
22
20
|
paymentMethodType?: PaymentMethodTypeEnum;
|
23
|
-
pauseStartDate?: Date;
|
24
|
-
pauseEndDate?: Date;
|
25
|
-
pauseDurationType?: TimeUnit;
|
26
|
-
pauseDurationValue?: number;
|
27
|
-
pauseDescription?: string;
|
28
|
-
pauseReasonId?: number;
|
29
|
-
pauseReason?: Reason;
|
30
21
|
member?: MembershipMember;
|
31
22
|
productUser?: ProductsUsers;
|
32
23
|
membershipStatus?: MembershipStatusEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MembershipMemberRenewal.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/MembershipMemberRenewal.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
1
|
+
{"version":3,"file":"MembershipMemberRenewal.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/MembershipMemberRenewal.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,uBAAwB,SAAQ,mEAAgC;CAmC5E;AAnCD,0DAmCC"}
|
@@ -14,7 +14,6 @@ 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("./dto"), exports);
|
18
17
|
__exportStar(require("./entities"), exports);
|
19
|
-
__exportStar(require("./
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
20
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/membership/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/membership/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,+CAA6B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './membership.interfaces';
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./membership.interfaces"), exports);
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/membership/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
@@ -15,9 +15,6 @@ export interface IExpandedMembershipMemberData {
|
|
15
15
|
user: Partial<User>;
|
16
16
|
lineItem: Partial<LineItems>;
|
17
17
|
}
|
18
|
-
export interface IGetPauseOptions {
|
19
|
-
activeOnly?: boolean;
|
20
|
-
}
|
21
18
|
export interface IExpandedMembershipMemberRawData extends Partial<MembershipMember> {
|
22
19
|
membershipName: string;
|
23
20
|
invoiceId: number;
|
@@ -86,11 +83,6 @@ export interface IRawMembershipMemberWithMembership {
|
|
86
83
|
membership_isAutoRenew?: boolean;
|
87
84
|
invoice_id?: number;
|
88
85
|
}
|
89
|
-
export interface IMemberMailDetails {
|
90
|
-
id: number;
|
91
|
-
email: string;
|
92
|
-
fullName: string;
|
93
|
-
}
|
94
86
|
export interface IMembershipMemberAndRenewalRecord {
|
95
87
|
member: MembershipMember;
|
96
88
|
record?: MembershipMemberRenewal;
|
@@ -132,14 +124,3 @@ export interface IValidateMembershipRegistrationOptions {
|
|
132
124
|
skipRegistrationDates?: boolean;
|
133
125
|
membership?: Membership;
|
134
126
|
}
|
135
|
-
export interface ICancelCommonInfo {
|
136
|
-
isAutoRenew?: boolean;
|
137
|
-
cancelledAt: Date;
|
138
|
-
cancellationStatus: CancellationStatusEnum;
|
139
|
-
cancellationReason?: string;
|
140
|
-
endDate?: string;
|
141
|
-
}
|
142
|
-
export interface ICancelOptions {
|
143
|
-
isImmediateCancel: boolean;
|
144
|
-
cancellationReason?: string;
|
145
|
-
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"membership.interfaces.js","sourceRoot":"","sources":["../../../../src/types/membership/interfaces/membership.interfaces.ts"],"names":[],"mappings":""}
|
@@ -18,5 +18,4 @@ __exportStar(require("./backoffice.notify.dto"), exports);
|
|
18
18
|
__exportStar(require("./notification.blast.query.dto"), exports);
|
19
19
|
__exportStar(require("./notification.create.dto"), exports);
|
20
20
|
__exportStar(require("./notification.response.dto"), exports);
|
21
|
-
__exportStar(require("./types"), exports);
|
22
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iEAA+C;AAC/C,4DAA0C;AAC1C,8DAA4C
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iEAA+C;AAC/C,4DAA0C;AAC1C,8DAA4C"}
|
@@ -9,8 +9,8 @@
|
|
9
9
|
* ************************
|
10
10
|
* ************************
|
11
11
|
*/
|
12
|
-
import {
|
13
|
-
export declare class SenderDto
|
12
|
+
import { NotificationClassification, NotificationDeliveryChannel } from '../types/enums/notification.enums';
|
13
|
+
export declare class SenderDto {
|
14
14
|
static UNKNOWN_USER_ID: number;
|
15
15
|
userId: number;
|
16
16
|
organizationId?: number;
|
@@ -19,7 +19,7 @@ export declare class SenderDto implements ISenderDto {
|
|
19
19
|
fromDisplayName?: string;
|
20
20
|
constructor(userId: number, organizationId?: number, facilityId?: number, replyTo?: string, fromDisplayName?: string);
|
21
21
|
}
|
22
|
-
export declare class RecipientsDto
|
22
|
+
export declare class RecipientsDto {
|
23
23
|
to: string[];
|
24
24
|
cc?: string[];
|
25
25
|
bcc?: string[];
|
@@ -27,14 +27,14 @@ export declare class RecipientsDto implements IRecipientsDto {
|
|
27
27
|
static to(to?: string): RecipientsDto;
|
28
28
|
constructor(to?: string[], cc?: string[], bcc?: string[]);
|
29
29
|
}
|
30
|
-
export declare class ContentDto
|
30
|
+
export declare class ContentDto {
|
31
31
|
bodyText?: string;
|
32
|
-
bodyHtml
|
32
|
+
bodyHtml?: string;
|
33
33
|
subject?: string;
|
34
34
|
interpolationData?: Record<string, unknown>;
|
35
35
|
constructor(subject?: string, bodyHtml?: string, bodyText?: string);
|
36
36
|
}
|
37
|
-
export declare class NotificationCreateDto
|
37
|
+
export declare class NotificationCreateDto {
|
38
38
|
channel: NotificationDeliveryChannel;
|
39
39
|
classification?: NotificationClassification;
|
40
40
|
sender: SenderDto;
|
@@ -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 notification_enums_1 = require("../types/enums/notification.enums");
|
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 = notification_enums_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 = notification_enums_1.NotificationDeliveryChannel.EMAIL;
|
68
|
+
note.classification = notification_enums_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 = notification_enums_1.NotificationDeliveryChannel.EMAIL;
|
87
|
+
note.classification = notification_enums_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,0EAA4G;AAE5G,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,+CAA0B,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,gDAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,+CAA0B,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,gDAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,+CAA0B,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 {
|
9
|
-
export declare class SendErrorDto
|
8
|
+
import { SendErrorCode } from '../types/enums/notification.enums';
|
9
|
+
export declare class SendErrorDto {
|
10
10
|
error: SendErrorCode;
|
11
11
|
serviceCode?: number;
|
12
12
|
serviceReason?: string;
|
13
13
|
}
|
14
|
-
export declare class SendResultDto
|
14
|
+
export declare class SendResultDto {
|
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;;;AAIH,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"}
|
@@ -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("./dto"), exports);
|
18
|
+
__exportStar(require("./types"), exports);
|
18
19
|
//# 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;AACtB,0CAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/**************************
|
2
|
+
* ************************
|
3
|
+
* ************************
|
4
|
+
*
|
5
|
+
* COPIED FROM https://github.com/Bond-Sports/NotificationsService
|
6
|
+
*
|
7
|
+
*
|
8
|
+
* ************************
|
9
|
+
* ************************
|
10
|
+
*/
|
11
|
+
export declare enum NotificationDeliveryChannel {
|
12
|
+
EMAIL = "EMAIL",
|
13
|
+
SMS = "SMS"
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* Transactional communications do not need to provide opt-out (for email, at least).
|
17
|
+
* Commercial communications (aka marketing messages) must provide a one-click opt-out mechanism for email
|
18
|
+
*
|
19
|
+
* NB: We may not wish to trust TENENT emails when they self-classify as transactional.
|
20
|
+
*/
|
21
|
+
export declare enum NotificationClassification {
|
22
|
+
TRANSACTIONAL = "TRANSACTIONAL",
|
23
|
+
COMMERCIAL = "COMMERCIAL",
|
24
|
+
UNKNOWN = "UNKNOWN"
|
25
|
+
}
|
26
|
+
export declare enum SendErrorCode {
|
27
|
+
BAD_DELIVERY_CHANNEL = 400,
|
28
|
+
SENDGRID_ERROR = 401,
|
29
|
+
INTERNAL_ERROR = 500
|
30
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**************************
|
3
|
+
* ************************
|
4
|
+
* ************************
|
5
|
+
*
|
6
|
+
* COPIED FROM https://github.com/Bond-Sports/NotificationsService
|
7
|
+
*
|
8
|
+
*
|
9
|
+
* ************************
|
10
|
+
* ************************
|
11
|
+
*/
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
+
exports.SendErrorCode = exports.NotificationClassification = exports.NotificationDeliveryChannel = void 0;
|
14
|
+
var NotificationDeliveryChannel;
|
15
|
+
(function (NotificationDeliveryChannel) {
|
16
|
+
NotificationDeliveryChannel["EMAIL"] = "EMAIL";
|
17
|
+
// SMS is not yet implemented. Error will be returned if attempted.
|
18
|
+
NotificationDeliveryChannel["SMS"] = "SMS";
|
19
|
+
})(NotificationDeliveryChannel = exports.NotificationDeliveryChannel || (exports.NotificationDeliveryChannel = {}));
|
20
|
+
/**
|
21
|
+
* Transactional communications do not need to provide opt-out (for email, at least).
|
22
|
+
* Commercial communications (aka marketing messages) must provide a one-click opt-out mechanism for email
|
23
|
+
*
|
24
|
+
* NB: We may not wish to trust TENENT emails when they self-classify as transactional.
|
25
|
+
*/
|
26
|
+
var NotificationClassification;
|
27
|
+
(function (NotificationClassification) {
|
28
|
+
NotificationClassification["TRANSACTIONAL"] = "TRANSACTIONAL";
|
29
|
+
NotificationClassification["COMMERCIAL"] = "COMMERCIAL";
|
30
|
+
NotificationClassification["UNKNOWN"] = "UNKNOWN";
|
31
|
+
})(NotificationClassification = exports.NotificationClassification || (exports.NotificationClassification = {}));
|
32
|
+
// Internal error codes.
|
33
|
+
// NB: Specific errors (ie. from Sendgrid) will be logged and returned directly.
|
34
|
+
// We are not translating each, as they are quite granular, and prone to frequent updates by service providers.
|
35
|
+
var SendErrorCode;
|
36
|
+
(function (SendErrorCode) {
|
37
|
+
SendErrorCode[SendErrorCode["BAD_DELIVERY_CHANNEL"] = 400] = "BAD_DELIVERY_CHANNEL";
|
38
|
+
SendErrorCode[SendErrorCode["SENDGRID_ERROR"] = 401] = "SENDGRID_ERROR";
|
39
|
+
SendErrorCode[SendErrorCode["INTERNAL_ERROR"] = 500] = "INTERNAL_ERROR";
|
40
|
+
})(SendErrorCode = exports.SendErrorCode || (exports.SendErrorCode = {}));
|
41
|
+
//# sourceMappingURL=notification.enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/notification.enums.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACtC,8CAAe,CAAA;IACf,oEAAoE;IACpE,0CAAW,CAAA;AACZ,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC;AAED;;;;;GAKG;AACH,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACrC,6DAA+B,CAAA;IAC/B,uDAAyB,CAAA;IACzB,iDAAmB,CAAA;AACpB,CAAC,EAJW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAIrC;AAED,wBAAwB;AACxB,gFAAgF;AAChF,+GAA+G;AAC/G,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,mFAA0B,CAAA;IAC1B,uEAAoB,CAAA;IACpB,uEAAoB,CAAA;AACrB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Address } from '../../
|
1
|
+
import { Address } from '../../entity/Address';
|
2
2
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
3
3
|
import { ColorCode } from '../../entity/ColorCode';
|
4
4
|
import { Media } from '../../media/entities/Media';
|
@@ -16,5 +16,4 @@ 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);
|
20
19
|
//# sourceMappingURL=index.js.map
|