@persei/perseed-api 4.34.36 → 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/README.md +73 -237
- package/dist/client.cjs +178 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.mjs +178 -0
- package/dist/client.mjs.map +1 -0
- package/dist/global-pagination.cjs +24 -0
- package/dist/global-pagination.cjs.map +1 -0
- package/dist/global-pagination.d.ts +1 -0
- package/dist/global-pagination.mjs +24 -0
- package/dist/global-pagination.mjs.map +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/{schemas → src/schemas}/bulk_upload/update_bulk_upload_payload.schema.json +3 -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/{schemas → src/schemas}/dashboard_widget/create_widget_payload.schema.json +85 -23
- 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/{schemas → src/schemas}/dashboard_widget/update_widget_payload.schema.json +85 -23
- 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.cjs +1459 -0
- package/dist/v1/perseed-api.cjs.map +1 -0
- package/dist/v1/perseed-api.d.ts +1 -0
- package/dist/{perseed-api.mjs → v1/perseed-api.mjs} +347 -156
- package/dist/v1/perseed-api.mjs.map +1 -0
- package/package.json +36 -168
- package/dist/index.d.ts +0 -3073
- package/dist/perseed-api.umd.js +0 -1
- /package/dist/{schemas → src/schemas}/forms/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/forms/update.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/hospital/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/mfa/mfa-login-data.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/mobile/searchnotificationstatus.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/notification_configuration/create_trigger_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/notification_configuration/update_trigger_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/patient/createFullPatient.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/patient/createPatient.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/process_log/create_process_log_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/process_log/update_process_log_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/project/createCategory.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/project/export.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/project/uploadDocument.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/query/patch.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/questionnaire/createQuestionnaire.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/subform/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/subform/update.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/user_settings/APP_FONT_FACTOR.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/user_settings/AUTH_SECURITY_CONFIG.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/user_settings/GenericBooleanSetting.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/activate.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/contact.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/password.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/selfregister.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/unlinkProject.schema.json +0 -0
package/dist/client.mjs
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
const ListDocumentCategories403AllOfThreeStatusCode = {
|
|
2
|
+
NUMBER_403: 403
|
|
3
|
+
};
|
|
4
|
+
const ListDocumentCategories403AllOfThreeError = {
|
|
5
|
+
"forbidden-error": "forbidden-error"
|
|
6
|
+
};
|
|
7
|
+
const ListDocumentCategories404AllOfThreeStatusCode = {
|
|
8
|
+
NUMBER_404: 404
|
|
9
|
+
};
|
|
10
|
+
const ListDocumentCategories404AllOfThreeError = {
|
|
11
|
+
"not-found": "not-found"
|
|
12
|
+
};
|
|
13
|
+
const CreateDocumentCategory403AllOfThreeStatusCode = {
|
|
14
|
+
NUMBER_403: 403
|
|
15
|
+
};
|
|
16
|
+
const CreateDocumentCategory403AllOfThreeError = {
|
|
17
|
+
"forbidden-error": "forbidden-error"
|
|
18
|
+
};
|
|
19
|
+
const CreateDocumentCategory404AllOfThreeStatusCode = {
|
|
20
|
+
NUMBER_404: 404
|
|
21
|
+
};
|
|
22
|
+
const CreateDocumentCategory404AllOfThreeError = {
|
|
23
|
+
"not-found": "not-found"
|
|
24
|
+
};
|
|
25
|
+
const GetDocumentCategory403AllOfThreeStatusCode = {
|
|
26
|
+
NUMBER_403: 403
|
|
27
|
+
};
|
|
28
|
+
const GetDocumentCategory403AllOfThreeError = {
|
|
29
|
+
"forbidden-error": "forbidden-error"
|
|
30
|
+
};
|
|
31
|
+
const GetDocumentCategory404AllOfThreeStatusCode = {
|
|
32
|
+
NUMBER_404: 404
|
|
33
|
+
};
|
|
34
|
+
const GetDocumentCategory404AllOfThreeError = {
|
|
35
|
+
"not-found": "not-found"
|
|
36
|
+
};
|
|
37
|
+
const UpdateDocumentCategory403AllOfThreeStatusCode = {
|
|
38
|
+
NUMBER_403: 403
|
|
39
|
+
};
|
|
40
|
+
const UpdateDocumentCategory403AllOfThreeError = {
|
|
41
|
+
"forbidden-error": "forbidden-error"
|
|
42
|
+
};
|
|
43
|
+
const UpdateDocumentCategory404AllOfThreeStatusCode = {
|
|
44
|
+
NUMBER_404: 404
|
|
45
|
+
};
|
|
46
|
+
const UpdateDocumentCategory404AllOfThreeError = {
|
|
47
|
+
"not-found": "not-found"
|
|
48
|
+
};
|
|
49
|
+
const DeleteDocumentCategory403AllOfThreeStatusCode = {
|
|
50
|
+
NUMBER_403: 403
|
|
51
|
+
};
|
|
52
|
+
const DeleteDocumentCategory403AllOfThreeError = {
|
|
53
|
+
"forbidden-error": "forbidden-error"
|
|
54
|
+
};
|
|
55
|
+
const DeleteDocumentCategory404AllOfThreeStatusCode = {
|
|
56
|
+
NUMBER_404: 404
|
|
57
|
+
};
|
|
58
|
+
const DeleteDocumentCategory404AllOfThreeError = {
|
|
59
|
+
"not-found": "not-found"
|
|
60
|
+
};
|
|
61
|
+
const getPostV2AuthLoginGlobalUrl = () => {
|
|
62
|
+
return `/v2/auth/login/global`;
|
|
63
|
+
};
|
|
64
|
+
const postV2AuthLoginGlobal = async (options) => {
|
|
65
|
+
const res = await fetch(getPostV2AuthLoginGlobalUrl(), {
|
|
66
|
+
...options,
|
|
67
|
+
method: "POST"
|
|
68
|
+
});
|
|
69
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
70
|
+
const data = body ? JSON.parse(body) : {};
|
|
71
|
+
return { data, status: res.status, headers: res.headers };
|
|
72
|
+
};
|
|
73
|
+
const getListDocumentCategoriesUrl = (ecosystemName, projectName, params) => {
|
|
74
|
+
const normalizedParams = new URLSearchParams();
|
|
75
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
76
|
+
if (value !== void 0) {
|
|
77
|
+
normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
const stringifiedParams = normalizedParams.toString();
|
|
81
|
+
return stringifiedParams.length > 0 ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/?${stringifiedParams}` : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`;
|
|
82
|
+
};
|
|
83
|
+
const listDocumentCategories = async (ecosystemName, projectName, params, options) => {
|
|
84
|
+
const res = await fetch(getListDocumentCategoriesUrl(ecosystemName, projectName, params), {
|
|
85
|
+
...options,
|
|
86
|
+
method: "GET"
|
|
87
|
+
});
|
|
88
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
89
|
+
const data = body ? JSON.parse(body) : {};
|
|
90
|
+
return { data, status: res.status, headers: res.headers };
|
|
91
|
+
};
|
|
92
|
+
const getCreateDocumentCategoryUrl = (ecosystemName, projectName) => {
|
|
93
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`;
|
|
94
|
+
};
|
|
95
|
+
const createDocumentCategory = async (ecosystemName, projectName, createDocumentCategoryBody, options) => {
|
|
96
|
+
const res = await fetch(getCreateDocumentCategoryUrl(ecosystemName, projectName), {
|
|
97
|
+
...options,
|
|
98
|
+
method: "POST",
|
|
99
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
100
|
+
body: JSON.stringify(createDocumentCategoryBody)
|
|
101
|
+
});
|
|
102
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
103
|
+
const data = body ? JSON.parse(body) : {};
|
|
104
|
+
return { data, status: res.status, headers: res.headers };
|
|
105
|
+
};
|
|
106
|
+
const getGetDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
107
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
108
|
+
};
|
|
109
|
+
const getDocumentCategory = async (ecosystemName, projectName, id, options) => {
|
|
110
|
+
const res = await fetch(getGetDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
111
|
+
...options,
|
|
112
|
+
method: "GET"
|
|
113
|
+
});
|
|
114
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
115
|
+
const data = body ? JSON.parse(body) : {};
|
|
116
|
+
return { data, status: res.status, headers: res.headers };
|
|
117
|
+
};
|
|
118
|
+
const getUpdateDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
119
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
120
|
+
};
|
|
121
|
+
const updateDocumentCategory = async (ecosystemName, projectName, id, updateDocumentCategoryBody, options) => {
|
|
122
|
+
const res = await fetch(getUpdateDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
123
|
+
...options,
|
|
124
|
+
method: "PATCH",
|
|
125
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
126
|
+
body: JSON.stringify(updateDocumentCategoryBody)
|
|
127
|
+
});
|
|
128
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
129
|
+
const data = body ? JSON.parse(body) : {};
|
|
130
|
+
return { data, status: res.status, headers: res.headers };
|
|
131
|
+
};
|
|
132
|
+
const getDeleteDocumentCategoryUrl = (ecosystemName, projectName, id) => {
|
|
133
|
+
return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`;
|
|
134
|
+
};
|
|
135
|
+
const deleteDocumentCategory = async (ecosystemName, projectName, id, options) => {
|
|
136
|
+
const res = await fetch(getDeleteDocumentCategoryUrl(ecosystemName, projectName, id), {
|
|
137
|
+
...options,
|
|
138
|
+
method: "DELETE"
|
|
139
|
+
});
|
|
140
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
141
|
+
const data = body ? JSON.parse(body) : {};
|
|
142
|
+
return { data, status: res.status, headers: res.headers };
|
|
143
|
+
};
|
|
144
|
+
export {
|
|
145
|
+
CreateDocumentCategory403AllOfThreeError,
|
|
146
|
+
CreateDocumentCategory403AllOfThreeStatusCode,
|
|
147
|
+
CreateDocumentCategory404AllOfThreeError,
|
|
148
|
+
CreateDocumentCategory404AllOfThreeStatusCode,
|
|
149
|
+
DeleteDocumentCategory403AllOfThreeError,
|
|
150
|
+
DeleteDocumentCategory403AllOfThreeStatusCode,
|
|
151
|
+
DeleteDocumentCategory404AllOfThreeError,
|
|
152
|
+
DeleteDocumentCategory404AllOfThreeStatusCode,
|
|
153
|
+
GetDocumentCategory403AllOfThreeError,
|
|
154
|
+
GetDocumentCategory403AllOfThreeStatusCode,
|
|
155
|
+
GetDocumentCategory404AllOfThreeError,
|
|
156
|
+
GetDocumentCategory404AllOfThreeStatusCode,
|
|
157
|
+
ListDocumentCategories403AllOfThreeError,
|
|
158
|
+
ListDocumentCategories403AllOfThreeStatusCode,
|
|
159
|
+
ListDocumentCategories404AllOfThreeError,
|
|
160
|
+
ListDocumentCategories404AllOfThreeStatusCode,
|
|
161
|
+
UpdateDocumentCategory403AllOfThreeError,
|
|
162
|
+
UpdateDocumentCategory403AllOfThreeStatusCode,
|
|
163
|
+
UpdateDocumentCategory404AllOfThreeError,
|
|
164
|
+
UpdateDocumentCategory404AllOfThreeStatusCode,
|
|
165
|
+
createDocumentCategory,
|
|
166
|
+
deleteDocumentCategory,
|
|
167
|
+
getCreateDocumentCategoryUrl,
|
|
168
|
+
getDeleteDocumentCategoryUrl,
|
|
169
|
+
getDocumentCategory,
|
|
170
|
+
getGetDocumentCategoryUrl,
|
|
171
|
+
getListDocumentCategoriesUrl,
|
|
172
|
+
getPostV2AuthLoginGlobalUrl,
|
|
173
|
+
getUpdateDocumentCategoryUrl,
|
|
174
|
+
listDocumentCategories,
|
|
175
|
+
postV2AuthLoginGlobal,
|
|
176
|
+
updateDocumentCategory
|
|
177
|
+
};
|
|
178
|
+
//# sourceMappingURL=client.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.mjs","sources":["../src/generated/client.ts"],"sourcesContent":["/**\n * Generated by orval v7.18.0 🍺\n * Do not edit manually.\n * @fastify/swagger\n * OpenAPI spec version: 9.5.2\n */\nexport type ListDocumentCategoriesParams = {\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\n/**\n * Document category data\n */\nexport type ListDocumentCategories200ResultsItemAllOf = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\nexport type ListDocumentCategories200ResultsItemAllOfTwo = {\n /** Number of documents in this category */\n documents_count: number\n}\n\n/**\n * Document category list item\n */\nexport type ListDocumentCategories200ResultsItem = ListDocumentCategories200ResultsItemAllOf &\n ListDocumentCategories200ResultsItemAllOfTwo\n\n/**\n * Paginated response\n */\nexport type ListDocumentCategories200 = {\n /** Array of items of the current page */\n results: ListDocumentCategories200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type ListDocumentCategories403AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocumentCategories403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocumentCategories403AllOfDebug\n}\n\nexport type ListDocumentCategories403AllOfThreeStatusCode =\n typeof ListDocumentCategories403AllOfThreeStatusCode[keyof typeof ListDocumentCategories403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type ListDocumentCategories403AllOfThreeError =\n typeof ListDocumentCategories403AllOfThreeError[keyof typeof ListDocumentCategories403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type ListDocumentCategories403AllOfThree = {\n statusCode: ListDocumentCategories403AllOfThreeStatusCode\n error: ListDocumentCategories403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type ListDocumentCategories403 = ListDocumentCategories403AllOf & ListDocumentCategories403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type ListDocumentCategories404AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocumentCategories404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocumentCategories404AllOfDebug\n}\n\nexport type ListDocumentCategories404AllOfThreeStatusCode =\n typeof ListDocumentCategories404AllOfThreeStatusCode[keyof typeof ListDocumentCategories404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type ListDocumentCategories404AllOfThreeError =\n typeof ListDocumentCategories404AllOfThreeError[keyof typeof ListDocumentCategories404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type ListDocumentCategories404AllOfThree = {\n statusCode: ListDocumentCategories404AllOfThreeStatusCode\n error: ListDocumentCategories404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type ListDocumentCategories404 = ListDocumentCategories404AllOf & ListDocumentCategories404AllOfThree\n\n/**\n * Document category creation payload\n */\nexport type CreateDocumentCategoryBody = {\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Document category data\n */\nexport type CreateDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type CreateDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocumentCategory403AllOfDebug\n}\n\nexport type CreateDocumentCategory403AllOfThreeStatusCode =\n typeof CreateDocumentCategory403AllOfThreeStatusCode[keyof typeof CreateDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type CreateDocumentCategory403AllOfThreeError =\n typeof CreateDocumentCategory403AllOfThreeError[keyof typeof CreateDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type CreateDocumentCategory403AllOfThree = {\n statusCode: CreateDocumentCategory403AllOfThreeStatusCode\n error: CreateDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type CreateDocumentCategory403 = CreateDocumentCategory403AllOf & CreateDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type CreateDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocumentCategory404AllOfDebug\n}\n\nexport type CreateDocumentCategory404AllOfThreeStatusCode =\n typeof CreateDocumentCategory404AllOfThreeStatusCode[keyof typeof CreateDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type CreateDocumentCategory404AllOfThreeError =\n typeof CreateDocumentCategory404AllOfThreeError[keyof typeof CreateDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type CreateDocumentCategory404AllOfThree = {\n statusCode: CreateDocumentCategory404AllOfThreeStatusCode\n error: CreateDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type CreateDocumentCategory404 = CreateDocumentCategory404AllOf & CreateDocumentCategory404AllOfThree\n\n/**\n * Document category data\n */\nexport type GetDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocumentCategory403AllOfDebug\n}\n\nexport type GetDocumentCategory403AllOfThreeStatusCode =\n typeof GetDocumentCategory403AllOfThreeStatusCode[keyof typeof GetDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetDocumentCategory403AllOfThreeError =\n typeof GetDocumentCategory403AllOfThreeError[keyof typeof GetDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetDocumentCategory403AllOfThree = {\n statusCode: GetDocumentCategory403AllOfThreeStatusCode\n error: GetDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetDocumentCategory403 = GetDocumentCategory403AllOf & GetDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocumentCategory404AllOfDebug\n}\n\nexport type GetDocumentCategory404AllOfThreeStatusCode =\n typeof GetDocumentCategory404AllOfThreeStatusCode[keyof typeof GetDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetDocumentCategory404AllOfThreeError =\n typeof GetDocumentCategory404AllOfThreeError[keyof typeof GetDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetDocumentCategory404AllOfThree = {\n statusCode: GetDocumentCategory404AllOfThreeStatusCode\n error: GetDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetDocumentCategory404 = GetDocumentCategory404AllOf & GetDocumentCategory404AllOfThree\n\n/**\n * Document category update payload\n */\nexport type UpdateDocumentCategoryBody = {\n /**\n * Name of the category\n * @maxLength 100\n */\n name?: string\n}\n\n/**\n * Document category data\n */\nexport type UpdateDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocumentCategory403AllOfDebug\n}\n\nexport type UpdateDocumentCategory403AllOfThreeStatusCode =\n typeof UpdateDocumentCategory403AllOfThreeStatusCode[keyof typeof UpdateDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type UpdateDocumentCategory403AllOfThreeError =\n typeof UpdateDocumentCategory403AllOfThreeError[keyof typeof UpdateDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type UpdateDocumentCategory403AllOfThree = {\n statusCode: UpdateDocumentCategory403AllOfThreeStatusCode\n error: UpdateDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type UpdateDocumentCategory403 = UpdateDocumentCategory403AllOf & UpdateDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocumentCategory404AllOfDebug\n}\n\nexport type UpdateDocumentCategory404AllOfThreeStatusCode =\n typeof UpdateDocumentCategory404AllOfThreeStatusCode[keyof typeof UpdateDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type UpdateDocumentCategory404AllOfThreeError =\n typeof UpdateDocumentCategory404AllOfThreeError[keyof typeof UpdateDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type UpdateDocumentCategory404AllOfThree = {\n statusCode: UpdateDocumentCategory404AllOfThreeStatusCode\n error: UpdateDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type UpdateDocumentCategory404 = UpdateDocumentCategory404AllOf & UpdateDocumentCategory404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type DeleteDocumentCategory200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocumentCategory403AllOfDebug\n}\n\nexport type DeleteDocumentCategory403AllOfThreeStatusCode =\n typeof DeleteDocumentCategory403AllOfThreeStatusCode[keyof typeof DeleteDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type DeleteDocumentCategory403AllOfThreeError =\n typeof DeleteDocumentCategory403AllOfThreeError[keyof typeof DeleteDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type DeleteDocumentCategory403AllOfThree = {\n statusCode: DeleteDocumentCategory403AllOfThreeStatusCode\n error: DeleteDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type DeleteDocumentCategory403 = DeleteDocumentCategory403AllOf & DeleteDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocumentCategory404AllOfDebug\n}\n\nexport type DeleteDocumentCategory404AllOfThreeStatusCode =\n typeof DeleteDocumentCategory404AllOfThreeStatusCode[keyof typeof DeleteDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type DeleteDocumentCategory404AllOfThreeError =\n typeof DeleteDocumentCategory404AllOfThreeError[keyof typeof DeleteDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type DeleteDocumentCategory404AllOfThree = {\n statusCode: DeleteDocumentCategory404AllOfThreeStatusCode\n error: DeleteDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type DeleteDocumentCategory404 = DeleteDocumentCategory404AllOf & DeleteDocumentCategory404AllOfThree\n\nexport type postV2AuthLoginGlobalResponse200 = {\n data: void\n status: 200\n}\n\nexport type postV2AuthLoginGlobalResponseSuccess = postV2AuthLoginGlobalResponse200 & {\n headers: Headers\n}\nexport type postV2AuthLoginGlobalResponse = postV2AuthLoginGlobalResponseSuccess\n\nexport const getPostV2AuthLoginGlobalUrl = () => {\n return `/v2/auth/login/global`\n}\n\nexport const postV2AuthLoginGlobal = async (options?: RequestInit): Promise<postV2AuthLoginGlobalResponse> => {\n const res = await fetch(getPostV2AuthLoginGlobalUrl(), {\n ...options,\n method: 'POST',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: postV2AuthLoginGlobalResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postV2AuthLoginGlobalResponse\n}\n\n/**\n * A paginated list of document categories with the number of documents in each category\n */\nexport type listDocumentCategoriesResponse200 = {\n data: ListDocumentCategories200\n status: 200\n}\n\nexport type listDocumentCategoriesResponse403 = {\n data: ListDocumentCategories403\n status: 403\n}\n\nexport type listDocumentCategoriesResponse404 = {\n data: ListDocumentCategories404\n status: 404\n}\n\nexport type listDocumentCategoriesResponseSuccess = listDocumentCategoriesResponse200 & {\n headers: Headers\n}\nexport type listDocumentCategoriesResponseError = (\n | listDocumentCategoriesResponse403\n | listDocumentCategoriesResponse404\n) & {\n headers: Headers\n}\n\nexport type listDocumentCategoriesResponse = listDocumentCategoriesResponseSuccess | listDocumentCategoriesResponseError\n\nexport const getListDocumentCategoriesUrl = (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentCategoriesParams,\n) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`\n}\n\nexport const listDocumentCategories = async (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentCategoriesParams,\n options?: RequestInit,\n): Promise<listDocumentCategoriesResponse> => {\n const res = await fetch(getListDocumentCategoriesUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: listDocumentCategoriesResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as listDocumentCategoriesResponse\n}\n\n/**\n * Creates a document category with the provided data\n */\nexport type createDocumentCategoryResponse200 = {\n data: CreateDocumentCategory200\n status: 200\n}\n\nexport type createDocumentCategoryResponse403 = {\n data: CreateDocumentCategory403\n status: 403\n}\n\nexport type createDocumentCategoryResponse404 = {\n data: CreateDocumentCategory404\n status: 404\n}\n\nexport type createDocumentCategoryResponseSuccess = createDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type createDocumentCategoryResponseError = (\n | createDocumentCategoryResponse403\n | createDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type createDocumentCategoryResponse = createDocumentCategoryResponseSuccess | createDocumentCategoryResponseError\n\nexport const getCreateDocumentCategoryUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`\n}\n\nexport const createDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n createDocumentCategoryBody: CreateDocumentCategoryBody,\n options?: RequestInit,\n): Promise<createDocumentCategoryResponse> => {\n const res = await fetch(getCreateDocumentCategoryUrl(ecosystemName, projectName), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(createDocumentCategoryBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: createDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as createDocumentCategoryResponse\n}\n\n/**\n * Get the data of a document category\n */\nexport type getDocumentCategoryResponse200 = {\n data: GetDocumentCategory200\n status: 200\n}\n\nexport type getDocumentCategoryResponse403 = {\n data: GetDocumentCategory403\n status: 403\n}\n\nexport type getDocumentCategoryResponse404 = {\n data: GetDocumentCategory404\n status: 404\n}\n\nexport type getDocumentCategoryResponseSuccess = getDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type getDocumentCategoryResponseError = (getDocumentCategoryResponse403 | getDocumentCategoryResponse404) & {\n headers: Headers\n}\n\nexport type getDocumentCategoryResponse = getDocumentCategoryResponseSuccess | getDocumentCategoryResponseError\n\nexport const getGetDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const getDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<getDocumentCategoryResponse> => {\n const res = await fetch(getGetDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getDocumentCategoryResponse\n}\n\n/**\n * Updates (patch) a document category with the provided data\n */\nexport type updateDocumentCategoryResponse200 = {\n data: UpdateDocumentCategory200\n status: 200\n}\n\nexport type updateDocumentCategoryResponse403 = {\n data: UpdateDocumentCategory403\n status: 403\n}\n\nexport type updateDocumentCategoryResponse404 = {\n data: UpdateDocumentCategory404\n status: 404\n}\n\nexport type updateDocumentCategoryResponseSuccess = updateDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type updateDocumentCategoryResponseError = (\n | updateDocumentCategoryResponse403\n | updateDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type updateDocumentCategoryResponse = updateDocumentCategoryResponseSuccess | updateDocumentCategoryResponseError\n\nexport const getUpdateDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const updateDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n updateDocumentCategoryBody: UpdateDocumentCategoryBody,\n options?: RequestInit,\n): Promise<updateDocumentCategoryResponse> => {\n const res = await fetch(getUpdateDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateDocumentCategoryBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: updateDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as updateDocumentCategoryResponse\n}\n\n/**\n * Deletes a document category with the provided ID\n */\nexport type deleteDocumentCategoryResponse200 = {\n data: DeleteDocumentCategory200\n status: 200\n}\n\nexport type deleteDocumentCategoryResponse403 = {\n data: DeleteDocumentCategory403\n status: 403\n}\n\nexport type deleteDocumentCategoryResponse404 = {\n data: DeleteDocumentCategory404\n status: 404\n}\n\nexport type deleteDocumentCategoryResponseSuccess = deleteDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type deleteDocumentCategoryResponseError = (\n | deleteDocumentCategoryResponse403\n | deleteDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type deleteDocumentCategoryResponse = deleteDocumentCategoryResponseSuccess | deleteDocumentCategoryResponseError\n\nexport const getDeleteDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const deleteDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<deleteDocumentCategoryResponse> => {\n const res = await fetch(getDeleteDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: deleteDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteDocumentCategoryResponse\n}\n"],"names":[],"mappings":"AAuEO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,mBAAmB;AACrB;AAgCO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,aAAa;AACf;AAwDO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,mBAAmB;AACrB;AAgCO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,aAAa;AACf;AA6CO,MAAM,6CAA6C;AAAA,EACxD,YAAY;AACd;AAMO,MAAM,wCAAwC;AAAA,EACnD,mBAAmB;AACrB;AAgCO,MAAM,6CAA6C;AAAA,EACxD,YAAY;AACd;AAMO,MAAM,wCAAwC;AAAA,EACnD,aAAa;AACf;AAwDO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,mBAAmB;AACrB;AAgCO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,aAAa;AACf;AAwCO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,mBAAmB;AACrB;AAgCO,MAAM,gDAAgD;AAAA,EAC3D,YAAY;AACd;AAMO,MAAM,2CAA2C;AAAA,EACtD,aAAa;AACf;AAsBO,MAAM,8BAA8B,MAAM;AAC/C,SAAO;AACT;AAEO,MAAM,wBAAwB,OAAO,YAAkE;AAC5G,QAAM,MAAM,MAAM,MAAM,+BAA+B;AAAA,IACrD,GAAG;AAAA,IACH,QAAQ;AAAA,EAAA,CACT;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA8C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC9E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;AAgCO,MAAM,+BAA+B,CAC1C,eACA,aACA,WACG;AACH,QAAM,mBAAmB,IAAI,gBAAA;AAE7B,SAAO,QAAQ,UAAU,CAAA,CAAE,EAAE,QAAQ,CAAC,CAAC,KAAK,KAAK,MAAM;AACrD,QAAI,UAAU,QAAW;AACvB,uBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU;AAAA,IACzE;AAAA,EACF,CAAC;AAED,QAAM,oBAAoB,iBAAiB,SAAA;AAE3C,SAAO,kBAAkB,SAAS,IAC9B,iBAAiB,aAAa,YAAY,WAAW,uBAAuB,iBAAiB,KAC7F,iBAAiB,aAAa,YAAY,WAAW;AAC3D;AAEO,MAAM,yBAAyB,OACpC,eACA,aACA,QACA,YAC4C;AAC5C,QAAM,MAAM,MAAM,MAAM,6BAA6B,eAAe,aAAa,MAAM,GAAG;AAAA,IACxF,GAAG;AAAA,IACH,QAAQ;AAAA,EAAA,CACT;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA+C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC/E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;AAgCO,MAAM,+BAA+B,CAAC,eAAuB,gBAAwB;AAC1F,SAAO,iBAAiB,aAAa,YAAY,WAAW;AAC9D;AAEO,MAAM,yBAAyB,OACpC,eACA,aACA,4BACA,YAC4C;AAC5C,QAAM,MAAM,MAAM,MAAM,6BAA6B,eAAe,WAAW,GAAG;AAAA,IAChF,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,SAAS,EAAE,gBAAgB,oBAAoB,GAAG,SAAS,QAAA;AAAA,IAC3D,MAAM,KAAK,UAAU,0BAA0B;AAAA,EAAA,CAChD;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA+C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC/E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;AA6BO,MAAM,4BAA4B,CAAC,eAAuB,aAAqB,OAAe;AACnG,SAAO,iBAAiB,aAAa,YAAY,WAAW,sBAAsB,EAAE;AACtF;AAEO,MAAM,sBAAsB,OACjC,eACA,aACA,IACA,YACyC;AACzC,QAAM,MAAM,MAAM,MAAM,0BAA0B,eAAe,aAAa,EAAE,GAAG;AAAA,IACjF,GAAG;AAAA,IACH,QAAQ;AAAA,EAAA,CACT;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA4C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC5E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;AAgCO,MAAM,+BAA+B,CAAC,eAAuB,aAAqB,OAAe;AACtG,SAAO,iBAAiB,aAAa,YAAY,WAAW,sBAAsB,EAAE;AACtF;AAEO,MAAM,yBAAyB,OACpC,eACA,aACA,IACA,4BACA,YAC4C;AAC5C,QAAM,MAAM,MAAM,MAAM,6BAA6B,eAAe,aAAa,EAAE,GAAG;AAAA,IACpF,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,SAAS,EAAE,gBAAgB,oBAAoB,GAAG,SAAS,QAAA;AAAA,IAC3D,MAAM,KAAK,UAAU,0BAA0B;AAAA,EAAA,CAChD;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA+C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC/E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;AAgCO,MAAM,+BAA+B,CAAC,eAAuB,aAAqB,OAAe;AACtG,SAAO,iBAAiB,aAAa,YAAY,WAAW,sBAAsB,EAAE;AACtF;AAEO,MAAM,yBAAyB,OACpC,eACA,aACA,IACA,YAC4C;AAC5C,QAAM,MAAM,MAAM,MAAM,6BAA6B,eAAe,aAAa,EAAE,GAAG;AAAA,IACpF,GAAG;AAAA,IACH,QAAQ;AAAA,EAAA,CACT;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA+C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC/E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const typebox = require("typebox");
|
|
4
|
+
const DEFAULT_PAGE_SIZE = 100;
|
|
5
|
+
const paginatedQueryStringSchema = typebox.Type.Object(
|
|
6
|
+
{
|
|
7
|
+
page: typebox.Type.Optional(typebox.Type.Number({ default: 0, description: "Page number starting from 0" })),
|
|
8
|
+
perPage: typebox.Type.Optional(typebox.Type.Number({ default: DEFAULT_PAGE_SIZE, description: "The number of items per page" }))
|
|
9
|
+
},
|
|
10
|
+
{ title: "PaginatedQueryString", description: "Pagination query parameters" }
|
|
11
|
+
);
|
|
12
|
+
function getPaginatedResponseSchema(resultSchema) {
|
|
13
|
+
return typebox.Type.Object(
|
|
14
|
+
{
|
|
15
|
+
results: typebox.Type.Array(resultSchema, { description: "Array of items of the current page" }),
|
|
16
|
+
total: typebox.Type.Number({ description: "Total number of items not in this page but in the whole query" })
|
|
17
|
+
},
|
|
18
|
+
{ title: "PaginatedResponse", description: "Paginated response" }
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
exports.DEFAULT_PAGE_SIZE = DEFAULT_PAGE_SIZE;
|
|
22
|
+
exports.getPaginatedResponseSchema = getPaginatedResponseSchema;
|
|
23
|
+
exports.paginatedQueryStringSchema = paginatedQueryStringSchema;
|
|
24
|
+
//# sourceMappingURL=global-pagination.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-pagination.cjs","sources":["../../src/v2/modules/global/pagination/pagination.schema.ts"],"sourcesContent":["import { Static, TObject, TSchema, Type } from 'typebox'\n\nexport const DEFAULT_PAGE_SIZE = 100\n\nexport const paginatedQueryStringSchema = Type.Object(\n {\n page: Type.Optional(Type.Number({ default: 0, description: 'Page number starting from 0' })),\n perPage: Type.Optional(Type.Number({ default: DEFAULT_PAGE_SIZE, description: 'The number of items per page' })),\n },\n { title: 'PaginatedQueryString', description: 'Pagination query parameters' },\n)\n\nexport type PaginatedQuery = Static<typeof paginatedQueryStringSchema>\n\nexport function getPaginatedResponseSchema<T extends TSchema = TObject>(resultSchema: T) {\n return Type.Object(\n {\n results: Type.Array(resultSchema, { description: 'Array of items of the current page' }),\n total: Type.Number({ description: 'Total number of items not in this page but in the whole query' }),\n },\n { title: 'PaginatedResponse', description: 'Paginated response' },\n )\n}\n"],"names":["Type"],"mappings":";;;AAEO,MAAM,oBAAoB;AAE1B,MAAM,6BAA6BA,QAAAA,KAAK;AAAA,EAC7C;AAAA,IACE,MAAMA,QAAAA,KAAK,SAASA,QAAAA,KAAK,OAAO,EAAE,SAAS,GAAG,aAAa,8BAAA,CAA+B,CAAC;AAAA,IAC3F,SAASA,QAAAA,KAAK,SAASA,aAAK,OAAO,EAAE,SAAS,mBAAmB,aAAa,gCAAgC,CAAC;AAAA,EAAA;AAAA,EAEjH,EAAE,OAAO,wBAAwB,aAAa,8BAAA;AAChD;AAIO,SAAS,2BAAwD,cAAiB;AACvF,SAAOA,QAAAA,KAAK;AAAA,IACV;AAAA,MACE,SAASA,QAAAA,KAAK,MAAM,cAAc,EAAE,aAAa,sCAAsC;AAAA,MACvF,OAAOA,QAAAA,KAAK,OAAO,EAAE,aAAa,iEAAiE;AAAA,IAAA;AAAA,IAErG,EAAE,OAAO,qBAAqB,aAAa,qBAAA;AAAA,EAAqB;AAEpE;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/v2/modules/global/pagination/lib'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Type } from "typebox";
|
|
2
|
+
const DEFAULT_PAGE_SIZE = 100;
|
|
3
|
+
const paginatedQueryStringSchema = Type.Object(
|
|
4
|
+
{
|
|
5
|
+
page: Type.Optional(Type.Number({ default: 0, description: "Page number starting from 0" })),
|
|
6
|
+
perPage: Type.Optional(Type.Number({ default: DEFAULT_PAGE_SIZE, description: "The number of items per page" }))
|
|
7
|
+
},
|
|
8
|
+
{ title: "PaginatedQueryString", description: "Pagination query parameters" }
|
|
9
|
+
);
|
|
10
|
+
function getPaginatedResponseSchema(resultSchema) {
|
|
11
|
+
return Type.Object(
|
|
12
|
+
{
|
|
13
|
+
results: Type.Array(resultSchema, { description: "Array of items of the current page" }),
|
|
14
|
+
total: Type.Number({ description: "Total number of items not in this page but in the whole query" })
|
|
15
|
+
},
|
|
16
|
+
{ title: "PaginatedResponse", description: "Paginated response" }
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
DEFAULT_PAGE_SIZE,
|
|
21
|
+
getPaginatedResponseSchema,
|
|
22
|
+
paginatedQueryStringSchema
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=global-pagination.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-pagination.mjs","sources":["../../src/v2/modules/global/pagination/pagination.schema.ts"],"sourcesContent":["import { Static, TObject, TSchema, Type } from 'typebox'\n\nexport const DEFAULT_PAGE_SIZE = 100\n\nexport const paginatedQueryStringSchema = Type.Object(\n {\n page: Type.Optional(Type.Number({ default: 0, description: 'Page number starting from 0' })),\n perPage: Type.Optional(Type.Number({ default: DEFAULT_PAGE_SIZE, description: 'The number of items per page' })),\n },\n { title: 'PaginatedQueryString', description: 'Pagination query parameters' },\n)\n\nexport type PaginatedQuery = Static<typeof paginatedQueryStringSchema>\n\nexport function getPaginatedResponseSchema<T extends TSchema = TObject>(resultSchema: T) {\n return Type.Object(\n {\n results: Type.Array(resultSchema, { description: 'Array of items of the current page' }),\n total: Type.Number({ description: 'Total number of items not in this page but in the whole query' }),\n },\n { title: 'PaginatedResponse', description: 'Paginated response' },\n )\n}\n"],"names":[],"mappings":";AAEO,MAAM,oBAAoB;AAE1B,MAAM,6BAA6B,KAAK;AAAA,EAC7C;AAAA,IACE,MAAM,KAAK,SAAS,KAAK,OAAO,EAAE,SAAS,GAAG,aAAa,8BAAA,CAA+B,CAAC;AAAA,IAC3F,SAAS,KAAK,SAAS,KAAK,OAAO,EAAE,SAAS,mBAAmB,aAAa,gCAAgC,CAAC;AAAA,EAAA;AAAA,EAEjH,EAAE,OAAO,wBAAwB,aAAa,8BAAA;AAChD;AAIO,SAAS,2BAAwD,cAAiB;AACvF,SAAO,KAAK;AAAA,IACV;AAAA,MACE,SAAS,KAAK,MAAM,cAAc,EAAE,aAAa,sCAAsC;AAAA,MACvF,OAAO,KAAK,OAAO,EAAE,aAAa,iEAAiE;AAAA,IAAA;AAAA,IAErG,EAAE,OAAO,qBAAqB,aAAa,qBAAA;AAAA,EAAqB;AAEpE;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|