@carbonbox/domain 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/carbonbox/plan/domain/IPlanPrimitives.js +2 -0
- package/build/carbonbox/plan/domain/PlanStatusEnum.js +10 -0
- package/build/carbonbox/services/complement/domain/IComplementPrimitives.js +2 -0
- package/build/carbonbox/services/complement/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/Description.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/Name.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/Type.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/Unit.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/services/complement/domain/value-objects/Value.js +10 -0
- package/build/carbonbox/services/core/domain/Core.js +1 -0
- package/build/carbonbox/services/core/domain/ICorePrimitives.js +2 -0
- package/build/carbonbox/services/core/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/Description.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/Name.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/Type.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/Unit.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/services/core/domain/value-objects/Value.js +10 -0
- package/build/carbonbox/services/shared/domain/IServicePrimitives.js +2 -0
- package/build/carbonbox/services/shared/domain/IServices.js +2 -0
- package/build/carbonbox/services/shared/domain/Service.js +58 -0
- package/build/carbonbox/services/shared/domain/exceptions/InvalidServiceTypeError.js +18 -0
- package/build/carbonbox/services/shared/domain/exceptions/NameToLongError.js +18 -0
- package/build/carbonbox/services/shared/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/services/shared/domain/value-objects/Description.js +13 -0
- package/build/carbonbox/services/shared/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/services/shared/domain/value-objects/Name.js +26 -0
- package/build/carbonbox/services/shared/domain/value-objects/Type.js +27 -0
- package/build/carbonbox/services/shared/domain/value-objects/Unit.js +13 -0
- package/build/carbonbox/services/shared/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/services/shared/domain/value-objects/Value.js +13 -0
- package/build/carbonbox/shared/domain/AggregateRoot.js +31 -0
- package/build/carbonbox/shared/domain/DomainError.js +40 -0
- package/build/carbonbox/shared/domain/IAggregateRootPrimitives.js +2 -0
- package/build/carbonbox/shared/domain/IDomainErrorPrimitives.js +2 -0
- package/build/carbonbox/shared/domain/IPaginatedResponse.js +2 -0
- package/build/carbonbox/shared/domain/Nullable.js +1 -0
- package/build/carbonbox/shared/domain/either/Either.js +28 -0
- package/build/carbonbox/shared/domain/either/Result.js +2 -0
- package/build/carbonbox/shared/domain/exceptions/CreateMethodNotImplementedError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/DomainError.js +40 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidCoordinatesError.js +17 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidCountryCodeError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidDateFormatError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidDomainIdError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidFullInternationalNumberError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidGenderError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidMinutesDurationError.js +21 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidNationalNumberError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidPropertyTypeError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidStringArrayError.js +21 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidTimeFormatError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidValueObjectConfigurationError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/MethodNotImplementedError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/MinimumValueViolationError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/NotIntegerError.js +25 -0
- package/build/carbonbox/shared/domain/exceptions/NullValueError.js +18 -0
- package/build/carbonbox/shared/domain/exceptions/RootError.js +10 -0
- package/build/carbonbox/shared/domain/exceptions/UndefinedValueError.js +18 -0
- package/build/carbonbox/shared/domain/http/HttpStatus.js +39 -0
- package/build/carbonbox/shared/domain/value-objects/Boolean.js +13 -0
- package/build/carbonbox/shared/domain/value-objects/BooleanValue.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/BooleanValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/CreatedAt.js +13 -0
- package/build/carbonbox/shared/domain/value-objects/CreatedAtValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/Date.js +43 -0
- package/build/carbonbox/shared/domain/value-objects/DateString.js +43 -0
- package/build/carbonbox/shared/domain/value-objects/DateValue.js +43 -0
- package/build/carbonbox/shared/domain/value-objects/DateValueObject.js +43 -0
- package/build/carbonbox/shared/domain/value-objects/Gender.js +27 -0
- package/build/carbonbox/shared/domain/value-objects/GenderValueObject.js +24 -0
- package/build/carbonbox/shared/domain/value-objects/Id.js +13 -0
- package/build/carbonbox/shared/domain/value-objects/IdList.js +22 -0
- package/build/carbonbox/shared/domain/value-objects/IdListValueObject.js +22 -0
- package/build/carbonbox/shared/domain/value-objects/IdValueObject.js +13 -0
- package/build/carbonbox/shared/domain/value-objects/Image.js +49 -0
- package/build/carbonbox/shared/domain/value-objects/ImageArray.js +16 -0
- package/build/carbonbox/shared/domain/value-objects/ImageArrayValueObject.js +16 -0
- package/build/carbonbox/shared/domain/value-objects/ImageValueObject.js +46 -0
- package/build/carbonbox/shared/domain/value-objects/Integer.js +17 -0
- package/build/carbonbox/shared/domain/value-objects/IntegerValueObject.js +17 -0
- package/build/carbonbox/shared/domain/value-objects/IsAvailable.js +13 -0
- package/build/carbonbox/shared/domain/value-objects/Location.js +37 -0
- package/build/carbonbox/shared/domain/value-objects/LocationValueObject.js +37 -0
- package/build/carbonbox/shared/domain/value-objects/NullableDate.js +26 -0
- package/build/carbonbox/shared/domain/value-objects/NullableId.js +24 -0
- package/build/carbonbox/shared/domain/value-objects/NullableIdValueObject.js +24 -0
- package/build/carbonbox/shared/domain/value-objects/NullableNumber.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/NullableNumberValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/NullablePositiveInteger.js +24 -0
- package/build/carbonbox/shared/domain/value-objects/NullablePositiveIntegerValueObject.js +24 -0
- package/build/carbonbox/shared/domain/value-objects/NullableString.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/NullableStringValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/NullableTime.js +17 -0
- package/build/carbonbox/shared/domain/value-objects/NullableTimeValueObject.js +17 -0
- package/build/carbonbox/shared/domain/value-objects/NumberArray.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/NumberArrayValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/ObjectValueObject.js +7 -0
- package/build/carbonbox/shared/domain/value-objects/Phone.js +59 -0
- package/build/carbonbox/shared/domain/value-objects/PositiveInteger.js +48 -0
- package/build/carbonbox/shared/domain/value-objects/PositiveIntegerValueObject.js +48 -0
- package/build/carbonbox/shared/domain/value-objects/PrimitiveValueObject.js +7 -0
- package/build/carbonbox/shared/domain/value-objects/String.js +26 -0
- package/build/carbonbox/shared/domain/value-objects/StringArray.js +25 -0
- package/build/carbonbox/shared/domain/value-objects/StringArrayValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/StringValueObject.js +20 -0
- package/build/carbonbox/shared/domain/value-objects/Time.js +42 -0
- package/build/carbonbox/shared/domain/value-objects/TimeValue.js +42 -0
- package/build/carbonbox/shared/domain/value-objects/TimeValueObject.js +42 -0
- package/build/carbonbox/shared/domain/value-objects/UpdatedAt.js +13 -0
- package/build/carbonbox/shared/domain/value-objects/UpdatedAtValueObject.js +10 -0
- package/build/carbonbox/shared/domain/value-objects/Uuid.js +18 -0
- package/build/carbonbox/shared/domain/value-objects/UuidValueObject.js +18 -0
- package/build/carbonbox/shared/domain/value-objects/ValueObject.js +61 -0
- package/build/carbonbox/shared/domain/value-objects/WorkLocation.js +69 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/ICoordinatorPrimitives.js +2 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Avatar.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Biography.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedByUserId.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedByUserType.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Email.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Gender.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/IsAvailable.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Name.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Password.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Phone.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/Roles.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/UserType.js +15 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/WorkLocation.js +10 -0
- package/build/carbonbox/users/carbonBox/coodinator/domain/value-objects/WorkSchedule.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/ICoordinatorPrimitives.js +2 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Avatar.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Biography.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedByUserId.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedByUserType.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Email.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Gender.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/IsAvailable.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Name.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Password.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Phone.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Roles.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/UserType.js +15 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/WorkLocation.js +10 -0
- package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/WorkSchedule.js +10 -0
- package/build/carbonbox/users/carbonBox/host/domain/Host.js +78 -0
- package/build/carbonbox/users/carbonBox/host/domain/IHostPrimitives.js +2 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/Email.js +10 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/OfficialName.js +13 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/Password.js +13 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/Roles.js +10 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/host/domain/value-objects/UserType.js +15 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/IHostManagerPrimitives.js +2 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Avatar.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Biography.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Email.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Gender.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Name.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Password.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Phone.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/UserType.js +15 -0
- package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/WorkLocation.js +10 -0
- package/build/carbonbox/users/cb/coodinator/domain/ICoordinatorPrimitives.js +2 -0
- package/build/carbonbox/users/cb/host/domain/Host.js +1 -0
- package/build/carbonbox/users/cb/host/domain/IHostPrimitives.js +2 -0
- package/build/carbonbox/users/cb/host-manager/domain/IHostManagerPrimitives.js +2 -0
- package/build/carbonbox/users/clients/company/ICompanyPrimitives.js +2 -0
- package/build/carbonbox/users/clients/company/value-objects/Avatar.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/Biography.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/CreatedByUserId.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/CreatedByUserType.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/Description.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/Email.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/Id.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/OfficialName.js +11 -0
- package/build/carbonbox/users/clients/company/value-objects/Password.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/Phone.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/Roles.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/ShortName.js +11 -0
- package/build/carbonbox/users/clients/company/value-objects/TaxIdentificationNumber.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/clients/company/value-objects/UserType.js +15 -0
- package/build/carbonbox/users/clients/company/value-objects/WorkLocation.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/ICompanyHostManagerPrimitives.js +2 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/ActiveCustomPlanId.js +12 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Avatar.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Biography.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Email.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Id.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/OfficialName.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Password.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Phone.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/Roles.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/TaxIdentificationNumber.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/UserType.js +15 -0
- package/build/carbonbox/users/clients/company-host-manager/value-objects/WorkLocation.js +10 -0
- package/build/carbonbox/users/shared/domain/AnySystemUserType.js +1 -0
- package/build/carbonbox/users/shared/domain/IAnySystemUserTypePrimitives.js +2 -0
- package/build/carbonbox/users/shared/domain/IContactInfo.js +2 -0
- package/build/carbonbox/users/shared/domain/ICreationContext.js +2 -0
- package/build/carbonbox/users/shared/domain/IPersonPrimitives.js +2 -0
- package/build/carbonbox/users/shared/domain/IUserCredentials.js +2 -0
- package/build/carbonbox/users/shared/domain/IUserPrimitives.js +2 -0
- package/build/carbonbox/users/shared/domain/IUserProfile.js +2 -0
- package/build/carbonbox/users/shared/domain/IWorkAvailability.js +2 -0
- package/build/carbonbox/users/shared/domain/Person.js +1 -0
- package/build/carbonbox/users/shared/domain/User.js +52 -0
- package/build/carbonbox/users/shared/domain/UserRole.js +13 -0
- package/build/carbonbox/users/shared/domain/UserRoleEnum.js +13 -0
- package/build/carbonbox/users/shared/domain/UserType.js +11 -0
- package/build/carbonbox/users/shared/domain/UserTypeEnum.js +11 -0
- package/build/carbonbox/users/shared/domain/exceptions/InvalidEmailPolicyError.js +18 -0
- package/build/carbonbox/users/shared/domain/exceptions/InvalidUserTypeError.js +18 -0
- package/build/carbonbox/users/shared/domain/exceptions/PasswordPolicyViolationError.js +17 -0
- package/build/carbonbox/users/shared/domain/value-objects/Avatar.js +10 -0
- package/build/carbonbox/users/shared/domain/value-objects/CreatedAt.js +10 -0
- package/build/carbonbox/users/shared/domain/value-objects/CreatedByUserId.js +10 -0
- package/build/carbonbox/users/shared/domain/value-objects/CreatedByUserType.js +23 -0
- package/build/carbonbox/users/shared/domain/value-objects/Email.js +44 -0
- package/build/carbonbox/users/shared/domain/value-objects/Id.js +10 -0
- package/build/carbonbox/users/shared/domain/value-objects/Name.js +53 -0
- package/build/carbonbox/users/shared/domain/value-objects/Password.js +45 -0
- package/build/carbonbox/users/shared/domain/value-objects/Roles.js +22 -0
- package/build/carbonbox/users/shared/domain/value-objects/TaxIdentificationNumber.js +14 -0
- package/build/carbonbox/users/shared/domain/value-objects/UpdatedAt.js +10 -0
- package/build/carbonbox/users/shared/domain/value-objects/UserType.js +24 -0
- package/build/carbonbox/users/shared/domain/value-objects/WorkSchedule.js +57 -0
- package/build/main/index.js +6 -0
- package/build/types/carbonbox/plan/domain/IPlanPrimitives.d.ts +22 -0
- package/build/types/carbonbox/plan/domain/IPlanPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/plan/domain/PlanStatusEnum.d.ts +7 -0
- package/build/types/carbonbox/plan/domain/PlanStatusEnum.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/IComplementPrimitives.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/IComplementPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Description.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Description.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Name.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Type.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Type.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Unit.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Unit.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Value.d.ts +5 -0
- package/build/types/carbonbox/services/complement/domain/value-objects/Value.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/Core.d.ts +1 -0
- package/build/types/carbonbox/services/core/domain/Core.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/ICorePrimitives.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/ICorePrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Description.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Description.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Name.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Type.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Type.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Unit.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Unit.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Value.d.ts +5 -0
- package/build/types/carbonbox/services/core/domain/value-objects/Value.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/IServicePrimitives.d.ts +9 -0
- package/build/types/carbonbox/services/shared/domain/IServicePrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/IServices.d.ts +8 -0
- package/build/types/carbonbox/services/shared/domain/IServices.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/Service.d.ts +27 -0
- package/build/types/carbonbox/services/shared/domain/Service.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/exceptions/InvalidServiceTypeError.d.ts +7 -0
- package/build/types/carbonbox/services/shared/domain/exceptions/InvalidServiceTypeError.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/exceptions/NameToLongError.d.ts +7 -0
- package/build/types/carbonbox/services/shared/domain/exceptions/NameToLongError.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Description.d.ts +6 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Description.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Name.d.ts +7 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Type.d.ts +7 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Type.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Unit.d.ts +6 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Unit.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Value.d.ts +6 -0
- package/build/types/carbonbox/services/shared/domain/value-objects/Value.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/AggregateRoot.d.ts +21 -0
- package/build/types/carbonbox/shared/domain/AggregateRoot.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/DomainError.d.ts +9 -0
- package/build/types/carbonbox/shared/domain/DomainError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/IAggregateRootPrimitives.d.ts +9 -0
- package/build/types/carbonbox/shared/domain/IAggregateRootPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/IDomainErrorPrimitives.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/IDomainErrorPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/IPaginatedResponse.d.ts +17 -0
- package/build/types/carbonbox/shared/domain/IPaginatedResponse.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/Nullable.d.ts +1 -0
- package/build/types/carbonbox/shared/domain/Nullable.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/either/Either.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/either/Either.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/either/Result.d.ts +10 -0
- package/build/types/carbonbox/shared/domain/either/Result.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/CreateMethodNotImplementedError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/CreateMethodNotImplementedError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/DomainError.d.ts +9 -0
- package/build/types/carbonbox/shared/domain/exceptions/DomainError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidCoordinatesError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidCoordinatesError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidCountryCodeError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidCountryCodeError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidDateFormatError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidDateFormatError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidDomainIdError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidDomainIdError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidFullInternationalNumberError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidFullInternationalNumberError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidGenderError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidGenderError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidMinutesDurationError.d.ts +9 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidMinutesDurationError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidNationalNumberError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidNationalNumberError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidPropertyTypeError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidPropertyTypeError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidStringArrayError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidStringArrayError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidTimeFormatError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidTimeFormatError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidValueObjectConfigurationError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidValueObjectConfigurationError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/MethodNotImplementedError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/MethodNotImplementedError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/MinimumValueViolationError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/MinimumValueViolationError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/NotIntegerError.d.ts +11 -0
- package/build/types/carbonbox/shared/domain/exceptions/NotIntegerError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/NullValueError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/NullValueError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/RootError.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/exceptions/RootError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/exceptions/UndefinedValueError.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/exceptions/UndefinedValueError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/http/HttpStatus.d.ts +18 -0
- package/build/types/carbonbox/shared/domain/http/HttpStatus.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Boolean.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/Boolean.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/BooleanValue.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/BooleanValue.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/BooleanValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/BooleanValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/CreatedAt.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/CreatedAtValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/CreatedAtValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Date.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/value-objects/Date.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/DateString.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/value-objects/DateString.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/DateValue.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/value-objects/DateValue.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/DateValueObject.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/value-objects/DateValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Gender.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/value-objects/Gender.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/GenderValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/GenderValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Id.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/IdList.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/IdList.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/IdListValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/IdListValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/IdValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/IdValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Image.d.ts +17 -0
- package/build/types/carbonbox/shared/domain/value-objects/Image.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ImageArray.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/ImageArray.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ImageArrayValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/ImageArrayValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ImageValueObject.d.ts +16 -0
- package/build/types/carbonbox/shared/domain/value-objects/ImageValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Integer.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/Integer.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/IntegerValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/IntegerValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/IsAvailable.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/IsAvailable.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Location.d.ts +21 -0
- package/build/types/carbonbox/shared/domain/value-objects/Location.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/LocationValueObject.d.ts +21 -0
- package/build/types/carbonbox/shared/domain/value-objects/LocationValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableDate.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableDate.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableId.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableId.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableIdValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableIdValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableNumber.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableNumber.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableNumberValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableNumberValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullablePositiveInteger.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullablePositiveInteger.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullablePositiveIntegerValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullablePositiveIntegerValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableString.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableString.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableStringValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableStringValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableTime.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableTime.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableTimeValueObject.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/NullableTimeValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NumberArray.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/NumberArray.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/NumberArrayValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/NumberArrayValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ObjectValueObject.d.ts +4 -0
- package/build/types/carbonbox/shared/domain/value-objects/ObjectValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Phone.d.ts +17 -0
- package/build/types/carbonbox/shared/domain/value-objects/Phone.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/PositiveInteger.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/value-objects/PositiveInteger.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/PositiveIntegerValueObject.d.ts +12 -0
- package/build/types/carbonbox/shared/domain/value-objects/PositiveIntegerValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/PrimitiveValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/PrimitiveValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/String.d.ts +8 -0
- package/build/types/carbonbox/shared/domain/value-objects/String.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/StringArray.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/value-objects/StringArray.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/StringArrayValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/StringArrayValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/StringValueObject.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/value-objects/StringValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Time.d.ts +11 -0
- package/build/types/carbonbox/shared/domain/value-objects/Time.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/TimeValue.d.ts +11 -0
- package/build/types/carbonbox/shared/domain/value-objects/TimeValue.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/TimeValueObject.d.ts +11 -0
- package/build/types/carbonbox/shared/domain/value-objects/TimeValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/UpdatedAt.d.ts +6 -0
- package/build/types/carbonbox/shared/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/UpdatedAtValueObject.d.ts +5 -0
- package/build/types/carbonbox/shared/domain/value-objects/UpdatedAtValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/Uuid.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/value-objects/Uuid.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/UuidValueObject.d.ts +7 -0
- package/build/types/carbonbox/shared/domain/value-objects/UuidValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ValueObject.d.ts +14 -0
- package/build/types/carbonbox/shared/domain/value-objects/ValueObject.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/WorkLocation.d.ts +23 -0
- package/build/types/carbonbox/shared/domain/value-objects/WorkLocation.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/ICoordinatorPrimitives.d.ts +20 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/ICoordinatorPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Avatar.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Avatar.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Biography.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Biography.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedByUserId.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedByUserId.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedByUserType.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/CreatedByUserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Email.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Gender.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Gender.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/IsAvailable.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/IsAvailable.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Name.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Password.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Phone.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Phone.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Roles.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/Roles.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/WorkLocation.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/WorkLocation.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/WorkSchedule.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coodinator/domain/value-objects/WorkSchedule.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/ICoordinatorPrimitives.d.ts +15 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/ICoordinatorPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Avatar.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Avatar.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Biography.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Biography.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedByUserId.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedByUserId.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedByUserType.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/CreatedByUserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Email.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Gender.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Gender.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/IsAvailable.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/IsAvailable.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Name.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Password.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Phone.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Phone.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Roles.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Roles.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/WorkLocation.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/WorkLocation.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/WorkSchedule.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/WorkSchedule.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/Host.d.ts +23 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/Host.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/IHostPrimitives.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/IHostPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Email.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/OfficialName.d.ts +6 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/OfficialName.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Password.d.ts +6 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Roles.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/Roles.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/carbonBox/host/domain/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/IHostManagerPrimitives.d.ts +13 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/IHostManagerPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Avatar.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Avatar.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Biography.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Biography.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Email.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Gender.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Gender.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Name.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Password.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Phone.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Phone.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/WorkLocation.d.ts +5 -0
- package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/WorkLocation.d.ts.map +1 -0
- package/build/types/carbonbox/users/cb/coodinator/domain/ICoordinatorPrimitives.d.ts +15 -0
- package/build/types/carbonbox/users/cb/coodinator/domain/ICoordinatorPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/cb/host/domain/Host.d.ts +1 -0
- package/build/types/carbonbox/users/cb/host/domain/Host.d.ts.map +1 -0
- package/build/types/carbonbox/users/cb/host/domain/IHostPrimitives.d.ts +14 -0
- package/build/types/carbonbox/users/cb/host/domain/IHostPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/cb/host-manager/domain/IHostManagerPrimitives.d.ts +14 -0
- package/build/types/carbonbox/users/cb/host-manager/domain/IHostManagerPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/ICompanyPrimitives.d.ts +11 -0
- package/build/types/carbonbox/users/clients/company/ICompanyPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Avatar.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Avatar.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Biography.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Biography.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/CreatedByUserId.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/CreatedByUserId.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/CreatedByUserType.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/CreatedByUserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Description.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Description.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Email.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/OfficialName.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/OfficialName.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Password.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Phone.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Phone.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Roles.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/Roles.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/ShortName.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/ShortName.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/TaxIdentificationNumber.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/TaxIdentificationNumber.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/clients/company/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company/value-objects/WorkLocation.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company/value-objects/WorkLocation.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/ICompanyHostManagerPrimitives.d.ts +9 -0
- package/build/types/carbonbox/users/clients/company-host-manager/ICompanyHostManagerPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/ActiveCustomPlanId.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/ActiveCustomPlanId.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Avatar.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Avatar.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Biography.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Biography.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Email.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/OfficialName.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/OfficialName.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Password.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Phone.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Phone.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Roles.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/Roles.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/TaxIdentificationNumber.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/TaxIdentificationNumber.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/WorkLocation.d.ts +5 -0
- package/build/types/carbonbox/users/clients/company-host-manager/value-objects/WorkLocation.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/AnySystemUserType.d.ts +1 -0
- package/build/types/carbonbox/users/shared/domain/AnySystemUserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IAnySystemUserTypePrimitives.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/IAnySystemUserTypePrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IContactInfo.d.ts +20 -0
- package/build/types/carbonbox/users/shared/domain/IContactInfo.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/ICreationContext.d.ts +6 -0
- package/build/types/carbonbox/users/shared/domain/ICreationContext.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IPersonPrimitives.d.ts +14 -0
- package/build/types/carbonbox/users/shared/domain/IPersonPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IUserCredentials.d.ts +8 -0
- package/build/types/carbonbox/users/shared/domain/IUserCredentials.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IUserPrimitives.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/IUserPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IUserProfile.d.ts +6 -0
- package/build/types/carbonbox/users/shared/domain/IUserProfile.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/IWorkAvailability.d.ts +34 -0
- package/build/types/carbonbox/users/shared/domain/IWorkAvailability.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/Person.d.ts +1 -0
- package/build/types/carbonbox/users/shared/domain/Person.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/User.d.ts +24 -0
- package/build/types/carbonbox/users/shared/domain/User.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/UserRole.d.ts +10 -0
- package/build/types/carbonbox/users/shared/domain/UserRole.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/UserRoleEnum.d.ts +10 -0
- package/build/types/carbonbox/users/shared/domain/UserRoleEnum.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/UserType.d.ts +8 -0
- package/build/types/carbonbox/users/shared/domain/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/UserTypeEnum.d.ts +8 -0
- package/build/types/carbonbox/users/shared/domain/UserTypeEnum.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/exceptions/InvalidEmailPolicyError.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/exceptions/InvalidEmailPolicyError.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/exceptions/InvalidUserTypeError.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/exceptions/InvalidUserTypeError.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/exceptions/PasswordPolicyViolationError.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/exceptions/PasswordPolicyViolationError.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Avatar.d.ts +5 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Avatar.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/CreatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/CreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/CreatedByUserId.d.ts +5 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/CreatedByUserId.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/CreatedByUserType.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/CreatedByUserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Email.d.ts +16 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Email.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Id.d.ts +5 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Id.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Name.d.ts +13 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Name.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Password.d.ts +11 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Password.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Roles.d.ts +7 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/Roles.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/TaxIdentificationNumber.d.ts +6 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/TaxIdentificationNumber.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/UpdatedAt.d.ts +5 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/UpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/UserType.d.ts +9 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/UserType.d.ts.map +1 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/WorkSchedule.d.ts +39 -0
- package/build/types/carbonbox/users/shared/domain/value-objects/WorkSchedule.d.ts.map +1 -0
- package/build/types/main/index.d.ts +2 -0
- package/build/types/main/index.d.ts.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _a, _Gender_VALID_GENDERS, _Gender_ensureIsValidGender;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Gender = void 0;
|
|
10
|
+
const InvalidGenderError_1 = require("../exceptions/InvalidGenderError");
|
|
11
|
+
const String_1 = require("./String");
|
|
12
|
+
class Gender extends String_1.String {
|
|
13
|
+
constructor(value) {
|
|
14
|
+
super(value, 'gender');
|
|
15
|
+
__classPrivateFieldGet(_a, _a, "m", _Gender_ensureIsValidGender).call(_a, value);
|
|
16
|
+
}
|
|
17
|
+
static create(value) {
|
|
18
|
+
return new this(value);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Gender = Gender;
|
|
22
|
+
_a = Gender, _Gender_ensureIsValidGender = function _Gender_ensureIsValidGender(gender) {
|
|
23
|
+
if (__classPrivateFieldGet(_a, _a, "f", _Gender_VALID_GENDERS).includes(gender) === false) {
|
|
24
|
+
throw InvalidGenderError_1.InvalidGenderError.create(gender, __classPrivateFieldGet(_a, _a, "f", _Gender_VALID_GENDERS));
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
_Gender_VALID_GENDERS = { value: ['FEMALE', 'MALE', 'PREFER_NOT_TO_SAY'] };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _a, _GenderValueObject_VALID_GENDERS, _GenderValueObject_ensureIsValidGender;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.GenderValueObject = void 0;
|
|
10
|
+
const InvalidGenderError_1 = require("../exceptions/InvalidGenderError");
|
|
11
|
+
const StringValueObject_1 = require("./StringValueObject");
|
|
12
|
+
class GenderValueObject extends StringValueObject_1.StringValueObject {
|
|
13
|
+
constructor(value) {
|
|
14
|
+
super(value, 'gender');
|
|
15
|
+
__classPrivateFieldGet(_a, _a, "m", _GenderValueObject_ensureIsValidGender).call(_a, value);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.GenderValueObject = GenderValueObject;
|
|
19
|
+
_a = GenderValueObject, _GenderValueObject_ensureIsValidGender = function _GenderValueObject_ensureIsValidGender(gender) {
|
|
20
|
+
if (!__classPrivateFieldGet(_a, _a, "f", _GenderValueObject_VALID_GENDERS).includes(gender)) {
|
|
21
|
+
throw InvalidGenderError_1.InvalidGenderError.create(gender, __classPrivateFieldGet(_a, _a, "f", _GenderValueObject_VALID_GENDERS));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
_GenderValueObject_VALID_GENDERS = { value: ['FEMALE', 'MALE', 'PREFER_NOT_TO_SAY'] };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Id = void 0;
|
|
4
|
+
const Uuid_1 = require("./Uuid");
|
|
5
|
+
class Id extends Uuid_1.Uuid {
|
|
6
|
+
constructor(value, propertyName = 'id') {
|
|
7
|
+
super(value, propertyName);
|
|
8
|
+
}
|
|
9
|
+
static create(value, propertyName = 'id') {
|
|
10
|
+
return new this(value, propertyName);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.Id = Id;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _IdList_instances, _IdList_ensureIsValidIdList;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.IdList = void 0;
|
|
10
|
+
const StringArray_1 = require("./StringArray");
|
|
11
|
+
const Uuid_1 = require("./Uuid");
|
|
12
|
+
class IdList extends StringArray_1.StringArray {
|
|
13
|
+
constructor(value, propertyName) {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_IdList_instances.add(this);
|
|
16
|
+
__classPrivateFieldGet(this, _IdList_instances, "m", _IdList_ensureIsValidIdList).call(this, value);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.IdList = IdList;
|
|
20
|
+
_IdList_instances = new WeakSet(), _IdList_ensureIsValidIdList = function _IdList_ensureIsValidIdList(idList) {
|
|
21
|
+
idList.forEach((id) => Uuid_1.Uuid.ensureIsValidUuid(id));
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _IdListValueObject_instances, _IdListValueObject_ensureIsValidIdList;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.IdListValueObject = void 0;
|
|
10
|
+
const StringArrayValueObject_1 = require("./StringArrayValueObject");
|
|
11
|
+
const UuidValueObject_1 = require("./UuidValueObject");
|
|
12
|
+
class IdListValueObject extends StringArrayValueObject_1.StringArrayValueObject {
|
|
13
|
+
constructor(value, propertyName) {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_IdListValueObject_instances.add(this);
|
|
16
|
+
__classPrivateFieldGet(this, _IdListValueObject_instances, "m", _IdListValueObject_ensureIsValidIdList).call(this, value);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.IdListValueObject = IdListValueObject;
|
|
20
|
+
_IdListValueObject_instances = new WeakSet(), _IdListValueObject_ensureIsValidIdList = function _IdListValueObject_ensureIsValidIdList(idList) {
|
|
21
|
+
idList.forEach((id) => UuidValueObject_1.UuidValueObject.ensureIsValidUuid(id));
|
|
22
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IdValueObject = void 0;
|
|
4
|
+
const UuidValueObject_1 = require("./UuidValueObject");
|
|
5
|
+
class IdValueObject extends UuidValueObject_1.UuidValueObject {
|
|
6
|
+
constructor(value, propertyName = 'id') {
|
|
7
|
+
super(value, propertyName);
|
|
8
|
+
}
|
|
9
|
+
static create(value, propertyName = 'id') {
|
|
10
|
+
return new this(value, propertyName);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.IdValueObject = IdValueObject;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _Image_instances, _Image_ensureIsValidUploadedAt, _Image_ensureIsValidUrl, _Image_ensureIsValidAlt, _Image_ensureIsValidDimensions;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Image = void 0;
|
|
10
|
+
const DateString_1 = require("./DateString");
|
|
11
|
+
const PositiveInteger_1 = require("./PositiveInteger");
|
|
12
|
+
const String_1 = require("./String");
|
|
13
|
+
const ValueObject_1 = require("./ValueObject");
|
|
14
|
+
class Image extends ValueObject_1.ValueObject {
|
|
15
|
+
constructor(value, propertyName) {
|
|
16
|
+
super(value, propertyName, `
|
|
17
|
+
fullSizeUrl: string;
|
|
18
|
+
thumbnailUrl: string | null;
|
|
19
|
+
altText: string;
|
|
20
|
+
uploadedAt: string;
|
|
21
|
+
dimensions: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
};
|
|
25
|
+
`);
|
|
26
|
+
_Image_instances.add(this);
|
|
27
|
+
__classPrivateFieldGet(this, _Image_instances, "m", _Image_ensureIsValidUploadedAt).call(this, value.uploadedAt);
|
|
28
|
+
__classPrivateFieldGet(this, _Image_instances, "m", _Image_ensureIsValidUrl).call(this, value.fullSizeUrl, 'fullSizeUrl');
|
|
29
|
+
__classPrivateFieldGet(this, _Image_instances, "m", _Image_ensureIsValidAlt).call(this, value.altText);
|
|
30
|
+
__classPrivateFieldGet(this, _Image_instances, "m", _Image_ensureIsValidDimensions).call(this, value.dimensions);
|
|
31
|
+
if (value.thumbnailUrl !== undefined && value.thumbnailUrl !== null) {
|
|
32
|
+
__classPrivateFieldGet(this, _Image_instances, "m", _Image_ensureIsValidUrl).call(this, value.thumbnailUrl, 'thumbnailUrl');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
static create(value, propertyName) {
|
|
36
|
+
return new this(value, propertyName);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.Image = Image;
|
|
40
|
+
_Image_instances = new WeakSet(), _Image_ensureIsValidUploadedAt = function _Image_ensureIsValidUploadedAt(value) {
|
|
41
|
+
DateString_1.DateString.ensureIsValidDate(value);
|
|
42
|
+
}, _Image_ensureIsValidUrl = function _Image_ensureIsValidUrl(value, propertyName) {
|
|
43
|
+
String_1.String.ensureValidType(value, propertyName);
|
|
44
|
+
}, _Image_ensureIsValidAlt = function _Image_ensureIsValidAlt(value) {
|
|
45
|
+
String_1.String.ensureValidType(value, 'altText');
|
|
46
|
+
}, _Image_ensureIsValidDimensions = function _Image_ensureIsValidDimensions(value) {
|
|
47
|
+
PositiveInteger_1.PositiveInteger.ensureIsIntegerAndPositive(value.width, 'dimensions width');
|
|
48
|
+
PositiveInteger_1.PositiveInteger.ensureIsIntegerAndPositive(value.height, 'dimensions height');
|
|
49
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImageArray = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class ImageArray extends ValueObject_1.ValueObject {
|
|
6
|
+
get imageArrayAsToPrimitives() {
|
|
7
|
+
return this.value.map((image) => ({
|
|
8
|
+
fullSizeUrl: image.value.fullSizeUrl,
|
|
9
|
+
thumbnailUrl: image.value.thumbnailUrl,
|
|
10
|
+
altText: image.value.altText,
|
|
11
|
+
dimensions: image.value.dimensions,
|
|
12
|
+
uploadedAt: image.value.uploadedAt,
|
|
13
|
+
}));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ImageArray = ImageArray;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImageArrayValueObject = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class ImageArrayValueObject extends ValueObject_1.ValueObject {
|
|
6
|
+
get imageArrayAsToPrimitives() {
|
|
7
|
+
return this.value.map((image) => ({
|
|
8
|
+
fullSizeUrl: image.value.fullSizeUrl,
|
|
9
|
+
thumbnailUrl: image.value.thumbnailUrl,
|
|
10
|
+
altText: image.value.altText,
|
|
11
|
+
dimensions: image.value.dimensions,
|
|
12
|
+
uploadedAt: image.value.uploadedAt,
|
|
13
|
+
}));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ImageArrayValueObject = ImageArrayValueObject;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _ImageValueObject_instances, _ImageValueObject_ensureIsValidUploadedAt, _ImageValueObject_ensureIsValidUrl, _ImageValueObject_ensureIsValidAlt, _ImageValueObject_ensureIsValidDimensions;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ImageValueObject = void 0;
|
|
10
|
+
const DateValueObject_1 = require("./DateValueObject");
|
|
11
|
+
const PositiveIntegerValueObject_1 = require("./PositiveIntegerValueObject");
|
|
12
|
+
const StringValueObject_1 = require("./StringValueObject");
|
|
13
|
+
const ValueObject_1 = require("./ValueObject");
|
|
14
|
+
class ImageValueObject extends ValueObject_1.ValueObject {
|
|
15
|
+
constructor(value, propertyName) {
|
|
16
|
+
super(value, propertyName, `
|
|
17
|
+
fullSizeUrl: string;
|
|
18
|
+
thumbnailUrl?: string;
|
|
19
|
+
altText: string;
|
|
20
|
+
uploadedAt: string;
|
|
21
|
+
dimensions: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
};
|
|
25
|
+
`);
|
|
26
|
+
_ImageValueObject_instances.add(this);
|
|
27
|
+
__classPrivateFieldGet(this, _ImageValueObject_instances, "m", _ImageValueObject_ensureIsValidUploadedAt).call(this, value.uploadedAt);
|
|
28
|
+
__classPrivateFieldGet(this, _ImageValueObject_instances, "m", _ImageValueObject_ensureIsValidUrl).call(this, value.fullSizeUrl);
|
|
29
|
+
__classPrivateFieldGet(this, _ImageValueObject_instances, "m", _ImageValueObject_ensureIsValidAlt).call(this, value.altText);
|
|
30
|
+
__classPrivateFieldGet(this, _ImageValueObject_instances, "m", _ImageValueObject_ensureIsValidDimensions).call(this, value.dimensions);
|
|
31
|
+
if (value.thumbnailUrl !== undefined && value.thumbnailUrl !== null) {
|
|
32
|
+
__classPrivateFieldGet(this, _ImageValueObject_instances, "m", _ImageValueObject_ensureIsValidUrl).call(this, value.thumbnailUrl);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ImageValueObject = ImageValueObject;
|
|
37
|
+
_ImageValueObject_instances = new WeakSet(), _ImageValueObject_ensureIsValidUploadedAt = function _ImageValueObject_ensureIsValidUploadedAt(value) {
|
|
38
|
+
DateValueObject_1.DateValueObject.ensureIsValidDate(value);
|
|
39
|
+
}, _ImageValueObject_ensureIsValidUrl = function _ImageValueObject_ensureIsValidUrl(value) {
|
|
40
|
+
StringValueObject_1.StringValueObject.ensureValueTypeIsCorrect(value, 'url');
|
|
41
|
+
}, _ImageValueObject_ensureIsValidAlt = function _ImageValueObject_ensureIsValidAlt(value) {
|
|
42
|
+
StringValueObject_1.StringValueObject.ensureValueTypeIsCorrect(value, 'alt');
|
|
43
|
+
}, _ImageValueObject_ensureIsValidDimensions = function _ImageValueObject_ensureIsValidDimensions(value) {
|
|
44
|
+
PositiveIntegerValueObject_1.PositiveIntegerValueObject.ensureIsIntegerAndPositive(value.width, 'dimensions width');
|
|
45
|
+
PositiveIntegerValueObject_1.PositiveIntegerValueObject.ensureIsIntegerAndPositive(value.height, 'dimensions height');
|
|
46
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Integer = void 0;
|
|
4
|
+
const NotIntegerError_1 = require("../exceptions/NotIntegerError");
|
|
5
|
+
const PrimitiveValueObject_1 = require("./PrimitiveValueObject");
|
|
6
|
+
class Integer extends PrimitiveValueObject_1.PrimitiveValueObject {
|
|
7
|
+
constructor(value, propertyName) {
|
|
8
|
+
super(value, propertyName, 'integer');
|
|
9
|
+
this.ensureIsInteger(value, propertyName);
|
|
10
|
+
}
|
|
11
|
+
ensureIsInteger(value, propertyName) {
|
|
12
|
+
if (!Number.isInteger(value)) {
|
|
13
|
+
throw NotIntegerError_1.NotIntegerError.create(propertyName, value);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Integer = Integer;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IntegerValueObject = void 0;
|
|
4
|
+
const NotIntegerError_1 = require("../exceptions/NotIntegerError");
|
|
5
|
+
const PrimitiveValueObject_1 = require("./PrimitiveValueObject");
|
|
6
|
+
class IntegerValueObject extends PrimitiveValueObject_1.PrimitiveValueObject {
|
|
7
|
+
constructor(value, propertyName) {
|
|
8
|
+
super(value, propertyName, 'integer');
|
|
9
|
+
this.ensureIsInteger(value, propertyName);
|
|
10
|
+
}
|
|
11
|
+
ensureIsInteger(value, propertyName) {
|
|
12
|
+
if (!Number.isInteger(value)) {
|
|
13
|
+
throw NotIntegerError_1.NotIntegerError.create(propertyName, value);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.IntegerValueObject = IntegerValueObject;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IsAvailable = void 0;
|
|
4
|
+
const Boolean_1 = require("./Boolean");
|
|
5
|
+
class IsAvailable extends Boolean_1.Boolean {
|
|
6
|
+
constructor(value) {
|
|
7
|
+
super(value, 'isAvailable');
|
|
8
|
+
}
|
|
9
|
+
static create(value) {
|
|
10
|
+
return new this(value);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.IsAvailable = IsAvailable;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LocationValueObject = void 0;
|
|
4
|
+
const InvalidPropertyTypeError_1 = require("../exceptions/InvalidPropertyTypeError");
|
|
5
|
+
const ObjectValueObject_1 = require("./ObjectValueObject");
|
|
6
|
+
class LocationValueObject extends ObjectValueObject_1.ObjectValueObject {
|
|
7
|
+
constructor(value) {
|
|
8
|
+
super(value, 'location', '{ country: Item; department: Item; city: Item; coords: { lat: number; lng: number } } - Item { code: string; label: string; } ');
|
|
9
|
+
LocationValueObject.ensurePropIsDefined(value.country, 'country');
|
|
10
|
+
LocationValueObject.ensurePropIsDefined(value.department, 'department');
|
|
11
|
+
LocationValueObject.ensurePropIsDefined(value.city, 'city');
|
|
12
|
+
LocationValueObject.ensureCoordsIsDefined(value.coords);
|
|
13
|
+
}
|
|
14
|
+
static ensurePropIsDefined(propertyValue, propertyName) {
|
|
15
|
+
if (propertyValue === null || propertyValue === undefined) {
|
|
16
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create(propertyName, '{ code: string; label: string }', typeof propertyValue);
|
|
17
|
+
}
|
|
18
|
+
if (propertyValue.code === null || propertyValue.code === undefined || typeof propertyValue.code !== 'string') {
|
|
19
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create(`${propertyName}.code`, 'string', typeof propertyValue);
|
|
20
|
+
}
|
|
21
|
+
if (propertyValue.label === null || propertyValue.label === undefined || typeof propertyValue.label !== 'string') {
|
|
22
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create(`${propertyName}.label`, 'string', typeof propertyValue);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
static ensureCoordsIsDefined(coords) {
|
|
26
|
+
if (coords === null || coords === undefined) {
|
|
27
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('coords', '{ lat: number; lng: number; }', typeof coords);
|
|
28
|
+
}
|
|
29
|
+
if (coords.lat === null || coords.lat === undefined || typeof coords.lat !== 'number') {
|
|
30
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('coords.lat', 'number', typeof coords.lat);
|
|
31
|
+
}
|
|
32
|
+
if (coords.lng === null || coords.lng === undefined || typeof coords.lng !== 'number') {
|
|
33
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('coords.lng', 'number', typeof coords.lng);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.LocationValueObject = LocationValueObject;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LocationValueObject = void 0;
|
|
4
|
+
const InvalidPropertyTypeError_1 = require("../exceptions/InvalidPropertyTypeError");
|
|
5
|
+
const ObjectValueObject_1 = require("./ObjectValueObject");
|
|
6
|
+
class LocationValueObject extends ObjectValueObject_1.ObjectValueObject {
|
|
7
|
+
constructor(value) {
|
|
8
|
+
super(value, 'location', '{ country: Item; department: Item; city: Item; coords: { lat: number; lng: number } } - Item { code: string; label: string; } ');
|
|
9
|
+
LocationValueObject.ensurePropIsDefined(value.country, 'country');
|
|
10
|
+
LocationValueObject.ensurePropIsDefined(value.department, 'department');
|
|
11
|
+
LocationValueObject.ensurePropIsDefined(value.city, 'city');
|
|
12
|
+
LocationValueObject.ensureCoordsIsDefined(value.coords);
|
|
13
|
+
}
|
|
14
|
+
static ensurePropIsDefined(propertyValue, propertyName) {
|
|
15
|
+
if (propertyValue === null || propertyValue === undefined) {
|
|
16
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create(propertyName, '{ code: string; label: string }', typeof propertyValue);
|
|
17
|
+
}
|
|
18
|
+
if (propertyValue.code === null || propertyValue.code === undefined || typeof propertyValue.code !== 'string') {
|
|
19
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create(`${propertyName}.code`, 'string', typeof propertyValue);
|
|
20
|
+
}
|
|
21
|
+
if (propertyValue.label === null || propertyValue.label === undefined || typeof propertyValue.label !== 'string') {
|
|
22
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create(`${propertyName}.label`, 'string', typeof propertyValue);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
static ensureCoordsIsDefined(coords) {
|
|
26
|
+
if (coords === null || coords === undefined) {
|
|
27
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('coords', '{ lat: number; lng: number; }', typeof coords);
|
|
28
|
+
}
|
|
29
|
+
if (coords.lat === null || coords.lat === undefined || typeof coords.lat !== 'number') {
|
|
30
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('coords.lat', 'number', typeof coords.lat);
|
|
31
|
+
}
|
|
32
|
+
if (coords.lng === null || coords.lng === undefined || typeof coords.lng !== 'number') {
|
|
33
|
+
throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('coords.lng', 'number', typeof coords.lng);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.LocationValueObject = LocationValueObject;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _NullableDate_instances, _NullableDate_ensureIsValidDate;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.NullableDate = void 0;
|
|
10
|
+
const DateString_1 = require("./DateString");
|
|
11
|
+
const NullableString_1 = require("./NullableString");
|
|
12
|
+
class NullableDate extends NullableString_1.NullableString {
|
|
13
|
+
constructor(value, propertyName) {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_NullableDate_instances.add(this);
|
|
16
|
+
if (value !== null) {
|
|
17
|
+
__classPrivateFieldGet(this, _NullableDate_instances, "m", _NullableDate_ensureIsValidDate).call(this, value);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.NullableDate = NullableDate;
|
|
22
|
+
_NullableDate_instances = new WeakSet(), _NullableDate_ensureIsValidDate = function _NullableDate_ensureIsValidDate(value) {
|
|
23
|
+
if (value !== null) {
|
|
24
|
+
DateString_1.DateString.ensureIsValidDate(value);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _NullableId_instances, _NullableId_ensureIsValidId;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.NullableId = void 0;
|
|
10
|
+
const NullableString_1 = require("./NullableString");
|
|
11
|
+
const Uuid_1 = require("./Uuid");
|
|
12
|
+
class NullableId extends NullableString_1.NullableString {
|
|
13
|
+
constructor(value, propertyName = 'id') {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_NullableId_instances.add(this);
|
|
16
|
+
if (value !== null) {
|
|
17
|
+
__classPrivateFieldGet(this, _NullableId_instances, "m", _NullableId_ensureIsValidId).call(this, value);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.NullableId = NullableId;
|
|
22
|
+
_NullableId_instances = new WeakSet(), _NullableId_ensureIsValidId = function _NullableId_ensureIsValidId(value) {
|
|
23
|
+
Uuid_1.Uuid.ensureIsValidUuid(value);
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _NullableIdValueObject_instances, _NullableIdValueObject_ensureIsValidId;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.NullableIdValueObject = void 0;
|
|
10
|
+
const NullableStringValueObject_1 = require("./NullableStringValueObject");
|
|
11
|
+
const UuidValueObject_1 = require("./UuidValueObject");
|
|
12
|
+
class NullableIdValueObject extends NullableStringValueObject_1.NullableStringValueObject {
|
|
13
|
+
constructor(value, propertyName = 'id') {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_NullableIdValueObject_instances.add(this);
|
|
16
|
+
if (value !== null) {
|
|
17
|
+
__classPrivateFieldGet(this, _NullableIdValueObject_instances, "m", _NullableIdValueObject_ensureIsValidId).call(this, value);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.NullableIdValueObject = NullableIdValueObject;
|
|
22
|
+
_NullableIdValueObject_instances = new WeakSet(), _NullableIdValueObject_ensureIsValidId = function _NullableIdValueObject_ensureIsValidId(value) {
|
|
23
|
+
UuidValueObject_1.UuidValueObject.ensureIsValidUuid(value);
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullableNumber = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class NullableNumber extends ValueObject_1.ValueObject {
|
|
6
|
+
constructor(value, propertyName) {
|
|
7
|
+
super(value, propertyName, 'number | null', { allowNull: true, allowUndefined: false });
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NullableNumber = NullableNumber;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullableNumberValueObject = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class NullableNumberValueObject extends ValueObject_1.ValueObject {
|
|
6
|
+
constructor(value, propertyName) {
|
|
7
|
+
super(value, propertyName, 'number | null', { allowNull: true });
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NullableNumberValueObject = NullableNumberValueObject;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _NullablePositiveInteger_instances, _NullablePositiveInteger_ensureIsPositiveInteger;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.NullablePositiveInteger = void 0;
|
|
10
|
+
const NullableNumber_1 = require("./NullableNumber");
|
|
11
|
+
const PositiveInteger_1 = require("./PositiveInteger");
|
|
12
|
+
class NullablePositiveInteger extends NullableNumber_1.NullableNumber {
|
|
13
|
+
constructor(value, propertyName) {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_NullablePositiveInteger_instances.add(this);
|
|
16
|
+
if (value !== null) {
|
|
17
|
+
__classPrivateFieldGet(this, _NullablePositiveInteger_instances, "m", _NullablePositiveInteger_ensureIsPositiveInteger).call(this, value, propertyName);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.NullablePositiveInteger = NullablePositiveInteger;
|
|
22
|
+
_NullablePositiveInteger_instances = new WeakSet(), _NullablePositiveInteger_ensureIsPositiveInteger = function _NullablePositiveInteger_ensureIsPositiveInteger(value, propertyName) {
|
|
23
|
+
PositiveInteger_1.PositiveInteger.ensureIsIntegerAndPositive(value, propertyName);
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var _NullablePositiveInteger_instances, _NullablePositiveInteger_ensureIsPositiveInteger;
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.NullablePositiveInteger = void 0;
|
|
10
|
+
const NullableNumber_1 = require("./NullableNumber");
|
|
11
|
+
const PositiveIntegerValueObject_1 = require("./PositiveIntegerValueObject");
|
|
12
|
+
class NullablePositiveInteger extends NullableNumber_1.NullableNumber {
|
|
13
|
+
constructor(value, propertyName) {
|
|
14
|
+
super(value, propertyName);
|
|
15
|
+
_NullablePositiveInteger_instances.add(this);
|
|
16
|
+
if (value !== null) {
|
|
17
|
+
__classPrivateFieldGet(this, _NullablePositiveInteger_instances, "m", _NullablePositiveInteger_ensureIsPositiveInteger).call(this, value, propertyName);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.NullablePositiveInteger = NullablePositiveInteger;
|
|
22
|
+
_NullablePositiveInteger_instances = new WeakSet(), _NullablePositiveInteger_ensureIsPositiveInteger = function _NullablePositiveInteger_ensureIsPositiveInteger(value, propertyName) {
|
|
23
|
+
PositiveIntegerValueObject_1.PositiveIntegerValueObject.ensureIsIntegerAndPositive(value, propertyName);
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullableString = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class NullableString extends ValueObject_1.ValueObject {
|
|
6
|
+
constructor(value, propertyName) {
|
|
7
|
+
super(value, propertyName, 'string | null', { allowNull: true, allowUndefined: false });
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NullableString = NullableString;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullableStringValueObject = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class NullableStringValueObject extends ValueObject_1.ValueObject {
|
|
6
|
+
constructor(value, propertyName) {
|
|
7
|
+
super(value, propertyName, 'string | null', { allowNull: true });
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NullableStringValueObject = NullableStringValueObject;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullableTime = void 0;
|
|
4
|
+
const Time_1 = require("./Time");
|
|
5
|
+
const ValueObject_1 = require("./ValueObject");
|
|
6
|
+
class NullableTime extends ValueObject_1.ValueObject {
|
|
7
|
+
constructor(value, propertyName) {
|
|
8
|
+
super(value, propertyName, 'string | null', { allowNull: true, allowUndefined: false });
|
|
9
|
+
if (value !== null) {
|
|
10
|
+
Time_1.Time.ensureIsValidTime(value);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
get timeAsStringOrNull() {
|
|
14
|
+
return this.value;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.NullableTime = NullableTime;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullableTimeValueObject = void 0;
|
|
4
|
+
const TimeValueObject_1 = require("./TimeValueObject");
|
|
5
|
+
const ValueObject_1 = require("./ValueObject");
|
|
6
|
+
class NullableTimeValueObject extends ValueObject_1.ValueObject {
|
|
7
|
+
constructor(value, propertyName) {
|
|
8
|
+
super(value, propertyName, 'string | null', { allowNull: true });
|
|
9
|
+
if (value !== null) {
|
|
10
|
+
TimeValueObject_1.TimeValueObject.ensureIsValidTime(value);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
get timeAsStringOrNull() {
|
|
14
|
+
return this.value;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.NullableTimeValueObject = NullableTimeValueObject;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NumberArray = void 0;
|
|
4
|
+
const ObjectValueObject_1 = require("./ObjectValueObject");
|
|
5
|
+
class NumberArray extends ObjectValueObject_1.ObjectValueObject {
|
|
6
|
+
constructor(value, propertyName) {
|
|
7
|
+
super(value, propertyName, 'number[]');
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NumberArray = NumberArray;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NumberArrayValueObject = void 0;
|
|
4
|
+
const ObjectValueObject_1 = require("./ObjectValueObject");
|
|
5
|
+
class NumberArrayValueObject extends ObjectValueObject_1.ObjectValueObject {
|
|
6
|
+
constructor(value, propertyName) {
|
|
7
|
+
super(value, propertyName, 'number[]');
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NumberArrayValueObject = NumberArrayValueObject;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ObjectValueObject = void 0;
|
|
4
|
+
const ValueObject_1 = require("./ValueObject");
|
|
5
|
+
class ObjectValueObject extends ValueObject_1.ValueObject {
|
|
6
|
+
}
|
|
7
|
+
exports.ObjectValueObject = ObjectValueObject;
|