@bondsports/types 0.13.3 → 0.14.0
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/LICENSE.md +0 -0
- package/README.md +17 -12
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/dto/activityTimes.dto.d.ts +7 -0
- package/dist/types/dto/activityTimes.dto.js +45 -0
- package/dist/types/dto/activityTimes.dto.js.map +1 -0
- package/dist/types/dto/application.dto.d.ts +11 -0
- package/dist/types/dto/application.dto.js +45 -0
- package/dist/types/dto/application.dto.js.map +1 -0
- package/dist/types/dto/bookingTypeSetting.dto.d.ts +7 -0
- package/dist/types/dto/bookingTypeSetting.dto.js +43 -0
- package/dist/types/dto/bookingTypeSetting.dto.js.map +1 -0
- package/dist/types/dto/configuration.dto.d.ts +7 -0
- package/dist/types/dto/configuration.dto.js +13 -0
- package/dist/types/dto/configuration.dto.js.map +1 -0
- package/dist/types/dto/customer.dto.d.ts +64 -0
- package/dist/types/dto/customer.dto.js +265 -0
- package/dist/types/dto/customer.dto.js.map +1 -0
- package/dist/types/dto/events.dto.d.ts +105 -0
- package/dist/types/dto/events.dto.js +266 -0
- package/dist/types/dto/events.dto.js.map +1 -0
- package/dist/types/dto/facilities.dto.d.ts +44 -0
- package/dist/types/dto/facilities.dto.js +186 -0
- package/dist/types/dto/facilities.dto.js.map +1 -0
- package/dist/types/dto/familyAccount.dto.d.ts +33 -0
- package/dist/types/dto/familyAccount.dto.js +131 -0
- package/dist/types/dto/familyAccount.dto.js.map +1 -0
- package/dist/types/dto/general.dto.d.ts +12 -0
- package/dist/types/dto/general.dto.js +62 -0
- package/dist/types/dto/general.dto.js.map +1 -0
- package/dist/types/dto/glcodes.dto.d.ts +10 -0
- package/dist/types/dto/glcodes.dto.js +51 -0
- package/dist/types/dto/glcodes.dto.js.map +1 -0
- package/dist/types/dto/groupsDivisions.dto.d.ts +74 -0
- package/dist/types/dto/groupsDivisions.dto.js +287 -0
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -0
- package/dist/types/dto/index.d.ts +24 -0
- package/dist/types/dto/index.js +41 -0
- package/dist/types/dto/index.js.map +1 -0
- package/dist/types/dto/membership.dto.d.ts +58 -0
- package/dist/types/dto/membership.dto.js +240 -0
- package/dist/types/dto/membership.dto.js.map +1 -0
- package/dist/types/dto/pricing.dto.d.ts +45 -0
- package/dist/types/dto/pricing.dto.js +144 -0
- package/dist/types/dto/pricing.dto.js.map +1 -0
- package/dist/types/dto/productPricing.dto.d.ts +229 -0
- package/dist/types/dto/productPricing.dto.js +961 -0
- package/dist/types/dto/productPricing.dto.js.map +1 -0
- package/dist/types/dto/productVariants.dto.d.ts +19 -0
- package/dist/types/dto/productVariants.dto.js +95 -0
- package/dist/types/dto/productVariants.dto.js.map +1 -0
- package/dist/types/dto/program-seasons.dto.d.ts +202 -0
- package/dist/types/dto/program-seasons.dto.js +877 -0
- package/dist/types/dto/program-seasons.dto.js.map +1 -0
- package/dist/types/dto/program.dto.d.ts +47 -0
- package/dist/types/dto/program.dto.js +193 -0
- package/dist/types/dto/program.dto.js.map +1 -0
- package/dist/types/dto/purchase.dto.d.ts +82 -0
- package/dist/types/dto/purchase.dto.js +355 -0
- package/dist/types/dto/purchase.dto.js.map +1 -0
- package/dist/types/dto/registration.d.ts +41 -0
- package/dist/types/dto/registration.js +170 -0
- package/dist/types/dto/registration.js.map +1 -0
- package/dist/types/dto/rental.dto.d.ts +8 -0
- package/dist/types/dto/rental.dto.js +41 -0
- package/dist/types/dto/rental.dto.js.map +1 -0
- package/dist/types/dto/resource.dto.d.ts +5 -0
- package/dist/types/dto/resource.dto.js +29 -0
- package/dist/types/dto/resource.dto.js.map +1 -0
- package/dist/types/dto/space.dto.d.ts +59 -0
- package/dist/types/dto/space.dto.js +264 -0
- package/dist/types/dto/space.dto.js.map +1 -0
- package/dist/types/dto/stripe.dto.d.ts +10 -0
- package/dist/types/dto/stripe.dto.js +44 -0
- package/dist/types/dto/stripe.dto.js.map +1 -0
- package/dist/types/dto/user.dto.d.ts +9 -0
- package/dist/types/dto/user.dto.js +40 -0
- package/dist/types/dto/user.dto.js.map +1 -0
- package/dist/types/entity/ActivityLogRecord.d.ts +15 -0
- package/dist/types/entity/ActivityLogRecord.js +67 -0
- package/dist/types/entity/ActivityLogRecord.js.map +1 -0
- package/dist/types/entity/ActivityTimes.d.ts +18 -0
- package/dist/types/entity/ActivityTimes.js +77 -0
- package/dist/types/entity/ActivityTimes.js.map +1 -0
- package/dist/types/entity/Address.d.ts +12 -0
- package/dist/types/entity/Address.js +62 -0
- package/dist/types/entity/Address.js.map +1 -0
- package/dist/types/entity/Answer.d.ts +17 -0
- package/dist/types/entity/Answer.js +71 -0
- package/dist/types/entity/Answer.js.map +1 -0
- package/dist/types/entity/AnswerTitle.d.ts +9 -0
- package/dist/types/entity/AnswerTitle.js +41 -0
- package/dist/types/entity/AnswerTitle.js.map +1 -0
- package/dist/types/entity/Athlete.d.ts +7 -0
- package/dist/types/entity/Athlete.js +35 -0
- package/dist/types/entity/Athlete.js.map +1 -0
- package/dist/types/entity/AthleteSports.d.ts +7 -0
- package/dist/types/entity/AthleteSports.js +35 -0
- package/dist/types/entity/AthleteSports.js.map +1 -0
- package/dist/types/entity/BlockedDate.d.ts +10 -0
- package/dist/types/entity/BlockedDate.js +47 -0
- package/dist/types/entity/BlockedDate.js.map +1 -0
- package/dist/types/entity/BondBaseEntity.d.ts +6 -0
- package/dist/types/entity/BondBaseEntity.js +29 -0
- package/dist/types/entity/BondBaseEntity.js.map +1 -0
- package/dist/types/entity/BookedSessions.d.ts +21 -0
- package/dist/types/entity/BookedSessions.js +103 -0
- package/dist/types/entity/BookedSessions.js.map +1 -0
- package/dist/types/entity/BookingTypeSetting.d.ts +12 -0
- package/dist/types/entity/BookingTypeSetting.js +55 -0
- package/dist/types/entity/BookingTypeSetting.js.map +1 -0
- package/dist/types/entity/Configuration.d.ts +6 -0
- package/dist/types/entity/Configuration.js +34 -0
- package/dist/types/entity/Configuration.js.map +1 -0
- package/dist/types/entity/Connection.d.ts +13 -0
- package/dist/types/entity/Connection.js +70 -0
- package/dist/types/entity/Connection.js.map +1 -0
- package/dist/types/entity/CreditNote.d.ts +9 -0
- package/dist/types/entity/CreditNote.js +53 -0
- package/dist/types/entity/CreditNote.js.map +1 -0
- package/dist/types/entity/Customer.d.ts +41 -0
- package/dist/types/entity/Customer.js +166 -0
- package/dist/types/entity/Customer.js.map +1 -0
- package/dist/types/entity/CustomerCreditTransaction.d.ts +16 -0
- package/dist/types/entity/CustomerCreditTransaction.js +75 -0
- package/dist/types/entity/CustomerCreditTransaction.js.map +1 -0
- package/dist/types/entity/CustomerNotes.d.ts +8 -0
- package/dist/types/entity/CustomerNotes.js +47 -0
- package/dist/types/entity/CustomerNotes.js.map +1 -0
- package/dist/types/entity/Division.d.ts +10 -0
- package/dist/types/entity/Division.js +58 -0
- package/dist/types/entity/Division.js.map +1 -0
- package/dist/types/entity/EmergencyContact.d.ts +8 -0
- package/dist/types/entity/EmergencyContact.js +40 -0
- package/dist/types/entity/EmergencyContact.js.map +1 -0
- package/dist/types/entity/EntitlementGroup.d.ts +4 -0
- package/dist/types/entity/EntitlementGroup.js +26 -0
- package/dist/types/entity/EntitlementGroup.js.map +1 -0
- package/dist/types/entity/EntitlementTerms.d.ts +6 -0
- package/dist/types/entity/EntitlementTerms.js +30 -0
- package/dist/types/entity/EntitlementTerms.js.map +1 -0
- package/dist/types/entity/EventAttendees.d.ts +20 -0
- package/dist/types/entity/EventAttendees.js +85 -0
- package/dist/types/entity/EventAttendees.js.map +1 -0
- package/dist/types/entity/Events.d.ts +68 -0
- package/dist/types/entity/Events.js +308 -0
- package/dist/types/entity/Events.js.map +1 -0
- package/dist/types/entity/Facility.d.ts +30 -0
- package/dist/types/entity/Facility.js +136 -0
- package/dist/types/entity/Facility.js.map +1 -0
- package/dist/types/entity/FacilityToResource.d.ts +5 -0
- package/dist/types/entity/FacilityToResource.js +30 -0
- package/dist/types/entity/FacilityToResource.js.map +1 -0
- package/dist/types/entity/FamilyAccount.d.ts +6 -0
- package/dist/types/entity/FamilyAccount.js +31 -0
- package/dist/types/entity/FamilyAccount.js.map +1 -0
- package/dist/types/entity/FutureInstallment.d.ts +14 -0
- package/dist/types/entity/FutureInstallment.js +67 -0
- package/dist/types/entity/FutureInstallment.js.map +1 -0
- package/dist/types/entity/GlCodes.d.ts +4 -0
- package/dist/types/entity/GlCodes.js +26 -0
- package/dist/types/entity/GlCodes.js.map +1 -0
- package/dist/types/entity/Group.d.ts +20 -0
- package/dist/types/entity/Group.js +91 -0
- package/dist/types/entity/Group.js.map +1 -0
- package/dist/types/entity/GroupItemsPricing.d.ts +17 -0
- package/dist/types/entity/GroupItemsPricing.js +83 -0
- package/dist/types/entity/GroupItemsPricing.js.map +1 -0
- package/dist/types/entity/GroupsInDivisions.d.ts +6 -0
- package/dist/types/entity/GroupsInDivisions.js +34 -0
- package/dist/types/entity/GroupsInDivisions.js.map +1 -0
- package/dist/types/entity/Invoice.d.ts +32 -0
- package/dist/types/entity/Invoice.js +131 -0
- package/dist/types/entity/Invoice.js.map +1 -0
- package/dist/types/entity/InvoiceMails.d.ts +13 -0
- package/dist/types/entity/InvoiceMails.js +58 -0
- package/dist/types/entity/InvoiceMails.js.map +1 -0
- package/dist/types/entity/InvoiceNote.d.ts +12 -0
- package/dist/types/entity/InvoiceNote.js +54 -0
- package/dist/types/entity/InvoiceNote.js.map +1 -0
- package/dist/types/entity/InvoiceToPayment.d.ts +12 -0
- package/dist/types/entity/InvoiceToPayment.js +58 -0
- package/dist/types/entity/InvoiceToPayment.js.map +1 -0
- package/dist/types/entity/League.d.ts +29 -0
- package/dist/types/entity/League.js +155 -0
- package/dist/types/entity/League.js.map +1 -0
- package/dist/types/entity/LeagueSeason.d.ts +50 -0
- package/dist/types/entity/LeagueSeason.js +225 -0
- package/dist/types/entity/LeagueSeason.js.map +1 -0
- package/dist/types/entity/LineItemHistory.d.ts +14 -0
- package/dist/types/entity/LineItemHistory.js +61 -0
- package/dist/types/entity/LineItemHistory.js.map +1 -0
- package/dist/types/entity/LineItems.d.ts +68 -0
- package/dist/types/entity/LineItems.js +223 -0
- package/dist/types/entity/LineItems.js.map +1 -0
- package/dist/types/entity/LinkedAccounts.d.ts +18 -0
- package/dist/types/entity/LinkedAccounts.js +98 -0
- package/dist/types/entity/LinkedAccounts.js.map +1 -0
- package/dist/types/entity/Media.d.ts +23 -0
- package/dist/types/entity/Media.js +113 -0
- package/dist/types/entity/Media.js.map +1 -0
- package/dist/types/entity/Membership.d.ts +34 -0
- package/dist/types/entity/Membership.js +123 -0
- package/dist/types/entity/Membership.js.map +1 -0
- package/dist/types/entity/MembershipMember.d.ts +26 -0
- package/dist/types/entity/MembershipMember.js +127 -0
- package/dist/types/entity/MembershipMember.js.map +1 -0
- package/dist/types/entity/NotificationSubscriptions.d.ts +8 -0
- package/dist/types/entity/NotificationSubscriptions.js +47 -0
- package/dist/types/entity/NotificationSubscriptions.js.map +1 -0
- package/dist/types/entity/OpeningTime.d.ts +13 -0
- package/dist/types/entity/OpeningTime.js +60 -0
- package/dist/types/entity/OpeningTime.js.map +1 -0
- package/dist/types/entity/OrganizationConnectionBaseEntity.d.ts +4 -0
- package/dist/types/entity/OrganizationConnectionBaseEntity.js +22 -0
- package/dist/types/entity/OrganizationConnectionBaseEntity.js.map +1 -0
- package/dist/types/entity/PackageV1.d.ts +18 -0
- package/dist/types/entity/PackageV1.js +90 -0
- package/dist/types/entity/PackageV1.js.map +1 -0
- package/dist/types/entity/PasswordReset.d.ts +7 -0
- package/dist/types/entity/PasswordReset.js +38 -0
- package/dist/types/entity/PasswordReset.js.map +1 -0
- package/dist/types/entity/Payment.d.ts +32 -0
- package/dist/types/entity/Payment.js +152 -0
- package/dist/types/entity/Payment.js.map +1 -0
- package/dist/types/entity/PaymentFailConfig.d.ts +5 -0
- package/dist/types/entity/PaymentFailConfig.js +29 -0
- package/dist/types/entity/PaymentFailConfig.js.map +1 -0
- package/dist/types/entity/PaymentFailures.d.ts +8 -0
- package/dist/types/entity/PaymentFailures.js +38 -0
- package/dist/types/entity/PaymentFailures.js.map +1 -0
- package/dist/types/entity/PaymentNote.d.ts +12 -0
- package/dist/types/entity/PaymentNote.js +54 -0
- package/dist/types/entity/PaymentNote.js.map +1 -0
- package/dist/types/entity/PaymentPlanSchedule.d.ts +8 -0
- package/dist/types/entity/PaymentPlanSchedule.js +41 -0
- package/dist/types/entity/PaymentPlanSchedule.js.map +1 -0
- package/dist/types/entity/Payments_Deprecated.d.ts +19 -0
- package/dist/types/entity/Payments_Deprecated.js +106 -0
- package/dist/types/entity/Payments_Deprecated.js.map +1 -0
- package/dist/types/entity/Price.d.ts +20 -0
- package/dist/types/entity/Price.js +83 -0
- package/dist/types/entity/Price.js.map +1 -0
- package/dist/types/entity/Product.d.ts +68 -0
- package/dist/types/entity/Product.js +233 -0
- package/dist/types/entity/Product.js.map +1 -0
- package/dist/types/entity/ProductPackage.d.ts +19 -0
- package/dist/types/entity/ProductPackage.js +86 -0
- package/dist/types/entity/ProductPackage.js.map +1 -0
- package/dist/types/entity/ProductPaymentPlan.d.ts +12 -0
- package/dist/types/entity/ProductPaymentPlan.js +53 -0
- package/dist/types/entity/ProductPaymentPlan.js.map +1 -0
- package/dist/types/entity/ProductResource.d.ts +17 -0
- package/dist/types/entity/ProductResource.js +63 -0
- package/dist/types/entity/ProductResource.js.map +1 -0
- package/dist/types/entity/ProductToVariantTitles.d.ts +5 -0
- package/dist/types/entity/ProductToVariantTitles.js +31 -0
- package/dist/types/entity/ProductToVariantTitles.js.map +1 -0
- package/dist/types/entity/ProductToVariants.d.ts +5 -0
- package/dist/types/entity/ProductToVariants.js +31 -0
- package/dist/types/entity/ProductToVariants.js.map +1 -0
- package/dist/types/entity/ProductsReservedForCustomers.d.ts +10 -0
- package/dist/types/entity/ProductsReservedForCustomers.js +46 -0
- package/dist/types/entity/ProductsReservedForCustomers.js.map +1 -0
- package/dist/types/entity/ProductsUsers.d.ts +25 -0
- package/dist/types/entity/ProductsUsers.js +90 -0
- package/dist/types/entity/ProductsUsers.js.map +1 -0
- package/dist/types/entity/Program.d.ts +29 -0
- package/dist/types/entity/Program.js +108 -0
- package/dist/types/entity/Program.js.map +1 -0
- package/dist/types/entity/ProgramHighlights.d.ts +11 -0
- package/dist/types/entity/ProgramHighlights.js +50 -0
- package/dist/types/entity/ProgramHighlights.js.map +1 -0
- package/dist/types/entity/ProgramSeason.d.ts +72 -0
- package/dist/types/entity/ProgramSeason.js +229 -0
- package/dist/types/entity/ProgramSeason.js.map +1 -0
- package/dist/types/entity/PurchasedResources.d.ts +36 -0
- package/dist/types/entity/PurchasedResources.js +127 -0
- package/dist/types/entity/PurchasedResources.js.map +1 -0
- package/dist/types/entity/Questionnaires.d.ts +6 -0
- package/dist/types/entity/Questionnaires.js +31 -0
- package/dist/types/entity/Questionnaires.js.map +1 -0
- package/dist/types/entity/Questions.d.ts +15 -0
- package/dist/types/entity/Questions.js +78 -0
- package/dist/types/entity/Questions.js.map +1 -0
- package/dist/types/entity/RefundReason.d.ts +6 -0
- package/dist/types/entity/RefundReason.js +34 -0
- package/dist/types/entity/RefundReason.js.map +1 -0
- package/dist/types/entity/RegistrationConstraint.d.ts +13 -0
- package/dist/types/entity/RegistrationConstraint.js +64 -0
- package/dist/types/entity/RegistrationConstraint.js.map +1 -0
- package/dist/types/entity/Reservations.d.ts +35 -0
- package/dist/types/entity/Reservations.js +171 -0
- package/dist/types/entity/Reservations.js.map +1 -0
- package/dist/types/entity/Resource.d.ts +36 -0
- package/dist/types/entity/Resource.js +150 -0
- package/dist/types/entity/Resource.js.map +1 -0
- package/dist/types/entity/ResourceGroup.d.ts +8 -0
- package/dist/types/entity/ResourceGroup.js +41 -0
- package/dist/types/entity/ResourceGroup.js.map +1 -0
- package/dist/types/entity/School.d.ts +9 -0
- package/dist/types/entity/School.js +46 -0
- package/dist/types/entity/School.js.map +1 -0
- package/dist/types/entity/SeasonAttendees.d.ts +20 -0
- package/dist/types/entity/SeasonAttendees.js +78 -0
- package/dist/types/entity/SeasonAttendees.js.map +1 -0
- package/dist/types/entity/SeasonDivisions.d.ts +7 -0
- package/dist/types/entity/SeasonDivisions.js +38 -0
- package/dist/types/entity/SeasonDivisions.js.map +1 -0
- package/dist/types/entity/SeasonPool.d.ts +19 -0
- package/dist/types/entity/SeasonPool.js +82 -0
- package/dist/types/entity/SeasonPool.js.map +1 -0
- package/dist/types/entity/SeasonTeam.d.ts +12 -0
- package/dist/types/entity/SeasonTeam.js +56 -0
- package/dist/types/entity/SeasonTeam.js.map +1 -0
- package/dist/types/entity/SpacesDependency.d.ts +5 -0
- package/dist/types/entity/SpacesDependency.js +30 -0
- package/dist/types/entity/SpacesDependency.js.map +1 -0
- package/dist/types/entity/Station.d.ts +15 -0
- package/dist/types/entity/Station.js +68 -0
- package/dist/types/entity/Station.js.map +1 -0
- package/dist/types/entity/StationToSubcategory.d.ts +12 -0
- package/dist/types/entity/StationToSubcategory.js +51 -0
- package/dist/types/entity/StationToSubcategory.js.map +1 -0
- package/dist/types/entity/Subcategory.d.ts +12 -0
- package/dist/types/entity/Subcategory.js +60 -0
- package/dist/types/entity/Subcategory.js.map +1 -0
- package/dist/types/entity/Team.d.ts +37 -0
- package/dist/types/entity/Team.js +199 -0
- package/dist/types/entity/Team.js.map +1 -0
- package/dist/types/entity/TeamInvite.d.ts +10 -0
- package/dist/types/entity/TeamInvite.js +50 -0
- package/dist/types/entity/TeamInvite.js.map +1 -0
- package/dist/types/entity/TeamMember.d.ts +12 -0
- package/dist/types/entity/TeamMember.js +53 -0
- package/dist/types/entity/TeamMember.js.map +1 -0
- package/dist/types/entity/UberOrganization.d.ts +7 -0
- package/dist/types/entity/UberOrganization.js +35 -0
- package/dist/types/entity/UberOrganization.js.map +1 -0
- package/dist/types/entity/User.d.ts +51 -0
- package/dist/types/entity/User.js +238 -0
- package/dist/types/entity/User.js.map +1 -0
- package/dist/types/entity/UserAuthorizations.d.ts +9 -0
- package/dist/types/entity/UserAuthorizations.js +41 -0
- package/dist/types/entity/UserAuthorizations.js.map +1 -0
- package/dist/types/entity/UserInFamilyAccount.d.ts +11 -0
- package/dist/types/entity/UserInFamilyAccount.js +48 -0
- package/dist/types/entity/UserInFamilyAccount.js.map +1 -0
- package/dist/types/entity/UserPaymentMethods.d.ts +10 -0
- package/dist/types/entity/UserPaymentMethods.js +47 -0
- package/dist/types/entity/UserPaymentMethods.js.map +1 -0
- package/dist/types/entity/UsersInGroup.d.ts +6 -0
- package/dist/types/entity/UsersInGroup.js +34 -0
- package/dist/types/entity/UsersInGroup.js.map +1 -0
- package/dist/types/entity/VariantTitles.d.ts +6 -0
- package/dist/types/entity/VariantTitles.js +32 -0
- package/dist/types/entity/VariantTitles.js.map +1 -0
- package/dist/types/entity/Variants.d.ts +8 -0
- package/dist/types/entity/Variants.js +40 -0
- package/dist/types/entity/Variants.js.map +1 -0
- package/dist/types/entity/WebflowOrganizationConfiguration.d.ts +9 -0
- package/dist/types/entity/WebflowOrganizationConfiguration.js +46 -0
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/entity/decorators/column.numeric.transformer.d.ts +5 -0
- package/dist/types/entity/decorators/column.numeric.transformer.js +21 -0
- package/dist/types/entity/decorators/column.numeric.transformer.js.map +1 -0
- package/dist/types/entity/decorators/index.d.ts +1 -0
- package/dist/types/entity/decorators/index.js +18 -0
- package/dist/types/entity/decorators/index.js.map +1 -0
- package/dist/types/entity/index.d.ts +96 -0
- package/dist/types/entity/index.js +113 -0
- package/dist/types/entity/index.js.map +1 -0
- package/dist/types/import/dto/customer.dto.d.ts +16 -0
- package/dist/types/import/dto/customer.dto.js +85 -0
- package/dist/types/import/dto/customer.dto.js.map +1 -0
- package/dist/types/import/dto/index.d.ts +5 -0
- package/dist/types/import/dto/index.js +22 -0
- package/dist/types/import/dto/index.js.map +1 -0
- package/dist/types/import/dto/invoices.dto.d.ts +37 -0
- package/dist/types/import/dto/invoices.dto.js +113 -0
- package/dist/types/import/dto/invoices.dto.js.map +1 -0
- package/dist/types/import/dto/product.dto.d.ts +11 -0
- package/dist/types/import/dto/product.dto.js +26 -0
- package/dist/types/import/dto/product.dto.js.map +1 -0
- package/dist/types/import/dto/punch-pass.dto.d.ts +7 -0
- package/dist/types/import/dto/punch-pass.dto.js +43 -0
- package/dist/types/import/dto/punch-pass.dto.js.map +1 -0
- package/dist/types/import/dto/reservation.dto.d.ts +53 -0
- package/dist/types/import/dto/reservation.dto.js +154 -0
- package/dist/types/import/dto/reservation.dto.js.map +1 -0
- package/dist/types/import/index.d.ts +1 -0
- package/dist/types/import/index.js +18 -0
- package/dist/types/import/index.js.map +1 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/types/index.js +33 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/league/entities/GameSlots.d.ts +5 -0
- package/dist/types/league/entities/GameSlots.js +34 -0
- package/dist/types/league/entities/GameSlots.js.map +1 -0
- package/dist/types/league/entities/MatchParticipants.d.ts +10 -0
- package/dist/types/league/entities/MatchParticipants.js +50 -0
- package/dist/types/league/entities/MatchParticipants.js.map +1 -0
- package/dist/types/league/entities/Matches.d.ts +6 -0
- package/dist/types/league/entities/Matches.js +34 -0
- package/dist/types/league/entities/Matches.js.map +1 -0
- package/dist/types/league/entities/RoundEvents.d.ts +8 -0
- package/dist/types/league/entities/RoundEvents.js +44 -0
- package/dist/types/league/entities/RoundEvents.js.map +1 -0
- package/dist/types/league/entities/SeasonRounds.d.ts +7 -0
- package/dist/types/league/entities/SeasonRounds.js +38 -0
- package/dist/types/league/entities/SeasonRounds.js.map +1 -0
- package/dist/types/league/entities/TeamEvents.d.ts +6 -0
- package/dist/types/league/entities/TeamEvents.js +34 -0
- package/dist/types/league/entities/TeamEvents.js.map +1 -0
- package/dist/types/league/entities/index.d.ts +6 -0
- package/dist/types/league/entities/index.js +23 -0
- package/dist/types/league/entities/index.js.map +1 -0
- package/dist/types/league/index.d.ts +1 -0
- package/dist/types/league/index.js +18 -0
- package/dist/types/league/index.js.map +1 -0
- package/dist/types/locks/entities/Lock.d.ts +5 -0
- package/dist/types/locks/entities/Lock.js +29 -0
- package/dist/types/locks/entities/Lock.js.map +1 -0
- package/dist/types/locks/entities/index.d.ts +1 -0
- package/dist/types/locks/entities/index.js +18 -0
- package/dist/types/locks/entities/index.js.map +1 -0
- package/dist/types/locks/index.d.ts +1 -0
- package/dist/types/locks/index.js +18 -0
- package/dist/types/locks/index.js.map +1 -0
- package/dist/types/models/ExitCode.d.ts +6 -0
- package/dist/types/models/ExitCode.js +10 -0
- package/dist/types/models/ExitCode.js.map +1 -0
- package/dist/types/models/index.d.ts +2 -0
- package/dist/types/models/index.js +19 -0
- package/dist/types/models/index.js.map +1 -0
- package/dist/types/models/interfaces/date-util.d.ts +9 -0
- package/dist/types/models/interfaces/date-util.js +3 -0
- package/dist/types/models/interfaces/date-util.js.map +1 -0
- package/dist/types/models/interfaces/index.d.ts +2 -0
- package/dist/types/models/interfaces/index.js +19 -0
- package/dist/types/models/interfaces/index.js.map +1 -0
- package/dist/types/models/interfaces/payment.d.ts +13 -0
- package/dist/types/models/interfaces/payment.js +3 -0
- package/dist/types/models/interfaces/payment.js.map +1 -0
- package/dist/types/monitor-config/dto/create-monitor-config.dto.d.ts +6 -0
- package/dist/types/monitor-config/dto/create-monitor-config.dto.js +37 -0
- package/dist/types/monitor-config/dto/create-monitor-config.dto.js.map +1 -0
- package/dist/types/monitor-config/dto/index.d.ts +2 -0
- package/dist/types/monitor-config/dto/index.js +19 -0
- package/dist/types/monitor-config/dto/index.js.map +1 -0
- package/dist/types/monitor-config/dto/update-monitor-config.dto.d.ts +5 -0
- package/dist/types/monitor-config/dto/update-monitor-config.dto.js +9 -0
- package/dist/types/monitor-config/dto/update-monitor-config.dto.js.map +1 -0
- package/dist/types/monitor-config/entities/index.d.ts +1 -0
- package/dist/types/monitor-config/entities/index.js +18 -0
- package/dist/types/monitor-config/entities/index.js.map +1 -0
- package/dist/types/monitor-config/entities/monitor-config.entity.d.ts +6 -0
- package/dist/types/monitor-config/entities/monitor-config.entity.js +33 -0
- package/dist/types/monitor-config/entities/monitor-config.entity.js.map +1 -0
- package/dist/types/monitor-config/index.d.ts +2 -0
- package/dist/types/monitor-config/index.js +19 -0
- package/dist/types/monitor-config/index.js.map +1 -0
- package/dist/types/notifyTracker/entities/index.d.ts +1 -0
- package/dist/types/notifyTracker/entities/index.js +18 -0
- package/dist/types/notifyTracker/entities/index.js.map +1 -0
- package/dist/types/notifyTracker/entities/notifyTracker.d.ts +9 -0
- package/dist/types/notifyTracker/entities/notifyTracker.js +43 -0
- package/dist/types/notifyTracker/entities/notifyTracker.js.map +1 -0
- package/dist/types/notifyTracker/index.d.ts +1 -0
- package/dist/types/notifyTracker/index.js +18 -0
- package/dist/types/notifyTracker/index.js.map +1 -0
- package/dist/types/organization/dto/index.d.ts +1 -0
- package/dist/types/organization/dto/index.js +18 -0
- package/dist/types/organization/dto/index.js.map +1 -0
- package/dist/types/organization/dto/organization.dto.d.ts +25 -0
- package/dist/types/organization/dto/organization.dto.js +123 -0
- package/dist/types/organization/dto/organization.dto.js.map +1 -0
- package/dist/types/organization/entities/Organization.d.ts +57 -0
- package/dist/types/organization/entities/Organization.js +333 -0
- package/dist/types/organization/entities/Organization.js.map +1 -0
- package/dist/types/organization/entities/OrganizationBranding.d.ts +8 -0
- package/dist/types/organization/entities/OrganizationBranding.js +40 -0
- package/dist/types/organization/entities/OrganizationBranding.js.map +1 -0
- package/dist/types/organization/entities/OrganizationSettings.d.ts +4 -0
- package/dist/types/organization/entities/OrganizationSettings.js +26 -0
- package/dist/types/organization/entities/OrganizationSettings.js.map +1 -0
- package/dist/types/organization/entities/OrganizationUsers.d.ts +5 -0
- package/dist/types/organization/entities/OrganizationUsers.js +30 -0
- package/dist/types/organization/entities/OrganizationUsers.js.map +1 -0
- package/dist/types/organization/entities/index.d.ts +4 -0
- package/dist/types/organization/entities/index.js +21 -0
- package/dist/types/organization/entities/index.js.map +1 -0
- package/dist/types/organization/index.d.ts +3 -0
- package/dist/types/organization/index.js +20 -0
- package/dist/types/organization/index.js.map +1 -0
- package/dist/types/organization/interfaces/index.d.ts +1 -0
- package/dist/types/organization/interfaces/index.js +18 -0
- package/dist/types/organization/interfaces/index.js.map +1 -0
- package/dist/types/organization/interfaces/organization.d.ts +26 -0
- package/dist/types/organization/interfaces/organization.js +3 -0
- package/dist/types/organization/interfaces/organization.js.map +1 -0
- package/dist/types/payment/dto/index.d.ts +3 -0
- package/dist/types/payment/dto/index.js +20 -0
- package/dist/types/payment/dto/index.js.map +1 -0
- package/dist/types/payment/dto/payment.dto.d.ts +131 -0
- package/dist/types/payment/dto/payment.dto.js +446 -0
- package/dist/types/payment/dto/payment.dto.js.map +1 -0
- package/dist/types/payment/dto/refund.dto.d.ts +24 -0
- package/dist/types/payment/dto/refund.dto.js +100 -0
- package/dist/types/payment/dto/refund.dto.js.map +1 -0
- package/dist/types/payment/dto/void.dto.d.ts +11 -0
- package/dist/types/payment/dto/void.dto.js +53 -0
- package/dist/types/payment/dto/void.dto.js.map +1 -0
- package/dist/types/payment/index.d.ts +3 -0
- package/dist/types/payment/index.js +20 -0
- package/dist/types/payment/index.js.map +1 -0
- package/dist/types/payment/interfaces/index.d.ts +3 -0
- package/dist/types/payment/interfaces/index.js +20 -0
- package/dist/types/payment/interfaces/index.js.map +1 -0
- package/dist/types/payment/interfaces/payment.d.ts +27 -0
- package/dist/types/payment/interfaces/payment.js +3 -0
- package/dist/types/payment/interfaces/payment.js.map +1 -0
- package/dist/types/payment/interfaces/refund.d.ts +13 -0
- package/dist/types/payment/interfaces/refund.js +3 -0
- package/dist/types/payment/interfaces/refund.js.map +1 -0
- package/dist/types/payment/interfaces/void.d.ts +11 -0
- package/dist/types/payment/interfaces/void.js +3 -0
- package/dist/types/payment/interfaces/void.js.map +1 -0
- package/dist/types/payment/stripe/index.d.ts +1 -0
- package/dist/types/payment/stripe/index.js +18 -0
- package/dist/types/payment/stripe/index.js.map +1 -0
- package/dist/types/payment/stripe/stripe.types.d.ts +41 -0
- package/dist/types/payment/stripe/stripe.types.js +3 -0
- package/dist/types/payment/stripe/stripe.types.js.map +1 -0
- package/dist/types/reservations/dto/addon.dto.d.ts +29 -0
- package/dist/types/reservations/dto/addon.dto.js +97 -0
- package/dist/types/reservations/dto/addon.dto.js.map +1 -0
- package/dist/types/reservations/dto/index.d.ts +10 -0
- package/dist/types/reservations/dto/index.js +27 -0
- package/dist/types/reservations/dto/index.js.map +1 -0
- package/dist/types/reservations/dto/invoice.dto.d.ts +42 -0
- package/dist/types/reservations/dto/invoice.dto.js +159 -0
- package/dist/types/reservations/dto/invoice.dto.js.map +1 -0
- package/dist/types/reservations/dto/lineItem.dto.d.ts +30 -0
- package/dist/types/reservations/dto/lineItem.dto.js +128 -0
- package/dist/types/reservations/dto/lineItem.dto.js.map +1 -0
- package/dist/types/reservations/dto/maintenance.dto.d.ts +8 -0
- package/dist/types/reservations/dto/maintenance.dto.js +47 -0
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -0
- package/dist/types/reservations/dto/purcased-resource.dto.d.ts +9 -0
- package/dist/types/reservations/dto/purcased-resource.dto.js +55 -0
- package/dist/types/reservations/dto/purcased-resource.dto.js.map +1 -0
- package/dist/types/reservations/dto/reservation.dto.d.ts +164 -0
- package/dist/types/reservations/dto/reservation.dto.js +694 -0
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -0
- package/dist/types/reservations/dto/segment.dto.d.ts +13 -0
- package/dist/types/reservations/dto/segment.dto.js +83 -0
- package/dist/types/reservations/dto/segment.dto.js.map +1 -0
- package/dist/types/reservations/dto/series.dto.d.ts +20 -0
- package/dist/types/reservations/dto/series.dto.js +112 -0
- package/dist/types/reservations/dto/series.dto.js.map +1 -0
- package/dist/types/reservations/dto/slot.dto.d.ts +67 -0
- package/dist/types/reservations/dto/slot.dto.js +312 -0
- package/dist/types/reservations/dto/slot.dto.js.map +1 -0
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +36 -0
- package/dist/types/reservations/dto/v1.reservation.dto.js +167 -0
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -0
- package/dist/types/reservations/entities/Addon.d.ts +26 -0
- package/dist/types/reservations/entities/Addon.js +128 -0
- package/dist/types/reservations/entities/Addon.js.map +1 -0
- package/dist/types/reservations/entities/InvoicedSlots.d.ts +7 -0
- package/dist/types/reservations/entities/InvoicedSlots.js +38 -0
- package/dist/types/reservations/entities/InvoicedSlots.js.map +1 -0
- package/dist/types/reservations/entities/Reservations.d.ts +40 -0
- package/dist/types/reservations/entities/Reservations.js +191 -0
- package/dist/types/reservations/entities/Reservations.js.map +1 -0
- package/dist/types/reservations/entities/Segments.d.ts +18 -0
- package/dist/types/reservations/entities/Segments.js +86 -0
- package/dist/types/reservations/entities/Segments.js.map +1 -0
- package/dist/types/reservations/entities/Series.d.ts +23 -0
- package/dist/types/reservations/entities/Series.js +108 -0
- package/dist/types/reservations/entities/Series.js.map +1 -0
- package/dist/types/reservations/entities/Slots.d.ts +76 -0
- package/dist/types/reservations/entities/Slots.js +319 -0
- package/dist/types/reservations/entities/Slots.js.map +1 -0
- package/dist/types/reservations/entities/index.d.ts +6 -0
- package/dist/types/reservations/entities/index.js +23 -0
- package/dist/types/reservations/entities/index.js.map +1 -0
- package/dist/types/reservations/index.d.ts +3 -0
- package/dist/types/reservations/index.js +20 -0
- package/dist/types/reservations/index.js.map +1 -0
- package/dist/types/reservations/interfaces/index.d.ts +2 -0
- package/dist/types/reservations/interfaces/index.js +19 -0
- package/dist/types/reservations/interfaces/index.js.map +1 -0
- package/dist/types/reservations/interfaces/invoice.d.ts +63 -0
- package/dist/types/reservations/interfaces/invoice.js +13 -0
- package/dist/types/reservations/interfaces/invoice.js.map +1 -0
- package/dist/types/reservations/interfaces/reservation.d.ts +240 -0
- package/dist/types/reservations/interfaces/reservation.js +11 -0
- package/dist/types/reservations/interfaces/reservation.js.map +1 -0
- package/dist/types/roles/dto/change-permissions.dto.d.ts +3 -0
- package/dist/types/roles/dto/change-permissions.dto.js +23 -0
- package/dist/types/roles/dto/change-permissions.dto.js.map +1 -0
- package/dist/types/roles/dto/create-role.dto.d.ts +3 -0
- package/dist/types/roles/dto/create-role.dto.js +23 -0
- package/dist/types/roles/dto/create-role.dto.js.map +1 -0
- package/dist/types/roles/dto/index.d.ts +3 -0
- package/dist/types/roles/dto/index.js +20 -0
- package/dist/types/roles/dto/index.js.map +1 -0
- package/dist/types/roles/dto/update-role.dto.d.ts +5 -0
- package/dist/types/roles/dto/update-role.dto.js +9 -0
- package/dist/types/roles/dto/update-role.dto.js.map +1 -0
- package/dist/types/roles/entities/Permission.d.ts +5 -0
- package/dist/types/roles/entities/Permission.js +29 -0
- package/dist/types/roles/entities/Permission.js.map +1 -0
- package/dist/types/roles/entities/Role.d.ts +9 -0
- package/dist/types/roles/entities/Role.js +51 -0
- package/dist/types/roles/entities/Role.js.map +1 -0
- package/dist/types/roles/entities/UserRole.d.ts +10 -0
- package/dist/types/roles/entities/UserRole.js +46 -0
- package/dist/types/roles/entities/UserRole.js.map +1 -0
- package/dist/types/roles/entities/index.d.ts +3 -0
- package/dist/types/roles/entities/index.js +20 -0
- package/dist/types/roles/entities/index.js.map +1 -0
- package/dist/types/roles/index.d.ts +2 -0
- package/dist/types/roles/index.js +19 -0
- package/dist/types/roles/index.js.map +1 -0
- package/dist/types/services/enums.service.d.ts +569 -0
- package/dist/types/services/enums.service.js +654 -0
- package/dist/types/services/enums.service.js.map +1 -0
- package/dist/types/services/index.d.ts +2 -0
- package/dist/types/services/index.js +19 -0
- package/dist/types/services/index.js.map +1 -0
- package/dist/types/services/interfaces.service.d.ts +383 -0
- package/dist/types/services/interfaces.service.js +21 -0
- package/dist/types/services/interfaces.service.js.map +1 -0
- package/dist/types/shifts/dto/close-shift.dto.d.ts +3 -0
- package/dist/types/shifts/dto/close-shift.dto.js +23 -0
- package/dist/types/shifts/dto/close-shift.dto.js.map +1 -0
- package/dist/types/shifts/dto/find-shifts-by-ids.dto.d.ts +3 -0
- package/dist/types/shifts/dto/find-shifts-by-ids.dto.js +23 -0
- package/dist/types/shifts/dto/find-shifts-by-ids.dto.js.map +1 -0
- package/dist/types/shifts/dto/find-shifts-filters.dto.d.ts +20 -0
- package/dist/types/shifts/dto/find-shifts-filters.dto.js +69 -0
- package/dist/types/shifts/dto/find-shifts-filters.dto.js.map +1 -0
- package/dist/types/shifts/dto/index.d.ts +5 -0
- package/dist/types/shifts/dto/index.js +22 -0
- package/dist/types/shifts/dto/index.js.map +1 -0
- package/dist/types/shifts/dto/management-closing-shifts.dto.d.ts +7 -0
- package/dist/types/shifts/dto/management-closing-shifts.dto.js +37 -0
- package/dist/types/shifts/dto/management-closing-shifts.dto.js.map +1 -0
- package/dist/types/shifts/dto/open-shift.dto.d.ts +4 -0
- package/dist/types/shifts/dto/open-shift.dto.js +28 -0
- package/dist/types/shifts/dto/open-shift.dto.js.map +1 -0
- package/dist/types/shifts/entities/index.d.ts +1 -0
- package/dist/types/shifts/entities/index.js +18 -0
- package/dist/types/shifts/entities/index.js.map +1 -0
- package/dist/types/shifts/entities/shift.entity.d.ts +33 -0
- package/dist/types/shifts/entities/shift.entity.js +134 -0
- package/dist/types/shifts/entities/shift.entity.js.map +1 -0
- package/dist/types/shifts/index.d.ts +2 -0
- package/dist/types/shifts/index.js +19 -0
- package/dist/types/shifts/index.js.map +1 -0
- package/dist/types/util/dto.util.d.ts +7 -0
- package/dist/types/util/dto.util.js +22 -0
- package/dist/types/util/dto.util.js.map +1 -0
- package/dist/types/util/index.d.ts +4 -0
- package/dist/types/util/index.js +21 -0
- package/dist/types/util/index.js.map +1 -0
- package/dist/types/util/string.util.d.ts +4 -0
- package/dist/types/util/string.util.js +12 -0
- package/dist/types/util/string.util.js.map +1 -0
- package/dist/types/util/transformer.util.d.ts +6 -0
- package/dist/types/util/transformer.util.js +43 -0
- package/dist/types/util/transformer.util.js.map +1 -0
- package/dist/types/util/typesScript.util.d.ts +4 -0
- package/dist/types/util/typesScript.util.js +22 -0
- package/dist/types/util/typesScript.util.js.map +1 -0
- package/dist/types/webflow/index.d.ts +1 -0
- package/dist/types/webflow/index.js +18 -0
- package/dist/types/webflow/index.js.map +1 -0
- package/dist/types/webflow/interfaces/iWebflowProgram.interfaces.d.ts +13 -0
- package/dist/types/webflow/interfaces/iWebflowProgram.interfaces.js +3 -0
- package/dist/types/webflow/interfaces/iWebflowProgram.interfaces.js.map +1 -0
- package/dist/types/webflow/interfaces/index.d.ts +1 -0
- package/dist/types/webflow/interfaces/index.js +18 -0
- package/dist/types/webflow/interfaces/index.js.map +1 -0
- package/package.json +56 -49
- package/build/index.d.ts +0 -4568
- package/build/index.es.js +0 -2
- package/build/index.es.js.map +0 -1
- package/build/index.js +0 -2
- package/build/index.js.map +0 -1
- package/build/provider.d.ts +0 -4
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductResource = void 0;
|
|
13
|
+
const Product_1 = require("./Product");
|
|
14
|
+
const enums_service_1 = require("../services/enums.service");
|
|
15
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const ProgramSeason_1 = require("./ProgramSeason");
|
|
18
|
+
const Events_1 = require("./Events");
|
|
19
|
+
const ProductPackage_1 = require("./ProductPackage");
|
|
20
|
+
let ProductResource = class ProductResource extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Index)('ProductResources_productId_fk_idx'),
|
|
24
|
+
(0, typeorm_1.Column)('integer', { name: 'productId', nullable: false }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], ProductResource.prototype, "productId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)('integer', { name: 'resourceId', nullable: false }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], ProductResource.prototype, "resourceId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('varchar', { name: 'resourceType', nullable: false, length: 255 }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], ProductResource.prototype, "resourceType", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
37
|
+
__metadata("design:type", Date)
|
|
38
|
+
], ProductResource.prototype, "deletedAt", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.ManyToOne)(() => ProgramSeason_1.ProgramSeason, programSeason => programSeason.productResources),
|
|
41
|
+
(0, typeorm_1.JoinColumn)([{ name: 'resourceId', referencedColumnName: 'id' }]),
|
|
42
|
+
__metadata("design:type", ProgramSeason_1.ProgramSeason)
|
|
43
|
+
], ProductResource.prototype, "programSeason", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.ManyToOne)(() => Events_1.Event, event => event.productResources),
|
|
46
|
+
(0, typeorm_1.JoinColumn)([{ name: 'resourceId', referencedColumnName: 'id' }]),
|
|
47
|
+
__metadata("design:type", Events_1.Event)
|
|
48
|
+
], ProductResource.prototype, "event", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.ManyToOne)(() => Product_1.Product, product => product.productResources),
|
|
51
|
+
__metadata("design:type", Product_1.Product)
|
|
52
|
+
], ProductResource.prototype, "product", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.OneToMany)(() => ProductPackage_1.ProductPackage, productPackage => productPackage.productResource),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], ProductResource.prototype, "productPackages", void 0);
|
|
57
|
+
ProductResource = __decorate([
|
|
58
|
+
(0, typeorm_1.Index)('ProductResources_resourceId_resourceType_idx', ['resourceId', 'resourceType']),
|
|
59
|
+
(0, typeorm_1.Index)('ProductResources_pkey', ['id'], { unique: true }),
|
|
60
|
+
(0, typeorm_1.Entity)('ProductResources', { schema: 'public' })
|
|
61
|
+
], ProductResource);
|
|
62
|
+
exports.ProductResource = ProductResource;
|
|
63
|
+
//# sourceMappingURL=ProductResource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductResource.js","sourceRoot":"","sources":["../../../src/types/entity/ProductResource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoC;AACpC,6DAAiE;AACjE,yFAAsF;AACtF,qCAAoG;AACpG,mDAAgD;AAChD,qCAAiC;AACjC,qDAAkD;AAK3C,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,mEAAgC;CA6BpE,CAAA;AA5BA;IAAC,IAAA,eAAK,EAAC,mCAAmC,CAAC;IAC1C,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kDACxC;AAElB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAA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QAAQ,EAAE,CAAC;GACpC,eAAe,CA6B3B;AA7BY,0CAAe"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductToVariantTitle = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
15
|
+
let ProductToVariantTitle = class ProductToVariantTitle extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.Index)('ProductToVariantTitles_productId_fk_idx'),
|
|
19
|
+
(0, typeorm_1.Column)('integer', { name: 'productId', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ProductToVariantTitle.prototype, "productId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)('integer', { name: 'variantTitleId', nullable: false }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], ProductToVariantTitle.prototype, "variantTitleId", void 0);
|
|
26
|
+
ProductToVariantTitle = __decorate([
|
|
27
|
+
(0, typeorm_1.Index)('ProductToVariantTitles_pkey', ['id'], { unique: true }),
|
|
28
|
+
(0, typeorm_1.Entity)('ProductToVariantTitles', { schema: 'public' })
|
|
29
|
+
], ProductToVariantTitle);
|
|
30
|
+
exports.ProductToVariantTitle = ProductToVariantTitle;
|
|
31
|
+
//# sourceMappingURL=ProductToVariantTitles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductToVariantTitles.js","sourceRoot":"","sources":["../../../src/types/entity/ProductToVariantTitles.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,yFAAsF;AAI/E,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,mEAAgC;CAO1E,CAAA;AANA;IAAC,IAAA,eAAK,EAAC,yCAAyC,CAAC;IAChD,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACxC;AAElB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6DACxC;AANX,qBAAqB;IAFjC,IAAA,eAAK,EAAC,6BAA6B,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC9D,IAAA,gBAAM,EAAC,wBAAwB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GAC1C,qBAAqB,CAOjC;AAPY,sDAAqB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductToVariant = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
15
|
+
let ProductToVariant = class ProductToVariant extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.Index)('ProductToVariants_productId_fk_idx'),
|
|
19
|
+
(0, typeorm_1.Column)('integer', { name: 'productId', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ProductToVariant.prototype, "productId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)('integer', { name: 'variantId', nullable: false }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], ProductToVariant.prototype, "variantId", void 0);
|
|
26
|
+
ProductToVariant = __decorate([
|
|
27
|
+
(0, typeorm_1.Index)('ProductToVariants_pkey', ['id'], { unique: true }),
|
|
28
|
+
(0, typeorm_1.Entity)('ProductToVariants', { schema: 'public' })
|
|
29
|
+
], ProductToVariant);
|
|
30
|
+
exports.ProductToVariant = ProductToVariant;
|
|
31
|
+
//# sourceMappingURL=ProductToVariants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductToVariants.js","sourceRoot":"","sources":["../../../src/types/entity/ProductToVariants.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,yFAAsF;AAI/E,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mEAAgC;CAOrE,CAAA;AANA;IAAC,IAAA,eAAK,EAAC,oCAAoC,CAAC;IAC3C,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;mDACxC;AAElB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;mDACxC;AANN,gBAAgB;IAF5B,IAAA,eAAK,EAAC,wBAAwB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACrC,gBAAgB,CAO5B;AAPY,4CAAgB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Product } from './Product';
|
|
2
|
+
import { Customer } from './Customer';
|
|
3
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
4
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
5
|
+
productId: number;
|
|
6
|
+
customerId: number;
|
|
7
|
+
customer: Customer;
|
|
8
|
+
deletedAt?: Date;
|
|
9
|
+
product: Product;
|
|
10
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductsReservedForCustomers = void 0;
|
|
13
|
+
const Product_1 = require("./Product");
|
|
14
|
+
const Customer_1 = require("./Customer");
|
|
15
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
let ProductsReservedForCustomers = class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)('integer', { name: 'productId', nullable: false }),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], ProductsReservedForCustomers.prototype, "productId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)('integer', { name: 'customerId', nullable: false }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], ProductsReservedForCustomers.prototype, "customerId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)(() => Customer_1.Customer, cusotmer => cusotmer.name),
|
|
29
|
+
(0, typeorm_1.JoinColumn)([{ name: 'customerId', referencedColumnName: 'id' }]),
|
|
30
|
+
__metadata("design:type", Customer_1.Customer)
|
|
31
|
+
], ProductsReservedForCustomers.prototype, "customer", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
34
|
+
__metadata("design:type", Date)
|
|
35
|
+
], ProductsReservedForCustomers.prototype, "deletedAt", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.ManyToOne)(() => Product_1.Product, product => product.productsReservedForCustomers),
|
|
38
|
+
(0, typeorm_1.JoinColumn)([{ name: 'productId', referencedColumnName: 'id' }]),
|
|
39
|
+
__metadata("design:type", Product_1.Product)
|
|
40
|
+
], ProductsReservedForCustomers.prototype, "product", void 0);
|
|
41
|
+
ProductsReservedForCustomers = __decorate([
|
|
42
|
+
(0, typeorm_1.Index)('ProductsReservedForCustomers_pkey', ['id'], { unique: true }),
|
|
43
|
+
(0, typeorm_1.Entity)('ProductsReservedForCustomers', { schema: 'public' })
|
|
44
|
+
], ProductsReservedForCustomers);
|
|
45
|
+
exports.ProductsReservedForCustomers = ProductsReservedForCustomers;
|
|
46
|
+
//# sourceMappingURL=ProductsReservedForCustomers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductsReservedForCustomers.js","sourceRoot":"","sources":["../../../src/types/entity/ProductsReservedForCustomers.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoC;AACpC,yCAAsC;AACtC,yFAAsF;AACtF,qCAAyF;AAKlF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,mEAAgC;CAwBjF,CAAA;AAtBA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+DACrC;AAElB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gEACxC;AAEtB;IAAC,IAAA,mBAAS,EACT,GAAG,EAAE,CAAC,mBAAQ,EACd,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CACzB;IACA,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,mBAAQ;8DAAC;AAEnB;IAAC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC5B,IAAI;+DAAC;AAEjB;IAAC,IAAA,mBAAS,EACT,GAAG,EAAE,CAAC,iBAAO,EACb,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAC/C;IACA,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,iBAAO;6DAAC;AAvBL,4BAA4B;IAFxC,IAAA,eAAK,EAAC,mCAAmC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACpE,IAAA,gBAAM,EAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GAChD,4BAA4B,CAwBxC;AAxBY,oEAA4B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { User } from './User';
|
|
2
|
+
import { PaymentStatusEnum, CurrencyEnum } from '../services/enums.service';
|
|
3
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
4
|
+
import { PurchasedResource } from './PurchasedResources';
|
|
5
|
+
import { Product } from './Product';
|
|
6
|
+
import { LineItems } from './LineItems';
|
|
7
|
+
import { Slot } from '../reservations/entities/Slots';
|
|
8
|
+
import { Addon } from '../reservations/entities/Addon';
|
|
9
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
10
|
+
productId: number;
|
|
11
|
+
userId: number;
|
|
12
|
+
user?: User;
|
|
13
|
+
paymentStatus: PaymentStatusEnum;
|
|
14
|
+
productName: string;
|
|
15
|
+
productPrice: number;
|
|
16
|
+
productQuantity: number;
|
|
17
|
+
productQuantityLeft: number;
|
|
18
|
+
productPriceCurrency: CurrencyEnum;
|
|
19
|
+
ordinal?: number;
|
|
20
|
+
purchasedResources: PurchasedResource[];
|
|
21
|
+
product: Product;
|
|
22
|
+
lineItem: LineItems;
|
|
23
|
+
slots?: Slot[];
|
|
24
|
+
addons?: Addon[];
|
|
25
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductsUsers = void 0;
|
|
13
|
+
const column_numeric_transformer_1 = require("./decorators/column.numeric.transformer");
|
|
14
|
+
const enums_service_1 = require("../services/enums.service");
|
|
15
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const PurchasedResources_1 = require("./PurchasedResources");
|
|
18
|
+
const Product_1 = require("./Product");
|
|
19
|
+
const LineItems_1 = require("./LineItems");
|
|
20
|
+
const Slots_1 = require("../reservations/entities/Slots");
|
|
21
|
+
const Addon_1 = require("../reservations/entities/Addon");
|
|
22
|
+
let ProductsUsers = class ProductsUsers extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
23
|
+
};
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Index)('ProductsUsers_productId_fk_idx'),
|
|
26
|
+
(0, typeorm_1.Column)('integer', { name: 'productId', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ProductsUsers.prototype, "productId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Index)('ProductsUsers_userId_fk_idx'),
|
|
31
|
+
(0, typeorm_1.Column)('integer', { name: 'userId', nullable: false }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], ProductsUsers.prototype, "userId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)('varchar', { name: 'paymentStatus', nullable: false, length: 255, default: enums_service_1.PaymentStatusEnum.NOT_PAID }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ProductsUsers.prototype, "paymentStatus", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)('varchar', { name: 'productName', nullable: false, length: 255 }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ProductsUsers.prototype, "productName", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)('decimal', {
|
|
44
|
+
name: 'productPrice',
|
|
45
|
+
nullable: false,
|
|
46
|
+
precision: 7,
|
|
47
|
+
scale: 2,
|
|
48
|
+
transformer: new column_numeric_transformer_1.ColumnNumericTransformer(),
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], ProductsUsers.prototype, "productPrice", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)('integer', { name: 'productQuantity', nullable: false, default: 1 }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], ProductsUsers.prototype, "productQuantity", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)('integer', { name: 'productQuantityLeft', nullable: false, default: 1 }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], ProductsUsers.prototype, "productQuantityLeft", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)('varchar', { name: 'productPriceCurrency', nullable: false, default: 'USD' }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], ProductsUsers.prototype, "productPriceCurrency", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.OneToMany)(() => PurchasedResources_1.PurchasedResource, purchasedResource => purchasedResource.productUser),
|
|
66
|
+
__metadata("design:type", Array)
|
|
67
|
+
], ProductsUsers.prototype, "purchasedResources", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.ManyToOne)(() => Product_1.Product, product => product.productsUsers),
|
|
70
|
+
(0, typeorm_1.JoinColumn)([{ name: 'productId', referencedColumnName: 'id' }]),
|
|
71
|
+
__metadata("design:type", Product_1.Product)
|
|
72
|
+
], ProductsUsers.prototype, "product", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.OneToOne)(() => LineItems_1.LineItems, lineItem => lineItem.productUser),
|
|
75
|
+
__metadata("design:type", LineItems_1.LineItems)
|
|
76
|
+
], ProductsUsers.prototype, "lineItem", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.OneToMany)(() => Slots_1.Slot, slot => slot.productUser),
|
|
79
|
+
__metadata("design:type", Array)
|
|
80
|
+
], ProductsUsers.prototype, "slots", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.OneToMany)(() => Addon_1.Addon, addon => addon.productUser),
|
|
83
|
+
__metadata("design:type", Array)
|
|
84
|
+
], ProductsUsers.prototype, "addons", void 0);
|
|
85
|
+
ProductsUsers = __decorate([
|
|
86
|
+
(0, typeorm_1.Index)('ProductsCustomers_pkey', ['id'], { unique: true }),
|
|
87
|
+
(0, typeorm_1.Entity)('ProductsUsers', { schema: 'public' })
|
|
88
|
+
], ProductsUsers);
|
|
89
|
+
exports.ProductsUsers = ProductsUsers;
|
|
90
|
+
//# sourceMappingURL=ProductsUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
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C,aAAa,CAmDzB;AAnDY,sCAAa"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Media } from './Media';
|
|
2
|
+
import { GenderEnum, PublishingStatusEnum, ProgramTypesEnum, SportsEnum, LevelOfPlayEnum } from '../services/enums.service';
|
|
3
|
+
import { BondBaseEntity } from './BondBaseEntity';
|
|
4
|
+
import { ProgramHighlights } from './ProgramHighlights';
|
|
5
|
+
import { ProgramSeason } from './ProgramSeason';
|
|
6
|
+
import { PurchasedResource } from './PurchasedResources';
|
|
7
|
+
export declare class Program extends BondBaseEntity {
|
|
8
|
+
type: ProgramTypesEnum;
|
|
9
|
+
name: string;
|
|
10
|
+
sport: SportsEnum;
|
|
11
|
+
minAge: string;
|
|
12
|
+
maxAge: string;
|
|
13
|
+
gender: GenderEnum;
|
|
14
|
+
level: LevelOfPlayEnum[] | null;
|
|
15
|
+
description: string | null;
|
|
16
|
+
GL?: string | null;
|
|
17
|
+
status: PublishingStatusEnum;
|
|
18
|
+
mainMedia: Media;
|
|
19
|
+
organizationId: number;
|
|
20
|
+
userCreatorId: number;
|
|
21
|
+
programHighlights: ProgramHighlights[];
|
|
22
|
+
linkSEO: string;
|
|
23
|
+
longDescription?: string;
|
|
24
|
+
requiredProductIds: number[] | null;
|
|
25
|
+
deletedAt?: Date;
|
|
26
|
+
programSeason: ProgramSeason[];
|
|
27
|
+
purchasedResources: PurchasedResource[];
|
|
28
|
+
ageCalcDate?: Date;
|
|
29
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Program = void 0;
|
|
13
|
+
const Media_1 = require("./Media");
|
|
14
|
+
const enums_service_1 = require("../services/enums.service");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
17
|
+
const ProgramHighlights_1 = require("./ProgramHighlights");
|
|
18
|
+
const ProgramSeason_1 = require("./ProgramSeason");
|
|
19
|
+
const PurchasedResources_1 = require("./PurchasedResources");
|
|
20
|
+
let Program = class Program extends BondBaseEntity_1.BondBaseEntity {
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)('integer', { name: 'type', nullable: false }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], Program.prototype, "type", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)('character varying', { name: 'name', nullable: false, length: 255 }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], Program.prototype, "name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)('integer', { name: 'sport', nullable: false }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], Program.prototype, "sport", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)('varchar', { name: 'minAge', nullable: false }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Program.prototype, "minAge", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)('varchar', { name: 'maxAge', nullable: false }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Program.prototype, "maxAge", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)('integer', { name: 'gender', nullable: false }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], Program.prototype, "gender", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)('int4', { name: 'level', nullable: true, array: true }),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], Program.prototype, "level", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)('text', { name: 'description', nullable: true }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], Program.prototype, "description", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)('varchar', { name: 'GL', nullable: true, length: 255 }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Program.prototype, "GL", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)('integer', { name: 'status', nullable: false, default: enums_service_1.PublishingStatusEnum.DRAFT }),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], Program.prototype, "status", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.ManyToOne)(() => Media_1.Media, media => media.programs),
|
|
64
|
+
(0, typeorm_1.JoinColumn)([{ name: 'mainMediaId', referencedColumnName: 'id' }]),
|
|
65
|
+
__metadata("design:type", Media_1.Media)
|
|
66
|
+
], Program.prototype, "mainMedia", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)('integer', { name: 'organizationId', nullable: false }),
|
|
69
|
+
__metadata("design:type", Number)
|
|
70
|
+
], Program.prototype, "organizationId", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)('integer', { name: 'userCreatorId', nullable: false }),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], Program.prototype, "userCreatorId", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.OneToMany)(() => ProgramHighlights_1.ProgramHighlights, programHighlights => programHighlights.program),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], Program.prototype, "programHighlights", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)('text', { name: 'longDescription', nullable: true }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], Program.prototype, "longDescription", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)('integer', { name: 'requiredProductIds', nullable: true, array: true }),
|
|
85
|
+
__metadata("design:type", Array)
|
|
86
|
+
], Program.prototype, "requiredProductIds", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
89
|
+
__metadata("design:type", Date)
|
|
90
|
+
], Program.prototype, "deletedAt", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.OneToMany)(() => ProgramSeason_1.ProgramSeason, programSeason => programSeason.program),
|
|
93
|
+
__metadata("design:type", Array)
|
|
94
|
+
], Program.prototype, "programSeason", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.OneToMany)(() => PurchasedResources_1.PurchasedResource, purchasedResource => purchasedResource.program),
|
|
97
|
+
__metadata("design:type", Array)
|
|
98
|
+
], Program.prototype, "purchasedResources", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.Column)('date', { name: 'ageCalcDate', nullable: true }),
|
|
101
|
+
__metadata("design:type", Date)
|
|
102
|
+
], Program.prototype, "ageCalcDate", void 0);
|
|
103
|
+
Program = __decorate([
|
|
104
|
+
(0, typeorm_1.Index)('Programs_pkey', ['id'], { unique: true }),
|
|
105
|
+
(0, typeorm_1.Entity)('Programs', { schema: 'public' })
|
|
106
|
+
], Program);
|
|
107
|
+
exports.Program = Program;
|
|
108
|
+
//# sourceMappingURL=Program.js.map
|
|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C;8BAC5B,IAAI;0CAAC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAa,EAAE,aAAa,CAAC,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC;;8CACxC;AAE/B;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sCAAiB,EAAE,iBAAiB,CAAC,EAAE,CAAC,iBAAiB,CAAC,OAAO,CAAC;;mDAC3C;AAExC;IAAC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC1C,IAAI;4CAAC;AA9DP,OAAO;IAFnB,IAAA,eAAK,EAAC,eAAe,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAChD,IAAA,gBAAM,EAAC,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GAC5B,OAAO,CA+DnB;AA/DY,0BAAO"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ProgramHighlightTypeEnum } from '../services/enums.service';
|
|
2
|
+
import { BondBaseEntity } from './BondBaseEntity';
|
|
3
|
+
import { Program } from './Program';
|
|
4
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
5
|
+
type: ProgramHighlightTypeEnum;
|
|
6
|
+
ordinal: number | null;
|
|
7
|
+
title: string | null;
|
|
8
|
+
data: any | null;
|
|
9
|
+
program: Program;
|
|
10
|
+
deletedAt?: Date;
|
|
11
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProgramHighlights = void 0;
|
|
13
|
+
const enums_service_1 = require("../services/enums.service");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
16
|
+
const Program_1 = require("./Program");
|
|
17
|
+
let ProgramHighlights = class ProgramHighlights extends BondBaseEntity_1.BondBaseEntity {
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)('integer', { name: 'type', nullable: false }),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], ProgramHighlights.prototype, "type", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)('integer', { name: 'ordinal', nullable: true }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], ProgramHighlights.prototype, "ordinal", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)('character varying', { name: 'title', nullable: true, length: 255 }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ProgramHighlights.prototype, "title", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('jsonb', { name: 'data', nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], ProgramHighlights.prototype, "data", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Index)('ProgramHighlights_programId_fk_idx'),
|
|
37
|
+
(0, typeorm_1.ManyToOne)(() => Program_1.Program, programs => programs.programHighlights, { onDelete: 'CASCADE' }),
|
|
38
|
+
(0, typeorm_1.JoinColumn)([{ name: 'programId', referencedColumnName: 'id' }]),
|
|
39
|
+
__metadata("design:type", Program_1.Program)
|
|
40
|
+
], ProgramHighlights.prototype, "program", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], ProgramHighlights.prototype, "deletedAt", void 0);
|
|
45
|
+
ProgramHighlights = __decorate([
|
|
46
|
+
(0, typeorm_1.Index)('ProgramHighlights_pkey', ['id'], { unique: true }),
|
|
47
|
+
(0, typeorm_1.Entity)('ProgramHighlights', { schema: 'public' })
|
|
48
|
+
], ProgramHighlights);
|
|
49
|
+
exports.ProgramHighlights = ProgramHighlights;
|
|
50
|
+
//# sourceMappingURL=ProgramHighlights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgramHighlights.js","sourceRoot":"","sources":["../../../src/types/entity/ProgramHighlights.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAqE;AACrE,qCAAyF;AACzF,qDAAkD;AAClD,uCAAoC;AAI7B,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAc;CAoBpD,CAAA;AAnBA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+CACtB;AAE/B;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAChC;AAEvB;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;gDACvD;AAErB;IAAC,IAAA,gBAAM,EAAC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACjC;AAEjB;IAAC,IAAA,eAAK,EAAC,oCAAoC,CAAC;IAC3C,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iBAAO,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,iBAAiB,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACzF,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,iBAAO;kDAAC;AAEjB;IAAC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC5B,IAAI;oDAAC;AAnBL,iBAAiB;IAF7B,IAAA,eAAK,EAAC,wBAAwB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACrC,iBAAiB,CAoB7B;AApBY,8CAAiB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { GenderEnum, LevelOfPlayEnum, ProgramSeasonTypesEnum, PublishingStatusEnum, SportsEnum } from '../services/enums.service';
|
|
2
|
+
import { EventAsSeasonSegment, SeasonAsSeasonSegment } from './../services/interfaces.service';
|
|
3
|
+
import { ActivityTimes } from './ActivityTimes';
|
|
4
|
+
import { Address } from './Address';
|
|
5
|
+
import { BlockedDate } from './BlockedDate';
|
|
6
|
+
import { BondBaseEntity } from './BondBaseEntity';
|
|
7
|
+
import { Event } from './Events';
|
|
8
|
+
import { Facility } from './Facility';
|
|
9
|
+
import { Product } from './Product';
|
|
10
|
+
import { ProductResource } from './ProductResource';
|
|
11
|
+
import { Program } from './Program';
|
|
12
|
+
import { PurchasedResource } from './PurchasedResources';
|
|
13
|
+
import { RegistrationConstraint } from './RegistrationConstraint';
|
|
14
|
+
import { Resource } from './Resource';
|
|
15
|
+
import { SeasonAttendee } from './SeasonAttendees';
|
|
16
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
17
|
+
programId: number;
|
|
18
|
+
name: string;
|
|
19
|
+
description: string | null;
|
|
20
|
+
GL?: string | null;
|
|
21
|
+
status: PublishingStatusEnum;
|
|
22
|
+
startDate: Date;
|
|
23
|
+
endDate: Date;
|
|
24
|
+
registrationStartDate: Date | null;
|
|
25
|
+
registrationEndDate: Date | null;
|
|
26
|
+
questionnaires: number[] | null;
|
|
27
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
28
|
+
parentSeasonId: number | null;
|
|
29
|
+
maxParticipants: number | null;
|
|
30
|
+
maxMaleParticipants: number | null;
|
|
31
|
+
maxFemaleParticipants: number | null;
|
|
32
|
+
maxWaitlist: number | null;
|
|
33
|
+
maxMaleWaitlist: number | null;
|
|
34
|
+
maxFemaleWaitlist: number | null;
|
|
35
|
+
organizationId: number;
|
|
36
|
+
facilityId: number | null;
|
|
37
|
+
facilityName?: string;
|
|
38
|
+
addressId: number | null;
|
|
39
|
+
sport: SportsEnum;
|
|
40
|
+
minAge: string;
|
|
41
|
+
maxAge: string;
|
|
42
|
+
gender: GenderEnum;
|
|
43
|
+
level: LevelOfPlayEnum[] | null;
|
|
44
|
+
blockedDated: BlockedDate[];
|
|
45
|
+
seasonAttendees: SeasonAttendee[];
|
|
46
|
+
products: Product[];
|
|
47
|
+
linkSEO: string;
|
|
48
|
+
address: Address;
|
|
49
|
+
defaultProductId?: number;
|
|
50
|
+
longDescription?: string;
|
|
51
|
+
isPunchCard?: boolean;
|
|
52
|
+
deletedAt?: Date;
|
|
53
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
54
|
+
program: Program;
|
|
55
|
+
spaces?: Resource[];
|
|
56
|
+
reservationId?: number;
|
|
57
|
+
earlyRegistrationStartDate?: Date;
|
|
58
|
+
earlyRegistrationEndDate?: Date;
|
|
59
|
+
lateRegistrationStartDate?: Date;
|
|
60
|
+
lateRegistrationEndDate?: Date;
|
|
61
|
+
requiredProductIds?: number[];
|
|
62
|
+
registrationConstraints?: RegistrationConstraint;
|
|
63
|
+
sessionSegments: ProgramSeason[];
|
|
64
|
+
sessionEvents: Event[];
|
|
65
|
+
parentSession: ProgramSeason;
|
|
66
|
+
activityTimes: ActivityTimes[];
|
|
67
|
+
productResources: ProductResource[];
|
|
68
|
+
facility: Facility;
|
|
69
|
+
purchasedResources: PurchasedResource[];
|
|
70
|
+
ageCalcDate: Date;
|
|
71
|
+
updateAgeCalcDate(): void;
|
|
72
|
+
}
|