turf-common 1.3.1-beta.8 → 1.3.1
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/build/interface/api/get-collection.interface.d.ts +1 -4
- package/build/jest.config.d.ts +3 -0
- package/build/jest.config.js +10 -0
- package/build/src/@enums/socket-io.d.ts +1 -0
- package/build/src/@enums/socket-io.js +17 -0
- package/build/src/@types/socket-io.d.ts +1 -0
- package/build/src/@types/socket-io.js +17 -0
- package/build/src/enums/availability-view.enum.d.ts +4 -0
- package/build/src/enums/availability-view.enum.js +8 -0
- package/build/src/enums/booking-details-status.enum.d.ts +4 -0
- package/build/src/enums/booking-details-status.enum.js +8 -0
- package/build/src/enums/booking-fetch-filter.enum.d.ts +5 -0
- package/build/src/enums/booking-fetch-filter.enum.js +9 -0
- package/build/src/enums/booking-history-operation-type.enum.d.ts +12 -0
- package/build/src/enums/booking-history-operation-type.enum.js +20 -0
- package/build/src/enums/bookings-status.enum.d.ts +5 -0
- package/build/src/enums/bookings-status.enum.js +9 -0
- package/build/src/enums/configuration-description.enum.d.ts +5 -0
- package/build/src/enums/configuration-description.enum.js +9 -0
- package/build/src/enums/configuration-key.enum.d.ts +10 -0
- package/build/src/enums/configuration-key.enum.js +29 -0
- package/build/src/enums/configuration-text.enum.d.ts +5 -0
- package/build/src/enums/configuration-text.enum.js +9 -0
- package/build/src/enums/cron-jobs-name.enum.d.ts +5 -0
- package/build/src/enums/cron-jobs-name.enum.js +9 -0
- package/build/src/enums/cron-jobs-status.enum.d.ts +5 -0
- package/build/src/enums/cron-jobs-status.enum.js +9 -0
- package/build/src/enums/environment.enum.d.ts +5 -0
- package/build/src/enums/environment.enum.js +9 -0
- package/build/src/enums/faqs-status.enum.d.ts +3 -0
- package/build/src/enums/faqs-status.enum.js +7 -0
- package/build/src/enums/modification-discount-policy.enum.d.ts +5 -0
- package/build/src/enums/modification-discount-policy.enum.js +9 -0
- package/build/src/enums/organization-status.enum.d.ts +15 -0
- package/build/src/enums/organization-status.enum.js +31 -0
- package/build/src/enums/organization-type.enum.d.ts +5 -0
- package/build/src/enums/organization-type.enum.js +9 -0
- package/build/src/enums/payment-mode.enum.d.ts +4 -0
- package/build/src/enums/payment-mode.enum.js +8 -0
- package/build/src/enums/pitch-operation.enum.d.ts +5 -0
- package/build/src/enums/pitch-operation.enum.js +9 -0
- package/build/src/enums/pitch-sports.enum.d.ts +7 -0
- package/build/src/enums/pitch-sports.enum.js +11 -0
- package/build/src/enums/pitch-status.enum.d.ts +12 -0
- package/build/src/enums/pitch-status.enum.js +13 -0
- package/build/src/enums/pricing-plan-status.enum.d.ts +4 -0
- package/build/src/enums/pricing-plan-status.enum.js +8 -0
- package/build/src/enums/registration-status-enum.d.ts +12 -0
- package/build/src/enums/registration-status-enum.js +16 -0
- package/build/src/enums/socket-io-booking-operation.enum.d.ts +6 -0
- package/build/src/enums/socket-io-booking-operation.enum.js +10 -0
- package/build/src/enums/subscription-status.enum.d.ts +23 -0
- package/build/src/enums/subscription-status.enum.js +40 -0
- package/build/src/enums/timezone.enum.d.ts +3 -0
- package/build/src/enums/timezone.enum.js +7 -0
- package/build/src/enums/transaction-type.enum.d.ts +7 -0
- package/build/src/enums/transaction-type.enum.js +11 -0
- package/build/src/enums/user-status.enum.d.ts +11 -0
- package/build/src/enums/user-status.enum.js +15 -0
- package/build/src/enums/valid-coupon-type.enum.d.ts +6 -0
- package/build/src/enums/valid-coupon-type.enum.js +10 -0
- package/build/src/enums/valid-type.enum.d.ts +6 -0
- package/build/src/enums/valid-type.enum.js +10 -0
- package/build/src/exceptions/app-badrequest.exception.d.ts +4 -0
- package/build/src/exceptions/app-badrequest.exception.js +28 -0
- package/build/src/interface/api/activate-subscription.interface.d.ts +10 -0
- package/build/src/interface/api/activate-subscription.interface.js +2 -0
- package/build/src/interface/api/booking-availablity-by-pitch.interface.d.ts +39 -0
- package/build/src/interface/api/booking-availablity-by-pitch.interface.js +2 -0
- package/build/src/interface/api/cancellation-charges.interface.d.ts +17 -0
- package/build/src/interface/api/cancellation-charges.interface.js +2 -0
- package/build/src/interface/api/create-bank-details.interface.d.ts +22 -0
- package/build/src/interface/api/create-bank-details.interface.js +2 -0
- package/build/src/interface/api/create-cancellation-policy.interface.d.ts +12 -0
- package/build/src/interface/api/create-cancellation-policy.interface.js +2 -0
- package/build/src/interface/api/create-coupon.interface.d.ts +11 -0
- package/build/src/interface/api/create-coupon.interface.js +2 -0
- package/build/src/interface/api/create-faqs.interface.d.ts +15 -0
- package/build/src/interface/api/create-faqs.interface.js +2 -0
- package/build/src/interface/api/create-organization.interface.d.ts +21 -0
- package/build/src/interface/api/create-organization.interface.js +2 -0
- package/build/src/interface/api/create-pricing-plan.interface.d.ts +16 -0
- package/build/src/interface/api/create-pricing-plan.interface.js +2 -0
- package/build/src/interface/api/create-recurring-slot-booking.interface.d.ts +29 -0
- package/build/src/interface/api/create-recurring-slot-booking.interface.js +2 -0
- package/build/src/interface/api/create-registration-interface.d.ts +13 -0
- package/build/src/interface/api/create-registration-interface.js +2 -0
- package/build/src/interface/api/create-registration-transaction-output.interface.d.ts +2 -0
- package/build/src/interface/api/create-registration-transaction-output.interface.js +2 -0
- package/build/src/interface/api/create-subscription.interface.d.ts +18 -0
- package/build/src/interface/api/create-subscription.interface.js +2 -0
- package/build/src/interface/api/create-turf.interface.d.ts +13 -0
- package/build/src/interface/api/create-turf.interface.js +2 -0
- package/build/src/interface/api/create-user.interface.d.ts +10 -0
- package/build/src/interface/api/create-user.interface.js +2 -0
- package/build/src/interface/api/delete-bank-details-by-id.interface.d.ts +6 -0
- package/build/src/interface/api/delete-bank-details-by-id.interface.js +2 -0
- package/build/src/interface/api/delete-booking-by-codes.interface.d.ts +7 -0
- package/build/src/interface/api/delete-booking-by-codes.interface.js +2 -0
- package/build/src/interface/api/delete-booking-info.interface.d.ts +3 -0
- package/build/src/interface/api/delete-booking-info.interface.js +2 -0
- package/build/src/interface/api/delete-pricing-plan.interface.d.ts +6 -0
- package/build/src/interface/api/delete-pricing-plan.interface.js +2 -0
- package/build/src/interface/api/get-all-booking-of-turf.interface.d.ts +23 -0
- package/build/src/interface/api/get-all-booking-of-turf.interface.js +2 -0
- package/build/src/interface/api/get-availability-by-turf.interface.d.ts +29 -0
- package/build/src/interface/api/get-availability-by-turf.interface.js +2 -0
- package/build/src/interface/api/get-bank-detail-by-id.interface.d.ts +6 -0
- package/build/src/interface/api/get-bank-detail-by-id.interface.js +2 -0
- package/build/src/interface/api/get-bank-detail-entities.interface.d.ts +6 -0
- package/build/src/interface/api/get-bank-detail-entities.interface.js +2 -0
- package/build/src/interface/api/get-booking-by-organization-id.interface.d.ts +30 -0
- package/build/src/interface/api/get-booking-by-organization-id.interface.js +2 -0
- package/build/src/interface/api/get-booking-customers.interface.d.ts +3 -0
- package/build/src/interface/api/get-booking-customers.interface.js +2 -0
- package/build/src/interface/api/get-booking-details-by-id.interface.d.ts +4 -0
- package/build/src/interface/api/get-booking-details-by-id.interface.js +2 -0
- package/build/src/interface/api/get-booking-history.interface.d.ts +4 -0
- package/build/src/interface/api/get-booking-history.interface.js +2 -0
- package/build/src/interface/api/get-booking-info.interface.d.ts +11 -0
- package/build/src/interface/api/get-booking-info.interface.js +2 -0
- package/build/src/interface/api/get-cancellation-policy-entity-by-org-id.interface.d.ts +15 -0
- package/build/src/interface/api/get-cancellation-policy-entity-by-org-id.interface.js +2 -0
- package/build/src/interface/api/get-cancelled-booking.interface.d.ts +7 -0
- package/build/src/interface/api/get-cancelled-booking.interface.js +2 -0
- package/build/src/interface/api/get-collection.interface.d.ts +24 -0
- package/build/src/interface/api/get-collection.interface.js +2 -0
- package/build/src/interface/api/get-configuration.interface.d.ts +4 -0
- package/build/src/interface/api/get-configuration.interface.js +2 -0
- package/build/src/interface/api/get-cron-job-by-date-range-name-status.interface.d.ts +12 -0
- package/build/src/interface/api/get-cron-job-by-date-range-name-status.interface.js +2 -0
- package/build/src/interface/api/get-current-subscription.interface.d.ts +18 -0
- package/build/src/interface/api/get-current-subscription.interface.js +2 -0
- package/build/src/interface/api/get-organization-by-orgid.interface.d.ts +15 -0
- package/build/src/interface/api/get-organization-by-orgid.interface.js +2 -0
- package/build/src/interface/api/get-price-by-organization-response.interface.d.ts +6 -0
- package/build/src/interface/api/get-price-by-organization-response.interface.js +2 -0
- package/build/src/interface/api/get-price-entity.interface.d.ts +10 -0
- package/build/src/interface/api/get-price-entity.interface.js +2 -0
- package/build/src/interface/api/get-price-query.interface.d.ts +10 -0
- package/build/src/interface/api/get-price-query.interface.js +2 -0
- package/build/src/interface/api/get-pricing-plan-by-date-response.interface.d.ts +23 -0
- package/build/src/interface/api/get-pricing-plan-by-date-response.interface.js +2 -0
- package/build/src/interface/api/get-pricing-plan-by-id.interface.d.ts +3 -0
- package/build/src/interface/api/get-pricing-plan-by-id.interface.js +2 -0
- package/build/src/interface/api/get-pricing-plan-entities.interface.d.ts +3 -0
- package/build/src/interface/api/get-pricing-plan-entities.interface.js +2 -0
- package/build/src/interface/api/get-registration-by-id.types.d.ts +20 -0
- package/build/src/interface/api/get-registration-by-id.types.js +2 -0
- package/build/src/interface/api/get-registration-entities.interface.d.ts +30 -0
- package/build/src/interface/api/get-registration-entities.interface.js +2 -0
- package/build/src/interface/api/get-sports.interface.d.ts +4 -0
- package/build/src/interface/api/get-sports.interface.js +2 -0
- package/build/src/interface/api/get-subscription-by-org-id.interface.d.ts +6 -0
- package/build/src/interface/api/get-subscription-by-org-id.interface.js +2 -0
- package/build/src/interface/api/get-subscription-entities.interface.d.ts +8 -0
- package/build/src/interface/api/get-subscription-entities.interface.js +2 -0
- package/build/src/interface/api/get-tournament.interface.d.ts +4 -0
- package/build/src/interface/api/get-tournament.interface.js +2 -0
- package/build/src/interface/api/get-turf-by-organization.interface.d.ts +6 -0
- package/build/src/interface/api/get-turf-by-organization.interface.js +2 -0
- package/build/src/interface/api/get-turf-entity-response.interface.d.ts +10 -0
- package/build/src/interface/api/get-turf-entity-response.interface.js +2 -0
- package/build/src/interface/api/index.d.ts +78 -0
- package/build/src/interface/api/index.js +96 -0
- package/build/src/interface/api/list-of-coupons.interface.d.ts +14 -0
- package/build/src/interface/api/list-of-coupons.interface.js +2 -0
- package/build/src/interface/api/login-response.interface.d.ts +22 -0
- package/build/src/interface/api/login-response.interface.js +2 -0
- package/build/src/interface/api/manual-trigger-cron-job.interface.d.ts +5 -0
- package/build/src/interface/api/manual-trigger-cron-job.interface.js +2 -0
- package/build/src/interface/api/one-slot-booking.interface.d.ts +24 -0
- package/build/src/interface/api/one-slot-booking.interface.js +2 -0
- package/build/src/interface/api/renew-subscription.interface.d.ts +19 -0
- package/build/src/interface/api/renew-subscription.interface.js +2 -0
- package/build/src/interface/api/set-price.interface.d.ts +6 -0
- package/build/src/interface/api/set-price.interface.js +2 -0
- package/build/src/interface/api/setup-registration.interface.d.ts +5 -0
- package/build/src/interface/api/setup-registration.interface.js +2 -0
- package/build/src/interface/api/staff-member-list.interface.d.ts +9 -0
- package/build/src/interface/api/staff-member-list.interface.js +2 -0
- package/build/src/interface/api/update-bank-detail.interface.d.ts +17 -0
- package/build/src/interface/api/update-bank-detail.interface.js +2 -0
- package/build/src/interface/api/update-booking-by-code-response.interface.d.ts +7 -0
- package/build/src/interface/api/update-booking-by-code-response.interface.js +2 -0
- package/build/src/interface/api/update-configuration.interface.d.ts +10 -0
- package/build/src/interface/api/update-configuration.interface.js +2 -0
- package/build/src/interface/api/update-coupon.interface.d.ts +9 -0
- package/build/src/interface/api/update-coupon.interface.js +2 -0
- package/build/src/interface/api/update-faqs-steps.interface.d.ts +11 -0
- package/build/src/interface/api/update-faqs-steps.interface.js +2 -0
- package/build/src/interface/api/update-faqs.interface.d.ts +6 -0
- package/build/src/interface/api/update-faqs.interface.js +2 -0
- package/build/src/interface/api/update-organization.interface.d.ts +21 -0
- package/build/src/interface/api/update-organization.interface.js +2 -0
- package/build/src/interface/api/update-pricing-plan-by-id.interface.d.ts +20 -0
- package/build/src/interface/api/update-pricing-plan-by-id.interface.js +2 -0
- package/build/src/interface/api/update-recurring-booking.interface.d.ts +52 -0
- package/build/src/interface/api/update-recurring-booking.interface.js +2 -0
- package/build/src/interface/api/update-registration-entities.interface.d.ts +8 -0
- package/build/src/interface/api/update-registration-entities.interface.js +2 -0
- package/build/src/interface/api/update-sports-interface.d.ts +3 -0
- package/build/src/interface/api/update-sports-interface.js +2 -0
- package/build/src/interface/api/update-staff-member.interface.d.ts +16 -0
- package/build/src/interface/api/update-staff-member.interface.js +2 -0
- package/build/src/interface/api/update-subscription.interface.d.ts +23 -0
- package/build/src/interface/api/update-subscription.interface.js +2 -0
- package/build/src/interface/api/update-turf-details.interface.d.ts +20 -0
- package/build/src/interface/api/update-turf-details.interface.js +2 -0
- package/build/src/interface/api/update-turf-transaction-output.d.ts +3 -0
- package/build/src/interface/api/update-turf-transaction-output.js +2 -0
- package/build/src/interface/api/upgrade-renew-subscription.interface.d.ts +10 -0
- package/build/src/interface/api/upgrade-renew-subscription.interface.js +2 -0
- package/build/src/interface/api/upgrade-subscription.interface.d.ts +21 -0
- package/build/src/interface/api/upgrade-subscription.interface.js +2 -0
- package/build/src/interface/api/userentity-without-password.interface.d.ts +5 -0
- package/build/src/interface/api/userentity-without-password.interface.js +2 -0
- package/build/src/interface/api/utils.d.ts +18 -0
- package/build/src/interface/api/utils.js +48 -0
- package/build/src/interface/billing-cycle-dto.interface.d.ts +8 -0
- package/build/src/interface/billing-cycle-dto.interface.js +2 -0
- package/build/src/interface/billing-cycle.interface.d.ts +7 -0
- package/build/src/interface/billing-cycle.interface.js +2 -0
- package/build/src/interface/booking-details-with-code.interface.d.ts +34 -0
- package/build/src/interface/booking-details-with-code.interface.js +2 -0
- package/build/src/interface/controller.interface.d.ts +6 -0
- package/build/src/interface/controller.interface.js +2 -0
- package/build/src/interface/convert-to-midnight-time.interface.d.ts +5 -0
- package/build/src/interface/convert-to-midnight-time.interface.js +2 -0
- package/build/src/interface/date-formatter.interface.d.ts +4 -0
- package/build/src/interface/date-formatter.interface.js +2 -0
- package/build/src/interface/dto/delete-booking-by-codes-dto.interface.d.ts +7 -0
- package/build/src/interface/dto/delete-booking-by-codes-dto.interface.js +2 -0
- package/build/src/interface/dto/update-booking-by-code-dto.interface.d.ts +13 -0
- package/build/src/interface/dto/update-booking-by-code-dto.interface.js +2 -0
- package/build/src/interface/entity/bank-details-entity.interface.d.ts +12 -0
- package/build/src/interface/entity/bank-details-entity.interface.js +2 -0
- package/build/src/interface/entity/booking-cancellation-entity.interface.d.ts +32 -0
- package/build/src/interface/entity/booking-cancellation-entity.interface.js +2 -0
- package/build/src/interface/entity/booking-customer-entity.interface.d.ts +8 -0
- package/build/src/interface/entity/booking-customer-entity.interface.js +2 -0
- package/build/src/interface/entity/booking-details-entity.interface.d.ts +29 -0
- package/build/src/interface/entity/booking-details-entity.interface.js +2 -0
- package/build/src/interface/entity/booking-history-entity.interface.d.ts +35 -0
- package/build/src/interface/entity/booking-history-entity.interface.js +2 -0
- package/build/src/interface/entity/booking-payment-history-entity.interface.d.ts +13 -0
- package/build/src/interface/entity/booking-payment-history-entity.interface.js +2 -0
- package/build/src/interface/entity/bookings-entity.interface.d.ts +6 -0
- package/build/src/interface/entity/bookings-entity.interface.js +2 -0
- package/build/src/interface/entity/cancellation-policy-entity.interface.d.ts +8 -0
- package/build/src/interface/entity/cancellation-policy-entity.interface.js +2 -0
- package/build/src/interface/entity/configurations-entity.interface.d.ts +9 -0
- package/build/src/interface/entity/configurations-entity.interface.js +2 -0
- package/build/src/interface/entity/coupon.entity.interface.d.ts +10 -0
- package/build/src/interface/entity/coupon.entity.interface.js +2 -0
- package/build/src/interface/entity/cron-jobs-entity.interface.d.ts +12 -0
- package/build/src/interface/entity/cron-jobs-entity.interface.js +2 -0
- package/build/src/interface/entity/entity-audit-column.interface.d.ts +12 -0
- package/build/src/interface/entity/entity-audit-column.interface.js +9 -0
- package/build/src/interface/entity/faqs-entity.interface.d.ts +10 -0
- package/build/src/interface/entity/faqs-entity.interface.js +2 -0
- package/build/src/interface/entity/index.d.ts +23 -0
- package/build/src/interface/entity/index.js +39 -0
- package/build/src/interface/entity/organization-entity.interface.d.ts +24 -0
- package/build/src/interface/entity/organization-entity.interface.js +2 -0
- package/build/src/interface/entity/pitch-entity.interface.d.ts +9 -0
- package/build/src/interface/entity/pitch-entity.interface.js +2 -0
- package/build/src/interface/entity/price-entity.interface.d.ts +5 -0
- package/build/src/interface/entity/price-entity.interface.js +2 -0
- package/build/src/interface/entity/pricing-plan-entity.interface.d.ts +16 -0
- package/build/src/interface/entity/pricing-plan-entity.interface.js +2 -0
- package/build/src/interface/entity/registration-entity.interface.d.ts +12 -0
- package/build/src/interface/entity/registration-entity.interface.js +2 -0
- package/build/src/interface/entity/sports-entity.interface.d.ts +6 -0
- package/build/src/interface/entity/sports-entity.interface.js +2 -0
- package/build/src/interface/entity/subscription-entity.interface.d.ts +26 -0
- package/build/src/interface/entity/subscription-entity.interface.js +2 -0
- package/build/src/interface/entity/subscription-pitch-mapping.interface.d.ts +8 -0
- package/build/src/interface/entity/subscription-pitch-mapping.interface.js +2 -0
- package/build/src/interface/entity/turf-entity.interface.d.ts +17 -0
- package/build/src/interface/entity/turf-entity.interface.js +2 -0
- package/build/src/interface/entity/user-entity.interface.d.ts +24 -0
- package/build/src/interface/entity/user-entity.interface.js +2 -0
- package/build/src/interface/formate-date-and-time.interface.d.ts +6 -0
- package/build/src/interface/formate-date-and-time.interface.js +2 -0
- package/build/src/interface/get-booking-by-id.interface.d.ts +56 -0
- package/build/src/interface/get-booking-by-id.interface.js +2 -0
- package/build/src/interface/get-booking-codes-per-thirty-min.interface.d.ts +4 -0
- package/build/src/interface/get-booking-codes-per-thirty-min.interface.js +2 -0
- package/build/src/interface/get-pricing-plan-by-date-response.interface.d.ts +23 -0
- package/build/src/interface/get-pricing-plan-by-date-response.interface.js +2 -0
- package/build/src/interface/get-turf-entity.interface.d.ts +34 -0
- package/build/src/interface/get-turf-entity.interface.js +2 -0
- package/build/src/interface/key-value.interface.d.ts +3 -0
- package/build/src/interface/key-value.interface.js +2 -0
- package/build/src/interface/model/booking-details-model.interface.d.ts +5 -0
- package/build/src/interface/model/booking-details-model.interface.js +2 -0
- package/build/src/interface/model/booking-entity-model.interface.d.ts +8 -0
- package/build/src/interface/model/booking-entity-model.interface.js +2 -0
- package/build/src/interface/model/cancellation-policy-model.interface.d.ts +4 -0
- package/build/src/interface/model/cancellation-policy-model.interface.js +2 -0
- package/build/src/interface/model/charge-model.interface.d.ts +13 -0
- package/build/src/interface/model/charge-model.interface.js +2 -0
- package/build/src/interface/model/configuration-model.interface.d.ts +4 -0
- package/build/src/interface/model/configuration-model.interface.js +2 -0
- package/build/src/interface/model/index.d.ts +10 -0
- package/build/src/interface/model/index.js +26 -0
- package/build/src/interface/model/price-model.interface.d.ts +3 -0
- package/build/src/interface/model/price-model.interface.js +2 -0
- package/build/src/interface/model/pricing-plan-entity-model.interface.d.ts +13 -0
- package/build/src/interface/model/pricing-plan-entity-model.interface.js +2 -0
- package/build/src/interface/model/pricing-plan-model.interface.d.ts +15 -0
- package/build/src/interface/model/pricing-plan-model.interface.js +2 -0
- package/build/src/interface/model/turf-model.interface.d.ts +7 -0
- package/build/src/interface/model/turf-model.interface.js +2 -0
- package/build/src/interface/model/user-model.interface.d.ts +3 -0
- package/build/src/interface/model/user-model.interface.js +2 -0
- package/build/src/interface/modify-entity.interface.d.ts +5 -0
- package/build/src/interface/modify-entity.interface.js +2 -0
- package/build/src/interface/modify-turf.interface.d.ts +7 -0
- package/build/src/interface/modify-turf.interface.js +2 -0
- package/build/src/interface/modify.interface.d.ts +1 -0
- package/build/src/interface/modify.interface.js +2 -0
- package/build/src/interface/ng-date-structure.interface.d.ts +5 -0
- package/build/src/interface/ng-date-structure.interface.js +2 -0
- package/build/src/interface/pitch-slab-dto.interface.d.ts +8 -0
- package/build/src/interface/pitch-slab-dto.interface.js +2 -0
- package/build/src/interface/pitch-slab.interface.d.ts +5 -0
- package/build/src/interface/pitch-slab.interface.js +2 -0
- package/build/src/interface/pricing-plan.interface.d.ts +15 -0
- package/build/src/interface/pricing-plan.interface.js +2 -0
- package/build/src/interface/socket-io-bookings.interface.d.ts +12 -0
- package/build/src/interface/socket-io-bookings.interface.js +2 -0
- package/build/src/interface/time-formatter.interface.d.ts +4 -0
- package/build/src/interface/time-formatter.interface.js +2 -0
- package/build/src/interface/ui/booking-data.interface.d.ts +6 -0
- package/build/src/interface/ui/booking-data.interface.js +2 -0
- package/build/src/interface/ui/upgrade-subscription-data.interface.d.ts +15 -0
- package/build/src/interface/ui/upgrade-subscription-data.interface.js +2 -0
- package/build/src/interface/upload-multer-file.interface.d.ts +9 -0
- package/build/src/interface/upload-multer-file.interface.js +2 -0
- package/build/src/interface/user-info-dto.interface.d.ts +16 -0
- package/build/src/interface/user-info-dto.interface.js +2 -0
- package/build/src/interface/without-token-registration-entity.types.d.ts +3 -0
- package/build/src/interface/without-token-registration-entity.types.js +2 -0
- package/build/src/models/billing-cycle-model.d.ts +11 -0
- package/build/src/models/billing-cycle-model.js +27 -0
- package/build/src/models/booking-code-model.d.ts +139 -0
- package/build/src/models/booking-code-model.js +624 -0
- package/build/src/models/charge-model.d.ts +34 -0
- package/build/src/models/charge-model.js +275 -0
- package/build/src/models/entity/booking-details-model.d.ts +41 -0
- package/build/src/models/entity/booking-details-model.js +69 -0
- package/build/src/models/entity/booking-entity-model.d.ts +21 -0
- package/build/src/models/entity/booking-entity-model.js +47 -0
- package/build/src/models/entity/booking-payment-history-model.d.ts +20 -0
- package/build/src/models/entity/booking-payment-history-model.js +36 -0
- package/build/src/models/entity/cancellation-policy-model.d.ts +18 -0
- package/build/src/models/entity/cancellation-policy-model.js +32 -0
- package/build/src/models/entity/configuration-model.d.ts +17 -0
- package/build/src/models/entity/configuration-model.js +17 -0
- package/build/src/models/entity/index.d.ts +10 -0
- package/build/src/models/entity/index.js +26 -0
- package/build/src/models/entity/price-model.d.ts +11 -0
- package/build/src/models/entity/price-model.js +15 -0
- package/build/src/models/entity/pricing-plan-entity-model.d.ts +47 -0
- package/build/src/models/entity/pricing-plan-entity-model.js +128 -0
- package/build/src/models/entity/subscription-model.d.ts +44 -0
- package/build/src/models/entity/subscription-model.js +154 -0
- package/build/src/models/entity/turf-model.d.ts +36 -0
- package/build/src/models/entity/turf-model.js +116 -0
- package/build/src/models/entity/user-model.d.ts +32 -0
- package/build/src/models/entity/user-model.js +19 -0
- package/build/src/models/pitch-slab-model.d.ts +9 -0
- package/build/src/models/pitch-slab-model.js +21 -0
- package/build/src/models/pricing-plan-model.d.ts +27 -0
- package/build/src/models/pricing-plan-model.js +89 -0
- package/build/src/models/subscribed-pricing-plan-model.d.ts +37 -0
- package/build/src/models/subscribed-pricing-plan-model.js +122 -0
- package/build/src/models/time-slot-model.d.ts +19 -0
- package/build/src/models/time-slot-model.js +98 -0
- package/build/src/models/turf-availability-model.d.ts +57 -0
- package/build/src/models/turf-availability-model.js +239 -0
- package/build/src/types/app-badrequest-exception.type.d.ts +4 -0
- package/build/src/types/app-badrequest-exception.type.js +2 -0
- package/build/src/types/booking-modification.type.d.ts +6 -0
- package/build/src/types/booking-modification.type.js +2 -0
- package/build/src/types/bookingdetails-with-booking.type.d.ts +9 -0
- package/build/src/types/bookingdetails-with-booking.type.js +2 -0
- package/build/src/types/date-wise-payment-history-data.types.d.ts +9 -0
- package/build/src/types/date-wise-payment-history-data.types.js +2 -0
- package/build/src/utils/constant.d.ts +5 -0
- package/build/src/utils/constant.js +8 -0
- package/build/src/utils/date-util.d.ts +56 -0
- package/build/src/utils/date-util.js +157 -0
- package/build/src/utils/math-util.d.ts +14 -0
- package/build/src/utils/math-util.js +39 -0
- package/build/src/utils/string-utils.d.ts +31 -0
- package/build/src/utils/string-utils.js +82 -0
- package/build/tests/unit/charges/across-dates/across-dates-booking-TURF-476.spec.d.ts +1 -0
- package/build/tests/unit/charges/across-dates/across-dates-booking-TURF-476.spec.js +114 -0
- package/build/tests/unit/charges/across-dates/across-dates-booking-without-discount-TURF-476.e2e-spec.d.ts +1 -0
- package/build/tests/unit/charges/across-dates/across-dates-booking-without-discount-TURF-476.e2e-spec.js +114 -0
- package/build/tests/unit/charges/across-dates/across-dates-discount-TURF-476.spec.d.ts +1 -0
- package/build/tests/unit/charges/across-dates/across-dates-discount-TURF-476.spec.js +114 -0
- package/build/tests/unit/charges/across-dates/across-dates-extend-remove-TURF-476.spec.d.ts +1 -0
- package/build/tests/unit/charges/across-dates/across-dates-extend-remove-TURF-476.spec.js +114 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-half-amount-paid.spec.d.ts +1 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-half-amount-paid.spec.js +221 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-paid-refund-amount-paid-cancellation-not-present.spec.d.ts +1 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-paid-refund-amount-paid-cancellation-not-present.spec.js +518 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-paid-refund-amount-paid.spec.d.ts +1 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-paid-refund-amount-paid.spec.js +470 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-paid.spec.d.ts +1 -0
- package/build/tests/unit/charges/discount-conditional/basic-amount-paid.spec.js +263 -0
- package/build/tests/unit/charges/discount-conditional/basic.-amount-not-paid.spec.d.ts +1 -0
- package/build/tests/unit/charges/discount-conditional/basic.-amount-not-paid.spec.js +223 -0
- package/build/tests/unit/charges/discount-conditional/decimal-discount.spec.d.ts +1 -0
- package/build/tests/unit/charges/discount-conditional/decimal-discount.spec.js +509 -0
- package/build/tests/unit/charges/per-hour-unit/phu-basic-amount-not-paid-TURF-486.spec.d.ts +1 -0
- package/build/tests/unit/charges/per-hour-unit/phu-basic-amount-not-paid-TURF-486.spec.js +148 -0
- package/build/tests/utils/models/booking-entity-test.d.ts +9 -0
- package/build/tests/utils/models/booking-entity-test.js +28 -0
- package/package.json +6 -2
- /package/build/{@enum.d.ts → src/@enum.d.ts} +0 -0
- /package/build/{@enum.js → src/@enum.js} +0 -0
- /package/build/{@model.d.ts → src/@model.d.ts} +0 -0
- /package/build/{@model.js → src/@model.js} +0 -0
- /package/build/{@type.d.ts → src/@type.d.ts} +0 -0
- /package/build/{@type.js → src/@type.js} +0 -0
- /package/build/{@utils.d.ts → src/@utils.d.ts} +0 -0
- /package/build/{@utils.js → src/@utils.js} +0 -0
- /package/build/{index.d.ts → src/index.d.ts} +0 -0
- /package/build/{index.js → src/index.js} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BookingDetailsStatus } from "../../enums/booking-details-status.enum";
|
|
2
|
+
export interface IGetBookingInfoResponse {
|
|
3
|
+
[date: string]: {
|
|
4
|
+
[time: string]: {
|
|
5
|
+
price?: number | undefined;
|
|
6
|
+
bookingId?: number | undefined;
|
|
7
|
+
status?: BookingDetailsStatus | undefined;
|
|
8
|
+
actualPrice?: number | undefined;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICancellationPolicyEntity, ITurfEntity, Modify } from "../../@type";
|
|
2
|
+
export interface IGetCancellationPolicyByOrgIdResponse {
|
|
3
|
+
turfs: {
|
|
4
|
+
[turfId: number]: Modify<ITurfEntity, {
|
|
5
|
+
createdOn: string;
|
|
6
|
+
updatedOn: string;
|
|
7
|
+
}>;
|
|
8
|
+
};
|
|
9
|
+
cancellationPolicy: {
|
|
10
|
+
[turfId: string]: Modify<ICancellationPolicyEntity, {
|
|
11
|
+
createdOn: string;
|
|
12
|
+
updatedOn: string;
|
|
13
|
+
}>[];
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IBookingHistoryEntity, IModifyEntity } from "../../@type";
|
|
2
|
+
export interface IGetCancelledBookingsResponse {
|
|
3
|
+
[turfId: string]: ISortByDateCodeResponse;
|
|
4
|
+
}
|
|
5
|
+
export interface ISortByDateCodeResponse {
|
|
6
|
+
[dateCode: string]: IModifyEntity<IBookingHistoryEntity>[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IBookingPaymentHistoryEntity, ITurfEntity, IUserEntity, Modify } from "../../@type";
|
|
2
|
+
import { IDateWisePaymentHistoryData } from "../../types/date-wise-payment-history-data.types";
|
|
3
|
+
export interface IGetCollectionResponse {
|
|
4
|
+
turfs: {
|
|
5
|
+
[turfId: number]: Modify<ITurfEntity, {
|
|
6
|
+
createdOn: string;
|
|
7
|
+
updatedOn: string;
|
|
8
|
+
}>;
|
|
9
|
+
};
|
|
10
|
+
users: {
|
|
11
|
+
[key: number]: Pick<IUserEntity, "id" | "firstname" | "phone" | "email" | "type">;
|
|
12
|
+
};
|
|
13
|
+
total: IDateWisePaymentHistoryData;
|
|
14
|
+
payments: Modify<IBookingPaymentHistoryEntity, {
|
|
15
|
+
createdOn: string;
|
|
16
|
+
updatedOn: string;
|
|
17
|
+
}>[];
|
|
18
|
+
}
|
|
19
|
+
export interface IGetCollectionRequest {
|
|
20
|
+
fromDateCode?: string;
|
|
21
|
+
toDateCode?: string;
|
|
22
|
+
turfIds?: number[];
|
|
23
|
+
total?: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CronJobsNames, CronJobsStatus } from "../../@enum";
|
|
2
|
+
import { ICronJobsEntity, Modify } from "../../@type";
|
|
3
|
+
export interface IGetCronJobByDateRangeNameStatusResponse extends Array<Modify<ICronJobsEntity, {
|
|
4
|
+
startTime: string;
|
|
5
|
+
endTime: string | null;
|
|
6
|
+
}>> {
|
|
7
|
+
}
|
|
8
|
+
export interface IGetCronJobByDateRangeNameStatusRequest {
|
|
9
|
+
dateRange?: string;
|
|
10
|
+
name?: CronJobsNames[];
|
|
11
|
+
status?: CronJobsStatus[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ISubscriptionEntity, ISubscriptionPitchMappingEntity, Modify } from "../../@type";
|
|
2
|
+
export interface IGetCurrentSubscriptionResponse extends Modify<ISubscriptionEntity, {
|
|
3
|
+
createdOn: string;
|
|
4
|
+
updatedOn: string;
|
|
5
|
+
from: string;
|
|
6
|
+
to: string;
|
|
7
|
+
}> {
|
|
8
|
+
details: Modify<ISubscriptionPitchMappingEntity, {
|
|
9
|
+
createdOn: string;
|
|
10
|
+
updatedOn: string;
|
|
11
|
+
}>[];
|
|
12
|
+
next: Modify<ISubscriptionEntity, {
|
|
13
|
+
createdOn: string;
|
|
14
|
+
updatedOn: string;
|
|
15
|
+
from: string;
|
|
16
|
+
to: string;
|
|
17
|
+
}> | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IOrganizationEntity, ITurfEntity, Modify } from "../../@type";
|
|
2
|
+
import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
|
|
3
|
+
export interface IGetOrganizationByOrgIdResponse extends Modify<IOrganizationEntity, {
|
|
4
|
+
createdOn: string;
|
|
5
|
+
updatedOn: string;
|
|
6
|
+
turfs: Modify<ITurfEntity, {
|
|
7
|
+
createdOn: string;
|
|
8
|
+
updatedOn: string;
|
|
9
|
+
}>[];
|
|
10
|
+
}> {
|
|
11
|
+
owners?: Modify<IUserEntityWithoutPassword, {
|
|
12
|
+
createdOn: string;
|
|
13
|
+
updatedOn: string;
|
|
14
|
+
}>[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IGetPricingPlanByDateResponse {
|
|
2
|
+
id: number;
|
|
3
|
+
effective_from_date: number;
|
|
4
|
+
effective_to_date: number;
|
|
5
|
+
base_price: number;
|
|
6
|
+
unit: string;
|
|
7
|
+
pitch_slab: {
|
|
8
|
+
[key: string]: {
|
|
9
|
+
from: number;
|
|
10
|
+
to: number;
|
|
11
|
+
discount: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
billing_cycle: {
|
|
15
|
+
[key: string]: {
|
|
16
|
+
from: number;
|
|
17
|
+
to: number;
|
|
18
|
+
discount: string;
|
|
19
|
+
name: string;
|
|
20
|
+
key: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IRegistrationEntity, ISubscriptionEntity } from "../entity";
|
|
2
|
+
import { IModifyEntity } from "../modify-entity.interface";
|
|
3
|
+
import { Modify } from "../modify.interface";
|
|
4
|
+
import { IOrganizationWithTurfAndOwners } from "./get-registration-entities.interface";
|
|
5
|
+
export interface IGetRegistrationResponse {
|
|
6
|
+
[registrationId: string]: {
|
|
7
|
+
registration: IModifyEntity<IRegistrationEntity>;
|
|
8
|
+
organization: {
|
|
9
|
+
[id: string]: IOrganizationWithTurfAndOwners;
|
|
10
|
+
};
|
|
11
|
+
subscription: {
|
|
12
|
+
[id: string]: Modify<ISubscriptionEntity, {
|
|
13
|
+
from: string;
|
|
14
|
+
to: string;
|
|
15
|
+
createdOn: string;
|
|
16
|
+
updatedOn: string;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IOrganizationEntity, IRegistrationEntity, ISubscriptionEntity } from "../entity";
|
|
2
|
+
import { IModifyEntity } from "../modify-entity.interface";
|
|
3
|
+
import { IModifyTurf } from "../modify-turf.interface";
|
|
4
|
+
import { Modify } from "../modify.interface";
|
|
5
|
+
import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
|
|
6
|
+
export interface IGetRegistrationEntityByIdResponse {
|
|
7
|
+
registration: IModifyEntity<IRegistrationEntity>;
|
|
8
|
+
organization: {
|
|
9
|
+
[id: string]: IOrganizationWithTurfAndOwners;
|
|
10
|
+
};
|
|
11
|
+
subscription: {
|
|
12
|
+
[id: string]: Modify<ISubscriptionEntity, {
|
|
13
|
+
from: string;
|
|
14
|
+
to: string;
|
|
15
|
+
createdOn: string;
|
|
16
|
+
updatedOn: string;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface IOrganizationWithTurfAndOwners extends Modify<IOrganizationEntity, {
|
|
21
|
+
createdOn: string;
|
|
22
|
+
updatedOn: string;
|
|
23
|
+
turfs: {
|
|
24
|
+
[turfId: string]: IModifyTurf;
|
|
25
|
+
};
|
|
26
|
+
}> {
|
|
27
|
+
owners: {
|
|
28
|
+
[userId: string]: IModifyEntity<IUserEntityWithoutPassword>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export * from "./activate-subscription.interface";
|
|
2
|
+
export * from "./booking-availablity-by-pitch.interface";
|
|
3
|
+
export * from "./cancellation-charges.interface";
|
|
4
|
+
export * from "./create-bank-details.interface";
|
|
5
|
+
export * from "./create-cancellation-policy.interface";
|
|
6
|
+
export * from "./create-coupon.interface";
|
|
7
|
+
export * from "./create-faqs.interface";
|
|
8
|
+
export * from "./create-organization.interface";
|
|
9
|
+
export * from "./create-pricing-plan.interface";
|
|
10
|
+
export * from "./create-recurring-slot-booking.interface";
|
|
11
|
+
export * from "./create-registration-transaction-output.interface";
|
|
12
|
+
export * from "./create-subscription.interface";
|
|
13
|
+
export * from "./delete-bank-details-by-id.interface";
|
|
14
|
+
export * from "../dto/delete-booking-by-codes-dto.interface";
|
|
15
|
+
export * from "./delete-booking-info.interface";
|
|
16
|
+
export * from "./delete-pricing-plan.interface";
|
|
17
|
+
export * from "./get-all-booking-of-turf.interface";
|
|
18
|
+
export * from "./get-bank-detail-by-id.interface";
|
|
19
|
+
export * from "./get-bank-detail-entities.interface";
|
|
20
|
+
export * from "./get-booking-by-organization-id.interface";
|
|
21
|
+
export * from "./get-booking-customers.interface";
|
|
22
|
+
export * from "./get-booking-details-by-id.interface";
|
|
23
|
+
export * from "./get-booking-info.interface";
|
|
24
|
+
export * from "./get-cancellation-policy-entity-by-org-id.interface";
|
|
25
|
+
export * from "./get-collection.interface";
|
|
26
|
+
export * from "./get-cron-job-by-date-range-name-status.interface";
|
|
27
|
+
export * from "./get-current-subscription.interface";
|
|
28
|
+
export * from "./get-organization-by-orgid.interface";
|
|
29
|
+
export * from "./get-price-by-organization-response.interface";
|
|
30
|
+
export * from "./get-price-entity.interface";
|
|
31
|
+
export * from "./get-price-query.interface";
|
|
32
|
+
export * from "./get-pricing-plan-by-date-response.interface";
|
|
33
|
+
export * from "./get-pricing-plan-by-id.interface";
|
|
34
|
+
export * from "./get-pricing-plan-entities.interface";
|
|
35
|
+
export * from "./get-registration-by-id.types";
|
|
36
|
+
export * from "./get-registration-entities.interface";
|
|
37
|
+
export * from "./get-subscription-by-org-id.interface";
|
|
38
|
+
export * from "./get-subscription-entities.interface";
|
|
39
|
+
export * from "./get-turf-by-organization.interface";
|
|
40
|
+
export * from "./get-turf-entity-response.interface";
|
|
41
|
+
export * from "./list-of-coupons.interface";
|
|
42
|
+
export * from "./one-slot-booking.interface";
|
|
43
|
+
export * from "./renew-subscription.interface";
|
|
44
|
+
export * from "./setup-registration.interface";
|
|
45
|
+
export * from "./staff-member-list.interface";
|
|
46
|
+
export * from "./update-bank-detail.interface";
|
|
47
|
+
export * from "../dto/update-booking-by-code-dto.interface";
|
|
48
|
+
export * from "./update-configuration.interface";
|
|
49
|
+
export * from "./update-coupon.interface";
|
|
50
|
+
export * from "./update-faqs-steps.interface";
|
|
51
|
+
export * from "./update-faqs.interface";
|
|
52
|
+
export * from "./update-organization.interface";
|
|
53
|
+
export * from "./update-pricing-plan-by-id.interface";
|
|
54
|
+
export * from "./update-recurring-booking.interface";
|
|
55
|
+
export * from "./update-staff-member.interface";
|
|
56
|
+
export * from "./update-subscription.interface";
|
|
57
|
+
export * from "./update-turf-transaction-output";
|
|
58
|
+
export * from "./upgrade-renew-subscription.interface";
|
|
59
|
+
export * from "./upgrade-subscription.interface";
|
|
60
|
+
export * from "./userentity-without-password.interface";
|
|
61
|
+
export * from "./update-registration-entities.interface";
|
|
62
|
+
export * from "./delete-booking-by-codes.interface";
|
|
63
|
+
export * from "./update-booking-by-code-response.interface";
|
|
64
|
+
export * from "./login-response.interface";
|
|
65
|
+
export * from "./create-turf.interface";
|
|
66
|
+
export * from "./set-price.interface";
|
|
67
|
+
export * from "./manual-trigger-cron-job.interface";
|
|
68
|
+
export * from "./create-user.interface";
|
|
69
|
+
export * from "./update-turf-details.interface";
|
|
70
|
+
export * from "./create-registration-interface";
|
|
71
|
+
export * from "./get-configuration.interface";
|
|
72
|
+
export * from "./get-cancelled-booking.interface";
|
|
73
|
+
export * from "./get-sports.interface";
|
|
74
|
+
export * from "../entity/sports-entity.interface";
|
|
75
|
+
export * from "../api/update-sports-interface";
|
|
76
|
+
export * from "./get-availability-by-turf.interface";
|
|
77
|
+
export * from "./get-tournament.interface";
|
|
78
|
+
export * from "./get-booking-history.interface";
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./activate-subscription.interface"), exports);
|
|
18
|
+
__exportStar(require("./booking-availablity-by-pitch.interface"), exports);
|
|
19
|
+
__exportStar(require("./cancellation-charges.interface"), exports);
|
|
20
|
+
__exportStar(require("./create-bank-details.interface"), exports);
|
|
21
|
+
__exportStar(require("./create-cancellation-policy.interface"), exports);
|
|
22
|
+
__exportStar(require("./create-coupon.interface"), exports);
|
|
23
|
+
__exportStar(require("./create-faqs.interface"), exports);
|
|
24
|
+
__exportStar(require("./create-organization.interface"), exports);
|
|
25
|
+
__exportStar(require("./create-pricing-plan.interface"), exports);
|
|
26
|
+
__exportStar(require("./create-recurring-slot-booking.interface"), exports);
|
|
27
|
+
__exportStar(require("./create-registration-transaction-output.interface"), exports);
|
|
28
|
+
__exportStar(require("./create-subscription.interface"), exports);
|
|
29
|
+
__exportStar(require("./delete-bank-details-by-id.interface"), exports);
|
|
30
|
+
__exportStar(require("../dto/delete-booking-by-codes-dto.interface"), exports);
|
|
31
|
+
__exportStar(require("./delete-booking-info.interface"), exports);
|
|
32
|
+
__exportStar(require("./delete-pricing-plan.interface"), exports);
|
|
33
|
+
__exportStar(require("./get-all-booking-of-turf.interface"), exports);
|
|
34
|
+
__exportStar(require("./get-bank-detail-by-id.interface"), exports);
|
|
35
|
+
__exportStar(require("./get-bank-detail-entities.interface"), exports);
|
|
36
|
+
__exportStar(require("./get-booking-by-organization-id.interface"), exports);
|
|
37
|
+
__exportStar(require("./get-booking-customers.interface"), exports);
|
|
38
|
+
__exportStar(require("./get-booking-details-by-id.interface"), exports);
|
|
39
|
+
__exportStar(require("./get-booking-info.interface"), exports);
|
|
40
|
+
__exportStar(require("./get-cancellation-policy-entity-by-org-id.interface"), exports);
|
|
41
|
+
__exportStar(require("./get-collection.interface"), exports);
|
|
42
|
+
__exportStar(require("./get-cron-job-by-date-range-name-status.interface"), exports);
|
|
43
|
+
__exportStar(require("./get-current-subscription.interface"), exports);
|
|
44
|
+
__exportStar(require("./get-organization-by-orgid.interface"), exports);
|
|
45
|
+
__exportStar(require("./get-price-by-organization-response.interface"), exports);
|
|
46
|
+
__exportStar(require("./get-price-entity.interface"), exports);
|
|
47
|
+
__exportStar(require("./get-price-query.interface"), exports);
|
|
48
|
+
__exportStar(require("./get-pricing-plan-by-date-response.interface"), exports);
|
|
49
|
+
__exportStar(require("./get-pricing-plan-by-id.interface"), exports);
|
|
50
|
+
__exportStar(require("./get-pricing-plan-entities.interface"), exports);
|
|
51
|
+
__exportStar(require("./get-registration-by-id.types"), exports);
|
|
52
|
+
__exportStar(require("./get-registration-entities.interface"), exports);
|
|
53
|
+
__exportStar(require("./get-subscription-by-org-id.interface"), exports);
|
|
54
|
+
__exportStar(require("./get-subscription-entities.interface"), exports);
|
|
55
|
+
__exportStar(require("./get-turf-by-organization.interface"), exports);
|
|
56
|
+
__exportStar(require("./get-turf-entity-response.interface"), exports);
|
|
57
|
+
__exportStar(require("./list-of-coupons.interface"), exports);
|
|
58
|
+
__exportStar(require("./one-slot-booking.interface"), exports);
|
|
59
|
+
__exportStar(require("./renew-subscription.interface"), exports);
|
|
60
|
+
__exportStar(require("./setup-registration.interface"), exports);
|
|
61
|
+
__exportStar(require("./staff-member-list.interface"), exports);
|
|
62
|
+
__exportStar(require("./update-bank-detail.interface"), exports);
|
|
63
|
+
__exportStar(require("../dto/update-booking-by-code-dto.interface"), exports);
|
|
64
|
+
__exportStar(require("./update-configuration.interface"), exports);
|
|
65
|
+
__exportStar(require("./update-coupon.interface"), exports);
|
|
66
|
+
__exportStar(require("./update-faqs-steps.interface"), exports);
|
|
67
|
+
__exportStar(require("./update-faqs.interface"), exports);
|
|
68
|
+
__exportStar(require("./update-organization.interface"), exports);
|
|
69
|
+
__exportStar(require("./update-pricing-plan-by-id.interface"), exports);
|
|
70
|
+
// export * from './get-pricing-plan-by-date-response.interface'
|
|
71
|
+
// export * from './get-pricing-plan-entities.interface'
|
|
72
|
+
__exportStar(require("./update-recurring-booking.interface"), exports);
|
|
73
|
+
__exportStar(require("./update-staff-member.interface"), exports);
|
|
74
|
+
__exportStar(require("./update-subscription.interface"), exports);
|
|
75
|
+
__exportStar(require("./update-turf-transaction-output"), exports);
|
|
76
|
+
__exportStar(require("./upgrade-renew-subscription.interface"), exports);
|
|
77
|
+
__exportStar(require("./upgrade-subscription.interface"), exports);
|
|
78
|
+
__exportStar(require("./userentity-without-password.interface"), exports);
|
|
79
|
+
__exportStar(require("./update-registration-entities.interface"), exports);
|
|
80
|
+
__exportStar(require("./delete-booking-by-codes.interface"), exports);
|
|
81
|
+
__exportStar(require("./update-booking-by-code-response.interface"), exports);
|
|
82
|
+
__exportStar(require("./login-response.interface"), exports);
|
|
83
|
+
__exportStar(require("./create-turf.interface"), exports);
|
|
84
|
+
__exportStar(require("./set-price.interface"), exports);
|
|
85
|
+
__exportStar(require("./manual-trigger-cron-job.interface"), exports);
|
|
86
|
+
__exportStar(require("./create-user.interface"), exports);
|
|
87
|
+
__exportStar(require("./update-turf-details.interface"), exports);
|
|
88
|
+
__exportStar(require("./create-registration-interface"), exports);
|
|
89
|
+
__exportStar(require("./get-configuration.interface"), exports);
|
|
90
|
+
__exportStar(require("./get-cancelled-booking.interface"), exports);
|
|
91
|
+
__exportStar(require("./get-sports.interface"), exports);
|
|
92
|
+
__exportStar(require("../entity/sports-entity.interface"), exports);
|
|
93
|
+
__exportStar(require("../api/update-sports-interface"), exports);
|
|
94
|
+
__exportStar(require("./get-availability-by-turf.interface"), exports);
|
|
95
|
+
__exportStar(require("./get-tournament.interface"), exports);
|
|
96
|
+
__exportStar(require("./get-booking-history.interface"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ILoginResponse {
|
|
2
|
+
UIMessage: string;
|
|
3
|
+
tokenType: string;
|
|
4
|
+
accessToken: string;
|
|
5
|
+
id: string;
|
|
6
|
+
firstname: string;
|
|
7
|
+
status: string;
|
|
8
|
+
requireNewPassword: boolean;
|
|
9
|
+
userId: number;
|
|
10
|
+
role: string;
|
|
11
|
+
email: string | null;
|
|
12
|
+
imageUrl: string | null;
|
|
13
|
+
userPermissions: string[];
|
|
14
|
+
registrationId: number;
|
|
15
|
+
organizationId: number;
|
|
16
|
+
subscriptionStatus: string | null;
|
|
17
|
+
contact: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ILoginRequest {
|
|
20
|
+
username: string;
|
|
21
|
+
password: string;
|
|
22
|
+
}
|