@persei/perseed-api 5.0.0-beta.1 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1 -0
- package/dist/global-pagination.d.ts +1 -0
- package/dist/lib/src/client/index.d.ts +2 -0
- package/dist/lib/src/client/index.d.ts.map +1 -0
- package/dist/lib/src/generated/client.d.ts +559 -0
- package/dist/lib/src/generated/client.d.ts.map +1 -0
- package/dist/src/Services/AiService.d.ts +17 -0
- package/dist/src/Services/AiService.d.ts.map +1 -0
- package/dist/src/Services/ApiService.d.ts +17 -0
- package/dist/src/Services/ApiService.d.ts.map +1 -0
- package/dist/src/Services/ArcangelService.d.ts +41 -0
- package/dist/src/Services/ArcangelService.d.ts.map +1 -0
- package/dist/src/Services/AuthenticationSecurityService.d.ts +33 -0
- package/dist/src/Services/AuthenticationSecurityService.d.ts.map +1 -0
- package/dist/src/Services/BulkUploadService.d.ts +8 -0
- package/dist/src/Services/BulkUploadService.d.ts.map +1 -0
- package/dist/src/Services/CacheService.d.ts +101 -0
- package/dist/src/Services/CacheService.d.ts.map +1 -0
- package/dist/src/Services/ChartService.d.ts +6 -0
- package/dist/src/Services/ChartService.d.ts.map +1 -0
- package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts +7 -0
- package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts.map +1 -0
- package/dist/src/Services/ConditionsMatcher/index.d.ts +4 -0
- package/dist/src/Services/ConditionsMatcher/index.d.ts.map +1 -0
- package/dist/src/Services/CrfService.d.ts +18 -0
- package/dist/src/Services/CrfService.d.ts.map +1 -0
- package/dist/src/Services/DashboardWidgetService.d.ts +14 -0
- package/dist/src/Services/DashboardWidgetService.d.ts.map +1 -0
- package/dist/src/Services/DataService.d.ts +10 -0
- package/dist/src/Services/DataService.d.ts.map +1 -0
- package/dist/src/Services/DbService.d.ts +9 -0
- package/dist/src/Services/DbService.d.ts.map +1 -0
- package/dist/src/Services/DependentService.d.ts +7 -0
- package/dist/src/Services/DependentService.d.ts.map +1 -0
- package/dist/src/Services/DocumentsUpload/DocumentsService.d.ts +29 -0
- package/dist/src/Services/DocumentsUpload/DocumentsService.d.ts.map +1 -0
- package/dist/src/Services/DocumentsUpload/ValidatorDocumentsService.d.ts +28 -0
- package/dist/src/Services/DocumentsUpload/ValidatorDocumentsService.d.ts.map +1 -0
- package/dist/src/Services/EcosystemService.d.ts +7 -0
- package/dist/src/Services/EcosystemService.d.ts.map +1 -0
- package/dist/src/Services/EmailService.d.ts +12 -0
- package/dist/src/Services/EmailService.d.ts.map +1 -0
- package/dist/src/Services/ExportService.d.ts +25 -0
- package/dist/src/Services/ExportService.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Download.d.ts +11 -0
- package/dist/src/Services/Exporter/Download.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/FailedToExport.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/FailedToExport.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/NotAllowedToExport.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/NotAllowedToExport.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/NotExists.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/NotExists.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/StillInProgress.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/StillInProgress.d.ts.map +1 -0
- package/dist/src/Services/FieldsService.d.ts +23 -0
- package/dist/src/Services/FieldsService.d.ts.map +1 -0
- package/dist/src/Services/FileService.d.ts +40 -0
- package/dist/src/Services/FileService.d.ts.map +1 -0
- package/dist/src/Services/FileServiceProviders/AWSFileServiceProvider.d.ts +4 -0
- package/dist/src/Services/FileServiceProviders/AWSFileServiceProvider.d.ts.map +1 -0
- package/dist/src/Services/FileServiceProviders/FileServiceProvider.d.ts +11 -0
- package/dist/src/Services/FileServiceProviders/FileServiceProvider.d.ts.map +1 -0
- package/dist/src/Services/FileServiceProviders/VaultFileServiceProvider.d.ts +24 -0
- package/dist/src/Services/FileServiceProviders/VaultFileServiceProvider.d.ts.map +1 -0
- package/dist/src/Services/FormService.d.ts +22 -0
- package/dist/src/Services/FormService.d.ts.map +1 -0
- package/dist/src/Services/HospitalService.d.ts +5 -0
- package/dist/src/Services/HospitalService.d.ts.map +1 -0
- package/dist/src/Services/I18nService.d.ts +23 -0
- package/dist/src/Services/I18nService.d.ts.map +1 -0
- package/dist/src/Services/LambdaService.d.ts +16 -0
- package/dist/src/Services/LambdaService.d.ts.map +1 -0
- package/dist/src/Services/MobileService.d.ts +14 -0
- package/dist/src/Services/MobileService.d.ts.map +1 -0
- package/dist/src/Services/NotificationService.d.ts +15 -0
- package/dist/src/Services/NotificationService.d.ts.map +1 -0
- package/dist/src/Services/PatientJourneyService.d.ts +37 -0
- package/dist/src/Services/PatientJourneyService.d.ts.map +1 -0
- package/dist/src/Services/PatientService.d.ts +28 -0
- package/dist/src/Services/PatientService.d.ts.map +1 -0
- package/dist/src/Services/PerseedAPIService.d.ts +12 -0
- package/dist/src/Services/PerseedAPIService.d.ts.map +1 -0
- package/dist/src/Services/PerseedEcosystemService.d.ts +7 -0
- package/dist/src/Services/PerseedEcosystemService.d.ts.map +1 -0
- package/dist/src/Services/PerseedService.d.ts +7 -0
- package/dist/src/Services/PerseedService.d.ts.map +1 -0
- package/dist/src/Services/ProcessLogService.d.ts +10 -0
- package/dist/src/Services/ProcessLogService.d.ts.map +1 -0
- package/dist/src/Services/ProfilingService.d.ts +6 -0
- package/dist/src/Services/ProfilingService.d.ts.map +1 -0
- package/dist/src/Services/ProjectService.d.ts +25 -0
- package/dist/src/Services/ProjectService.d.ts.map +1 -0
- package/dist/src/Services/PublisherService.d.ts +8 -0
- package/dist/src/Services/PublisherService.d.ts.map +1 -0
- package/dist/src/Services/QueryService.d.ts +17 -0
- package/dist/src/Services/QueryService.d.ts.map +1 -0
- package/dist/src/Services/QuestionnaireService.d.ts +12 -0
- package/dist/src/Services/QuestionnaireService.d.ts.map +1 -0
- package/dist/src/Services/RabbitQueueService.d.ts +9 -0
- package/dist/src/Services/RabbitQueueService.d.ts.map +1 -0
- package/dist/src/Services/RedisCacheService.d.ts +24 -0
- package/dist/src/Services/RedisCacheService.d.ts.map +1 -0
- package/dist/src/Services/RedisQueueService.d.ts +19 -0
- package/dist/src/Services/RedisQueueService.d.ts.map +1 -0
- package/dist/src/Services/SMSNotificationsService.d.ts +9 -0
- package/dist/src/Services/SMSNotificationsService.d.ts.map +1 -0
- package/dist/src/Services/ScheduledTasksService.d.ts +5 -0
- package/dist/src/Services/ScheduledTasksService.d.ts.map +1 -0
- package/dist/src/Services/Search/EmptyArray.d.ts +6 -0
- package/dist/src/Services/Search/EmptyArray.d.ts.map +1 -0
- package/dist/src/Services/Search/JsonParser.d.ts +6 -0
- package/dist/src/Services/Search/JsonParser.d.ts.map +1 -0
- package/dist/src/Services/Search/LogicalOperator.d.ts +8 -0
- package/dist/src/Services/Search/LogicalOperator.d.ts.map +1 -0
- package/dist/src/Services/Search/QueryBuilder.d.ts +9 -0
- package/dist/src/Services/Search/QueryBuilder.d.ts.map +1 -0
- package/dist/src/Services/Search/SearchParamValidator.d.ts +6 -0
- package/dist/src/Services/Search/SearchParamValidator.d.ts.map +1 -0
- package/dist/src/Services/Search/ValuesDb.d.ts +8 -0
- package/dist/src/Services/Search/ValuesDb.d.ts.map +1 -0
- package/dist/src/Services/SearchService.d.ts +8 -0
- package/dist/src/Services/SearchService.d.ts.map +1 -0
- package/dist/src/Services/SelectionFieldsService.d.ts +10 -0
- package/dist/src/Services/SelectionFieldsService.d.ts.map +1 -0
- package/dist/src/Services/SignedCookies/SignedCookies.d.ts +10 -0
- package/dist/src/Services/SignedCookies/SignedCookies.d.ts.map +1 -0
- package/dist/src/Services/SignedCookies/Validator.d.ts +17 -0
- package/dist/src/Services/SignedCookies/Validator.d.ts.map +1 -0
- package/dist/src/Services/TaskService.d.ts +11 -0
- package/dist/src/Services/TaskService.d.ts.map +1 -0
- package/dist/src/Services/TemplateService.d.ts +26 -0
- package/dist/src/Services/TemplateService.d.ts.map +1 -0
- package/dist/src/Services/TokenService.d.ts +7 -0
- package/dist/src/Services/TokenService.d.ts.map +1 -0
- package/dist/src/Services/TriggerService.d.ts +27 -0
- package/dist/src/Services/TriggerService.d.ts.map +1 -0
- package/dist/src/Services/TrxService.d.ts +25 -0
- package/dist/src/Services/TrxService.d.ts.map +1 -0
- package/dist/src/Services/UserService.d.ts +85 -0
- package/dist/src/Services/UserService.d.ts.map +1 -0
- package/dist/src/Services/ValidatorService.d.ts +12 -0
- package/dist/src/Services/ValidatorService.d.ts.map +1 -0
- package/dist/src/Services/cryptService.d.ts +6 -0
- package/dist/src/Services/cryptService.d.ts.map +1 -0
- package/dist/src/Services/tasks/InsertAggregateData.d.ts +5 -0
- package/dist/src/Services/tasks/InsertAggregateData.d.ts.map +1 -0
- package/dist/src/app.d.ts +4 -0
- package/dist/src/app.d.ts.map +1 -0
- package/dist/src/config/apiPublicKey.d.ts +5 -0
- package/dist/src/config/apiPublicKey.d.ts.map +1 -0
- package/dist/src/config/config.d.ts +28 -0
- package/dist/src/config/config.d.ts.map +1 -0
- package/dist/src/config/credentials/local.d.ts +3 -0
- package/dist/src/config/credentials/local.d.ts.map +1 -0
- package/dist/src/config/credentials/local_tmp.d.ts +3 -0
- package/dist/src/config/credentials/local_tmp.d.ts.map +1 -0
- package/dist/src/config/credentials/preproduction.d.ts +3 -0
- package/dist/src/config/credentials/preproduction.d.ts.map +1 -0
- package/dist/src/config/credentials/production.d.ts +3 -0
- package/dist/src/config/credentials/production.d.ts.map +1 -0
- package/dist/src/config/credentials/template.d.ts +3 -0
- package/dist/src/config/credentials/template.d.ts.map +1 -0
- package/dist/src/config/credentials/test.d.ts +110 -0
- package/dist/src/config/credentials/test.d.ts.map +1 -0
- package/dist/src/config/credentials/testing.d.ts +3 -0
- package/dist/src/config/credentials/testing.d.ts.map +1 -0
- package/dist/src/config/crypto.d.ts +13 -0
- package/dist/src/config/crypto.d.ts.map +1 -0
- package/dist/src/config/excludeFromQuery.d.ts +3 -0
- package/dist/src/config/excludeFromQuery.d.ts.map +1 -0
- package/dist/src/config/fileConfig.d.ts +12 -0
- package/dist/src/config/fileConfig.d.ts.map +1 -0
- package/dist/src/config/marketLinks.d.ts +8 -0
- package/dist/src/config/marketLinks.d.ts.map +1 -0
- package/dist/src/config/perseedAPI.d.ts +28 -0
- package/dist/src/config/perseedAPI.d.ts.map +1 -0
- package/dist/src/config/perseedCredentials.d.ts +117 -0
- package/dist/src/config/perseedCredentials.d.ts.map +1 -0
- package/dist/src/config/publicPath.d.ts +29 -0
- package/dist/src/config/publicPath.d.ts.map +1 -0
- package/dist/src/constants/Exporter.d.ts +12 -0
- package/dist/src/constants/Exporter.d.ts.map +1 -0
- package/dist/src/constants/Forms.d.ts +494 -0
- package/dist/src/constants/Forms.d.ts.map +1 -0
- package/dist/src/constants/NotifiedTypes.d.ts +9 -0
- package/dist/src/constants/NotifiedTypes.d.ts.map +1 -0
- package/dist/src/constants/PhoneCodes.d.ts +4 -0
- package/dist/src/constants/PhoneCodes.d.ts.map +1 -0
- package/dist/src/constants/Questionnaire.d.ts +57 -0
- package/dist/src/constants/Questionnaire.d.ts.map +1 -0
- package/dist/src/constants/Role.d.ts +7 -0
- package/dist/src/constants/Role.d.ts.map +1 -0
- package/dist/src/constants/SeedPrivilege.d.ts +51 -0
- package/dist/src/constants/SeedPrivilege.d.ts.map +1 -0
- package/dist/src/constants/UserProfile.d.ts +4 -0
- package/dist/src/constants/UserProfile.d.ts.map +1 -0
- package/dist/src/constants/View.d.ts +8 -0
- package/dist/src/constants/View.d.ts.map +1 -0
- package/dist/src/constants/datesFormats.d.ts +7 -0
- package/dist/src/constants/datesFormats.d.ts.map +1 -0
- package/dist/src/constants/index.d.ts +11 -0
- package/dist/src/constants/index.d.ts.map +1 -0
- package/dist/src/controllers/ApiActionController.d.ts +8 -0
- package/dist/src/controllers/ApiActionController.d.ts.map +1 -0
- package/dist/src/controllers/AuthController.d.ts +107 -0
- package/dist/src/controllers/AuthController.d.ts.map +1 -0
- package/dist/src/controllers/BulkUploadController.d.ts +6 -0
- package/dist/src/controllers/BulkUploadController.d.ts.map +1 -0
- package/dist/src/controllers/CalendarController.d.ts +36 -0
- package/dist/src/controllers/CalendarController.d.ts.map +1 -0
- package/dist/src/controllers/ConfigController.d.ts +15 -0
- package/dist/src/controllers/ConfigController.d.ts.map +1 -0
- package/dist/src/controllers/DashboardWidgetController.d.ts +10 -0
- package/dist/src/controllers/DashboardWidgetController.d.ts.map +1 -0
- package/dist/src/controllers/DocumentsController.d.ts +11 -0
- package/dist/src/controllers/DocumentsController.d.ts.map +1 -0
- package/dist/src/controllers/FileController.d.ts +15 -0
- package/dist/src/controllers/FileController.d.ts.map +1 -0
- package/dist/src/controllers/FormController.d.ts +49 -0
- package/dist/src/controllers/FormController.d.ts.map +1 -0
- package/dist/src/controllers/HealhDataController.d.ts +6 -0
- package/dist/src/controllers/HealhDataController.d.ts.map +1 -0
- package/dist/src/controllers/HospitalController.d.ts +7 -0
- package/dist/src/controllers/HospitalController.d.ts.map +1 -0
- package/dist/src/controllers/IntrospectionController.d.ts +9 -0
- package/dist/src/controllers/IntrospectionController.d.ts.map +1 -0
- package/dist/src/controllers/MobileController.d.ts +42 -0
- package/dist/src/controllers/MobileController.d.ts.map +1 -0
- package/dist/src/controllers/PatientController.d.ts +42 -0
- package/dist/src/controllers/PatientController.d.ts.map +1 -0
- package/dist/src/controllers/ProcessLogController.d.ts +8 -0
- package/dist/src/controllers/ProcessLogController.d.ts.map +1 -0
- package/dist/src/controllers/ProjectController.d.ts +26 -0
- package/dist/src/controllers/ProjectController.d.ts.map +1 -0
- package/dist/src/controllers/QueryController.d.ts +9 -0
- package/dist/src/controllers/QueryController.d.ts.map +1 -0
- package/dist/src/controllers/ReportController.d.ts +8 -0
- package/dist/src/controllers/ReportController.d.ts.map +1 -0
- package/dist/src/controllers/SelfRegistrationCodeController.d.ts +7 -0
- package/dist/src/controllers/SelfRegistrationCodeController.d.ts.map +1 -0
- package/dist/src/controllers/SubformController.d.ts +9 -0
- package/dist/src/controllers/SubformController.d.ts.map +1 -0
- package/dist/src/controllers/TokenController.d.ts +6 -0
- package/dist/src/controllers/TokenController.d.ts.map +1 -0
- package/dist/src/controllers/TriggerController.d.ts +11 -0
- package/dist/src/controllers/TriggerController.d.ts.map +1 -0
- package/dist/src/controllers/UserController.d.ts +33 -0
- package/dist/src/controllers/UserController.d.ts.map +1 -0
- package/dist/src/controllers/forms/NextController.d.ts +7 -0
- package/dist/src/controllers/forms/NextController.d.ts.map +1 -0
- package/dist/src/controllers/forms/QuestionnaireController.d.ts +52 -0
- package/dist/src/controllers/forms/QuestionnaireController.d.ts.map +1 -0
- package/dist/src/errors/ApiError.d.ts +32 -0
- package/dist/src/errors/ApiError.d.ts.map +1 -0
- package/dist/src/errors/EcosystemPoolError.d.ts +5 -0
- package/dist/src/errors/EcosystemPoolError.d.ts.map +1 -0
- package/dist/src/errors/EmailNotFoundError.d.ts +5 -0
- package/dist/src/errors/EmailNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/PatientNotFoundError.d.ts +5 -0
- package/dist/src/errors/PatientNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/PerseedPoolError.d.ts +5 -0
- package/dist/src/errors/PerseedPoolError.d.ts.map +1 -0
- package/dist/src/errors/ProjectPoolError.d.ts +5 -0
- package/dist/src/errors/ProjectPoolError.d.ts.map +1 -0
- package/dist/src/errors/QuestionnaireLockedError.d.ts +5 -0
- package/dist/src/errors/QuestionnaireLockedError.d.ts.map +1 -0
- package/dist/src/errors/SQLError.d.ts +6 -0
- package/dist/src/errors/SQLError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicApiError.d.ts +7 -0
- package/dist/src/errors/public/PublicApiError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicConflictError.d.ts +5 -0
- package/dist/src/errors/public/PublicConflictError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicForbiddenError.d.ts +5 -0
- package/dist/src/errors/public/PublicForbiddenError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicFormNotFoundError.d.ts +5 -0
- package/dist/src/errors/public/PublicFormNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicFormatNotAllowedError.d.ts +5 -0
- package/dist/src/errors/public/PublicFormatNotAllowedError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicInvalidTokenError.d.ts +6 -0
- package/dist/src/errors/public/PublicInvalidTokenError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicMFAError.d.ts +6 -0
- package/dist/src/errors/public/PublicMFAError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicNotFoundError.d.ts +5 -0
- package/dist/src/errors/public/PublicNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicPermissionsError.d.ts +5 -0
- package/dist/src/errors/public/PublicPermissionsError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicValidateError.d.ts +6 -0
- package/dist/src/errors/public/PublicValidateError.d.ts.map +1 -0
- package/dist/src/helpers/builders/fields.d.ts +3 -0
- package/dist/src/helpers/builders/fields.d.ts.map +1 -0
- package/dist/src/helpers/builders/index.d.ts +3 -0
- package/dist/src/helpers/builders/index.d.ts.map +1 -0
- package/dist/src/helpers/dashboards.d.ts +19 -0
- package/dist/src/helpers/dashboards.d.ts.map +1 -0
- package/dist/src/helpers/dates.d.ts +21 -0
- package/dist/src/helpers/dates.d.ts.map +1 -0
- package/dist/src/helpers/error.d.ts +6 -0
- package/dist/src/helpers/error.d.ts.map +1 -0
- package/dist/src/helpers/handlebarsHelper.d.ts +7 -0
- package/dist/src/helpers/handlebarsHelper.d.ts.map +1 -0
- package/dist/src/helpers/index.d.ts +10 -0
- package/dist/src/helpers/index.d.ts.map +1 -0
- package/dist/src/helpers/paging.d.ts +7 -0
- package/dist/src/helpers/paging.d.ts.map +1 -0
- package/dist/src/helpers/requests.d.ts +2 -0
- package/dist/src/helpers/requests.d.ts.map +1 -0
- package/dist/src/helpers/sql.d.ts +17 -0
- package/dist/src/helpers/sql.d.ts.map +1 -0
- package/dist/src/helpers/strings.d.ts +16 -0
- package/dist/src/helpers/strings.d.ts.map +1 -0
- package/dist/src/instrument.d.ts +2 -0
- package/dist/src/instrument.d.ts.map +1 -0
- package/dist/src/lib/HandlebarsAsyncHelper/AsyncHelpers.d.ts +3 -0
- package/dist/src/lib/HandlebarsAsyncHelper/AsyncHelpers.d.ts.map +1 -0
- package/dist/src/lib.d.ts +8 -0
- package/dist/src/lib.d.ts.map +1 -0
- package/dist/src/log/debug.d.ts +5 -0
- package/dist/src/log/debug.d.ts.map +1 -0
- package/dist/src/middlewares/httpContext.d.ts +21 -0
- package/dist/src/middlewares/httpContext.d.ts.map +1 -0
- package/dist/src/middlewares/scopes.d.ts +11 -0
- package/dist/src/middlewares/scopes.d.ts.map +1 -0
- package/dist/src/middlewares/security.d.ts +2 -0
- package/dist/src/middlewares/security.d.ts.map +1 -0
- package/dist/src/middlewares/validator.d.ts +6 -0
- package/dist/src/middlewares/validator.d.ts.map +1 -0
- package/dist/src/models/BaseModel.d.ts +8 -0
- package/dist/src/models/BaseModel.d.ts.map +1 -0
- package/dist/src/models/EcosystemUsers.d.ts +207 -0
- package/dist/src/models/EcosystemUsers.d.ts.map +1 -0
- package/dist/src/models/ecosystem/BatchUserData.d.ts +25 -0
- package/dist/src/models/ecosystem/BatchUserData.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Clinic.d.ts +106 -0
- package/dist/src/models/ecosystem/Clinic.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentFilled.d.ts +52 -0
- package/dist/src/models/ecosystem/ConsentFilled.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentGeneral.d.ts +66 -0
- package/dist/src/models/ecosystem/ConsentGeneral.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentGroupMeta.d.ts +50 -0
- package/dist/src/models/ecosystem/ConsentGroupMeta.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentMeta.d.ts +39 -0
- package/dist/src/models/ecosystem/ConsentMeta.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentMetaFilled.d.ts +25 -0
- package/dist/src/models/ecosystem/ConsentMetaFilled.d.ts.map +1 -0
- package/dist/src/models/ecosystem/DashboardWidget.d.ts +125 -0
- package/dist/src/models/ecosystem/DashboardWidget.d.ts.map +1 -0
- package/dist/src/models/ecosystem/DashboardWidgetBlock.d.ts +52 -0
- package/dist/src/models/ecosystem/DashboardWidgetBlock.d.ts.map +1 -0
- package/dist/src/models/ecosystem/DeletionAudit.d.ts +65 -0
- package/dist/src/models/ecosystem/DeletionAudit.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Ecosystem.d.ts +56 -0
- package/dist/src/models/ecosystem/Ecosystem.d.ts.map +1 -0
- package/dist/src/models/ecosystem/EcosystemConfig.d.ts +45 -0
- package/dist/src/models/ecosystem/EcosystemConfig.d.ts.map +1 -0
- package/dist/src/models/ecosystem/EcosystemUsers.d.ts +13 -0
- package/dist/src/models/ecosystem/EcosystemUsers.d.ts.map +1 -0
- package/dist/src/models/ecosystem/EmailTemplate.d.ts +66 -0
- package/dist/src/models/ecosystem/EmailTemplate.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ExternalProject.d.ts +36 -0
- package/dist/src/models/ecosystem/ExternalProject.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts +117 -0
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationInfo.d.ts +90 -0
- package/dist/src/models/ecosystem/NotificationInfo.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationLog.d.ts +222 -0
- package/dist/src/models/ecosystem/NotificationLog.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationTemplate.d.ts +78 -0
- package/dist/src/models/ecosystem/NotificationTemplate.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationUserStatus.d.ts +60 -0
- package/dist/src/models/ecosystem/NotificationUserStatus.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Outcome.d.ts +76 -0
- package/dist/src/models/ecosystem/Outcome.d.ts.map +1 -0
- package/dist/src/models/ecosystem/PerseedNotificationTemplate.d.ts +79 -0
- package/dist/src/models/ecosystem/PerseedNotificationTemplate.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProcessLog.d.ts +116 -0
- package/dist/src/models/ecosystem/ProcessLog.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Profiling.d.ts +159 -0
- package/dist/src/models/ecosystem/Profiling.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingAddRepeatCrf.d.ts +23 -0
- package/dist/src/models/ecosystem/ProfilingAddRepeatCrf.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingConsent.d.ts +51 -0
- package/dist/src/models/ecosystem/ProfilingConsent.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingDashboard.d.ts +30 -0
- package/dist/src/models/ecosystem/ProfilingDashboard.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingDeleteRepeatCrf.d.ts +23 -0
- package/dist/src/models/ecosystem/ProfilingDeleteRepeatCrf.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingEnableCp.d.ts +27 -0
- package/dist/src/models/ecosystem/ProfilingEnableCp.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingPrivilegeDenied.d.ts +27 -0
- package/dist/src/models/ecosystem/ProfilingPrivilegeDenied.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingSeedPrivilege.d.ts +33 -0
- package/dist/src/models/ecosystem/ProfilingSeedPrivilege.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingSelected.d.ts +31 -0
- package/dist/src/models/ecosystem/ProfilingSelected.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Project.d.ts +158 -0
- package/dist/src/models/ecosystem/Project.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProjectClinic.d.ts +34 -0
- package/dist/src/models/ecosystem/ProjectClinic.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Role.d.ts +24 -0
- package/dist/src/models/ecosystem/Role.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Seed.d.ts +46 -0
- package/dist/src/models/ecosystem/Seed.d.ts.map +1 -0
- package/dist/src/models/ecosystem/SeedPrivilege.d.ts +79 -0
- package/dist/src/models/ecosystem/SeedPrivilege.d.ts.map +1 -0
- package/dist/src/models/ecosystem/SelfRegistrationCode.d.ts +63 -0
- package/dist/src/models/ecosystem/SelfRegistrationCode.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Tokens.d.ts +56 -0
- package/dist/src/models/ecosystem/Tokens.d.ts.map +1 -0
- package/dist/src/models/ecosystem/User.d.ts +349 -0
- package/dist/src/models/ecosystem/User.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserClinic.d.ts +44 -0
- package/dist/src/models/ecosystem/UserClinic.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserEcosystem.d.ts +23 -0
- package/dist/src/models/ecosystem/UserEcosystem.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserMobileApp.d.ts +57 -0
- package/dist/src/models/ecosystem/UserMobileApp.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserPatient.d.ts +83 -0
- package/dist/src/models/ecosystem/UserPatient.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserProfile.d.ts +160 -0
- package/dist/src/models/ecosystem/UserProfile.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserProfiling.d.ts +53 -0
- package/dist/src/models/ecosystem/UserProfiling.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserProject.d.ts +42 -0
- package/dist/src/models/ecosystem/UserProject.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserRole.d.ts +37 -0
- package/dist/src/models/ecosystem/UserRole.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserTrustedAccess.d.ts +59 -0
- package/dist/src/models/ecosystem/UserTrustedAccess.d.ts.map +1 -0
- package/dist/src/models/perseed/MFACode.d.ts +45 -0
- package/dist/src/models/perseed/MFACode.d.ts.map +1 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts +54 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts.map +1 -0
- package/dist/src/models/perseed/PerseedEmailTemplate.d.ts +8 -0
- package/dist/src/models/perseed/PerseedEmailTemplate.d.ts.map +1 -0
- package/dist/src/models/perseed/RawHealthRecord.d.ts +49 -0
- package/dist/src/models/perseed/RawHealthRecord.d.ts.map +1 -0
- package/dist/src/models/perseed/ScheduledTasks.d.ts +86 -0
- package/dist/src/models/perseed/ScheduledTasks.d.ts.map +1 -0
- package/dist/src/models/perseed/ScheduledTasksLog.d.ts +59 -0
- package/dist/src/models/perseed/ScheduledTasksLog.d.ts.map +1 -0
- package/dist/src/models/perseed/UserSettings.d.ts +91 -0
- package/dist/src/models/perseed/UserSettings.d.ts.map +1 -0
- package/dist/src/models/project/AbstractDisplayer.d.ts +34 -0
- package/dist/src/models/project/AbstractDisplayer.d.ts.map +1 -0
- package/dist/src/models/project/BulkUpload.d.ts +94 -0
- package/dist/src/models/project/BulkUpload.d.ts.map +1 -0
- package/dist/src/models/project/Categories.d.ts +18 -0
- package/dist/src/models/project/Categories.d.ts.map +1 -0
- package/dist/src/models/project/ConfigurationPatient.d.ts +56 -0
- package/dist/src/models/project/ConfigurationPatient.d.ts.map +1 -0
- package/dist/src/models/project/DesignerCrf.d.ts +290 -0
- package/dist/src/models/project/DesignerCrf.d.ts.map +1 -0
- package/dist/src/models/project/DesignerCrfMeta.d.ts +52 -0
- package/dist/src/models/project/DesignerCrfMeta.d.ts.map +1 -0
- package/dist/src/models/project/DesignerField.d.ts +222 -0
- package/dist/src/models/project/DesignerField.d.ts.map +1 -0
- package/dist/src/models/project/DesignerFieldMeta.d.ts +60 -0
- package/dist/src/models/project/DesignerFieldMeta.d.ts.map +1 -0
- package/dist/src/models/project/Displayer.d.ts +14 -0
- package/dist/src/models/project/Displayer.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerMeta.d.ts +77 -0
- package/dist/src/models/project/DisplayerMeta.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerMetaInfo.d.ts +44 -0
- package/dist/src/models/project/DisplayerMetaInfo.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerPatient.d.ts +13 -0
- package/dist/src/models/project/DisplayerPatient.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerSubformReference.d.ts +39 -0
- package/dist/src/models/project/DisplayerSubformReference.d.ts.map +1 -0
- package/dist/src/models/project/ExporterAudit.d.ts +104 -0
- package/dist/src/models/project/ExporterAudit.d.ts.map +1 -0
- package/dist/src/models/project/ExporterConfigNew.d.ts +28 -0
- package/dist/src/models/project/ExporterConfigNew.d.ts.map +1 -0
- package/dist/src/models/project/ExternalDisplayerCrf.d.ts +39 -0
- package/dist/src/models/project/ExternalDisplayerCrf.d.ts.map +1 -0
- package/dist/src/models/project/ExternalPatientProject.d.ts +63 -0
- package/dist/src/models/project/ExternalPatientProject.d.ts.map +1 -0
- package/dist/src/models/project/ExternalProjectFields.d.ts +26 -0
- package/dist/src/models/project/ExternalProjectFields.d.ts.map +1 -0
- package/dist/src/models/project/PatientPrograms.d.ts +91 -0
- package/dist/src/models/project/PatientPrograms.d.ts.map +1 -0
- package/dist/src/models/project/QueryDiscussion.d.ts +125 -0
- package/dist/src/models/project/QueryDiscussion.d.ts.map +1 -0
- package/dist/src/models/project/QueryDiscussionDes.d.ts +74 -0
- package/dist/src/models/project/QueryDiscussionDes.d.ts.map +1 -0
- package/dist/src/models/project/QuestionariesInfo.d.ts +300 -0
- package/dist/src/models/project/QuestionariesInfo.d.ts.map +1 -0
- package/dist/src/models/project/QuestionnairesInfoLog.d.ts +182 -0
- package/dist/src/models/project/QuestionnairesInfoLog.d.ts.map +1 -0
- package/dist/src/models/project/UploaderCategory.d.ts +27 -0
- package/dist/src/models/project/UploaderCategory.d.ts.map +1 -0
- package/dist/src/models/project/UploaderDocument.d.ts +86 -0
- package/dist/src/models/project/UploaderDocument.d.ts.map +1 -0
- package/dist/src/models/project/UploaderDocumentCategory.d.ts +48 -0
- package/dist/src/models/project/UploaderDocumentCategory.d.ts.map +1 -0
- package/dist/src/models/request/RequestContext.d.ts +89 -0
- package/dist/src/models/request/RequestContext.d.ts.map +1 -0
- package/dist/src/models/virtual/AuthenticationSecurity.d.ts +16 -0
- package/dist/src/models/virtual/AuthenticationSecurity.d.ts.map +1 -0
- package/dist/src/models/virtual/CRFs/meta/DependenceCRF.d.ts +16 -0
- package/dist/src/models/virtual/CRFs/meta/DependenceCRF.d.ts.map +1 -0
- package/dist/src/models/virtual/FieldValue.d.ts +22 -0
- package/dist/src/models/virtual/FieldValue.d.ts.map +1 -0
- package/dist/src/models/virtual/FormValue.d.ts +13 -0
- package/dist/src/models/virtual/FormValue.d.ts.map +1 -0
- package/dist/src/models/virtual/QuestionnaireCrf.d.ts +74 -0
- package/dist/src/models/virtual/QuestionnaireCrf.d.ts.map +1 -0
- package/dist/src/models/virtual/fields/meta/Dependence.d.ts +14 -0
- package/dist/src/models/virtual/fields/meta/Dependence.d.ts.map +1 -0
- package/dist/src/models/virtual/fields/meta/dependence/ConditionLine.d.ts +40 -0
- package/dist/src/models/virtual/fields/meta/dependence/ConditionLine.d.ts.map +1 -0
- package/dist/src/module.d.ts +32 -0
- package/dist/src/overrides.d.ts +9 -0
- package/dist/src/routes/auth/autohooks.d.ts +4 -0
- package/dist/src/routes/auth/autohooks.d.ts.map +1 -0
- package/dist/src/routes/auth/index.d.ts +4 -0
- package/dist/src/routes/auth/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/clinic/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/clinic/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/heartbeat/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/heartbeat/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/hospital/index.d.ts +7 -0
- package/dist/src/routes/ecosystem/_ecosystemName/hospital/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/config/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/config/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/form/_formName/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/form/_formName/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/self-register/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/self-register/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/selfregister/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/selfregister/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/_userId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/_userId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/contact/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/contact/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/forget/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/forget/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/index.d.ts.map +1 -0
- package/dist/src/routes/global/autohooks.d.ts +4 -0
- package/dist/src/routes/global/autohooks.d.ts.map +1 -0
- package/dist/src/routes/global/index.d.ts +4 -0
- package/dist/src/routes/global/index.d.ts.map +1 -0
- package/dist/src/routes/global/user/index.d.ts +4 -0
- package/dist/src/routes/global/user/index.d.ts.map +1 -0
- package/dist/src/routes/index.d.ts +4 -0
- package/dist/src/routes/index.d.ts.map +1 -0
- package/dist/src/routes/redirectToMarkets/index.d.ts +4 -0
- package/dist/src/routes/redirectToMarkets/index.d.ts.map +1 -0
- package/dist/src/routes/user/forget/index.d.ts +4 -0
- package/dist/src/routes/user/forget/index.d.ts.map +1 -0
- package/dist/src/routes/user/index.d.ts +4 -0
- package/dist/src/routes/user/index.d.ts.map +1 -0
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts +15 -0
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts.map +1 -0
- package/dist/src/schemas/api_action/index.d.ts +2 -0
- package/dist/src/schemas/api_action/index.d.ts.map +1 -0
- package/dist/src/schemas/authentication_security/index.d.ts +2 -0
- package/dist/src/schemas/authentication_security/index.d.ts.map +1 -0
- package/dist/src/schemas/authentication_security/types.d.ts +30 -0
- package/dist/src/schemas/authentication_security/types.d.ts.map +1 -0
- package/dist/src/schemas/bulk_upload/index.d.ts +2 -0
- package/dist/src/schemas/bulk_upload/index.d.ts.map +1 -0
- package/dist/src/schemas/bulk_upload/types.d.ts +12 -0
- package/dist/src/schemas/bulk_upload/types.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/col.d.ts +26 -0
- package/dist/src/schemas/dashboard_widget/col.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/Outcomes.d.ts +7 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/Outcomes.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts +2 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/i18n.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/i18n.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/index.d.ts +5 -0
- package/dist/src/schemas/dashboard_widget/index.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/types.d.ts +130 -0
- package/dist/src/schemas/dashboard_widget/types.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/PatientListProps.d.ts +89 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/PatientListProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/SectionCardProps.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/SectionCardProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/ValueCardProps.d.ts +13 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/ValueCardProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts +8 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts +8 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts +17 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts +11 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts +8 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/index.d.ts +5 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/index.d.ts.map +1 -0
- package/dist/src/schemas/designer_field/index.d.ts +2 -0
- package/dist/src/schemas/designer_field/index.d.ts.map +1 -0
- package/dist/src/schemas/designer_field/types.d.ts +26 -0
- package/dist/src/schemas/designer_field/types.d.ts.map +1 -0
- package/dist/src/schemas/forms/FormServicePayloads.d.ts +23 -0
- package/dist/src/schemas/forms/FormServicePayloads.d.ts.map +1 -0
- package/dist/src/schemas/forms/index.d.ts +2 -0
- package/dist/src/schemas/forms/index.d.ts.map +1 -0
- package/dist/src/schemas/index.d.ts +12 -0
- package/dist/src/schemas/index.d.ts.map +1 -0
- package/dist/src/schemas/notification_configuration/NotifiedAboutInfo.d.ts +15 -0
- package/dist/src/schemas/notification_configuration/NotifiedAboutInfo.d.ts.map +1 -0
- package/dist/src/schemas/notification_configuration/index.d.ts +3 -0
- package/dist/src/schemas/notification_configuration/index.d.ts.map +1 -0
- package/dist/src/schemas/notification_configuration/types.d.ts +105 -0
- package/dist/src/schemas/notification_configuration/types.d.ts.map +1 -0
- package/dist/src/schemas/outcomes/index.d.ts +2 -0
- package/dist/src/schemas/outcomes/index.d.ts.map +1 -0
- package/dist/src/schemas/outcomes/types.d.ts +32 -0
- package/dist/src/schemas/outcomes/types.d.ts.map +1 -0
- package/dist/src/schemas/process_log/index.d.ts +2 -0
- package/dist/src/schemas/process_log/index.d.ts.map +1 -0
- package/dist/src/schemas/process_log/types.d.ts +43 -0
- package/dist/src/schemas/process_log/types.d.ts.map +1 -0
- package/dist/src/schemas/questionnaire/index.d.ts +2 -0
- package/dist/src/schemas/questionnaire/index.d.ts.map +1 -0
- package/dist/src/schemas/questionnaire/types.d.ts +39 -0
- package/dist/src/schemas/questionnaire/types.d.ts.map +1 -0
- package/dist/src/schemas/user_settings/index.d.ts +2 -0
- package/dist/src/schemas/user_settings/index.d.ts.map +1 -0
- package/dist/src/schemas/user_settings/types.d.ts +6 -0
- package/dist/src/schemas/user_settings/types.d.ts.map +1 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/types/JSONValue.d.ts +6 -0
- package/dist/src/types/JSONValue.d.ts.map +1 -0
- package/dist/src/types/ts-helpers.d.ts +2 -0
- package/dist/src/types/ts-helpers.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/index.d.ts +7 -0
- package/dist/src/v2/modules/ecosystem/user-access/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.controller.d.ts +8 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.helper.d.ts +5 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.middleware.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.model.d.ts +140 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.schema.d.ts +45 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.service.d.ts +8 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.service.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts +46 -0
- package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-error/index.d.ts +2 -0
- package/dist/src/v2/modules/global/api-error/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-version/api-version.middleware.d.ts +2 -0
- package/dist/src/v2/modules/global/api-version/api-version.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-version/api-version.test.d.ts +2 -0
- package/dist/src/v2/modules/global/api-version/api-version.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-version/index.d.ts +2 -0
- package/dist/src/v2/modules/global/api-version/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth/auth.controller.d.ts +5 -0
- package/dist/src/v2/modules/global/auth/auth.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth/auth.schema.d.ts +6 -0
- package/dist/src/v2/modules/global/auth/auth.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth/index.d.ts +3 -0
- package/dist/src/v2/modules/global/auth/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts +9 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.helper.d.ts +10 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.middleware.d.ts +14 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/index.d.ts +3 -0
- package/dist/src/v2/modules/global/auth-token/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.d.ts +6 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.test.d.ts +2 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/basic-auth/index.d.ts +2 -0
- package/dist/src/v2/modules/global/basic-auth/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/bullmq-admin/bullmq-admin.middleware.d.ts +5 -0
- package/dist/src/v2/modules/global/bullmq-admin/bullmq-admin.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/bullmq-admin/index.d.ts +2 -0
- package/dist/src/v2/modules/global/bullmq-admin/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/crypto/crypto.helper.d.ts +2 -0
- package/dist/src/v2/modules/global/crypto/crypto.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/crypto/index.d.ts +2 -0
- package/dist/src/v2/modules/global/crypto/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/dates/dates.middleware.d.ts +2 -0
- package/dist/src/v2/modules/global/dates/dates.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/dates/index.d.ts +2 -0
- package/dist/src/v2/modules/global/dates/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/geoip/geoip.middleware.d.ts +9 -0
- package/dist/src/v2/modules/global/geoip/geoip.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/geoip/index.d.ts +2 -0
- package/dist/src/v2/modules/global/geoip/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/i18n/i18n.middleware.d.ts +5 -0
- package/dist/src/v2/modules/global/i18n/i18n.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/i18n/index.d.ts +2 -0
- package/dist/src/v2/modules/global/i18n/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/index.d.ts +2 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.d.ts +42 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/objection/index.d.ts +2 -0
- package/dist/src/v2/modules/global/objection/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/objection/objection.helper.d.ts +14 -0
- package/dist/src/v2/modules/global/objection/objection.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/index.d.ts +3 -0
- package/dist/src/v2/modules/global/pagination/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/lib.d.ts +2 -0
- package/dist/src/v2/modules/global/pagination/lib.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/pagination.helper.d.ts +4 -0
- package/dist/src/v2/modules/global/pagination/pagination.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/pagination.schema.d.ts +12 -0
- package/dist/src/v2/modules/global/pagination/pagination.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-context/index.d.ts +2 -0
- package/dist/src/v2/modules/global/request-context/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-context/request-context.middleware.d.ts +8 -0
- package/dist/src/v2/modules/global/request-context/request-context.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-fingerprint/index.d.ts +3 -0
- package/dist/src/v2/modules/global/request-fingerprint/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts +8 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.schema.d.ts +11 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-id/index.d.ts +3 -0
- package/dist/src/v2/modules/global/request-id/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-id/request-id.helper.d.ts +3 -0
- package/dist/src/v2/modules/global/request-id/request-id.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-id/request-id.middleware.d.ts +2 -0
- package/dist/src/v2/modules/global/request-id/request-id.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-log/index.d.ts +2 -0
- package/dist/src/v2/modules/global/request-log/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts +3 -0
- package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-time/index.d.ts +3 -0
- package/dist/src/v2/modules/global/request-time/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-time/request-time.helper.d.ts +2 -0
- package/dist/src/v2/modules/global/request-time/request-time.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-time/request-time.middleware.d.ts +7 -0
- package/dist/src/v2/modules/global/request-time/request-time.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document/document.model.d.ts +12 -0
- package/dist/src/v2/modules/project/document/document.model.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document/document.schema.d.ts +6 -0
- package/dist/src/v2/modules/project/document/document.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document/index.d.ts +3 -0
- package/dist/src/v2/modules/project/document/index.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.d.ts +5 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts +2 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts +2 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.model.d.ts +32 -0
- package/dist/src/v2/modules/project/document-category/document-category.model.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.schema.d.ts +26 -0
- package/dist/src/v2/modules/project/document-category/document-category.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.d.ts +18 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.test.d.ts +2 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/index.d.ts +4 -0
- package/dist/src/v2/modules/project/document-category/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/auth/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/auth/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.d.ts +4 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.d.ts +5 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts +4 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts +7 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts.map +1 -0
- package/dist/src/v2/test/e2e-config.d.ts +46 -0
- package/dist/src/v2/test/e2e-config.d.ts.map +1 -0
- package/dist/src/v2/test/e2e-helpers.d.ts +22 -0
- package/dist/src/v2/test/e2e-helpers.d.ts.map +1 -0
- package/dist/src/v2/test/e2e-setup.d.ts +8 -0
- package/dist/src/v2/test/e2e-setup.d.ts.map +1 -0
- package/dist/src/v2/test/test-helpers.d.ts +3 -0
- package/dist/src/v2/test/test-helpers.d.ts.map +1 -0
- package/dist/src/v2/test/test-setup.d.ts +8 -0
- package/dist/src/v2/test/test-setup.d.ts.map +1 -0
- package/dist/src/validators/questionnaire.validator.d.ts +2 -0
- package/dist/src/validators/questionnaire.validator.d.ts.map +1 -0
- package/dist/src/validators/user.validator.d.ts +6 -0
- package/dist/src/validators/user.validator.d.ts.map +1 -0
- package/dist/v1/perseed-api.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Model, ModelClass, QueryBuilder } from 'objection';
|
|
2
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
3
|
+
export type JsonLogic = JsonPrimitive | JsonLogic[] | {
|
|
4
|
+
[op: string]: JsonLogic;
|
|
5
|
+
};
|
|
6
|
+
type QB = QueryBuilder<Model, unknown>;
|
|
7
|
+
type CompileContext = {
|
|
8
|
+
qb: QB;
|
|
9
|
+
model: ModelClass<Model>;
|
|
10
|
+
};
|
|
11
|
+
type OperatorHandler = (ctx: CompileContext, args: JsonLogic[]) => void;
|
|
12
|
+
export declare function ensureArray<T = unknown[]>(arg: unknown, minLength?: number): T;
|
|
13
|
+
export declare class JsonLogicSqlCompiler {
|
|
14
|
+
private operators;
|
|
15
|
+
constructor();
|
|
16
|
+
registerOperator(name: string, handler: OperatorHandler): void;
|
|
17
|
+
compile(qb: QB, rule: Record<string, unknown>): QB;
|
|
18
|
+
private apply;
|
|
19
|
+
private compileTerm;
|
|
20
|
+
private getValFormTerm;
|
|
21
|
+
private getVal;
|
|
22
|
+
private registerCoreOperators;
|
|
23
|
+
/**
|
|
24
|
+
* JSonLogic has two very similar structures for different conditions.
|
|
25
|
+
* For a multiselect field:
|
|
26
|
+
* "some":[
|
|
27
|
+
* { "var": "relationName.fieldName" },
|
|
28
|
+
* { "in":[{ "var":"" }, [ "1", "2"]]}
|
|
29
|
+
* ]
|
|
30
|
+
*
|
|
31
|
+
* Where the condition ("in" in the example) has the var value empty.
|
|
32
|
+
* For a one-to-many/many-to-many relation filter:
|
|
33
|
+
* "some":[
|
|
34
|
+
* { "var": "relationName" },
|
|
35
|
+
* { "in":[{ "var": "fieldName" }, [ "1", "2"]]}
|
|
36
|
+
* ]
|
|
37
|
+
* We determine this kind of relation and set the isRepetibleRelation when a one-to-many/many-to-many relation is used
|
|
38
|
+
*/
|
|
39
|
+
private compileQuantifier;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=jsonlogic-to-sql.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonlogic-to-sql.helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAY,MAAM,WAAW,CAAA;AAKrE,KAAK,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;AACrD,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,SAAS,EAAE,GAAG;IAAE,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAA;AAEjF,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;AAEtC,KAAK,cAAc,GAAG;IACpB,EAAE,EAAE,EAAE,CAAA;IACN,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;CACzB,CAAA;AAED,KAAK,eAAe,GAAG,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,IAAI,CAAA;AAsCvE,wBAAgB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,CAAC,CAQ9E;AA8FD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,SAAS,CAAqC;;IAMtD,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI;IAI9D,OAAO,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,EAAE;IAQlD,OAAO,CAAC,KAAK;IAoBb,OAAO,CAAC,WAAW;IAkEnB,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,qBAAqB;IAiJ7B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,iBAAiB;CAsE1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonlogic-to-sql.helper.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/objection/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { QueryBuilder, Model } from 'objection';
|
|
2
|
+
/** Return the relationMappings keys of the model */
|
|
3
|
+
type RelationNames<M extends typeof Model> = M['relationMappings'] extends Record<string, any> ? keyof M['relationMappings'] & string : never;
|
|
4
|
+
export declare class TypedQueryBuilder<M extends Model, MC extends typeof Model, Counts extends string = never> extends QueryBuilder<M, M[]> {
|
|
5
|
+
/** Related model class */
|
|
6
|
+
private modelClassTyped;
|
|
7
|
+
constructor(modelClass: MC);
|
|
8
|
+
/**
|
|
9
|
+
* Add _count query and fields
|
|
10
|
+
*/
|
|
11
|
+
withCount<R extends RelationNames<MC>[]>(...relations: R): TypedQueryBuilder<M & { [K in R[number] as `${K}_count`]: number; } & (Counts extends never ? Record<string, never> : { [K_1 in Counts as `${K_1}_count`]?: number | undefined; }), MC, Counts | R[number]>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=objection.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objection.helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/objection/objection.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAE/C,oDAAoD;AACpD,KAAK,aAAa,CAAC,CAAC,SAAS,OAAO,KAAK,IAAI,CAAC,CAAC,kBAAkB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAC1F,MAAM,CAAC,CAAC,kBAAkB,CAAC,GAAG,MAAM,GACpC,KAAK,CAAA;AAOT,qBAAa,iBAAiB,CAC5B,CAAC,SAAS,KAAK,EACf,EAAE,SAAS,OAAO,KAAK,EACvB,MAAM,SAAS,MAAM,GAAG,KAAK,CAC7B,SAAQ,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;IAC5B,0BAA0B;IAC1B,OAAO,CAAC,eAAe,CAAI;gBAEf,UAAU,EAAE,EAAE;IAM1B;;OAEG;IACH,SAAS,CAAC,CAAC,SAAS,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,SAAS,EAAE,CAAC,GAS5B,iBAAiB,QA7B5C,CAAC,0JA6BqD,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;CAE/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/pagination/lib.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Model, QueryBuilder } from 'objection';
|
|
2
|
+
import { PaginatedQuery } from './pagination.schema';
|
|
3
|
+
export declare function paginateQuery<T extends Model = Model>(queryBuilder: QueryBuilder<T>, pagingInfo: PaginatedQuery): QueryBuilder<T, import('objection').Page<T>>;
|
|
4
|
+
//# sourceMappingURL=pagination.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/pagination/pagination.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAqB,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEvE,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,cAAc,gDAE/G"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Static, TObject, TSchema, Type } from 'typebox';
|
|
2
|
+
export declare const DEFAULT_PAGE_SIZE = 100;
|
|
3
|
+
export declare const paginatedQueryStringSchema: TObject<{
|
|
4
|
+
page: Type.TOptional<Type.TNumber>;
|
|
5
|
+
perPage: Type.TOptional<Type.TNumber>;
|
|
6
|
+
}>;
|
|
7
|
+
export type PaginatedQuery = Static<typeof paginatedQueryStringSchema>;
|
|
8
|
+
export declare function getPaginatedResponseSchema<T extends TSchema = TObject>(resultSchema: T): TObject<{
|
|
9
|
+
results: Type.TArray<T>;
|
|
10
|
+
total: Type.TNumber;
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=pagination.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/pagination/pagination.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAExD,eAAO,MAAM,iBAAiB,MAAM,CAAA;AAEpC,eAAO,MAAM,0BAA0B;;;EAMtC,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEtE,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,EAAE,YAAY,EAAE,CAAC;;;GAQtF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-context/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as RequestContext } from '../../../../models/request/RequestContext';
|
|
2
|
+
declare module 'fastify' {
|
|
3
|
+
interface FastifyRequest {
|
|
4
|
+
ctx: RequestContext;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export declare const requestContextMiddleware: (fastify: import('fastify').FastifyInstance<import('fastify').RawServerDefault, import('http').IncomingMessage, import('http').ServerResponse<import('http').IncomingMessage>, import('fastify').FastifyBaseLogger, import('fastify').FastifyTypeProviderDefault>) => Promise<void>;
|
|
8
|
+
//# sourceMappingURL=request-context.middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-context.middleware.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-context/request-context.middleware.ts"],"names":[],"mappings":"AACA,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAI9D,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,cAAc;QACtB,GAAG,EAAE,cAAc,CAAA;KACpB;CACF;AAED,eAAO,MAAM,wBAAwB,qRAenC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-fingerprint/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FingerprintResult } from './request-fingerprint.schema';
|
|
2
|
+
declare module 'fastify' {
|
|
3
|
+
interface FastifyRequest {
|
|
4
|
+
fingerprint: FingerprintResult;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export declare const fingerprintMiddleware: (fastify: import('fastify').FastifyInstance<import('fastify').RawServerDefault, import('http').IncomingMessage, import('http').ServerResponse<import('http').IncomingMessage>, import('fastify').FastifyBaseLogger, import('fastify').FastifyTypeProviderDefault>) => Promise<void>;
|
|
8
|
+
//# sourceMappingURL=request-fingerprint.middleware.d.ts.map
|
package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-fingerprint.middleware.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyB,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAEvF,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,cAAc;QACtB,WAAW,EAAE,iBAAiB,CAAA;KAC/B;CACF;AAoCD,eAAO,MAAM,qBAAqB,qRAqBhC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface FingerprintComponents {
|
|
2
|
+
useragent?: unknown;
|
|
3
|
+
accept?: unknown;
|
|
4
|
+
geoip?: unknown;
|
|
5
|
+
permutations?: string[];
|
|
6
|
+
}
|
|
7
|
+
export interface FingerprintResult {
|
|
8
|
+
hash: number;
|
|
9
|
+
components: FingerprintComponents;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=request-fingerprint.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-fingerprint.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-fingerprint/request-fingerprint.schema.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,qBAAqB,CAAA;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-id/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-id.helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-id/request-id.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAGtC,wBAAgB,QAAQ,CAAC,IAAI,EAAE,eAAe,UAE7C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const requestIdContextMiddleware: (fastify: import('fastify').FastifyInstance<import('fastify').RawServerDefault, import('http').IncomingMessage, import('http').ServerResponse<import('http').IncomingMessage>, import('fastify').FastifyBaseLogger, import('fastify').FastifyTypeProviderDefault>) => Promise<void>;
|
|
2
|
+
//# sourceMappingURL=request-id.middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-id.middleware.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-id/request-id.middleware.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,0BAA0B,qRAQrC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-log/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function passwordReplacer(key: any, value: any): any;
|
|
2
|
+
export declare const logRequestMiddleware: (fastify: import('fastify').FastifyInstance<import('fastify').RawServerDefault, import('http').IncomingMessage, import('http').ServerResponse<import('http').IncomingMessage>, import('fastify').FastifyBaseLogger, import('fastify').FastifyTypeProviderDefault>) => Promise<void>;
|
|
3
|
+
//# sourceMappingURL=request-log.middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-log.middleware.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-log/request-log.middleware.ts"],"names":[],"mappings":"AAMA,wBAAgB,gBAAgB,CAAC,GAAG,KAAA,EAAE,KAAK,KAAA,OAG1C;AAED,eAAO,MAAM,oBAAoB,qRAuB/B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-time/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-time.helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-time/request-time.helper.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,OAAO,CAAC,MAAM,CAAC,UAMjF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare module 'fastify' {
|
|
2
|
+
interface FastifyRequest {
|
|
3
|
+
startTime: ReturnType<typeof process.hrtime>;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export declare const requestTimeMiddleware: (fastify: import('fastify').FastifyInstance<import('fastify').RawServerDefault, import('http').IncomingMessage, import('http').ServerResponse<import('http').IncomingMessage>, import('fastify').FastifyBaseLogger, import('fastify').FastifyTypeProviderDefault>) => Promise<void>;
|
|
7
|
+
//# sourceMappingURL=request-time.middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-time.middleware.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/request-time/request-time.middleware.ts"],"names":[],"mappings":"AAMA,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,cAAc;QACtB,SAAS,EAAE,UAAU,CAAC,OAAO,OAAO,CAAC,MAAM,CAAC,CAAA;KAC7C;CACF;AAED,eAAO,MAAM,qBAAqB,qRA2BhC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as BaseModel } from '../../../../models/BaseModel';
|
|
2
|
+
import { default as RequestContext } from '../../../../models/request/RequestContext';
|
|
3
|
+
import { DocumentData } from '.';
|
|
4
|
+
export declare class Document extends BaseModel implements DocumentData {
|
|
5
|
+
name: string;
|
|
6
|
+
static tableName: string;
|
|
7
|
+
static jsonSchema: import('typebox/type').TObject<{
|
|
8
|
+
id: import('typebox/type').TNumber;
|
|
9
|
+
}>;
|
|
10
|
+
static getModel(ctx: RequestContext): typeof Document;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=document.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAE9D,OAAO,EAAkB,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzE,qBAAa,QAAS,SAAQ,SAAU,YAAW,YAAY;IAC7D,IAAI,EAAG,MAAM,CAAA;IAEb,MAAM,CAAC,SAAS,SAAsB;IAEtC,MAAM,CAAC,UAAU;;OAAiB;IAGlC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;CAGpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document/document.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,cAAc;;EAEzB,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.controller.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAmJ1E,eAAO,MAAM,0BAA0B;;CAEtC,CAAA"}
|
package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.controller.e2e.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.controller.e2e.ts"],"names":[],"mappings":""}
|
package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.controller.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.controller.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as BaseModel } from '../../../../models/BaseModel';
|
|
2
|
+
import { default as RequestContext } from '../../../../models/request/RequestContext';
|
|
3
|
+
import { DocumentCategoryData } from './document-category.schema';
|
|
4
|
+
import { Document } from '../document';
|
|
5
|
+
import { TypedQueryBuilder } from '../../global/objection';
|
|
6
|
+
export declare class DocumentCategory extends BaseModel implements DocumentCategoryData {
|
|
7
|
+
name: string;
|
|
8
|
+
static tableName: string;
|
|
9
|
+
static jsonSchema: import('typebox/type').TUnion<[import('typebox/type').TObject<{
|
|
10
|
+
name: import('typebox/type').TString;
|
|
11
|
+
}>, import('typebox/type').TObject<{
|
|
12
|
+
name: import('typebox/type').TOptional<import('typebox/type').TString>;
|
|
13
|
+
}>]>;
|
|
14
|
+
static get relationMappings(): {
|
|
15
|
+
documents: {
|
|
16
|
+
relation: import('objection').RelationType;
|
|
17
|
+
modelClass: typeof Document;
|
|
18
|
+
join: {
|
|
19
|
+
from: string;
|
|
20
|
+
through: {
|
|
21
|
+
from: string;
|
|
22
|
+
to: string;
|
|
23
|
+
};
|
|
24
|
+
to: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
static QueryBuilder: any;
|
|
29
|
+
static query(): TypedQueryBuilder<DocumentCategory, typeof DocumentCategory, never>;
|
|
30
|
+
static getModel(ctx: RequestContext): typeof DocumentCategory;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=document-category.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.model.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,EAAE,oBAAoB,EAAsC,MAAM,4BAA4B,CAAA;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,qBAAa,gBAAiB,SAAQ,SAAU,YAAW,oBAAoB;IAC7E,IAAI,EAAG,MAAM,CAAA;IAEb,MAAM,CAAC,SAAS,SAAsB;IACtC,MAAM,CAAC,UAAU;;;;SAAqC;IAEtD,MAAM,KAAK,gBAAgB;;;;;;;;;;;;;MAe1B;IAED,MAAM,CAAC,YAAY,EAAwB,GAAG,CAAA;IAE9C,MAAM,CAAC,KAAK;IAIZ,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;CAGpC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Static, Type } from 'typebox';
|
|
2
|
+
export declare const documentCategorySchema: Type.TObject<{
|
|
3
|
+
id: Type.TNumber;
|
|
4
|
+
name: Type.TString;
|
|
5
|
+
}>;
|
|
6
|
+
export type DocumentCategoryData = Static<typeof documentCategorySchema>;
|
|
7
|
+
export declare const createDocumentCategorySchema: Type.TObject<{
|
|
8
|
+
name: Type.TString;
|
|
9
|
+
}>;
|
|
10
|
+
export type CreateDocumentCategoryData = Static<typeof createDocumentCategorySchema>;
|
|
11
|
+
export declare const updateDocumentCategorySchema: Type.TObject<{
|
|
12
|
+
name: Type.TOptional<Type.TString>;
|
|
13
|
+
}>;
|
|
14
|
+
export type UpdateDocumentCategoryData = Static<typeof updateDocumentCategorySchema>;
|
|
15
|
+
export declare const documentCategoryListItemSchema: Type.TIntersect<[Type.TObject<{
|
|
16
|
+
id: Type.TNumber;
|
|
17
|
+
name: Type.TString;
|
|
18
|
+
}>, Type.TObject<{
|
|
19
|
+
documents_count: Type.TNumber;
|
|
20
|
+
}>]>;
|
|
21
|
+
export declare const createUpdateDocumentCategorySchema: Type.TUnion<[Type.TObject<{
|
|
22
|
+
name: Type.TString;
|
|
23
|
+
}>, Type.TObject<{
|
|
24
|
+
name: Type.TOptional<Type.TString>;
|
|
25
|
+
}>]>;
|
|
26
|
+
//# sourceMappingURL=document-category.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,sBAAsB;;;EASlC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAExE,eAAO,MAAM,4BAA4B;;EAGvC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAEpF,eAAO,MAAM,4BAA4B;;EAGvC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAEpF,eAAO,MAAM,8BAA8B;;;;;IAQ1C,CAAA;AAED,eAAO,MAAM,kCAAkC;;;;IAG7C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as RequestContext } from '../../../../models/request/RequestContext';
|
|
2
|
+
import { DocumentCategory } from './document-category.model';
|
|
3
|
+
import { CreateDocumentCategoryData, UpdateDocumentCategoryData } from '.';
|
|
4
|
+
import { PaginatedQuery } from '../../global/pagination';
|
|
5
|
+
declare function list(ctx: RequestContext, pagination: PaginatedQuery): Promise<import('objection').Page<never>>;
|
|
6
|
+
declare function getById(ctx: RequestContext, id: number): Promise<DocumentCategory | undefined>;
|
|
7
|
+
declare function create(ctx: RequestContext, data: CreateDocumentCategoryData): Promise<DocumentCategory>;
|
|
8
|
+
declare function update(ctx: RequestContext, id: number, data: UpdateDocumentCategoryData): Promise<DocumentCategory | undefined>;
|
|
9
|
+
declare function remove(ctx: RequestContext, id: number): Promise<boolean>;
|
|
10
|
+
export declare const DocumentCategoryService: {
|
|
11
|
+
list: typeof list;
|
|
12
|
+
getById: typeof getById;
|
|
13
|
+
create: typeof create;
|
|
14
|
+
update: typeof update;
|
|
15
|
+
remove: typeof remove;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=document-category.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.service.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAA;AAC5G,OAAO,EAAE,cAAc,EAAiB,MAAM,6BAA6B,CAAA;AAE3E,iBAAe,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,4CAGlE;AAED,iBAAe,OAAO,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,yCAGrD;AAED,iBAAe,MAAM,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,0BAA0B,6BAG1E;AAED,iBAAe,MAAM,CACnB,GAAG,EAAE,cAAc,EACnB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,0BAA0B,GAC/B,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAGvC;AAED,iBAAe,MAAM,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,oBAGpD;AAED,eAAO,MAAM,uBAAuB;;;;;;CAMnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-category.service.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/document-category.service.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/project/document-category/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA;AAC9C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/routes/v2/auth/index.ts"],"names":[],"mappings":";AAEA,wBAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autohooks.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAI5C,QAAA,MAAM,SAAS,EAAE,kBAGhB,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"param.schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,eAAO,MAAM,qBAAqB;;EAKjC,CAAA"}
|
package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autohooks.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,QAAA,MAAM,SAAS,EAAE,kBAIhB,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.ts"],"names":[],"mappings":";AAEA,wBAAgD"}
|
package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"params.schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,eAAO,MAAM,4BAA4B;;;;IAQxC,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* E2E Test Configuration
|
|
3
|
+
*
|
|
4
|
+
* This file contains shared configuration for e2e tests including
|
|
5
|
+
* user types and credentials that will be used across all tests.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* User types available for e2e tests
|
|
9
|
+
*/
|
|
10
|
+
export declare enum UserType {
|
|
11
|
+
/** PRO user */
|
|
12
|
+
PRO = "pro",
|
|
13
|
+
/** Non PRO user */
|
|
14
|
+
NON_PRO = "non_pro",
|
|
15
|
+
/** Non PRO user without clinic access */
|
|
16
|
+
NON_PRO_NO_CLINIC = "non_pro_no_clinic",
|
|
17
|
+
/** Ecoadmin user */
|
|
18
|
+
ECOADMIN = "ecoadmin",
|
|
19
|
+
/** User without access to the ecosystem, in the default config is a clinicaal user */
|
|
20
|
+
NO_ECOSYSTEM_ACCESS = "no_ecosystem_access",
|
|
21
|
+
/** User without access to the project */
|
|
22
|
+
NO_PROJECT_ACCESS = "no_project_access"
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Credentials configuration for each user type
|
|
26
|
+
*/
|
|
27
|
+
export interface UserCredentials {
|
|
28
|
+
username: string;
|
|
29
|
+
password: string;
|
|
30
|
+
ecosystem?: string;
|
|
31
|
+
emailOnly?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Credentials map for each user type
|
|
35
|
+
* Credentials can be overridden via environment variables
|
|
36
|
+
*/
|
|
37
|
+
export declare const userCredentials: Record<UserType, UserCredentials>;
|
|
38
|
+
/**
|
|
39
|
+
* Default ecosystem and project names for tests
|
|
40
|
+
* Can be overridden via environment variables
|
|
41
|
+
*/
|
|
42
|
+
export declare const testConfig: {
|
|
43
|
+
ecosystemName: string;
|
|
44
|
+
projectName: string;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=e2e-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e2e-config.d.ts","sourceRoot":"","sources":["../../../../../src/v2/test/e2e-config.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,oBAAY,QAAQ;IAClB,eAAe;IACf,GAAG,QAAQ;IACX,mBAAmB;IACnB,OAAO,YAAY;IACnB,yCAAyC;IACzC,iBAAiB,sBAAsB;IACvC,oBAAoB;IACpB,QAAQ,aAAa;IACrB,sFAAsF;IACtF,mBAAmB,wBAAwB;IAC3C,yCAAyC;IACzC,iBAAiB,sBAAsB;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,eAAe,CAyB7D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU;;;CAGtB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FastifyInstance } from 'fastify';
|
|
2
|
+
import { UserType } from './e2e-config';
|
|
3
|
+
/**
|
|
4
|
+
* Clears the session cache for a specific user type or all sessions
|
|
5
|
+
* @param userType Optional user type to clear. If not provided, clears all sessions
|
|
6
|
+
*/
|
|
7
|
+
export declare function clearSessionCache(userType?: UserType): void;
|
|
8
|
+
/**
|
|
9
|
+
* Performs an authenticated HTTP request using a user type
|
|
10
|
+
* Automatically handles login and token caching
|
|
11
|
+
* @param fastify Fastify instance
|
|
12
|
+
* @param options Request options (method, url, payload, etc.)
|
|
13
|
+
* @param userType User type to authenticate as (optional, if not provided request will be unauthenticated)
|
|
14
|
+
* @returns Response from the request
|
|
15
|
+
*/
|
|
16
|
+
export declare function doRequest(options: {
|
|
17
|
+
method: 'GET' | 'POST' | 'PATCH' | 'DELETE' | 'PUT';
|
|
18
|
+
url: string;
|
|
19
|
+
payload?: any;
|
|
20
|
+
fastify?: FastifyInstance;
|
|
21
|
+
}, userType?: UserType): Promise<any>;
|
|
22
|
+
//# sourceMappingURL=e2e-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e2e-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/v2/test/e2e-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAE,QAAQ,EAAmB,MAAM,cAAc,CAAA;AAmGxD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAM3D;AAED;;;;;;;GAOG;AACH,wBAAsB,SAAS,CAC7B,OAAO,EAAE;IACP,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IACnD,GAAG,EAAE,MAAM,CAAA;IAEX,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,OAAO,CAAC,EAAE,eAAe,CAAA;CAC1B,EACD,QAAQ,CAAC,EAAE,QAAQ,gBA4BpB"}
|