@bondsports/types 2.5.23 → 2.5.24-a-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/applications/dto/application.dto.d.ts +4 -0
- package/dist/types/applications/dto/application.dto.js +4 -1
- package/dist/types/applications/dto/application.dto.js.map +1 -1
- package/dist/types/attendance/dto/attendance.dto.d.ts +1 -0
- package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
- package/dist/types/booking-type-settings/index.d.ts +0 -1
- package/dist/types/booking-type-settings/index.js +0 -1
- package/dist/types/booking-type-settings/index.js.map +1 -1
- package/dist/types/cart/dto/cart-item-public.dto.d.ts +6 -5
- package/dist/types/cart/dto/cart-item-public.dto.js +5 -5
- package/dist/types/cart/dto/cart-item-public.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +4 -3
- package/dist/types/cart/dto/cart-item.dto.js +4 -3
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +33 -0
- package/dist/types/customers/dto/customer-find-import.dto.d.ts +0 -3
- package/dist/types/customers/dto/customer-find-import.dto.js +1 -4
- package/dist/types/customers/dto/customer-find-import.dto.js.map +1 -1
- package/dist/types/entitlement-group/types/enums.d.ts +2 -1
- package/dist/types/entitlement-group/types/enums.js +1 -0
- package/dist/types/entitlement-group/types/enums.js.map +1 -1
- package/dist/types/events/dto/events.dto.d.ts +1 -7
- package/dist/types/events/dto/events.dto.js +1 -7
- package/dist/types/events/dto/events.dto.js.map +1 -1
- package/dist/types/external-validation/dto/external-validation-customer.dto.d.ts +16 -0
- package/dist/types/external-validation/dto/external-validation-customer.dto.js +14 -0
- package/dist/types/external-validation/dto/external-validation-customer.dto.js.map +1 -0
- package/dist/types/external-validation/dto/external-validation-provider.dto.d.ts +28 -0
- package/dist/types/external-validation/dto/external-validation-provider.dto.js +23 -0
- package/dist/types/external-validation/dto/external-validation-provider.dto.js.map +1 -0
- package/dist/types/external-validation/dto/index.d.ts +2 -0
- package/dist/types/{team/types/enums → external-validation/dto}/index.js +2 -1
- package/dist/types/external-validation/dto/index.js.map +1 -0
- package/dist/types/external-validation/entities/external-validation-provider.entity.d.ts +14 -0
- package/dist/types/external-validation/entities/external-validation-provider.entity.js +11 -0
- package/dist/types/external-validation/entities/external-validation-provider.entity.js.map +1 -0
- package/dist/types/external-validation/entities/external-validation.entity.d.ts +17 -0
- package/dist/types/external-validation/entities/external-validation.entity.js +11 -0
- package/dist/types/external-validation/entities/external-validation.entity.js.map +1 -0
- package/dist/types/external-validation/entities/index.d.ts +2 -0
- package/dist/types/{booking-type-settings/dto → external-validation/entities}/index.js +2 -1
- package/dist/types/external-validation/entities/index.js.map +1 -0
- package/dist/types/{team → external-validation}/index.d.ts +1 -0
- package/dist/types/{team → external-validation}/index.js +1 -0
- package/dist/types/external-validation/index.js.map +1 -0
- package/dist/types/external-validation/types/consts.d.ts +16 -0
- package/dist/types/external-validation/types/consts.js +20 -0
- package/dist/types/external-validation/types/consts.js.map +1 -0
- package/dist/types/external-validation/types/enums.d.ts +37 -0
- package/dist/types/external-validation/types/enums.js +45 -0
- package/dist/types/external-validation/types/enums.js.map +1 -0
- package/dist/types/external-validation/types/index.d.ts +3 -0
- package/dist/types/{team → external-validation}/types/index.js +2 -0
- package/dist/types/external-validation/types/index.js.map +1 -0
- package/dist/types/external-validation/types/interfaces.d.ts +109 -0
- package/dist/types/external-validation/types/interfaces.js +3 -0
- package/dist/types/external-validation/types/interfaces.js.map +1 -0
- package/dist/types/facilities/dto/facilities.dto.d.ts +6 -0
- package/dist/types/facilities/dto/facilities.dto.js +4 -1
- package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
- package/dist/types/facilities/dto/public-facilities.dto.d.ts +9 -0
- package/dist/types/facilities/dto/public-facilities.dto.js +12 -1
- package/dist/types/facilities/dto/public-facilities.dto.js.map +1 -1
- package/dist/types/group-divisions/dto/groups-divisions.dto.d.ts +0 -87
- package/dist/types/group-divisions/dto/groups-divisions.dto.js +1 -46
- package/dist/types/group-divisions/dto/groups-divisions.dto.js.map +1 -1
- package/dist/types/group-divisions/entities/index.d.ts +0 -3
- package/dist/types/group-divisions/entities/index.js +0 -3
- package/dist/types/group-divisions/entities/index.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/index.d.ts +1 -0
- package/dist/types/invoice/dto/index.js +1 -0
- package/dist/types/invoice/dto/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice-pdf.dto.d.ts +6 -1
- package/dist/types/invoice/dto/invoice-pdf.dto.js +4 -1
- package/dist/types/invoice/dto/invoice-pdf.dto.js.map +1 -1
- package/dist/types/invoice/dto/invoice-settings.dto.d.ts +15 -0
- package/dist/types/invoice/dto/invoice-settings.dto.js +18 -0
- package/dist/types/invoice/dto/invoice-settings.dto.js.map +1 -0
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +12 -4
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/league/index.d.ts +0 -1
- package/dist/types/league/index.js +0 -1
- package/dist/types/league/index.js.map +1 -1
- package/dist/types/leagues-scheduler/types/interfaces.d.ts +1 -0
- package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
- package/dist/types/membership/dto/membership.dto.d.ts +0 -1
- package/dist/types/membership/dto/membership.dto.js.map +1 -1
- package/dist/types/membership/dto/public-membership.dto.d.ts +2 -0
- package/dist/types/membership/dto/public-membership.dto.js.map +1 -1
- package/dist/types/membership/entities/membership.entity.d.ts +8 -1
- package/dist/types/membership/entities/membership.entity.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +2 -1
- package/dist/types/payment/dto/payment.dto.d.ts +0 -4
- package/dist/types/payment/dto/payment.dto.js +1 -4
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/index.d.ts +0 -1
- package/dist/types/payment/entities/index.js +0 -1
- package/dist/types/payment/entities/index.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +1 -8
- package/dist/types/pricing/dto/pricing.dto.js +1 -4
- package/dist/types/pricing/dto/pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +1 -0
- package/dist/types/product-pricing/dto/index.js +1 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +5 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -16
- package/dist/types/product-pricing/dto/product-pricing.dto.js +1 -16
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-variants.dto.d.ts +0 -5
- package/dist/types/product-pricing/dto/product-variants.dto.js +1 -4
- package/dist/types/product-pricing/dto/product-variants.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +0 -12
- package/dist/types/product-pricing/dto/product.dto.js +1 -7
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/program-session-addon.dto.d.ts +23 -0
- package/dist/types/product-pricing/dto/program-session-addon.dto.js +11 -0
- package/dist/types/product-pricing/dto/program-session-addon.dto.js.map +1 -0
- package/dist/types/product-pricing/dto/public-product.dto.d.ts +1 -0
- package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +3 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-pricing.consts.d.ts +4 -1
- package/dist/types/product-pricing/types/consts/product-pricing.consts.js +12 -1
- package/dist/types/product-pricing/types/consts/product-pricing.consts.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.js +2 -0
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/index.d.ts +2 -0
- package/dist/types/product-pricing/types/interfaces/index.js +2 -0
- package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-addons.interfaces.d.ts +18 -0
- package/dist/types/product-pricing/types/interfaces/product-addons.interfaces.js +3 -0
- package/dist/types/product-pricing/types/interfaces/product-addons.interfaces.js.map +1 -0
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +4 -0
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +8 -9
- package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.d.ts +11 -0
- package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.js +3 -0
- package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.js.map +1 -0
- package/dist/types/product-resources/types/interfaces/product-resource.interfaces.d.ts +12 -0
- package/dist/types/program-portals/types/consts/program-portals.consts.d.ts +1 -0
- package/dist/types/program-portals/types/consts/program-portals.consts.js +3 -1
- package/dist/types/program-portals/types/consts/program-portals.consts.js.map +1 -1
- package/dist/types/program-portals/types/dto/program-portals.dto.d.ts +4 -0
- package/dist/types/program-portals/types/dto/program-portals.dto.js +4 -1
- package/dist/types/program-portals/types/dto/program-portals.dto.js.map +1 -1
- package/dist/types/program-portals/types/dto/public-program-portals.dto.d.ts +13 -1
- package/dist/types/program-portals/types/dto/public-program-portals.dto.js +7 -1
- package/dist/types/program-portals/types/dto/public-program-portals.dto.js.map +1 -1
- package/dist/types/program-portals/types/enums/program-portals.enums.d.ts +1 -0
- package/dist/types/program-portals/types/enums/program-portals.enums.js +1 -0
- package/dist/types/program-portals/types/enums/program-portals.enums.js.map +1 -1
- package/dist/types/program-portals/types/interfaces/program-portals.interfaces.d.ts +1 -0
- package/dist/types/programs/dto/index.d.ts +1 -0
- package/dist/types/programs/dto/index.js +1 -0
- package/dist/types/programs/dto/index.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +1 -0
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/dto/session-addons-public.dto.d.ts +8 -0
- package/dist/types/programs/dto/session-addons-public.dto.js +16 -0
- package/dist/types/programs/dto/session-addons-public.dto.js.map +1 -0
- package/dist/types/programs/entities/program.entity.d.ts +2 -0
- package/dist/types/programs/entities/program.entity.js.map +1 -1
- package/dist/types/programs/types/consts/program.consts.d.ts +5 -0
- package/dist/types/programs/types/consts/program.consts.js +15 -1
- package/dist/types/programs/types/consts/program.consts.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-segment.dto.d.ts +1 -0
- package/dist/types/programs-seasons/dto/program-segment.dto.js +1 -1
- package/dist/types/programs-seasons/dto/program-segment.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +5 -13
- package/dist/types/programs-seasons/dto/program-session.dto.js +1 -10
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/program-season-history.entity.d.ts +3 -0
- package/dist/types/programs-seasons/entities/program-season-history.entity.js.map +1 -1
- package/dist/types/programs-seasons/entities/program-season.entity.d.ts +4 -0
- package/dist/types/programs-seasons/entities/program-season.entity.js +1 -1
- package/dist/types/programs-seasons/entities/program-season.entity.js.map +1 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +2 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +1 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +9 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -5
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +2 -0
- package/dist/types/questionnaires/entities/answer-title.entity.d.ts +8 -0
- package/dist/types/questionnaires/entities/answer-title.entity.js.map +1 -1
- package/dist/types/registration/dto/registration.dto.d.ts +0 -17
- package/dist/types/registration/dto/registration.dto.js +1 -10
- package/dist/types/registration/dto/registration.dto.js.map +1 -1
- package/dist/types/registration/entities/purchased-resource.entity.d.ts +0 -4
- package/dist/types/registration/entities/purchased-resource.entity.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +1 -5
- package/dist/types/reservations/dto/reservation.dto.js +2 -5
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +0 -7
- package/dist/types/reservations/dto/slot.dto.js +1 -7
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/resource-settings/types/enums/resource-settings.enums.d.ts +2 -1
- package/dist/types/resource-settings/types/enums/resource-settings.enums.js +1 -0
- package/dist/types/resource-settings/types/enums/resource-settings.enums.js.map +1 -1
- package/dist/types/resources/types/enums/resources.enums.d.ts +2 -1
- package/dist/types/resources/types/enums/resources.enums.js +1 -0
- package/dist/types/resources/types/enums/resources.enums.js.map +1 -1
- package/dist/types/standings-integration/types/consts/roster-rollover.consts.d.ts +1 -1
- package/dist/types/standings-integration/types/consts/roster-rollover.consts.js +1 -1
- package/dist/types/taxes/dto/default-tax.dto.d.ts +9 -1
- package/dist/types/taxes/dto/default-tax.dto.js +7 -1
- package/dist/types/taxes/dto/default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.d.ts +11 -5
- package/dist/types/taxes/dto/organization-default-tax.dto.js +4 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/pagination.dto.d.ts +3 -0
- package/dist/types/taxes/dto/pagination.dto.js.map +1 -1
- package/dist/types/taxes/dto/tax.dto.d.ts +7 -0
- package/dist/types/taxes/dto/tax.dto.js.map +1 -1
- package/dist/types/taxes/entities/default-tax.entity.d.ts +5 -3
- package/dist/types/taxes/entities/default-tax.entity.js +2 -2
- package/dist/types/taxes/entities/default-tax.entity.js.map +1 -1
- package/dist/types/taxes/entities/index.d.ts +1 -0
- package/dist/types/taxes/entities/index.js +1 -0
- package/dist/types/taxes/entities/index.js.map +1 -1
- package/dist/types/taxes/entities/tax-to-facility.entity.d.ts +10 -0
- package/dist/types/taxes/entities/tax-to-facility.entity.js +8 -0
- package/dist/types/taxes/entities/tax-to-facility.entity.js.map +1 -0
- package/dist/types/taxes/entities/tax.entity.d.ts +3 -1
- package/dist/types/taxes/entities/tax.entity.js.map +1 -1
- package/dist/types/taxes/types/default-tax.classes.d.ts +17 -10
- package/dist/types/taxes/types/default-tax.classes.js +4 -1
- package/dist/types/taxes/types/default-tax.classes.js.map +1 -1
- package/dist/types/taxes/types/tax.interfaces.d.ts +37 -0
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +2 -0
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/dist/types/waitlist/types/waitlist-notifications.interfaces.d.ts +2 -2
- package/package.json +2 -2
- package/dist/types/booking-type-settings/dto/booking-type-setting.dto.d.ts +0 -7
- package/dist/types/booking-type-settings/dto/booking-type-setting.dto.js +0 -7
- package/dist/types/booking-type-settings/dto/booking-type-setting.dto.js.map +0 -1
- package/dist/types/booking-type-settings/dto/index.d.ts +0 -1
- package/dist/types/booking-type-settings/dto/index.js.map +0 -1
- package/dist/types/group-divisions/entities/team-invite.entity.d.ts +0 -10
- package/dist/types/group-divisions/entities/team-invite.entity.js +0 -8
- package/dist/types/group-divisions/entities/team-invite.entity.js.map +0 -1
- package/dist/types/group-divisions/entities/team-member.entity.d.ts +0 -15
- package/dist/types/group-divisions/entities/team-member.entity.js +0 -8
- package/dist/types/group-divisions/entities/team-member.entity.js.map +0 -1
- package/dist/types/group-divisions/entities/users-in-group.entity.d.ts +0 -6
- package/dist/types/group-divisions/entities/users-in-group.entity.js +0 -8
- package/dist/types/group-divisions/entities/users-in-group.entity.js.map +0 -1
- package/dist/types/league/entities/game-slots.entity.d.ts +0 -5
- package/dist/types/league/entities/game-slots.entity.js +0 -8
- package/dist/types/league/entities/game-slots.entity.js.map +0 -1
- package/dist/types/league/entities/index.d.ts +0 -7
- package/dist/types/league/entities/index.js +0 -24
- package/dist/types/league/entities/index.js.map +0 -1
- package/dist/types/league/entities/league.entity.d.ts +0 -30
- package/dist/types/league/entities/league.entity.js +0 -8
- package/dist/types/league/entities/league.entity.js.map +0 -1
- package/dist/types/league/entities/match-participants.entity.d.ts +0 -10
- package/dist/types/league/entities/match-participants.entity.js +0 -8
- package/dist/types/league/entities/match-participants.entity.js.map +0 -1
- package/dist/types/league/entities/matches.entity.d.ts +0 -6
- package/dist/types/league/entities/matches.entity.js +0 -8
- package/dist/types/league/entities/matches.entity.js.map +0 -1
- package/dist/types/league/entities/round-events.entity.d.ts +0 -8
- package/dist/types/league/entities/round-events.entity.js +0 -8
- package/dist/types/league/entities/round-events.entity.js.map +0 -1
- package/dist/types/league/entities/season-rounds.entity.d.ts +0 -7
- package/dist/types/league/entities/season-rounds.entity.js +0 -8
- package/dist/types/league/entities/season-rounds.entity.js.map +0 -1
- package/dist/types/league/entities/team-events.entity.d.ts +0 -6
- package/dist/types/league/entities/team-events.entity.js +0 -8
- package/dist/types/league/entities/team-events.entity.js.map +0 -1
- package/dist/types/payment/entities/payment-v1.entity.d.ts +0 -19
- package/dist/types/payment/entities/payment-v1.entity.js +0 -8
- package/dist/types/payment/entities/payment-v1.entity.js.map +0 -1
- package/dist/types/team/entities/connection.entity.d.ts +0 -13
- package/dist/types/team/entities/connection.entity.js +0 -8
- package/dist/types/team/entities/connection.entity.js.map +0 -1
- package/dist/types/team/entities/index.d.ts +0 -5
- package/dist/types/team/entities/index.js +0 -22
- package/dist/types/team/entities/index.js.map +0 -1
- package/dist/types/team/entities/league-season.entity.d.ts +0 -51
- package/dist/types/team/entities/league-season.entity.js +0 -15
- package/dist/types/team/entities/league-season.entity.js.map +0 -1
- package/dist/types/team/entities/season-pool.entity.d.ts +0 -22
- package/dist/types/team/entities/season-pool.entity.js +0 -8
- package/dist/types/team/entities/season-pool.entity.js.map +0 -1
- package/dist/types/team/entities/season-team.entity.d.ts +0 -12
- package/dist/types/team/entities/season-team.entity.js +0 -8
- package/dist/types/team/entities/season-team.entity.js.map +0 -1
- package/dist/types/team/entities/team.entity.d.ts +0 -37
- package/dist/types/team/entities/team.entity.js +0 -8
- package/dist/types/team/entities/team.entity.js.map +0 -1
- package/dist/types/team/index.js.map +0 -1
- package/dist/types/team/types/enums/index.d.ts +0 -1
- package/dist/types/team/types/enums/index.js.map +0 -1
- package/dist/types/team/types/enums/team.enums.d.ts +0 -16
- package/dist/types/team/types/enums/team.enums.js +0 -23
- package/dist/types/team/types/enums/team.enums.js.map +0 -1
- package/dist/types/team/types/index.d.ts +0 -1
- package/dist/types/team/types/index.js.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External system that verifies an external ID.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ExternalValidationProviderTypeEnum {
|
|
5
|
+
EXERP = "exerp"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Outcome stored on an external validation row.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum ExternalValidationStatusEnum {
|
|
11
|
+
VALID = "valid",
|
|
12
|
+
INVALID = "invalid"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Why the provider declined an external ID, when the customer can be told.
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ExternalValidationInvalidReasonEnum {
|
|
18
|
+
NOT_FOUND = "notFound",
|
|
19
|
+
EXPIRED = "expired"
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* What a purchase re-check found for one attendee and provider.
|
|
23
|
+
*/
|
|
24
|
+
export declare enum ExternalValidationRecheckOutcomeEnum {
|
|
25
|
+
/**
|
|
26
|
+
* The provider confirmed the membership now, or could not answer for one confirmed within the validity window.
|
|
27
|
+
*/
|
|
28
|
+
ACTIVE = "active",
|
|
29
|
+
/**
|
|
30
|
+
* No valid membership is stored, or the provider declined it now.
|
|
31
|
+
*/
|
|
32
|
+
NOT_ACTIVE = "notActive",
|
|
33
|
+
/**
|
|
34
|
+
* The provider could not answer, and the membership was last confirmed before the validity window.
|
|
35
|
+
*/
|
|
36
|
+
UNAVAILABLE = "unavailable"
|
|
37
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalValidationRecheckOutcomeEnum = exports.ExternalValidationInvalidReasonEnum = exports.ExternalValidationStatusEnum = exports.ExternalValidationProviderTypeEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* External system that verifies an external ID.
|
|
6
|
+
*/
|
|
7
|
+
var ExternalValidationProviderTypeEnum;
|
|
8
|
+
(function (ExternalValidationProviderTypeEnum) {
|
|
9
|
+
ExternalValidationProviderTypeEnum["EXERP"] = "exerp";
|
|
10
|
+
})(ExternalValidationProviderTypeEnum = exports.ExternalValidationProviderTypeEnum || (exports.ExternalValidationProviderTypeEnum = {}));
|
|
11
|
+
/**
|
|
12
|
+
* Outcome stored on an external validation row.
|
|
13
|
+
*/
|
|
14
|
+
var ExternalValidationStatusEnum;
|
|
15
|
+
(function (ExternalValidationStatusEnum) {
|
|
16
|
+
ExternalValidationStatusEnum["VALID"] = "valid";
|
|
17
|
+
ExternalValidationStatusEnum["INVALID"] = "invalid";
|
|
18
|
+
})(ExternalValidationStatusEnum = exports.ExternalValidationStatusEnum || (exports.ExternalValidationStatusEnum = {}));
|
|
19
|
+
/**
|
|
20
|
+
* Why the provider declined an external ID, when the customer can be told.
|
|
21
|
+
*/
|
|
22
|
+
var ExternalValidationInvalidReasonEnum;
|
|
23
|
+
(function (ExternalValidationInvalidReasonEnum) {
|
|
24
|
+
ExternalValidationInvalidReasonEnum["NOT_FOUND"] = "notFound";
|
|
25
|
+
ExternalValidationInvalidReasonEnum["EXPIRED"] = "expired";
|
|
26
|
+
})(ExternalValidationInvalidReasonEnum = exports.ExternalValidationInvalidReasonEnum || (exports.ExternalValidationInvalidReasonEnum = {}));
|
|
27
|
+
/**
|
|
28
|
+
* What a purchase re-check found for one attendee and provider.
|
|
29
|
+
*/
|
|
30
|
+
var ExternalValidationRecheckOutcomeEnum;
|
|
31
|
+
(function (ExternalValidationRecheckOutcomeEnum) {
|
|
32
|
+
/**
|
|
33
|
+
* The provider confirmed the membership now, or could not answer for one confirmed within the validity window.
|
|
34
|
+
*/
|
|
35
|
+
ExternalValidationRecheckOutcomeEnum["ACTIVE"] = "active";
|
|
36
|
+
/**
|
|
37
|
+
* No valid membership is stored, or the provider declined it now.
|
|
38
|
+
*/
|
|
39
|
+
ExternalValidationRecheckOutcomeEnum["NOT_ACTIVE"] = "notActive";
|
|
40
|
+
/**
|
|
41
|
+
* The provider could not answer, and the membership was last confirmed before the validity window.
|
|
42
|
+
*/
|
|
43
|
+
ExternalValidationRecheckOutcomeEnum["UNAVAILABLE"] = "unavailable";
|
|
44
|
+
})(ExternalValidationRecheckOutcomeEnum = exports.ExternalValidationRecheckOutcomeEnum || (exports.ExternalValidationRecheckOutcomeEnum = {}));
|
|
45
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/external-validation/types/enums.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,kCAEX;AAFD,WAAY,kCAAkC;IAC7C,qDAAe,CAAA;AAChB,CAAC,EAFW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAE7C;AAED;;GAEG;AACH,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACvC,+CAAe,CAAA;IACf,mDAAmB,CAAA;AACpB,CAAC,EAHW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAGvC;AAED;;GAEG;AACH,IAAY,mCAGX;AAHD,WAAY,mCAAmC;IAC9C,6DAAsB,CAAA;IACtB,0DAAmB,CAAA;AACpB,CAAC,EAHW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAG9C;AAED;;GAEG;AACH,IAAY,oCAaX;AAbD,WAAY,oCAAoC;IAC/C;;OAEG;IACH,yDAAiB,CAAA;IACjB;;OAEG;IACH,gEAAwB,CAAA;IACxB;;OAEG;IACH,mEAA2B,CAAA;AAC5B,CAAC,EAbW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAa/C"}
|
|
@@ -14,5 +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);
|
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/external-validation/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { ActivityEnum } from '../../activities/types/activities.enums';
|
|
2
|
+
import { ExternalValidation } from '../entities/external-validation.entity';
|
|
3
|
+
import { ExternalValidationProvider } from '../entities/external-validation-provider.entity';
|
|
4
|
+
import { ExternalValidationInvalidReasonEnum, ExternalValidationProviderTypeEnum, ExternalValidationStatusEnum } from './enums';
|
|
5
|
+
/**
|
|
6
|
+
* Input of ExternalValidationServiceWorker.submit.
|
|
7
|
+
*/
|
|
8
|
+
export interface ISubmitExternalValidationParams {
|
|
9
|
+
organizationId: number;
|
|
10
|
+
userId: number;
|
|
11
|
+
providerId: number;
|
|
12
|
+
externalId: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Account settings of an Exerp provider.
|
|
16
|
+
*/
|
|
17
|
+
export interface IExerpProviderConfig {
|
|
18
|
+
/**
|
|
19
|
+
* Origin of the club's Exerp API, https on `*.exerp.com`.
|
|
20
|
+
*/
|
|
21
|
+
baseUrl: string;
|
|
22
|
+
/**
|
|
23
|
+
* Global ids of the Exerp products whose ACTIVE subscription qualifies. Absent means any ACTIVE subscription.
|
|
24
|
+
*/
|
|
25
|
+
qualifyingProductGlobalIds?: string[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output of ExternalValidationServiceWorker.submit: the stored validation and why the provider declined it, if known.
|
|
29
|
+
*/
|
|
30
|
+
export interface ISubmittedExternalValidation {
|
|
31
|
+
validation: ExternalValidation;
|
|
32
|
+
invalidReason?: ExternalValidationInvalidReasonEnum;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The id and name of a provider, as a group read shows it.
|
|
36
|
+
*/
|
|
37
|
+
export type TExternalValidationProviderName = Pick<ExternalValidationProvider, 'id' | 'name'>;
|
|
38
|
+
export interface ICreateExternalValidationProvider {
|
|
39
|
+
name: string;
|
|
40
|
+
providerType: ExternalValidationProviderTypeEnum;
|
|
41
|
+
status?: ActivityEnum;
|
|
42
|
+
config?: IExerpProviderConfig | null;
|
|
43
|
+
}
|
|
44
|
+
export type TUpdateExternalValidationProvider = Partial<Omit<ICreateExternalValidationProvider, 'providerType'>>;
|
|
45
|
+
/**
|
|
46
|
+
* Input of ExternalValidationProviderServiceWorker.updateProvider.
|
|
47
|
+
*/
|
|
48
|
+
export interface IUpdateProviderParams {
|
|
49
|
+
organizationId: number;
|
|
50
|
+
providerId: number;
|
|
51
|
+
data: TUpdateExternalValidationProvider;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* External ID and the identity of the Bond user it is checked against.
|
|
55
|
+
*/
|
|
56
|
+
export interface IExternalValidationVerifyInput {
|
|
57
|
+
externalId: string;
|
|
58
|
+
lastName?: string | null;
|
|
59
|
+
birthDate?: Date | string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A provider's answer, with the reason when it declined an ID for a reason the customer can be told.
|
|
63
|
+
*/
|
|
64
|
+
export interface IExternalValidationAnswer {
|
|
65
|
+
status: ExternalValidationStatusEnum;
|
|
66
|
+
invalidReason?: ExternalValidationInvalidReasonEnum;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Verifies external IDs against one provider type.
|
|
70
|
+
*/
|
|
71
|
+
export interface IExternalValidationAdapter {
|
|
72
|
+
/**
|
|
73
|
+
* Asks the provider whether the external ID is an active member matching the attendee's identity.
|
|
74
|
+
*/
|
|
75
|
+
verify(input: IExternalValidationVerifyInput, provider: ExternalValidationProvider): Promise<IExternalValidationAnswer>;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Adapters keyed by the provider type they serve.
|
|
79
|
+
*/
|
|
80
|
+
export type TExternalValidationAdapterMap = Partial<Record<ExternalValidationProviderTypeEnum, IExternalValidationAdapter>>;
|
|
81
|
+
/**
|
|
82
|
+
* One attendee and one provider: the discount's organization, the attendee user and the provider.
|
|
83
|
+
*/
|
|
84
|
+
export interface IExternalValidationPurchasePair {
|
|
85
|
+
organizationId: number;
|
|
86
|
+
userId: number;
|
|
87
|
+
providerId: number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* One cart line of a purchase re-check: the line and the attendee and provider pairs its group's terms name.
|
|
91
|
+
*/
|
|
92
|
+
export interface IExternalValidationPurchaseLine {
|
|
93
|
+
cartItemId: number;
|
|
94
|
+
pairs: IExternalValidationPurchasePair[];
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The cart lines a purchase re-check could not confirm.
|
|
98
|
+
*/
|
|
99
|
+
export interface IExternalValidationRecheckResult {
|
|
100
|
+
cartItemIds: number[];
|
|
101
|
+
/**
|
|
102
|
+
* The providers named by those lines.
|
|
103
|
+
*/
|
|
104
|
+
providerIds: number[];
|
|
105
|
+
/**
|
|
106
|
+
* True when a line that failed has a pair the provider could not answer.
|
|
107
|
+
*/
|
|
108
|
+
isUnavailable: boolean;
|
|
109
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/external-validation/types/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
2
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
3
|
+
import { InvoiceSettingsDto } from '../../invoice/dto/invoice-settings.dto';
|
|
3
4
|
import { SimpleMediaDto } from '../../media/dto/media-public.dto';
|
|
4
5
|
import { MediaTypesEnum } from '../../media/types/media.enums';
|
|
5
6
|
import { OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
@@ -26,6 +27,9 @@ export declare class CreateFacilityDto {
|
|
|
26
27
|
openingTimes: OpeningTimeDto[];
|
|
27
28
|
resourcesIds?: number[];
|
|
28
29
|
}
|
|
30
|
+
export declare class FacilitySettingsDto {
|
|
31
|
+
invoiceSettings?: InvoiceSettingsDto | null;
|
|
32
|
+
}
|
|
29
33
|
export declare class FacilityDto {
|
|
30
34
|
id: number;
|
|
31
35
|
organizationId: number;
|
|
@@ -57,6 +61,7 @@ export declare class FacilityDto {
|
|
|
57
61
|
tipConfigId?: number;
|
|
58
62
|
stripeConfigurationId?: string;
|
|
59
63
|
questionnaireId?: number;
|
|
64
|
+
settings?: FacilitySettingsDto;
|
|
60
65
|
}
|
|
61
66
|
export declare class UpdateFacilityDetailsDto {
|
|
62
67
|
name?: string;
|
|
@@ -66,6 +71,7 @@ export declare class UpdateFacilityDetailsDto {
|
|
|
66
71
|
longDescription?: string;
|
|
67
72
|
info?: string;
|
|
68
73
|
address?: AddressDto;
|
|
74
|
+
settings?: FacilitySettingsDto | null;
|
|
69
75
|
}
|
|
70
76
|
export declare class UpdateFacilityOpeningTimesDto {
|
|
71
77
|
openingTimes: OpeningTimeDto[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleFacilityDto = exports.BasicFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityMainMediaDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.OptionalFacilityIdDto = void 0;
|
|
3
|
+
exports.SimpleFacilityDto = exports.BasicFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityMainMediaDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.FacilitySettingsDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.OptionalFacilityIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
6
6
|
class OptionalFacilityIdDto extends organization_dto_1.OptionalOrganizationIdDto {
|
|
@@ -12,6 +12,9 @@ exports.OpeningTimeDto = OpeningTimeDto;
|
|
|
12
12
|
class CreateFacilityDto {
|
|
13
13
|
}
|
|
14
14
|
exports.CreateFacilityDto = CreateFacilityDto;
|
|
15
|
+
class FacilitySettingsDto {
|
|
16
|
+
}
|
|
17
|
+
exports.FacilitySettingsDto = FacilitySettingsDto;
|
|
15
18
|
class FacilityDto {
|
|
16
19
|
}
|
|
17
20
|
exports.FacilityDto = FacilityDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;
|
|
1
|
+
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;AAItE,8EAAoF;AAIpF,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,WAAW;CA8DvB;AA9DD,kCA8DC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAMlD;AAND,8CAMC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PaginationQuery } from '../../dto/general.dto';
|
|
1
2
|
import { SimpleMediaDto } from '../../media/dto/media-public.dto';
|
|
2
3
|
import { BasicFacilityDto, OpeningTimeDto } from './facilities.dto';
|
|
3
4
|
export declare class ExtendedFacilityDto extends BasicFacilityDto {
|
|
@@ -5,3 +6,11 @@ export declare class ExtendedFacilityDto extends BasicFacilityDto {
|
|
|
5
6
|
description?: string;
|
|
6
7
|
openingTimes?: OpeningTimeDto[];
|
|
7
8
|
}
|
|
9
|
+
export declare class PublicFacilitiesParamsDto {
|
|
10
|
+
organizationId: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class GetPublicFacilitiesFiltersDto extends PaginationQuery {
|
|
13
|
+
itemsPerPage?: number;
|
|
14
|
+
search?: string;
|
|
15
|
+
facilitiesIds?: number[];
|
|
16
|
+
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExtendedFacilityDto = void 0;
|
|
3
|
+
exports.GetPublicFacilitiesFiltersDto = exports.PublicFacilitiesParamsDto = exports.ExtendedFacilityDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
4
5
|
const facilities_dto_1 = require("./facilities.dto");
|
|
5
6
|
class ExtendedFacilityDto extends facilities_dto_1.BasicFacilityDto {
|
|
6
7
|
}
|
|
7
8
|
exports.ExtendedFacilityDto = ExtendedFacilityDto;
|
|
9
|
+
class PublicFacilitiesParamsDto {
|
|
10
|
+
}
|
|
11
|
+
exports.PublicFacilitiesParamsDto = PublicFacilitiesParamsDto;
|
|
12
|
+
class GetPublicFacilitiesFiltersDto extends general_dto_1.PaginationQuery {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.itemsPerPage = general_dto_1.DEFAULT_MINIMUM_ITEMS_PER_PAGE;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.GetPublicFacilitiesFiltersDto = GetPublicFacilitiesFiltersDto;
|
|
8
19
|
//# sourceMappingURL=public-facilities.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/public-facilities.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"public-facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/public-facilities.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwH;AAIxH,qDAAoE;AAEpE,MAAa,mBAAoB,SAAQ,iCAAgB;CAMxD;AAND,kDAMC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;IAAlE;;QACC,iBAAY,GAAI,4CAA8B,CAAC;IAKhD,CAAC;CAAA;AAND,sEAMC"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { SportsEnum } from '../../activities/types/activities.enums';
|
|
2
|
-
import { LevelOfPlayEnum } from '../../programs/types/enums/program.enums';
|
|
3
|
-
import { GenderEnum } from '../../types/enums/gender.enums';
|
|
4
|
-
import { GroupStatusEnum } from '../types/enums/group-divisions.enums';
|
|
5
1
|
export declare class FindByProgramSeasonIdDto {
|
|
6
2
|
seasonId: number;
|
|
7
3
|
}
|
|
8
|
-
export declare class CreateBulkDivisionsDto {
|
|
9
|
-
divisions: CreateDivisionDto[];
|
|
10
|
-
}
|
|
11
4
|
export declare class CreateDivisionDto {
|
|
12
5
|
name: string;
|
|
13
6
|
ordinal?: number;
|
|
@@ -15,83 +8,3 @@ export declare class CreateDivisionDto {
|
|
|
15
8
|
color: string;
|
|
16
9
|
isDefault: boolean;
|
|
17
10
|
}
|
|
18
|
-
export declare class CreateGroupDto {
|
|
19
|
-
name: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
status?: GroupStatusEnum;
|
|
22
|
-
maxCapacity?: number;
|
|
23
|
-
mainMediaId?: number;
|
|
24
|
-
minAgeYears?: number;
|
|
25
|
-
maxAgeYears?: number;
|
|
26
|
-
gender: GenderEnum;
|
|
27
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
28
|
-
sports: SportsEnum[];
|
|
29
|
-
questionnaires?: number[];
|
|
30
|
-
captainUserId?: number;
|
|
31
|
-
divisionId?: number;
|
|
32
|
-
}
|
|
33
|
-
export declare class ConnectGroupToDivision {
|
|
34
|
-
groupId: number;
|
|
35
|
-
divisionId: number;
|
|
36
|
-
prevDivisionId: number;
|
|
37
|
-
}
|
|
38
|
-
export declare class MoveUserInGroups {
|
|
39
|
-
userId: number;
|
|
40
|
-
groupId?: number;
|
|
41
|
-
prevGroupId?: number;
|
|
42
|
-
}
|
|
43
|
-
export declare class SaveUserAsGroupCaptain {
|
|
44
|
-
groupId: number;
|
|
45
|
-
userId: number;
|
|
46
|
-
}
|
|
47
|
-
export declare class InviteeDto {
|
|
48
|
-
source: string;
|
|
49
|
-
data: any;
|
|
50
|
-
name: string;
|
|
51
|
-
emails: string[];
|
|
52
|
-
phoneNumbers: string[];
|
|
53
|
-
}
|
|
54
|
-
export declare class CreateInviteToTeamDto {
|
|
55
|
-
inviterId: number;
|
|
56
|
-
inviterType: string;
|
|
57
|
-
invitees: InviteeDto[];
|
|
58
|
-
generateUrl: boolean;
|
|
59
|
-
feature: string;
|
|
60
|
-
bulk: boolean;
|
|
61
|
-
origin: number;
|
|
62
|
-
tokend: boolean;
|
|
63
|
-
}
|
|
64
|
-
export declare class TeamByIdDto {
|
|
65
|
-
teamId: number;
|
|
66
|
-
}
|
|
67
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
68
|
-
inviteToken: string;
|
|
69
|
-
}
|
|
70
|
-
export declare class CustomerJoinTeam {
|
|
71
|
-
customerId: number;
|
|
72
|
-
}
|
|
73
|
-
export declare class JoinSuccessResponseDto {
|
|
74
|
-
data: string;
|
|
75
|
-
}
|
|
76
|
-
export declare class JoinTeamDto {
|
|
77
|
-
userId: number;
|
|
78
|
-
inviteToken?: string;
|
|
79
|
-
skipEmail?: boolean;
|
|
80
|
-
}
|
|
81
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
82
|
-
userId: number;
|
|
83
|
-
}
|
|
84
|
-
export interface IMoveSeason {
|
|
85
|
-
fromSeasonId: number;
|
|
86
|
-
toSeasonId: number;
|
|
87
|
-
}
|
|
88
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
89
|
-
teamId?: number;
|
|
90
|
-
memberId?: number;
|
|
91
|
-
fromSeasonId: number;
|
|
92
|
-
toSeasonId: number;
|
|
93
|
-
toDivisionId?: number;
|
|
94
|
-
}
|
|
95
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
96
|
-
fileName: string;
|
|
97
|
-
}
|
|
@@ -1,55 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateDivisionDto = exports.FindByProgramSeasonIdDto = void 0;
|
|
4
4
|
class FindByProgramSeasonIdDto {
|
|
5
5
|
}
|
|
6
6
|
exports.FindByProgramSeasonIdDto = FindByProgramSeasonIdDto;
|
|
7
|
-
class CreateBulkDivisionsDto {
|
|
8
|
-
}
|
|
9
|
-
exports.CreateBulkDivisionsDto = CreateBulkDivisionsDto;
|
|
10
7
|
class CreateDivisionDto {
|
|
11
8
|
}
|
|
12
9
|
exports.CreateDivisionDto = CreateDivisionDto;
|
|
13
|
-
class CreateGroupDto {
|
|
14
|
-
}
|
|
15
|
-
exports.CreateGroupDto = CreateGroupDto;
|
|
16
|
-
class ConnectGroupToDivision {
|
|
17
|
-
}
|
|
18
|
-
exports.ConnectGroupToDivision = ConnectGroupToDivision;
|
|
19
|
-
class MoveUserInGroups {
|
|
20
|
-
}
|
|
21
|
-
exports.MoveUserInGroups = MoveUserInGroups;
|
|
22
|
-
class SaveUserAsGroupCaptain {
|
|
23
|
-
}
|
|
24
|
-
exports.SaveUserAsGroupCaptain = SaveUserAsGroupCaptain;
|
|
25
|
-
class InviteeDto {
|
|
26
|
-
}
|
|
27
|
-
exports.InviteeDto = InviteeDto;
|
|
28
|
-
class CreateInviteToTeamDto {
|
|
29
|
-
}
|
|
30
|
-
exports.CreateInviteToTeamDto = CreateInviteToTeamDto;
|
|
31
|
-
class TeamByIdDto {
|
|
32
|
-
}
|
|
33
|
-
exports.TeamByIdDto = TeamByIdDto;
|
|
34
|
-
class GetInviteDto extends TeamByIdDto {
|
|
35
|
-
}
|
|
36
|
-
exports.GetInviteDto = GetInviteDto;
|
|
37
|
-
class CustomerJoinTeam {
|
|
38
|
-
}
|
|
39
|
-
exports.CustomerJoinTeam = CustomerJoinTeam;
|
|
40
|
-
class JoinSuccessResponseDto {
|
|
41
|
-
}
|
|
42
|
-
exports.JoinSuccessResponseDto = JoinSuccessResponseDto;
|
|
43
|
-
class JoinTeamDto {
|
|
44
|
-
}
|
|
45
|
-
exports.JoinTeamDto = JoinTeamDto;
|
|
46
|
-
class UserTeamFutureSeasons extends TeamByIdDto {
|
|
47
|
-
}
|
|
48
|
-
exports.UserTeamFutureSeasons = UserTeamFutureSeasons;
|
|
49
|
-
class MoveTeamOrMemberDto {
|
|
50
|
-
}
|
|
51
|
-
exports.MoveTeamOrMemberDto = MoveTeamOrMemberDto;
|
|
52
|
-
class MoveTeamOrMembersByCsvDTO {
|
|
53
|
-
}
|
|
54
|
-
exports.MoveTeamOrMembersByCsvDTO = MoveTeamOrMembersByCsvDTO;
|
|
55
10
|
//# sourceMappingURL=groups-divisions.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups-divisions.dto.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/dto/groups-divisions.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"groups-divisions.dto.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/dto/groups-divisions.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC"}
|
|
@@ -17,7 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./division.entity"), exports);
|
|
18
18
|
__exportStar(require("./group.entity"), exports);
|
|
19
19
|
__exportStar(require("./groups-in-divisions.entity"), exports);
|
|
20
|
-
__exportStar(require("./team-invite.entity"), exports);
|
|
21
|
-
__exportStar(require("./team-member.entity"), exports);
|
|
22
|
-
__exportStar(require("./users-in-group.entity"), exports);
|
|
23
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iDAA+B;AAC/B,+DAA6C
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iDAA+B;AAC/B,+DAA6C"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './entitlement-group';
|
|
|
20
20
|
export * from './entity';
|
|
21
21
|
export * from './errors';
|
|
22
22
|
export * from './events';
|
|
23
|
+
export * from './external-validation';
|
|
23
24
|
export * from './facilities';
|
|
24
25
|
export * from './family-account';
|
|
25
26
|
export * from './fee';
|
|
@@ -73,7 +74,6 @@ export * from './shifts';
|
|
|
73
74
|
export * from './standings-integration';
|
|
74
75
|
export * from './stations';
|
|
75
76
|
export * from './taxes';
|
|
76
|
-
export * from './team';
|
|
77
77
|
export * from './teams';
|
|
78
78
|
export * from './templates';
|
|
79
79
|
export * from './terminal';
|
package/dist/types/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./entitlement-group"), exports);
|
|
|
36
36
|
__exportStar(require("./entity"), exports);
|
|
37
37
|
__exportStar(require("./errors"), exports);
|
|
38
38
|
__exportStar(require("./events"), exports);
|
|
39
|
+
__exportStar(require("./external-validation"), exports);
|
|
39
40
|
__exportStar(require("./facilities"), exports);
|
|
40
41
|
__exportStar(require("./family-account"), exports);
|
|
41
42
|
__exportStar(require("./fee"), exports);
|
|
@@ -89,7 +90,6 @@ __exportStar(require("./shifts"), exports);
|
|
|
89
90
|
__exportStar(require("./standings-integration"), exports);
|
|
90
91
|
__exportStar(require("./stations"), exports);
|
|
91
92
|
__exportStar(require("./taxes"), exports);
|
|
92
|
-
__exportStar(require("./team"), exports);
|
|
93
93
|
__exportStar(require("./teams"), exports);
|
|
94
94
|
__exportStar(require("./templates"), exports);
|
|
95
95
|
__exportStar(require("./terminal"), 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,+CAA6B;AAC7B,mDAAiC;AACjC,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,2CAAyB;AACzB,sDAAoC;AACpC,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,mDAAiC;AACjC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,oDAAkC;AAClC,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,0DAAwC;AACxC,4CAA0B;AAC1B,oDAAkC;AAClC,oDAAkC;AAClC,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,6DAA2C;AAC3C,4CAA0B;AAC1B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,iDAA+B;AAC/B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,2CAAyB;AACzB,sDAAoC;AACpC,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,wDAAsC;AACtC,+CAA6B;AAC7B,mDAAiC;AACjC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,oDAAkC;AAClC,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,0DAAwC;AACxC,4CAA0B;AAC1B,oDAAkC;AAClC,oDAAkC;AAClC,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,6DAA2C;AAC3C,4CAA0B;AAC1B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,iDAA+B;AAC/B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,0CAAwB;AACxB,4CAA0B;AAC1B,0CAAwB;AACxB,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './invoice-cart.dto';
|
|
2
2
|
export * from './invoice-history.dto';
|
|
3
3
|
export * from './invoice-pdf.dto';
|
|
4
|
+
export * from './invoice-settings.dto';
|
|
4
5
|
export * from './invoice.dto';
|
|
5
6
|
export * from './line-item.dto';
|
|
6
7
|
export * from './organization-invoice.dto';
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./invoice-cart.dto"), exports);
|
|
18
18
|
__exportStar(require("./invoice-history.dto"), exports);
|
|
19
19
|
__exportStar(require("./invoice-pdf.dto"), exports);
|
|
20
|
+
__exportStar(require("./invoice-settings.dto"), exports);
|
|
20
21
|
__exportStar(require("./invoice.dto"), exports);
|
|
21
22
|
__exportStar(require("./line-item.dto"), exports);
|
|
22
23
|
__exportStar(require("./organization-invoice.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,oDAAkC;AAClC,gDAA8B;AAC9B,kDAAgC;AAChC,6DAA2C;AAC3C,qDAAmC;AACnC,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,kDAAgC;AAChC,6DAA2C;AAC3C,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -8,6 +8,10 @@ export declare class InvoicePdfAddressDto {
|
|
|
8
8
|
state?: string;
|
|
9
9
|
zip?: string;
|
|
10
10
|
}
|
|
11
|
+
export declare class InvoicePdfTaxRegistrationDto {
|
|
12
|
+
name: string;
|
|
13
|
+
code: string;
|
|
14
|
+
}
|
|
11
15
|
export declare class InvoicePdfHeaderDto {
|
|
12
16
|
logoSrc: string;
|
|
13
17
|
id: number;
|
|
@@ -20,6 +24,7 @@ export declare class InvoicePdfHeaderDto {
|
|
|
20
24
|
issuerAddress?: InvoicePdfAddressDto;
|
|
21
25
|
issuerPhone?: string;
|
|
22
26
|
issuerEmail?: string;
|
|
27
|
+
taxRegistrations: InvoicePdfTaxRegistrationDto[];
|
|
23
28
|
billToName?: string;
|
|
24
29
|
billToEmail?: string;
|
|
25
30
|
billToPhone?: string;
|
|
@@ -51,7 +56,7 @@ export declare class InvoicePdfNoteDto {
|
|
|
51
56
|
}
|
|
52
57
|
export declare class InvoicePdfCustomTextDto {
|
|
53
58
|
title?: string;
|
|
54
|
-
body
|
|
59
|
+
body?: string;
|
|
55
60
|
}
|
|
56
61
|
export declare class InvoicePdfPaymentTotalsDto {
|
|
57
62
|
priceWithoutFee: string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvoicePdfDto = exports.InvoicePdfScheduleBlockDto = exports.InvoicePdfScheduleTableDto = exports.InvoicePdfScheduleGroupDto = exports.InvoicePdfScheduleRowDto = exports.InvoicePdfPlanRowDto = exports.InvoicePdfPaymentsTableDto = exports.InvoicePdfPaymentRowDto = exports.InvoicePdfPaymentTotalsDto = exports.InvoicePdfCustomTextDto = exports.InvoicePdfNoteDto = exports.InvoicePdfSummaryDto = exports.InvoicePdfLabelValueDto = exports.InvoicePdfLineDto = exports.InvoicePdfHeaderDto = exports.InvoicePdfAddressDto = void 0;
|
|
3
|
+
exports.InvoicePdfDto = exports.InvoicePdfScheduleBlockDto = exports.InvoicePdfScheduleTableDto = exports.InvoicePdfScheduleGroupDto = exports.InvoicePdfScheduleRowDto = exports.InvoicePdfPlanRowDto = exports.InvoicePdfPaymentsTableDto = exports.InvoicePdfPaymentRowDto = exports.InvoicePdfPaymentTotalsDto = exports.InvoicePdfCustomTextDto = exports.InvoicePdfNoteDto = exports.InvoicePdfSummaryDto = exports.InvoicePdfLabelValueDto = exports.InvoicePdfLineDto = exports.InvoicePdfHeaderDto = exports.InvoicePdfTaxRegistrationDto = exports.InvoicePdfAddressDto = void 0;
|
|
4
4
|
class InvoicePdfAddressDto {
|
|
5
5
|
}
|
|
6
6
|
exports.InvoicePdfAddressDto = InvoicePdfAddressDto;
|
|
7
|
+
class InvoicePdfTaxRegistrationDto {
|
|
8
|
+
}
|
|
9
|
+
exports.InvoicePdfTaxRegistrationDto = InvoicePdfTaxRegistrationDto;
|
|
7
10
|
class InvoicePdfHeaderDto {
|
|
8
11
|
}
|
|
9
12
|
exports.InvoicePdfHeaderDto = InvoicePdfHeaderDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-pdf.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice-pdf.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"invoice-pdf.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice-pdf.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,mBAAmB;CAgC/B;AAhCD,kDAgCC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAMtE;AAND,0DAMC;AAED,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,oBAAoB;CAchC;AAdD,oDAcC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,sFAAsF;AACtF,MAAa,aAAa;CAgBzB;AAhBD,sCAgBC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** One tax registration printed under the issuer, for example GST/HST No. 854736139RT0001. */
|
|
2
|
+
export declare class InvoiceTaxRegistrationDto {
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
}
|
|
6
|
+
/** Title and body shown on the invoice PDF. */
|
|
7
|
+
export declare class InvoiceCustomTextDto {
|
|
8
|
+
title?: string;
|
|
9
|
+
body?: string;
|
|
10
|
+
}
|
|
11
|
+
/** Invoice settings stored on an organization or a facility. */
|
|
12
|
+
export declare class InvoiceSettingsDto {
|
|
13
|
+
customText?: InvoiceCustomTextDto;
|
|
14
|
+
taxRegistrations?: InvoiceTaxRegistrationDto[];
|
|
15
|
+
}
|