@bondsports/types 0.14.0 → 1.0.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/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/activityTimes.dto.js +0 -38
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/application.dto.js +0 -32
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/bookingTypeSetting.dto.js +0 -36
- package/dist/types/dto/bookingTypeSetting.dto.js.map +1 -1
- package/dist/types/dto/customer.dto.js +0 -223
- package/dist/types/dto/customer.dto.js.map +1 -1
- package/dist/types/dto/events.dto.js +0 -225
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.js +0 -157
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/familyAccount.dto.js +0 -106
- package/dist/types/dto/familyAccount.dto.js.map +1 -1
- package/dist/types/dto/general.dto.js +0 -40
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/glcodes.dto.js +0 -41
- package/dist/types/dto/glcodes.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.js +0 -241
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.js +0 -202
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/pricing.dto.js +0 -113
- package/dist/types/dto/pricing.dto.js.map +1 -1
- package/dist/types/dto/productPricing.dto.js +0 -841
- package/dist/types/dto/productPricing.dto.js.map +1 -1
- package/dist/types/dto/productVariants.dto.js +0 -82
- package/dist/types/dto/productVariants.dto.js.map +1 -1
- package/dist/types/dto/program-seasons.dto.d.ts +1 -1
- package/dist/types/dto/program-seasons.dto.js +0 -772
- package/dist/types/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/dto/program.dto.js +0 -165
- package/dist/types/dto/program.dto.js.map +1 -1
- package/dist/types/dto/purchase.dto.js +0 -312
- package/dist/types/dto/purchase.dto.js.map +1 -1
- package/dist/types/dto/registration.js +0 -144
- package/dist/types/dto/registration.js.map +1 -1
- package/dist/types/dto/rental.dto.js +0 -31
- package/dist/types/dto/rental.dto.js.map +1 -1
- package/dist/types/dto/resource.dto.js +0 -22
- package/dist/types/dto/resource.dto.js.map +1 -1
- package/dist/types/dto/space.dto.js +0 -232
- package/dist/types/dto/space.dto.js.map +1 -1
- package/dist/types/dto/stripe.dto.js +0 -31
- package/dist/types/dto/stripe.dto.js.map +1 -1
- package/dist/types/dto/user.dto.js +0 -27
- package/dist/types/dto/user.dto.js.map +1 -1
- package/dist/types/entity/ActivityLogRecord.js +2 -61
- package/dist/types/entity/ActivityLogRecord.js.map +1 -1
- package/dist/types/entity/ActivityTimes.js +2 -71
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/entity/Address.js +2 -56
- package/dist/types/entity/Address.js.map +1 -1
- package/dist/types/entity/Answer.js +2 -65
- package/dist/types/entity/Answer.js.map +1 -1
- package/dist/types/entity/AnswerTitle.js +2 -35
- package/dist/types/entity/AnswerTitle.js.map +1 -1
- package/dist/types/entity/Athlete.js +2 -29
- package/dist/types/entity/Athlete.js.map +1 -1
- package/dist/types/entity/AthleteSports.js +2 -29
- package/dist/types/entity/AthleteSports.js.map +1 -1
- package/dist/types/entity/BlockedDate.js +2 -41
- package/dist/types/entity/BlockedDate.js.map +1 -1
- package/dist/types/entity/BondBaseEntity.js +0 -21
- package/dist/types/entity/BondBaseEntity.js.map +1 -1
- package/dist/types/entity/BookedSessions.js +2 -97
- package/dist/types/entity/BookedSessions.js.map +1 -1
- package/dist/types/entity/BookingTypeSetting.js +2 -49
- package/dist/types/entity/BookingTypeSetting.js.map +1 -1
- package/dist/types/entity/Configuration.js +2 -28
- package/dist/types/entity/Configuration.js.map +1 -1
- package/dist/types/entity/Connection.js +2 -64
- package/dist/types/entity/Connection.js.map +1 -1
- package/dist/types/entity/CreditNote.js +2 -47
- package/dist/types/entity/CreditNote.js.map +1 -1
- package/dist/types/entity/Customer.js +2 -160
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/CustomerCreditTransaction.js +2 -69
- package/dist/types/entity/CustomerCreditTransaction.js.map +1 -1
- package/dist/types/entity/CustomerNotes.js +2 -41
- package/dist/types/entity/CustomerNotes.js.map +1 -1
- package/dist/types/entity/Division.js +2 -52
- package/dist/types/entity/Division.js.map +1 -1
- package/dist/types/entity/EmergencyContact.js +2 -34
- package/dist/types/entity/EmergencyContact.js.map +1 -1
- package/dist/types/entity/EntitlementGroup.js +2 -20
- package/dist/types/entity/EntitlementGroup.js.map +1 -1
- package/dist/types/entity/EntitlementTerms.js +2 -24
- package/dist/types/entity/EntitlementTerms.js.map +1 -1
- package/dist/types/entity/EventAttendees.js +2 -79
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/Events.d.ts +0 -2
- package/dist/types/entity/Events.js +2 -302
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/entity/Facility.js +2 -130
- package/dist/types/entity/Facility.js.map +1 -1
- package/dist/types/entity/FacilityToResource.js +2 -24
- package/dist/types/entity/FacilityToResource.js.map +1 -1
- package/dist/types/entity/FamilyAccount.js +2 -25
- package/dist/types/entity/FamilyAccount.js.map +1 -1
- package/dist/types/entity/FutureInstallment.js +2 -61
- package/dist/types/entity/FutureInstallment.js.map +1 -1
- package/dist/types/entity/GlCodes.js +2 -20
- package/dist/types/entity/GlCodes.js.map +1 -1
- package/dist/types/entity/Group.js +2 -81
- package/dist/types/entity/Group.js.map +1 -1
- package/dist/types/entity/GroupItemsPricing.js +2 -77
- package/dist/types/entity/GroupItemsPricing.js.map +1 -1
- package/dist/types/entity/GroupsInDivisions.js +2 -28
- package/dist/types/entity/GroupsInDivisions.js.map +1 -1
- package/dist/types/entity/Invoice.js +2 -125
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/InvoiceMails.js +2 -52
- package/dist/types/entity/InvoiceMails.js.map +1 -1
- package/dist/types/entity/InvoiceNote.js +2 -48
- package/dist/types/entity/InvoiceNote.js.map +1 -1
- package/dist/types/entity/InvoiceToPayment.js +2 -52
- package/dist/types/entity/InvoiceToPayment.js.map +1 -1
- package/dist/types/entity/League.js +2 -149
- package/dist/types/entity/League.js.map +1 -1
- package/dist/types/entity/LeagueSeason.js +2 -212
- package/dist/types/entity/LeagueSeason.js.map +1 -1
- package/dist/types/entity/LineItemHistory.js +2 -55
- package/dist/types/entity/LineItemHistory.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +0 -2
- package/dist/types/entity/LineItems.js +2 -217
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/LinkedAccounts.js +2 -92
- package/dist/types/entity/LinkedAccounts.js.map +1 -1
- package/dist/types/entity/Media.js +2 -107
- package/dist/types/entity/Media.js.map +1 -1
- package/dist/types/entity/Membership.js +2 -113
- package/dist/types/entity/Membership.js.map +1 -1
- package/dist/types/entity/MembershipMember.d.ts +0 -1
- package/dist/types/entity/MembershipMember.js +2 -121
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/NotificationSubscriptions.js +2 -41
- package/dist/types/entity/NotificationSubscriptions.js.map +1 -1
- package/dist/types/entity/OpeningTime.js +2 -54
- package/dist/types/entity/OpeningTime.js.map +1 -1
- package/dist/types/entity/OrganizationConnectionBaseEntity.js +0 -14
- package/dist/types/entity/OrganizationConnectionBaseEntity.js.map +1 -1
- package/dist/types/entity/PackageV1.js +2 -84
- package/dist/types/entity/PackageV1.js.map +1 -1
- package/dist/types/entity/PasswordReset.js +2 -32
- package/dist/types/entity/PasswordReset.js.map +1 -1
- package/dist/types/entity/Payment.js +2 -146
- package/dist/types/entity/Payment.js.map +1 -1
- package/dist/types/entity/PaymentFailConfig.js +2 -23
- package/dist/types/entity/PaymentFailConfig.js.map +1 -1
- package/dist/types/entity/PaymentFailures.js +2 -32
- package/dist/types/entity/PaymentFailures.js.map +1 -1
- package/dist/types/entity/PaymentNote.js +2 -48
- package/dist/types/entity/PaymentNote.js.map +1 -1
- package/dist/types/entity/PaymentPlanSchedule.js +2 -35
- package/dist/types/entity/PaymentPlanSchedule.js.map +1 -1
- package/dist/types/entity/Payments_Deprecated.js +2 -100
- package/dist/types/entity/Payments_Deprecated.js.map +1 -1
- package/dist/types/entity/Price.js +2 -77
- package/dist/types/entity/Price.js.map +1 -1
- package/dist/types/entity/Product.js +2 -227
- package/dist/types/entity/Product.js.map +1 -1
- package/dist/types/entity/ProductPackage.js +2 -80
- package/dist/types/entity/ProductPackage.js.map +1 -1
- package/dist/types/entity/ProductPaymentPlan.js +2 -47
- package/dist/types/entity/ProductPaymentPlan.js.map +1 -1
- package/dist/types/entity/ProductResource.js +2 -57
- package/dist/types/entity/ProductResource.js.map +1 -1
- package/dist/types/entity/ProductToVariantTitles.js +2 -25
- package/dist/types/entity/ProductToVariantTitles.js.map +1 -1
- package/dist/types/entity/ProductToVariants.js +2 -25
- package/dist/types/entity/ProductToVariants.js.map +1 -1
- package/dist/types/entity/ProductsReservedForCustomers.js +2 -40
- package/dist/types/entity/ProductsReservedForCustomers.js.map +1 -1
- package/dist/types/entity/ProductsUsers.js +2 -84
- package/dist/types/entity/ProductsUsers.js.map +1 -1
- package/dist/types/entity/Program.js +2 -102
- package/dist/types/entity/Program.js.map +1 -1
- package/dist/types/entity/ProgramHighlights.js +2 -44
- package/dist/types/entity/ProgramHighlights.js.map +1 -1
- package/dist/types/entity/ProgramSeason.d.ts +0 -1
- package/dist/types/entity/ProgramSeason.js +2 -223
- package/dist/types/entity/ProgramSeason.js.map +1 -1
- package/dist/types/entity/PurchasedResources.js +2 -121
- package/dist/types/entity/PurchasedResources.js.map +1 -1
- package/dist/types/entity/Questionnaires.js +2 -25
- package/dist/types/entity/Questionnaires.js.map +1 -1
- package/dist/types/entity/Questions.js +2 -72
- package/dist/types/entity/Questions.js.map +1 -1
- package/dist/types/entity/RefundReason.js +2 -28
- package/dist/types/entity/RefundReason.js.map +1 -1
- package/dist/types/entity/RegistrationConstraint.js +2 -58
- package/dist/types/entity/RegistrationConstraint.js.map +1 -1
- package/dist/types/entity/Reservations.js +2 -165
- package/dist/types/entity/Reservations.js.map +1 -1
- package/dist/types/entity/Resource.js +2 -144
- package/dist/types/entity/Resource.js.map +1 -1
- package/dist/types/entity/ResourceGroup.js +2 -35
- package/dist/types/entity/ResourceGroup.js.map +1 -1
- package/dist/types/entity/School.js +2 -40
- package/dist/types/entity/School.js.map +1 -1
- package/dist/types/entity/SeasonAttendees.js +2 -72
- package/dist/types/entity/SeasonAttendees.js.map +1 -1
- package/dist/types/entity/SeasonDivisions.js +2 -32
- package/dist/types/entity/SeasonDivisions.js.map +1 -1
- package/dist/types/entity/SeasonPool.js +2 -76
- package/dist/types/entity/SeasonPool.js.map +1 -1
- package/dist/types/entity/SeasonTeam.js +2 -50
- package/dist/types/entity/SeasonTeam.js.map +1 -1
- package/dist/types/entity/SpacesDependency.js +2 -24
- package/dist/types/entity/SpacesDependency.js.map +1 -1
- package/dist/types/entity/Station.js +2 -62
- package/dist/types/entity/Station.js.map +1 -1
- package/dist/types/entity/StationToSubcategory.js +2 -45
- package/dist/types/entity/StationToSubcategory.js.map +1 -1
- package/dist/types/entity/Subcategory.js +2 -54
- package/dist/types/entity/Subcategory.js.map +1 -1
- package/dist/types/entity/Team.js +2 -193
- package/dist/types/entity/Team.js.map +1 -1
- package/dist/types/entity/TeamInvite.js +2 -44
- package/dist/types/entity/TeamInvite.js.map +1 -1
- package/dist/types/entity/TeamMember.js +2 -47
- package/dist/types/entity/TeamMember.js.map +1 -1
- package/dist/types/entity/UberOrganization.js +2 -29
- package/dist/types/entity/UberOrganization.js.map +1 -1
- package/dist/types/entity/User.js +2 -232
- package/dist/types/entity/User.js.map +1 -1
- package/dist/types/entity/UserAuthorizations.js +2 -35
- package/dist/types/entity/UserAuthorizations.js.map +1 -1
- package/dist/types/entity/UserInFamilyAccount.js +2 -42
- package/dist/types/entity/UserInFamilyAccount.js.map +1 -1
- package/dist/types/entity/UserPaymentMethods.js +2 -41
- package/dist/types/entity/UserPaymentMethods.js.map +1 -1
- package/dist/types/entity/UsersInGroup.js +2 -28
- package/dist/types/entity/UsersInGroup.js.map +1 -1
- package/dist/types/entity/VariantTitles.js +2 -26
- package/dist/types/entity/VariantTitles.js.map +1 -1
- package/dist/types/entity/Variants.js +2 -34
- package/dist/types/entity/Variants.js.map +1 -1
- package/dist/types/entity/WebflowOrganizationConfiguration.js +2 -40
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -1
- package/dist/types/import/dto/customer.dto.js +0 -74
- package/dist/types/import/dto/customer.dto.js.map +1 -1
- package/dist/types/import/dto/invoices.dto.js +0 -90
- package/dist/types/import/dto/invoices.dto.js.map +1 -1
- package/dist/types/import/dto/product.dto.js +0 -16
- package/dist/types/import/dto/product.dto.js.map +1 -1
- package/dist/types/import/dto/punch-pass.dto.js +0 -36
- package/dist/types/import/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/import/dto/reservation.dto.js +0 -135
- package/dist/types/import/dto/reservation.dto.js.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/league/entities/GameSlots.js +2 -28
- package/dist/types/league/entities/GameSlots.js.map +1 -1
- package/dist/types/league/entities/MatchParticipants.js +2 -44
- package/dist/types/league/entities/MatchParticipants.js.map +1 -1
- package/dist/types/league/entities/Matches.js +2 -28
- package/dist/types/league/entities/Matches.js.map +1 -1
- package/dist/types/league/entities/RoundEvents.js +2 -38
- package/dist/types/league/entities/RoundEvents.js.map +1 -1
- package/dist/types/league/entities/SeasonRounds.js +2 -32
- package/dist/types/league/entities/SeasonRounds.js.map +1 -1
- package/dist/types/league/entities/TeamEvents.js +2 -28
- package/dist/types/league/entities/TeamEvents.js.map +1 -1
- package/dist/types/locks/entities/Lock.js +2 -23
- package/dist/types/locks/entities/Lock.js.map +1 -1
- package/dist/types/monitor-config/dto/create-monitor-config.dto.js +0 -30
- package/dist/types/monitor-config/dto/create-monitor-config.dto.js.map +1 -1
- package/dist/types/monitor-config/dto/update-monitor-config.dto.d.ts +0 -4
- package/dist/types/monitor-config/dto/update-monitor-config.dto.js +0 -6
- package/dist/types/monitor-config/dto/update-monitor-config.dto.js.map +1 -1
- package/dist/types/monitor-config/entities/monitor-config.entity.js +2 -27
- package/dist/types/monitor-config/entities/monitor-config.entity.js.map +1 -1
- package/dist/types/notifyTracker/entities/notifyTracker.js +2 -37
- package/dist/types/notifyTracker/entities/notifyTracker.js.map +1 -1
- package/dist/types/organization/dto/organization.dto.js +0 -106
- package/dist/types/organization/dto/organization.dto.js.map +1 -1
- package/dist/types/organization/entities/Organization.js +2 -327
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/organization/entities/OrganizationBranding.js +2 -34
- package/dist/types/organization/entities/OrganizationBranding.js.map +1 -1
- package/dist/types/organization/entities/OrganizationSettings.js +2 -20
- package/dist/types/organization/entities/OrganizationSettings.js.map +1 -1
- package/dist/types/organization/entities/OrganizationUsers.js +2 -24
- package/dist/types/organization/entities/OrganizationUsers.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.js +0 -350
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/dto/refund.dto.js +0 -87
- package/dist/types/payment/dto/refund.dto.js.map +1 -1
- package/dist/types/payment/dto/void.dto.js +0 -43
- package/dist/types/payment/dto/void.dto.js.map +1 -1
- package/dist/types/reservations/dto/addon.dto.js +0 -78
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/invoice.dto.js +0 -130
- package/dist/types/reservations/dto/invoice.dto.js.map +1 -1
- package/dist/types/reservations/dto/lineItem.dto.js +0 -121
- package/dist/types/reservations/dto/lineItem.dto.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.js +0 -40
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/purcased-resource.dto.js +0 -48
- package/dist/types/reservations/dto/purcased-resource.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.js +0 -601
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.js +0 -72
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.js +0 -105
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.js +0 -293
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.js +0 -151
- package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/Addon.js +2 -122
- package/dist/types/reservations/entities/Addon.js.map +1 -1
- package/dist/types/reservations/entities/InvoicedSlots.js +2 -32
- package/dist/types/reservations/entities/InvoicedSlots.js.map +1 -1
- package/dist/types/reservations/entities/Reservations.js +2 -185
- package/dist/types/reservations/entities/Reservations.js.map +1 -1
- package/dist/types/reservations/entities/Segments.js +2 -80
- package/dist/types/reservations/entities/Segments.js.map +1 -1
- package/dist/types/reservations/entities/Series.js +2 -102
- package/dist/types/reservations/entities/Series.js.map +1 -1
- package/dist/types/reservations/entities/Slots.d.ts +0 -2
- package/dist/types/reservations/entities/Slots.js +2 -313
- package/dist/types/reservations/entities/Slots.js.map +1 -1
- package/dist/types/roles/dto/change-permissions.dto.js +0 -16
- package/dist/types/roles/dto/change-permissions.dto.js.map +1 -1
- package/dist/types/roles/dto/create-role.dto.js +0 -16
- package/dist/types/roles/dto/create-role.dto.js.map +1 -1
- package/dist/types/roles/dto/update-role.dto.d.ts +0 -4
- package/dist/types/roles/dto/update-role.dto.js +0 -6
- package/dist/types/roles/dto/update-role.dto.js.map +1 -1
- package/dist/types/roles/entities/Permission.js +2 -23
- package/dist/types/roles/entities/Permission.js.map +1 -1
- package/dist/types/roles/entities/Role.js +2 -45
- package/dist/types/roles/entities/Role.js.map +1 -1
- package/dist/types/roles/entities/UserRole.js +2 -40
- package/dist/types/roles/entities/UserRole.js.map +1 -1
- package/dist/types/shifts/dto/close-shift.dto.js +0 -16
- package/dist/types/shifts/dto/close-shift.dto.js.map +1 -1
- package/dist/types/shifts/dto/find-shifts-by-ids.dto.js +0 -16
- package/dist/types/shifts/dto/find-shifts-by-ids.dto.js.map +1 -1
- package/dist/types/shifts/dto/find-shifts-filters.dto.js +0 -59
- package/dist/types/shifts/dto/find-shifts-filters.dto.js.map +1 -1
- package/dist/types/shifts/dto/management-closing-shifts.dto.js +0 -27
- package/dist/types/shifts/dto/management-closing-shifts.dto.js.map +1 -1
- package/dist/types/shifts/dto/open-shift.dto.js +0 -21
- package/dist/types/shifts/dto/open-shift.dto.js.map +1 -1
- package/dist/types/shifts/entities/shift.entity.js +2 -128
- package/dist/types/shifts/entities/shift.entity.js.map +1 -1
- package/package.json +2 -9
- package/dist/types/util/dto.util.d.ts +0 -7
- package/dist/types/util/dto.util.js +0 -22
- package/dist/types/util/dto.util.js.map +0 -1
- package/dist/types/util/index.d.ts +0 -4
- package/dist/types/util/index.js +0 -21
- package/dist/types/util/index.js.map +0 -1
- package/dist/types/util/string.util.d.ts +0 -4
- package/dist/types/util/string.util.js +0 -12
- package/dist/types/util/string.util.js.map +0 -1
- package/dist/types/util/transformer.util.d.ts +0 -6
- package/dist/types/util/transformer.util.js +0 -43
- package/dist/types/util/transformer.util.js.map +0 -1
- package/dist/types/util/typesScript.util.d.ts +0 -4
- package/dist/types/util/typesScript.util.js +0 -22
- package/dist/types/util/typesScript.util.js.map +0 -1
|
@@ -1,51 +1,8 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.Role = void 0;
|
|
13
|
-
const UserRole_1 = require("./UserRole");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
const Permission_1 = require("./Permission");
|
|
16
|
-
const typeorm_2 = require("typeorm");
|
|
17
4
|
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_2.Column)('character varying', { name: 'name', length: 255, nullable: false }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], Role.prototype, "name", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
26
|
-
__metadata("design:type", Date)
|
|
27
|
-
], Role.prototype, "deletedAt", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_2.ManyToMany)(() => Permission_1.Permission, { cascade: true }),
|
|
30
|
-
(0, typeorm_2.JoinTable)({
|
|
31
|
-
name: 'RoleToPermission',
|
|
32
|
-
joinColumn: {
|
|
33
|
-
name: 'roleId',
|
|
34
|
-
referencedColumnName: 'id',
|
|
35
|
-
},
|
|
36
|
-
inverseJoinColumn: {
|
|
37
|
-
name: 'permissionId',
|
|
38
|
-
referencedColumnName: 'id',
|
|
39
|
-
},
|
|
40
|
-
}),
|
|
41
|
-
__metadata("design:type", Array)
|
|
42
|
-
], Role.prototype, "permissions", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.OneToMany)(() => UserRole_1.UserRole, user => user.role),
|
|
45
|
-
__metadata("design:type", Array)
|
|
46
|
-
], Role.prototype, "usersRoles", void 0);
|
|
47
|
-
Role = __decorate([
|
|
48
|
-
(0, typeorm_2.Entity)('Roles', { schema: 'public' })
|
|
49
|
-
], Role);
|
|
5
|
+
class Role extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
50
7
|
exports.Role = Role;
|
|
51
8
|
//# sourceMappingURL=Role.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Role.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Role.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAEjG,MAAa,IAAK,SAAQ,mEAAgC;CAQzD;AARD,oBAQC"}
|
|
@@ -1,46 +1,8 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.UserRole = void 0;
|
|
13
|
-
const User_1 = require("../../entity/User");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
const typeorm_2 = require("typeorm");
|
|
16
4
|
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
22
|
-
__metadata("design:type", Date)
|
|
23
|
-
], UserRole.prototype, "deletedAt", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_2.Column)('integer', { name: 'userId', nullable: false }),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], UserRole.prototype, "userId", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_2.Column)('integer', { name: 'roleId', nullable: false }),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], UserRole.prototype, "roleId", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_2.ManyToOne)(() => Role_1.Role, role => role.usersRoles),
|
|
34
|
-
(0, typeorm_1.JoinColumn)([{ name: 'roleId', referencedColumnName: 'id' }]),
|
|
35
|
-
__metadata("design:type", Role_1.Role)
|
|
36
|
-
], UserRole.prototype, "role", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_2.ManyToOne)(() => User_1.User, user => user.usersRoles),
|
|
39
|
-
(0, typeorm_1.JoinColumn)([{ name: 'userId', referencedColumnName: 'id' }]),
|
|
40
|
-
__metadata("design:type", User_1.User)
|
|
41
|
-
], UserRole.prototype, "user", void 0);
|
|
42
|
-
UserRole = __decorate([
|
|
43
|
-
(0, typeorm_2.Entity)('UserRoles', { schema: 'public' })
|
|
44
|
-
], UserRole);
|
|
5
|
+
class UserRole extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
45
7
|
exports.UserRole = UserRole;
|
|
46
8
|
//# sourceMappingURL=UserRole.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserRole.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/UserRole.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserRole.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/UserRole.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAGjG,MAAa,QAAS,SAAQ,mEAAgC;CAU7D;AAVD,4BAUC"}
|
|
@@ -1,23 +1,7 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.CloseShiftDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
4
|
class CloseShiftDto {
|
|
16
5
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
19
|
-
(0, class_validator_1.IsNumber)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], CloseShiftDto.prototype, "closingCashAmount", void 0);
|
|
22
6
|
exports.CloseShiftDto = CloseShiftDto;
|
|
23
7
|
//# sourceMappingURL=close-shift.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-shift.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/close-shift.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"close-shift.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/close-shift.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
|
|
@@ -1,23 +1,7 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.FindShiftsByIdsDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
4
|
class FindShiftsByIdsDto {
|
|
16
5
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
|
-
__metadata("design:type", Array)
|
|
21
|
-
], FindShiftsByIdsDto.prototype, "shiftIds", void 0);
|
|
22
6
|
exports.FindShiftsByIdsDto = FindShiftsByIdsDto;
|
|
23
7
|
//# sourceMappingURL=find-shifts-by-ids.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-shifts-by-ids.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-by-ids.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-shifts-by-ids.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-by-ids.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAkB;CAE9B;AAFD,gDAEC"}
|
|
@@ -1,67 +1,8 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.FindShiftsFormattedFilters = exports.FindShiftsFiltersDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
4
|
class FindShiftsFiltersDto {
|
|
16
5
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_transformer_1.Type)(() => String),
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], FindShiftsFiltersDto.prototype, "statuses", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_transformer_1.Type)(() => String),
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
|
-
(0, class_validator_1.IsOptional)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], FindShiftsFiltersDto.prototype, "stationIds", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_transformer_1.Type)(() => String),
|
|
31
|
-
(0, class_validator_1.IsString)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], FindShiftsFiltersDto.prototype, "openingUsersIds", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_transformer_1.Type)(() => String),
|
|
37
|
-
(0, class_validator_1.IsString)(),
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], FindShiftsFiltersDto.prototype, "closingUsersIds", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, class_transformer_1.Type)(() => String),
|
|
43
|
-
(0, class_validator_1.IsString)(),
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], FindShiftsFiltersDto.prototype, "closingManagersIds", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_transformer_1.Type)(() => String),
|
|
49
|
-
(0, class_validator_1.IsString)(),
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], FindShiftsFiltersDto.prototype, "reconcilingUsersIds", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
55
|
-
(0, class_validator_1.IsDate)(),
|
|
56
|
-
(0, class_validator_1.IsOptional)(),
|
|
57
|
-
__metadata("design:type", Date)
|
|
58
|
-
], FindShiftsFiltersDto.prototype, "startDate", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
61
|
-
(0, class_validator_1.IsDate)(),
|
|
62
|
-
(0, class_validator_1.IsOptional)(),
|
|
63
|
-
__metadata("design:type", Date)
|
|
64
|
-
], FindShiftsFiltersDto.prototype, "endDate", void 0);
|
|
65
6
|
exports.FindShiftsFiltersDto = FindShiftsFiltersDto;
|
|
66
7
|
class FindShiftsFormattedFilters {
|
|
67
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-shifts-filters.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-filters.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-shifts-filters.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-filters.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,0BAA0B;CAStC;AATD,gEASC"}
|
|
@@ -1,37 +1,10 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.ManagementClosingOfShiftsDto = exports.ShiftManagementClosingAmount = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
4
|
class ShiftManagementClosingAmount {
|
|
16
5
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
19
|
-
(0, class_validator_1.IsNumber)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ShiftManagementClosingAmount.prototype, "shiftId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
24
|
-
(0, class_validator_1.IsNumber)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], ShiftManagementClosingAmount.prototype, "managementClosingCashAmount", void 0);
|
|
27
6
|
exports.ShiftManagementClosingAmount = ShiftManagementClosingAmount;
|
|
28
7
|
class ManagementClosingOfShiftsDto {
|
|
29
8
|
}
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Type)(() => ShiftManagementClosingAmount),
|
|
32
|
-
(0, class_validator_1.IsArray)(),
|
|
33
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
34
|
-
__metadata("design:type", Array)
|
|
35
|
-
], ManagementClosingOfShiftsDto.prototype, "managementClosingData", void 0);
|
|
36
9
|
exports.ManagementClosingOfShiftsDto = ManagementClosingOfShiftsDto;
|
|
37
10
|
//# sourceMappingURL=management-closing-shifts.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"management-closing-shifts.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/management-closing-shifts.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"management-closing-shifts.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/management-closing-shifts.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC"}
|
|
@@ -1,28 +1,7 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.OpenShiftDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
4
|
class OpenShiftDto {
|
|
16
5
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
19
|
-
(0, class_validator_1.IsNumber)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], OpenShiftDto.prototype, "openingCashAmount", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
24
|
-
(0, class_validator_1.IsNumber)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], OpenShiftDto.prototype, "stationId", void 0);
|
|
27
6
|
exports.OpenShiftDto = OpenShiftDto;
|
|
28
7
|
//# sourceMappingURL=open-shift.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-shift.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/open-shift.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"open-shift.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/open-shift.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAY;CAIxB;AAJD,oCAIC"}
|
|
@@ -1,134 +1,8 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.Shift = void 0;
|
|
13
|
-
const Station_1 = require("./../../entity/Station");
|
|
14
|
-
const column_numeric_transformer_1 = require("./../../entity/decorators/column.numeric.transformer");
|
|
15
|
-
const enums_service_1 = require("./../../services/enums.service");
|
|
16
4
|
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)('integer', { name: 'stationId', nullable: false }),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], Shift.prototype, "stationId", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.ManyToOne)(() => Station_1.Station, station => station.shifts),
|
|
26
|
-
(0, typeorm_1.JoinColumn)([{ name: 'stationId', referencedColumnName: 'id' }]),
|
|
27
|
-
__metadata("design:type", Station_1.Station)
|
|
28
|
-
], Shift.prototype, "station", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)('varchar', { name: 'status', nullable: false }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], Shift.prototype, "status", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)('integer', { name: 'openingUserId', nullable: false }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], Shift.prototype, "openingUserId", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)('decimal', {
|
|
39
|
-
name: 'openingCashAmount',
|
|
40
|
-
nullable: false,
|
|
41
|
-
precision: 7,
|
|
42
|
-
scale: 2,
|
|
43
|
-
transformer: new column_numeric_transformer_1.ColumnNumericTransformer(),
|
|
44
|
-
}),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], Shift.prototype, "openingCashAmount", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)('date', { name: 'openingDate', nullable: false }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], Shift.prototype, "openingDate", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)('varchar', { name: 'openingTime', nullable: false }),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], Shift.prototype, "openingTime", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)('integer', { name: 'closingUserId', nullable: true }),
|
|
57
|
-
__metadata("design:type", Number)
|
|
58
|
-
], Shift.prototype, "closingUserId", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)('decimal', {
|
|
61
|
-
name: 'closingCashAmount',
|
|
62
|
-
nullable: true,
|
|
63
|
-
precision: 7,
|
|
64
|
-
scale: 2,
|
|
65
|
-
transformer: new column_numeric_transformer_1.ColumnNumericTransformer(),
|
|
66
|
-
}),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], Shift.prototype, "closingCashAmount", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)('date', { name: 'closingDate', nullable: true }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], Shift.prototype, "closingDate", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)('varchar', { name: 'closingTime', nullable: true }),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], Shift.prototype, "closingTime", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)('integer', { name: 'closingManagerId', nullable: true }),
|
|
79
|
-
__metadata("design:type", Number)
|
|
80
|
-
], Shift.prototype, "closingManagerId", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)('decimal', {
|
|
83
|
-
name: 'managementClosingCashAmount',
|
|
84
|
-
nullable: true,
|
|
85
|
-
precision: 7,
|
|
86
|
-
scale: 2,
|
|
87
|
-
transformer: new column_numeric_transformer_1.ColumnNumericTransformer(),
|
|
88
|
-
}),
|
|
89
|
-
__metadata("design:type", Number)
|
|
90
|
-
], Shift.prototype, "managementClosingCashAmount", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, typeorm_1.Column)('date', { name: 'managementClosingDate', nullable: true }),
|
|
93
|
-
__metadata("design:type", String)
|
|
94
|
-
], Shift.prototype, "managementClosingDate", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, typeorm_1.Column)('varchar', { name: 'managementClosingTime', nullable: true }),
|
|
97
|
-
__metadata("design:type", String)
|
|
98
|
-
], Shift.prototype, "managementClosingTime", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)('integer', { name: 'reconcilingUserId', nullable: true }),
|
|
101
|
-
__metadata("design:type", Number)
|
|
102
|
-
], Shift.prototype, "reconcilingUserId", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, typeorm_1.Column)('decimal', {
|
|
105
|
-
name: 'reconciliationAmount',
|
|
106
|
-
nullable: true,
|
|
107
|
-
precision: 7,
|
|
108
|
-
scale: 2,
|
|
109
|
-
transformer: new column_numeric_transformer_1.ColumnNumericTransformer(),
|
|
110
|
-
}),
|
|
111
|
-
__metadata("design:type", Number)
|
|
112
|
-
], Shift.prototype, "reconciliationAmount", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, typeorm_1.Column)('date', { name: 'reconcilingDate', nullable: true }),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], Shift.prototype, "reconcilingDate", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, typeorm_1.Column)('varchar', { name: 'reconcilingTime', nullable: true }),
|
|
119
|
-
__metadata("design:type", String)
|
|
120
|
-
], Shift.prototype, "reconcilingTime", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, typeorm_1.Column)('integer', { name: 'reconciliationInvoiceId', nullable: true }),
|
|
123
|
-
__metadata("design:type", Number)
|
|
124
|
-
], Shift.prototype, "reconciliationInvoiceId", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, typeorm_1.DeleteDateColumn)({ name: 'deletedAt' }),
|
|
127
|
-
__metadata("design:type", Date)
|
|
128
|
-
], Shift.prototype, "deletedAt", void 0);
|
|
129
|
-
Shift = __decorate([
|
|
130
|
-
(0, typeorm_1.Index)('Prices_pkey', ['id'], { unique: true }),
|
|
131
|
-
(0, typeorm_1.Entity)('Shifts', { schema: 'public' })
|
|
132
|
-
], Shift);
|
|
5
|
+
class Shift extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
133
7
|
exports.Shift = Shift;
|
|
134
8
|
//# sourceMappingURL=shift.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAIjG,MAAa,KAAM,SAAQ,mEAAgC;CAsC1D;AAtCD,sBAsCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bondsports/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "backend types module for Bond-Sports",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -32,14 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nestjs/common": "^7.0.0",
|
|
36
|
-
"@nestjs/mapped-types": "^1.2.0",
|
|
37
|
-
"@nestjs/typeorm": "^7.1.4",
|
|
38
|
-
"class-transformer": "^0.3.1",
|
|
39
|
-
"class-validator": "^0.12.2",
|
|
40
|
-
"dayjs": "^1.11.7",
|
|
41
35
|
"moment": "^2.29.1",
|
|
42
|
-
"moment-timezone": "^0.5.33",
|
|
43
36
|
"rimraf": "^3.0.2",
|
|
44
37
|
"stripe": "9.1.0",
|
|
45
38
|
"typeorm": "^0.2.32"
|
|
@@ -54,5 +47,5 @@
|
|
|
54
47
|
"ts-node": "^10.8.0",
|
|
55
48
|
"typescript": "^4.4.3"
|
|
56
49
|
},
|
|
57
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
|
|
58
51
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IsNumberOptions } from 'class-validator';
|
|
2
|
-
declare const TIME_REGEX: RegExp;
|
|
3
|
-
declare const PRICE_DECIMAL_PLACES = 2;
|
|
4
|
-
declare const QUANTITY_DECIMAL_PLACES = 5;
|
|
5
|
-
declare const VALIDATE_PRICE: IsNumberOptions;
|
|
6
|
-
declare const VALIDATE_QUANTITY: IsNumberOptions;
|
|
7
|
-
export { TIME_REGEX, PRICE_DECIMAL_PLACES, QUANTITY_DECIMAL_PLACES, VALIDATE_PRICE, VALIDATE_QUANTITY };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VALIDATE_QUANTITY = exports.VALIDATE_PRICE = exports.QUANTITY_DECIMAL_PLACES = exports.PRICE_DECIMAL_PLACES = exports.TIME_REGEX = void 0;
|
|
4
|
-
const TIME_REGEX = /^([0-1]\d|2[0-3]):([0-5]\d)(:[0-5]\d)?$/;
|
|
5
|
-
exports.TIME_REGEX = TIME_REGEX;
|
|
6
|
-
const PRICE_DECIMAL_PLACES = 2;
|
|
7
|
-
exports.PRICE_DECIMAL_PLACES = PRICE_DECIMAL_PLACES;
|
|
8
|
-
const QUANTITY_DECIMAL_PLACES = 5;
|
|
9
|
-
exports.QUANTITY_DECIMAL_PLACES = QUANTITY_DECIMAL_PLACES;
|
|
10
|
-
const VALIDATE_PRICE = {
|
|
11
|
-
maxDecimalPlaces: PRICE_DECIMAL_PLACES,
|
|
12
|
-
allowNaN: false,
|
|
13
|
-
allowInfinity: false,
|
|
14
|
-
};
|
|
15
|
-
exports.VALIDATE_PRICE = VALIDATE_PRICE;
|
|
16
|
-
const VALIDATE_QUANTITY = {
|
|
17
|
-
maxDecimalPlaces: QUANTITY_DECIMAL_PLACES,
|
|
18
|
-
allowNaN: false,
|
|
19
|
-
allowInfinity: false,
|
|
20
|
-
};
|
|
21
|
-
exports.VALIDATE_QUANTITY = VALIDATE_QUANTITY;
|
|
22
|
-
//# sourceMappingURL=dto.util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dto.util.js","sourceRoot":"","sources":["../../../src/types/util/dto.util.ts"],"names":[],"mappings":";;;AAEA,MAAM,UAAU,GAAG,yCAAyC,CAAC;AAiBpD,gCAAU;AAfnB,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAeV,oDAAoB;AAdzC,MAAM,uBAAuB,GAAG,CAAC,CAAC;AAcS,0DAAuB;AAZlE,MAAM,cAAc,GAAoB;IACvC,gBAAgB,EAAE,oBAAoB;IACtC,QAAQ,EAAE,KAAK;IACf,aAAa,EAAE,KAAK;CACpB,CAAC;AAQkE,wCAAc;AANlF,MAAM,iBAAiB,GAAoB;IAC1C,gBAAgB,EAAE,uBAAuB;IACzC,QAAQ,EAAE,KAAK;IACf,aAAa,EAAE,KAAK;CACpB,CAAC;AAEkF,8CAAiB"}
|
package/dist/types/util/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dto.util"), exports);
|
|
18
|
-
__exportStar(require("./string.util"), exports);
|
|
19
|
-
__exportStar(require("./transformer.util"), exports);
|
|
20
|
-
__exportStar(require("./typesScript.util"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,gDAA8B;AAC9B,qDAAmC;AACnC,qDAAmC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.escapeLikeString = exports.titleCase = exports.STRING_DEFAULT_LIMIT = void 0;
|
|
4
|
-
const STRING_DEFAULT_LIMIT = 255;
|
|
5
|
-
exports.STRING_DEFAULT_LIMIT = STRING_DEFAULT_LIMIT;
|
|
6
|
-
const titleCase = str => str.replace(/\b\S/g, t => t.toUpperCase());
|
|
7
|
-
exports.titleCase = titleCase;
|
|
8
|
-
const escapeLikeString = (raw, escapeChar = '\\') => {
|
|
9
|
-
return raw.replace(/[\\%_]/g, match => escapeChar + match);
|
|
10
|
-
};
|
|
11
|
-
exports.escapeLikeString = escapeLikeString;
|
|
12
|
-
//# sourceMappingURL=string.util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string.util.js","sourceRoot":"","sources":["../../../src/types/util/string.util.ts"],"names":[],"mappings":";;;AAAA,MAAM,oBAAoB,GAAG,GAAG,CAAC;AAQxB,oDAAoB;AAN7B,MAAM,SAAS,GAAG,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAMrC,8BAAS;AAJxC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,UAAU,GAAG,IAAI,EAAU,EAAE;IACnE,OAAO,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC;AAC5D,CAAC,CAAC;AAEwC,4CAAgB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare function transformStringToLowercase(value: string): string;
|
|
2
|
-
declare function transformArrayToLowercase(values: string[]): string[];
|
|
3
|
-
declare function transformToBoolean(value: string): boolean;
|
|
4
|
-
declare function transformToArray(values: string | string[]): string[];
|
|
5
|
-
declare function transformToArrayOfNumbers(values: string | number[]): number[];
|
|
6
|
-
export { transformArrayToLowercase, transformStringToLowercase, transformToBoolean, transformToArray, transformToArrayOfNumbers, };
|