@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,78 @@
|
|
|
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.SeasonAttendee = void 0;
|
|
13
|
+
const ProgramSeason_1 = require("./ProgramSeason");
|
|
14
|
+
const User_1 = require("./User");
|
|
15
|
+
const enums_service_1 = require("./../services/enums.service");
|
|
16
|
+
const enums_service_2 = require("../services/enums.service");
|
|
17
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
18
|
+
const typeorm_1 = require("typeorm");
|
|
19
|
+
const PurchasedResources_1 = require("./PurchasedResources");
|
|
20
|
+
let SeasonAttendee = class SeasonAttendee extends BondBaseEntity_1.BondBaseEntity {
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)('integer', { name: 'status', nullable: false, default: 1 }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], SeasonAttendee.prototype, "status", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)('varchar', { name: 'paymentStatus', nullable: false, default: enums_service_1.PaymentStatusEnum.NOT_PAID }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SeasonAttendee.prototype, "paymentStatus", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)('integer', { name: 'paymentId', nullable: true }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], SeasonAttendee.prototype, "paymentId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)('integer', { name: 'productId', nullable: true }),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], SeasonAttendee.prototype, "productId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)('integer', { name: 'attendeeId', nullable: true }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], SeasonAttendee.prototype, "attendeeId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.ManyToOne)(() => User_1.User, users => users.seasonAttendees, { onDelete: 'CASCADE' }),
|
|
44
|
+
(0, typeorm_1.JoinColumn)([{ name: 'attendeeId', referencedColumnName: 'id' }]),
|
|
45
|
+
__metadata("design:type", User_1.User)
|
|
46
|
+
], SeasonAttendee.prototype, "attendee", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)('integer', { name: 'seasonId', nullable: true }),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], SeasonAttendee.prototype, "seasonId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.ManyToOne)(() => ProgramSeason_1.ProgramSeason, season => season.seasonAttendees, { onDelete: 'CASCADE' }),
|
|
53
|
+
(0, typeorm_1.JoinColumn)([{ name: 'seasonId', referencedColumnName: 'id' }]),
|
|
54
|
+
__metadata("design:type", ProgramSeason_1.ProgramSeason)
|
|
55
|
+
], SeasonAttendee.prototype, "season", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)('integer', { name: 'productUserId', nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], SeasonAttendee.prototype, "productUserId", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)('integer', { name: 'answerTitleIds', nullable: true, array: true }),
|
|
62
|
+
__metadata("design:type", Array)
|
|
63
|
+
], SeasonAttendee.prototype, "answerTitleIds", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
|
+
], SeasonAttendee.prototype, "deletedAt", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.OneToOne)(() => PurchasedResources_1.PurchasedResource, purchasedResource => purchasedResource.eventAttendee),
|
|
70
|
+
(0, typeorm_1.JoinColumn)([{ name: 'productUserId', referencedColumnName: 'productUserId' }]),
|
|
71
|
+
__metadata("design:type", PurchasedResources_1.PurchasedResource)
|
|
72
|
+
], SeasonAttendee.prototype, "purchasedResource", void 0);
|
|
73
|
+
SeasonAttendee = __decorate([
|
|
74
|
+
(0, typeorm_1.Index)('SeasonAttendees_pkey', ['id'], { unique: true }),
|
|
75
|
+
(0, typeorm_1.Entity)('SeasonAttendees', { schema: 'public' })
|
|
76
|
+
], SeasonAttendee);
|
|
77
|
+
exports.SeasonAttendee = SeasonAttendee;
|
|
78
|
+
//# sourceMappingURL=SeasonAttendees.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeasonAttendees.js","sourceRoot":"","sources":["../../../src/types/entity/SeasonAttendees.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAgD;AAChD,iCAA8B;AAC9B,+DAAgE;AAChE,6DAA8D;AAC9D,qDAAkD;AAClD,qCAA8G;AAC9G,6DAAyD;AAIlD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,+BAAc;CAuCjD,CAAA;AAtCA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8CACzC;AAE1B;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,iCAAiB,CAAC,QAAQ,EAAE,CAAC;;qDAClE;AAEjC;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACtC;AAEnB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACtC;AAEnB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACvC;AAEnB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9E,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,WAAI;gDAAC;AAEf;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACvC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAa,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACzF,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,6BAAa;8CAAC;AAEtB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACtC;AAEvB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;sDACjD;AAE1B;IAAC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC5B,IAAI;iDAAC;AAEjB;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,sCAAiB,EAAE,iBAAiB,CAAC,EAAE,CAAC,iBAAiB,CAAC,aAAa,CAAC;IACvF,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,oBAAoB,EAAE,eAAe,EAAE,CAAC,CAAC;8BAC5D,sCAAiB;yDAAC;AAtCzB,cAAc;IAF1B,IAAA,eAAK,EAAC,sBAAsB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvD,IAAA,gBAAM,EAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACnC,cAAc,CAuC1B;AAvCY,wCAAc"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.SeasonDivisions = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
15
|
+
let SeasonDivisions = class SeasonDivisions extends BondBaseEntity_1.BondBaseEntity {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.Column)('character varying', { name: 'name', nullable: true, length: 255 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SeasonDivisions.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)('integer', { name: 'ordinal', nullable: true }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SeasonDivisions.prototype, "ordinal", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)('integer', { name: 'seasonId', nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], SeasonDivisions.prototype, "seasonId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)('character varying', { name: 'color', nullable: true, length: 255 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SeasonDivisions.prototype, "color", void 0);
|
|
33
|
+
SeasonDivisions = __decorate([
|
|
34
|
+
(0, typeorm_1.Index)('SeasonDivisions_pkey', ['id'], { unique: true }),
|
|
35
|
+
(0, typeorm_1.Entity)('SeasonDivisions', { schema: 'public' })
|
|
36
|
+
], SeasonDivisions);
|
|
37
|
+
exports.SeasonDivisions = SeasonDivisions;
|
|
38
|
+
//# sourceMappingURL=SeasonDivisions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeasonDivisions.js","sourceRoot":"","sources":["../../../src/types/entity/SeasonDivisions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,qDAAkD;AAI3C,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+BAAc;CAYlD,CAAA;AAXA;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;6CACvD;AAEpB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAChC;AAEvB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAChC;AAExB;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;8CACvD;AAXT,eAAe;IAF3B,IAAA,eAAK,EAAC,sBAAsB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvD,IAAA,gBAAM,EAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACnC,eAAe,CAY3B;AAZY,0CAAe"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PaymentStatusV1Enum } from './../services/enums.service';
|
|
2
|
+
import { BondBaseEntity } from './BondBaseEntity';
|
|
3
|
+
import { PurchasedResource } from './PurchasedResources';
|
|
4
|
+
import { LeagueSeason } from './LeagueSeason';
|
|
5
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
6
|
+
seasonId?: number;
|
|
7
|
+
userId?: number;
|
|
8
|
+
status?: number;
|
|
9
|
+
entityId?: number;
|
|
10
|
+
entityType?: string;
|
|
11
|
+
groupId?: string;
|
|
12
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
13
|
+
metadata?: any;
|
|
14
|
+
paymentId?: number;
|
|
15
|
+
externalAssign?: boolean;
|
|
16
|
+
productUserId?: number;
|
|
17
|
+
purchasedResource: PurchasedResource;
|
|
18
|
+
season: LeagueSeason;
|
|
19
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.SeasonPool = 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 PurchasedResources_1 = require("./PurchasedResources");
|
|
17
|
+
const LeagueSeason_1 = require("./LeagueSeason");
|
|
18
|
+
let SeasonPool = class SeasonPool extends BondBaseEntity_1.BondBaseEntity {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)('integer', { name: 'seasonId', nullable: true }),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], SeasonPool.prototype, "seasonId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)('integer', { name: 'userId', nullable: true }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], SeasonPool.prototype, "userId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('integer', { name: 'status', nullable: true }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], SeasonPool.prototype, "status", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)('integer', { name: 'entityId', nullable: true }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], SeasonPool.prototype, "entityId", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('character varying', {
|
|
38
|
+
name: 'entityType',
|
|
39
|
+
nullable: true,
|
|
40
|
+
length: 255,
|
|
41
|
+
}),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], SeasonPool.prototype, "entityType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)('character varying', { name: 'groupId', nullable: true, length: 255 }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], SeasonPool.prototype, "groupId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)('integer', { name: 'paymentStatus', nullable: true }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], SeasonPool.prototype, "paymentStatus", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)('jsonb', { name: 'metadata', nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], SeasonPool.prototype, "metadata", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)('integer', { name: 'paymentId', nullable: true }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], SeasonPool.prototype, "paymentId", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)('boolean', { name: 'externalAssign', nullable: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], SeasonPool.prototype, "externalAssign", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)('integer', { name: 'productUserId', nullable: true }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], SeasonPool.prototype, "productUserId", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.OneToOne)(() => PurchasedResources_1.PurchasedResource, purchasedResource => purchasedResource.seasonAttendee),
|
|
70
|
+
__metadata("design:type", PurchasedResources_1.PurchasedResource)
|
|
71
|
+
], SeasonPool.prototype, "purchasedResource", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.ManyToOne)(() => LeagueSeason_1.LeagueSeason, season => season.seasonAttendees),
|
|
74
|
+
(0, typeorm_1.JoinColumn)([{ name: 'seasonId', referencedColumnName: 'id' }]),
|
|
75
|
+
__metadata("design:type", LeagueSeason_1.LeagueSeason)
|
|
76
|
+
], SeasonPool.prototype, "season", void 0);
|
|
77
|
+
SeasonPool = __decorate([
|
|
78
|
+
(0, typeorm_1.Index)('SeasonPools_pkey', ['id'], { unique: true }),
|
|
79
|
+
(0, typeorm_1.Entity)('SeasonPools', { schema: 'public' })
|
|
80
|
+
], SeasonPool);
|
|
81
|
+
exports.SeasonPool = SeasonPool;
|
|
82
|
+
//# sourceMappingURL=SeasonPool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeasonPool.js","sourceRoot":"","sources":["../../../src/types/entity/SeasonPool.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAAkE;AAClE,qCAAiF;AACjF,qDAAkD;AAClD,6DAAyD;AAEzD,iDAA8C;AAIvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAc;CA4C7C,CAAA;AA3CA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACtC;AAElB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACtC;AAEhB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACtC;AAEhB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACtC;AAElB;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE;QAC5B,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,GAAG;KACX,CAAC;;8CACkB;AAEpB;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2CAC7D;AAEjB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACzB;AAEpC;IAAC,IAAA,gBAAM,EAAC,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACvC;AAEf;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACtC;AAEnB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACrC;AAEzB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACtC;AAEvB;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,sCAAiB,EAAE,iBAAiB,CAAC,EAAE,CAAC,iBAAiB,CAAC,cAAc,CAAC;8BACtE,sCAAiB;qDAAC;AAErC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2BAAY,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC;IAC/D,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,2BAAY;0CAAC;AA3CT,UAAU;IAFtB,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACnD,IAAA,gBAAM,EAAC,aAAa,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GAC/B,UAAU,CA4CtB;AA5CY,gCAAU"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BondBaseEntity } from './BondBaseEntity';
|
|
2
|
+
import { Team } from './Team';
|
|
3
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
4
|
+
seasonId: number | null;
|
|
5
|
+
teamId: number | null;
|
|
6
|
+
standingPosition: number | null;
|
|
7
|
+
statistics: any | null;
|
|
8
|
+
points: number | null;
|
|
9
|
+
divisionId: number | null;
|
|
10
|
+
metaData: any | null;
|
|
11
|
+
team: Team;
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.SeasonTeam = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
15
|
+
const Team_1 = require("./Team");
|
|
16
|
+
let SeasonTeam = class SeasonTeam extends BondBaseEntity_1.BondBaseEntity {
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.Column)('integer', { name: 'seasonId', nullable: true }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], SeasonTeam.prototype, "seasonId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)('integer', { name: 'teamId', nullable: true }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], SeasonTeam.prototype, "teamId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)('integer', { name: 'standingPosition', nullable: true }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], SeasonTeam.prototype, "standingPosition", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)('jsonb', { name: 'statistics', nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], SeasonTeam.prototype, "statistics", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)('integer', { name: 'points', nullable: true }),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], SeasonTeam.prototype, "points", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)('integer', { name: 'divisionId', nullable: true }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], SeasonTeam.prototype, "divisionId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)('jsonb', { name: 'metaData', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], SeasonTeam.prototype, "metaData", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.ManyToOne)(() => Team_1.Team),
|
|
48
|
+
(0, typeorm_1.JoinColumn)([{ name: 'teamId', referencedColumnName: 'id' }]),
|
|
49
|
+
__metadata("design:type", Team_1.Team)
|
|
50
|
+
], SeasonTeam.prototype, "team", void 0);
|
|
51
|
+
SeasonTeam = __decorate([
|
|
52
|
+
(0, typeorm_1.Index)('SeasonTeams_pkey', ['id'], { unique: true }),
|
|
53
|
+
(0, typeorm_1.Entity)('SeasonTeams', { schema: 'public' })
|
|
54
|
+
], SeasonTeam);
|
|
55
|
+
exports.SeasonTeam = SeasonTeam;
|
|
56
|
+
//# sourceMappingURL=SeasonTeam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeasonTeam.js","sourceRoot":"","sources":["../../../src/types/entity/SeasonTeam.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,qDAAkD;AAClD,iCAA8B;AAIvB,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAc;CAyB7C,CAAA;AAxBA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAChC;AAExB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAChC;AAEtB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAChC;AAEhC;IAAC,IAAA,gBAAM,EAAC,OAAO,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACjC;AAEvB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAChC;AAEtB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAChC;AAE1B;IAAC,IAAA,gBAAM,EAAC,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACjC;AAErB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;IACrB,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,WAAI;wCAAC;AAxBC,UAAU;IAFtB,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACnD,IAAA,gBAAM,EAAC,aAAa,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GAC/B,UAAU,CAyBtB;AAzBY,gCAAU"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.SpacesDependency = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
15
|
+
let SpacesDependency = class SpacesDependency extends BondBaseEntity_1.BondBaseEntity {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.Column)('integer', { name: 'blockingSpaceId', nullable: true }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], SpacesDependency.prototype, "blockingSpaceId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)('integer', { name: 'blockedSpaceId', nullable: true }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SpacesDependency.prototype, "blockedSpaceId", void 0);
|
|
25
|
+
SpacesDependency = __decorate([
|
|
26
|
+
(0, typeorm_1.Index)('SpacesDependencies_pkey', ['id'], { unique: true }),
|
|
27
|
+
(0, typeorm_1.Entity)('SpacesDependencies', { schema: 'public' })
|
|
28
|
+
], SpacesDependency);
|
|
29
|
+
exports.SpacesDependency = SpacesDependency;
|
|
30
|
+
//# sourceMappingURL=SpacesDependency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpacesDependency.js","sourceRoot":"","sources":["../../../src/types/entity/SpacesDependency.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,qDAAkD;AAI3C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,+BAAc;CAMnD,CAAA;AALA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACvC;AAExB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACvC;AALX,gBAAgB;IAF5B,IAAA,eAAK,EAAC,yBAAyB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC1D,IAAA,gBAAM,EAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACtC,gBAAgB,CAM5B;AANY,4CAAgB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Shift } from '../shifts/entities/shift.entity';
|
|
2
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
|
+
import { Subcategory } from './Subcategory';
|
|
4
|
+
import { StationToSubcategory } from './StationToSubcategory';
|
|
5
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
6
|
+
name: string;
|
|
7
|
+
facilityId: number;
|
|
8
|
+
processorTerminalId: string | null;
|
|
9
|
+
terminaLabel: string | null;
|
|
10
|
+
processorSerialNumber: string | null;
|
|
11
|
+
currentOpenShift?: Shift;
|
|
12
|
+
stationToSubcategories: StationToSubcategory[];
|
|
13
|
+
subcategories: Subcategory[];
|
|
14
|
+
shifts?: Shift[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.Station = void 0;
|
|
13
|
+
const shift_entity_1 = require("../shifts/entities/shift.entity");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
16
|
+
const Subcategory_1 = require("./Subcategory");
|
|
17
|
+
const StationToSubcategory_1 = require("./StationToSubcategory");
|
|
18
|
+
let Station = class Station extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)('character varying', { name: 'name', length: 255 }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Station.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)('integer', { name: 'facilityId' }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], Station.prototype, "facilityId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('character varying', { name: 'processorTerminalId', nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Station.prototype, "processorTerminalId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)('character varying', { name: 'terminaLabel', nullable: true, length: 255 }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Station.prototype, "terminaLabel", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('character varying', { name: 'processorSerialNumber', nullable: true, length: 255 }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Station.prototype, "processorSerialNumber", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.OneToMany)(() => StationToSubcategory_1.StationToSubcategory, stationToSubcategory => stationToSubcategory.station),
|
|
42
|
+
__metadata("design:type", Array)
|
|
43
|
+
], Station.prototype, "stationToSubcategories", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.ManyToMany)(() => Subcategory_1.Subcategory),
|
|
46
|
+
(0, typeorm_1.JoinTable)({
|
|
47
|
+
name: 'StationToSubcategory',
|
|
48
|
+
joinColumn: {
|
|
49
|
+
name: 'stationId',
|
|
50
|
+
referencedColumnName: 'id',
|
|
51
|
+
},
|
|
52
|
+
inverseJoinColumn: {
|
|
53
|
+
name: 'subcategoryId',
|
|
54
|
+
referencedColumnName: 'id',
|
|
55
|
+
},
|
|
56
|
+
}),
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], Station.prototype, "subcategories", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.OneToMany)(() => shift_entity_1.Shift, shift => shift.station),
|
|
61
|
+
__metadata("design:type", Array)
|
|
62
|
+
], Station.prototype, "shifts", void 0);
|
|
63
|
+
Station = __decorate([
|
|
64
|
+
(0, typeorm_1.Index)('Station_pkey', ['id'], { unique: true }),
|
|
65
|
+
(0, typeorm_1.Entity)('Stations', { schema: 'public' })
|
|
66
|
+
], Station);
|
|
67
|
+
exports.Station = Station;
|
|
68
|
+
//# sourceMappingURL=Station.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kEAAwD;AACxD,qCAAkF;AAClF,yFAAsF;AACtF,+CAA4C;AAC5C,iEAA8D;AAIvD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,mEAAgC;CAqC5D,CAAA;AApCA;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;qCAC9C;AAEb;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;2CACvB;AAEnB;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC1C;AAEnC;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;6CACvD;AAE5B;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;sDACvD;AAIrC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAoB,EAAE,oBAAoB,CAAC,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC;;uDAC7C;AAE/C;IAAC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,yBAAW,CAAC;IAC7B,IAAA,mBAAS,EAAC;QACV,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE;YACX,IAAI,EAAE,WAAW;YACjB,oBAAoB,EAAE,IAAI;SAC1B;QACD,iBAAiB,EAAE;YAClB,IAAI,EAAE,eAAe;YACrB,oBAAoB,EAAE,IAAI;SAC1B;KACD,CAAC;;8CAC2B;AAE7B;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;;uCAC9B;AApCL,OAAO;IAFnB,IAAA,eAAK,EAAC,cAAc,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC/C,IAAA,gBAAM,EAAC,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GAC5B,OAAO,CAqCnB;AArCY,0BAAO"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ProductTypesEnum } from './../services/enums.service';
|
|
2
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
|
+
import { Station } from './Station';
|
|
4
|
+
import { Subcategory } from './Subcategory';
|
|
5
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
6
|
+
stationId: number;
|
|
7
|
+
subcategoryId: number;
|
|
8
|
+
productType: ProductTypesEnum;
|
|
9
|
+
deletedAt?: Date;
|
|
10
|
+
station: Station;
|
|
11
|
+
subcategory: Subcategory;
|
|
12
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.StationToSubcategory = void 0;
|
|
13
|
+
const enums_service_1 = require("./../services/enums.service");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
16
|
+
const Station_1 = require("./Station");
|
|
17
|
+
const Subcategory_1 = require("./Subcategory");
|
|
18
|
+
let StationToSubcategory = class StationToSubcategory extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)('integer', { name: 'stationId', nullable: false }),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], StationToSubcategory.prototype, "stationId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)('integer', { name: 'subcategoryId', nullable: false }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], StationToSubcategory.prototype, "subcategoryId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('varchar', { name: 'productType', nullable: false }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], StationToSubcategory.prototype, "productType", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
34
|
+
__metadata("design:type", Date)
|
|
35
|
+
], StationToSubcategory.prototype, "deletedAt", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.ManyToOne)(() => Station_1.Station, station => station.stationToSubcategories),
|
|
38
|
+
(0, typeorm_1.JoinColumn)([{ name: 'stationId', referencedColumnName: 'id' }]),
|
|
39
|
+
__metadata("design:type", Station_1.Station)
|
|
40
|
+
], StationToSubcategory.prototype, "station", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => Subcategory_1.Subcategory, subcategory => subcategory.stationToSubcategories),
|
|
43
|
+
(0, typeorm_1.JoinColumn)([{ name: 'subcategoryId', referencedColumnName: 'id' }]),
|
|
44
|
+
__metadata("design:type", Subcategory_1.Subcategory)
|
|
45
|
+
], StationToSubcategory.prototype, "subcategory", void 0);
|
|
46
|
+
StationToSubcategory = __decorate([
|
|
47
|
+
(0, typeorm_1.Index)('StationToSubcategory_pkey', ['id'], { unique: true }),
|
|
48
|
+
(0, typeorm_1.Entity)('StationToSubcategory', { schema: 'public' })
|
|
49
|
+
], StationToSubcategory);
|
|
50
|
+
exports.StationToSubcategory = StationToSubcategory;
|
|
51
|
+
//# sourceMappingURL=StationToSubcategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StationToSubcategory.js","sourceRoot":"","sources":["../../../src/types/entity/StationToSubcategory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA+D;AAC/D,qCAAyF;AACzF,yFAAsF;AACtF,uCAAoC;AACpC,+CAA4C;AAIrC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,mEAAgC;CAoBzE,CAAA;AAnBA;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACxC;AAElB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACxC;AAEtB;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yDAC9B;AAE9B;IAAC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC5B,IAAI;uDAAC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC;IACnE,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,iBAAO;qDAAC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yBAAW,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,sBAAsB,CAAC;IAC/E,IAAA,oBAAU,EAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;8BACvD,yBAAW;yDAAC;AAnBb,oBAAoB;IAFhC,IAAA,eAAK,EAAC,2BAA2B,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC5D,IAAA,gBAAM,EAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACxC,oBAAoB,CAoBhC;AApBY,oDAAoB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
2
|
+
import { ProductTypesEnum } from '../services/enums.service';
|
|
3
|
+
import { Station } from './Station';
|
|
4
|
+
import { StationToSubcategory } from './StationToSubcategory';
|
|
5
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
6
|
+
productType: ProductTypesEnum;
|
|
7
|
+
name: string;
|
|
8
|
+
ordinal?: number;
|
|
9
|
+
deletedAt?: Date;
|
|
10
|
+
stationToSubcategories: StationToSubcategory[];
|
|
11
|
+
stations: Station[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.Subcategory = void 0;
|
|
13
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const enums_service_1 = require("../services/enums.service");
|
|
16
|
+
const Station_1 = require("./Station");
|
|
17
|
+
const StationToSubcategory_1 = require("./StationToSubcategory");
|
|
18
|
+
let Subcategory = class Subcategory extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)('character varying', { name: 'productType', nullable: false }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Subcategory.prototype, "productType", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)('character varying', { name: 'name', nullable: false, length: 255 }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Subcategory.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)('integer', { name: 'ordinal', nullable: true }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], Subcategory.prototype, "ordinal", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
34
|
+
__metadata("design:type", Date)
|
|
35
|
+
], Subcategory.prototype, "deletedAt", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.OneToMany)(() => StationToSubcategory_1.StationToSubcategory, stationToSubcategory => stationToSubcategory.subcategory),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], Subcategory.prototype, "stationToSubcategories", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToMany)(() => Station_1.Station),
|
|
42
|
+
(0, typeorm_1.JoinTable)({
|
|
43
|
+
name: 'StationToSubcategory',
|
|
44
|
+
joinColumn: {
|
|
45
|
+
name: 'subcategoryId',
|
|
46
|
+
referencedColumnName: 'id',
|
|
47
|
+
},
|
|
48
|
+
inverseJoinColumn: {
|
|
49
|
+
name: 'stationId',
|
|
50
|
+
referencedColumnName: 'id',
|
|
51
|
+
},
|
|
52
|
+
}),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], Subcategory.prototype, "stations", void 0);
|
|
55
|
+
Subcategory = __decorate([
|
|
56
|
+
(0, typeorm_1.Index)('Subcategories_pkey', ['id'], { unique: true }),
|
|
57
|
+
(0, typeorm_1.Entity)('Subcategories', { schema: 'public' })
|
|
58
|
+
], Subcategory);
|
|
59
|
+
exports.Subcategory = Subcategory;
|
|
60
|
+
//# sourceMappingURL=Subcategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subcategory.js","sourceRoot":"","sources":["../../../src/types/entity/Subcategory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yFAAsF;AACtF,qCAA+G;AAC/G,6DAA6D;AAC7D,uCAAoC;AACpC,iEAA8D;AAIvD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,mEAAgC;CA6BhE,CAAA;AA5BA;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACxC;AAE9B;IAAC,IAAA,gBAAM,EAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;yCAC/D;AAEb;IAAC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACtC;AAEjB;IAAC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC5B,IAAI;8CAAC;AAEjB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAoB,EAAE,oBAAoB,CAAC,EAAE,CAAC,oBAAoB,CAAC,WAAW,CAAC;;2DACjD;AAE/C;IAAC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;IACzB,IAAA,mBAAS,EAAC;QACV,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE;YACX,IAAI,EAAE,eAAe;YACrB,oBAAoB,EAAE,IAAI;SAC1B;QACD,iBAAiB,EAAE;YAClB,IAAI,EAAE,WAAW;YACjB,oBAAoB,EAAE,IAAI;SAC1B;KACD,CAAC;;6CACkB;AA5BR,WAAW;IAFvB,IAAA,eAAK,EAAC,oBAAoB,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACrD,IAAA,gBAAM,EAAC,eAAe,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;GACjC,WAAW,CA6BvB;AA7BY,kCAAW"}
|