@webitel/api-services 0.0.51 → 0.0.53
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/package.json +1 -1
- package/src/gen/_docs/html/assets/navigation.js +1 -1
- package/src/gen/_docs/html/assets/search.js +1 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.api.gen.getDictionaries.html +1 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeMixin3MockHandler.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeMixin3ResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeMixin3MockHandler.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeMixin3ResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeMixin3MockHandler.html +1 -0
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeMixin3ResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.api.gen.getExtensions.html +1 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeMixin3MockHandler.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeMixin3ResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/file-service_file-service.api.gen.getFileService.html +1 -1
- package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getDeleteQuarantineFilesMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getDeleteQuarantineFilesResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getRestoreFilesMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/file-service_file-service.msw.api.gen.getRestoreFilesResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.api.gen.getPdfService.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getDownloadPdfExportMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getDownloadPdfExportResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getGeneratePdfExportMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getGeneratePdfExportResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getGetPdfExportHistoryMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getGetPdfExportHistoryResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/pdf-service_pdf-service.msw.api.gen.getPdfServiceMock.html +1 -0
- package/src/gen/_docs/html/functions/records_records.api.gen.getRecords.html +1 -1
- package/src/gen/_docs/html/functions/records_records.msw.api.gen.getLocateMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/records_records.msw.api.gen.getLocateResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/types_types.api.gen.getTypes.html +1 -1
- package/src/gen/_docs/html/functions/types_types.msw.api.gen.getLocateMixin3MockHandler.html +1 -0
- package/src/gen/_docs/html/functions/types_types.msw.api.gen.getLocateMixin3ResponseMock.html +1 -0
- package/src/gen/_docs/html/index.html +1 -1
- package/src/gen/_docs/html/interfaces/_models_storageDeleteQuarantineFilesRequest.StorageDeleteQuarantineFilesRequest.html +6 -0
- package/src/gen/_docs/html/interfaces/_models_storageFileMalwareScan.StorageFileMalwareScan.html +8 -0
- package/src/gen/_docs/html/interfaces/_models_storageRestoreFilesRequest.StorageRestoreFilesRequest.html +6 -0
- package/src/gen/_docs/html/interfaces/_models_storageRestoreFilesResponse.StorageRestoreFilesResponse.html +5 -0
- package/src/gen/_docs/html/interfaces/_models_storageSafeUploadFileResponseMetadata.StorageSafeUploadFileResponseMetadata.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_storageUploadFileResponse.StorageUploadFileResponse.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_storageUploadFileUrlResponse.StorageUploadFileUrlResponse.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_webitelPdfPdfExportChunk.WebitelPdfPdfExportChunk.html +4 -0
- package/src/gen/_docs/html/interfaces/_models_webitelPdfPdfExportMetadata.WebitelPdfPdfExportMetadata.html +12 -0
- package/src/gen/_docs/html/interfaces/_models_webitelPdfPdfHistoryRecord.WebitelPdfPdfHistoryRecord.html +20 -0
- package/src/gen/_docs/html/interfaces/_models_webitelPdfPdfHistoryResponse.WebitelPdfPdfHistoryResponse.html +8 -0
- package/src/gen/_docs/html/interfaces/_models_webitelPdfPdfServiceGeneratePdfExportBody.WebitelPdfPdfServiceGeneratePdfExportBody.html +10 -0
- package/src/gen/_docs/html/modules/_models.html +1 -1
- package/src/gen/_docs/html/modules/_models_downloadPdfExport200.html +1 -0
- package/src/gen/_docs/html/modules/_models_downloadPdfExportParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_getPdfExportHistoryParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_locate200.html +1 -0
- package/src/gen/_docs/html/modules/_models_locateParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_storageDeleteQuarantineFilesRequest.html +1 -0
- package/src/gen/_docs/html/modules/_models_storageFileMalwareScan.html +1 -0
- package/src/gen/_docs/html/modules/_models_storageRestoreFilesRequest.html +1 -0
- package/src/gen/_docs/html/modules/_models_storageRestoreFilesResponse.html +1 -0
- package/src/gen/_docs/html/modules/_models_updateTypeMixin3Params.html +1 -0
- package/src/gen/_docs/html/modules/_models_webitelPdfPdfExportChunk.html +1 -0
- package/src/gen/_docs/html/modules/_models_webitelPdfPdfExportMetadata.html +1 -0
- package/src/gen/_docs/html/modules/_models_webitelPdfPdfExportStatus.html +1 -0
- package/src/gen/_docs/html/modules/_models_webitelPdfPdfHistoryRecord.html +1 -0
- package/src/gen/_docs/html/modules/_models_webitelPdfPdfHistoryResponse.html +1 -0
- package/src/gen/_docs/html/modules/_models_webitelPdfPdfServiceGeneratePdfExportBody.html +1 -0
- package/src/gen/_docs/html/modules/dictionaries_dictionaries.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/dictionaries_dictionaries.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/dictionaries_dictionaries.zod.gen.html +8 -8
- package/src/gen/_docs/html/modules/extensions_extensions.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/extensions_extensions.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/extensions_extensions.zod.gen.html +6 -6
- package/src/gen/_docs/html/modules/file-service_file-service.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/file-service_file-service.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/file-service_file-service.zod.gen.html +1 -1
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/modules/pdf-service_pdf-service.api.gen.html +1 -0
- package/src/gen/_docs/html/modules/pdf-service_pdf-service.msw.api.gen.html +1 -0
- package/src/gen/_docs/html/modules/pdf-service_pdf-service.zod.gen.html +5 -0
- package/src/gen/_docs/html/modules/records_records.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/records_records.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/records_records.zod.gen.html +3 -3
- package/src/gen/_docs/html/modules/types_types.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/types_types.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/types_types.zod.gen.html +3 -3
- package/src/gen/_docs/html/types/_models_downloadPdfExport200.DownloadPdfExport200.html +3 -0
- package/src/gen/_docs/html/types/_models_downloadPdfExportParams.DownloadPdfExportParams.html +7 -0
- package/src/gen/_docs/html/types/_models_getPdfExportHistoryParams.GetPdfExportHistoryParams.html +9 -0
- package/src/gen/_docs/html/types/{_models_locateMixin3200.LocateMixin3200.html → _models_locate200.Locate200.html} +1 -1
- package/src/gen/_docs/html/types/{_models_locateMixin3Params.LocateMixin3Params.html → _models_locateParams.LocateParams.html} +2 -2
- package/src/gen/_docs/html/types/_models_searchTypeMixin3Params.SearchTypeMixin3Params.html +4 -20
- package/src/gen/_docs/html/types/_models_searchTypeParams.SearchTypeParams.html +20 -4
- package/src/gen/_docs/html/types/{_models_updateTypeParams.UpdateTypeParams.html → _models_updateTypeMixin3Params.UpdateTypeMixin3Params.html} +2 -2
- package/src/gen/_docs/html/types/_models_webitelPdfPdfExportStatus.WebitelPdfPdfExportStatus.html +9 -0
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.CreateTypeMixin3Result.html +1 -0
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.LocateTypeMixin3Result.html +1 -0
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.SearchTypeResult.html +1 -0
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.UpdateTypeMixin3Result.html +1 -0
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.CreateTypeResult.html +1 -0
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.LocateTypeResult.html +1 -0
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.SearchTypeMixin3Result.html +1 -0
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.UpdateTypeResult.html +1 -0
- package/src/gen/_docs/html/types/file-service_file-service.api.gen.DeleteQuarantineFilesResult.html +1 -0
- package/src/gen/_docs/html/types/file-service_file-service.api.gen.RestoreFilesResult.html +1 -0
- package/src/gen/_docs/html/types/pdf-service_pdf-service.api.gen.DownloadPdfExportResult.html +1 -0
- package/src/gen/_docs/html/types/pdf-service_pdf-service.api.gen.GeneratePdfExportResult.html +1 -0
- package/src/gen/_docs/html/types/pdf-service_pdf-service.api.gen.GetPdfExportHistoryResult.html +1 -0
- package/src/gen/_docs/html/types/records_records.api.gen.LocateResult.html +1 -0
- package/src/gen/_docs/html/{variables/extensions_extensions.zod.gen.searchTypeQueryFieldsItemDefault.html → types/types_types.api.gen.LocateMixin3Result.html} +1 -1
- package/src/gen/_docs/html/variables/_models_webitelPdfPdfExportStatus.WebitelPdfPdfExportStatus.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeMixin3Body.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeMixin3BodyFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.createTypeMixin3Params.html → dictionaries_dictionaries.zod.gen.createTypeMixin3Params.html} +1 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeMixin3Response.html +1 -0
- package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.searchTypeResponseDataItemFieldsItemKindDefault.html → dictionaries_dictionaries.zod.gen.createTypeMixin3ResponseFieldsItemKindDefault.html} +1 -1
- package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.locateTypeMixin3Params.html → dictionaries_dictionaries.zod.gen.locateTypeMixin3Params.html} +1 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeMixin3Response.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeMixin3ResponseFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQueryFieldsItemDefault.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQuerySortItemDefault.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeQuerySortItemRegExp.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeResponse.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeResponseDataItemFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3Body.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3BodyFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.updateTypeMixin3Params.html → dictionaries_dictionaries.zod.gen.updateTypeMixin3Params.html} +1 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3QueryParams.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3Response.html +1 -0
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeMixin3ResponseFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeBody.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeBodyFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.createTypeParams.html → extensions_extensions.zod.gen.createTypeParams.html} +1 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeResponse.html +1 -0
- package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.searchTypeMixin3ResponseDataItemFieldsItemKindDefault.html → extensions_extensions.zod.gen.createTypeResponseFieldsItemKindDefault.html} +1 -1
- package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.locateTypeParams.html → extensions_extensions.zod.gen.locateTypeParams.html} +1 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeResponse.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeResponseFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3QueryFieldsItemDefault.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3QueryParams.html +1 -0
- package/src/gen/_docs/html/variables/{extensions_extensions.zod.gen.searchTypeQuerySortItemDefault.html → extensions_extensions.zod.gen.searchTypeMixin3QuerySortItemDefault.html} +1 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3QuerySortItemRegExp.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeMixin3Response.html +1 -0
- package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.updateTypeBodyFieldsItemKindDefault.html → extensions_extensions.zod.gen.searchTypeMixin3ResponseDataItemFieldsItemKindDefault.html} +1 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeBody.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeBodyFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/{dictionaries_dictionaries.zod.gen.updateTypeParams.html → extensions_extensions.zod.gen.updateTypeParams.html} +1 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeResponse.html +1 -0
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeResponseFieldsItemKindDefault.html +1 -0
- package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.deleteQuarantineFilesBody.html +1 -0
- package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.deleteQuarantineFilesResponse.html +1 -0
- package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.restoreFilesBody.html +1 -0
- package/src/gen/_docs/html/variables/file-service_file-service.zod.gen.restoreFilesResponse.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.downloadPdfExportParams.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.downloadPdfExportQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.downloadPdfExportResponse.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.generatePdfExportBody.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.generatePdfExportParams.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.generatePdfExportResponse.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.getPdfExportHistoryParams.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.getPdfExportHistoryQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/pdf-service_pdf-service.zod.gen.getPdfExportHistoryResponse.html +1 -0
- package/src/gen/_docs/html/variables/{records_records.zod.gen.locateMixin3QueryFieldsItemDefault.html → pdf-service_pdf-service.zod.gen.getPdfExportHistoryResponseDataItemStatusDefault.html} +1 -1
- package/src/gen/_docs/html/variables/records_records.zod.gen.locateParams.html +2 -0
- package/src/gen/_docs/html/{types/extensions_extensions.api.gen.CreateTypeMixin3Result.html → variables/records_records.zod.gen.locateQueryFieldsItemDefault.html} +1 -1
- package/src/gen/_docs/html/variables/records_records.zod.gen.locateQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/records_records.zod.gen.locateResponse.html +1 -0
- package/src/gen/_docs/html/variables/types_types.zod.gen.locateMixin3Params.html +1 -0
- package/src/gen/_docs/html/variables/types_types.zod.gen.locateMixin3Response.html +1 -0
- package/src/gen/_docs/html/variables/types_types.zod.gen.locateMixin3ResponseFieldsItemKindDefault.html +1 -0
- package/src/gen/_models/downloadPdfExport200.ts +13 -0
- package/src/gen/_models/downloadPdfExportParams.ts +13 -0
- package/src/gen/_models/getPdfExportHistoryParams.ts +17 -0
- package/src/gen/_models/index.ts +16 -3
- package/src/gen/_models/{locateMixin3200.ts → locate200.ts} +1 -1
- package/src/gen/_models/{locateMixin3Params.ts → locateParams.ts} +1 -1
- package/src/gen/_models/searchTypeMixin3Params.ts +11 -43
- package/src/gen/_models/searchTypeParams.ts +43 -11
- package/src/gen/_models/storageDeleteQuarantineFilesRequest.ts +10 -0
- package/src/gen/_models/storageFileMalwareScan.ts +12 -0
- package/src/gen/_models/storageRestoreFilesRequest.ts +10 -0
- package/src/gen/_models/storageRestoreFilesResponse.ts +10 -0
- package/src/gen/_models/storageSafeUploadFileResponseMetadata.ts +2 -0
- package/src/gen/_models/storageUploadFileResponse.ts +2 -0
- package/src/gen/_models/storageUploadFileUrlResponse.ts +2 -0
- package/src/gen/_models/{updateTypeParams.ts → updateTypeMixin3Params.ts} +1 -1
- package/src/gen/_models/webitelPdfPdfExportChunk.ts +14 -0
- package/src/gen/_models/webitelPdfPdfExportMetadata.ts +22 -0
- package/src/gen/_models/webitelPdfPdfExportStatus.ts +27 -0
- package/src/gen/_models/webitelPdfPdfHistoryRecord.ts +31 -0
- package/src/gen/_models/webitelPdfPdfHistoryResponse.ts +19 -0
- package/src/gen/_models/webitelPdfPdfServiceGeneratePdfExportBody.ts +20 -0
- package/src/gen/dictionaries/dictionaries.api.gen.ts +16 -16
- package/src/gen/dictionaries/dictionaries.msw.api.gen.ts +16 -16
- package/src/gen/dictionaries/dictionaries.zod.gen.ts +27 -29
- package/src/gen/extensions/extensions.api.gen.ts +14 -14
- package/src/gen/extensions/extensions.msw.api.gen.ts +16 -16
- package/src/gen/extensions/extensions.zod.gen.ts +28 -26
- package/src/gen/file-service/file-service.api.gen.ts +29 -0
- package/src/gen/file-service/file-service.msw.api.gen.ts +59 -1
- package/src/gen/file-service/file-service.zod.gen.ts +12 -0
- package/src/gen/index.ts +3 -0
- package/src/gen/pdf-service/pdf-service.api.gen.ts +83 -0
- package/src/gen/pdf-service/pdf-service.msw.api.gen.ts +216 -0
- package/src/gen/pdf-service/pdf-service.zod.gen.ts +153 -0
- package/src/gen/records/records.api.gen.ts +6 -6
- package/src/gen/records/records.msw.api.gen.ts +7 -7
- package/src/gen/records/records.zod.gen.ts +4 -4
- package/src/gen/types/types.api.gen.ts +3 -3
- package/src/gen/types/types.msw.api.gen.ts +4 -4
- package/src/gen/types/types.zod.gen.ts +4 -4
- package/types/gen/_models/downloadPdfExport200.d.ts +12 -0
- package/types/gen/_models/downloadPdfExportParams.d.ts +12 -0
- package/types/gen/_models/getPdfExportHistoryParams.d.ts +16 -0
- package/types/gen/_models/{locateMixin3200.d.ts → locate200.d.ts} +1 -1
- package/types/gen/_models/{locateMixin3Params.d.ts → locateParams.d.ts} +1 -1
- package/types/gen/_models/searchTypeMixin3Params.d.ts +11 -43
- package/types/gen/_models/searchTypeParams.d.ts +43 -11
- package/types/gen/_models/storageDeleteQuarantineFilesRequest.d.ts +9 -0
- package/types/gen/_models/storageFileMalwareScan.d.ts +11 -0
- package/types/gen/_models/storageRestoreFilesRequest.d.ts +9 -0
- package/types/gen/_models/storageRestoreFilesResponse.d.ts +9 -0
- package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +2 -0
- package/types/gen/_models/storageUploadFileResponse.d.ts +2 -0
- package/types/gen/_models/storageUploadFileUrlResponse.d.ts +2 -0
- package/types/gen/_models/{updateTypeParams.d.ts → updateTypeMixin3Params.d.ts} +1 -1
- package/types/gen/_models/webitelPdfPdfExportChunk.d.ts +13 -0
- package/types/gen/_models/webitelPdfPdfExportMetadata.d.ts +21 -0
- package/types/gen/_models/webitelPdfPdfExportStatus.d.ts +23 -0
- package/types/gen/_models/webitelPdfPdfHistoryRecord.d.ts +30 -0
- package/types/gen/_models/webitelPdfPdfHistoryResponse.d.ts +18 -0
- package/types/gen/_models/webitelPdfPdfServiceGeneratePdfExportBody.d.ts +19 -0
- package/types/gen/dictionaries/dictionaries.api.gen.d.ts +9 -9
- package/types/gen/dictionaries/dictionaries.msw.api.gen.d.ts +8 -8
- package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +20 -20
- package/types/gen/extensions/extensions.api.gen.d.ts +9 -9
- package/types/gen/extensions/extensions.msw.api.gen.d.ts +8 -8
- package/types/gen/extensions/extensions.zod.gen.d.ts +19 -19
- package/types/gen/file-service/file-service.api.gen.d.ts +5 -1
- package/types/gen/file-service/file-service.msw.api.gen.d.ts +5 -1
- package/types/gen/file-service/file-service.zod.gen.d.ts +8 -0
- package/types/gen/pdf-service/pdf-service.api.gen.d.ts +11 -0
- package/types/gen/pdf-service/pdf-service.msw.api.gen.d.ts +9 -0
- package/types/gen/pdf-service/pdf-service.zod.gen.d.ts +80 -0
- package/types/gen/records/records.api.gen.d.ts +3 -3
- package/types/gen/records/records.msw.api.gen.d.ts +3 -3
- package/types/gen/records/records.zod.gen.d.ts +4 -4
- package/types/gen/types/types.api.gen.d.ts +2 -2
- package/types/gen/types/types.msw.api.gen.d.ts +2 -2
- package/types/gen/types/types.zod.gen.d.ts +3 -3
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getCreateTypeResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getLocateTypeResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeMixin3MockHandler.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getSearchTypeMixin3ResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/dictionaries_dictionaries.msw.api.gen.getUpdateTypeResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeMixin3MockHandler.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getCreateTypeMixin3ResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeMixin3MockHandler.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getLocateTypeMixin3ResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getSearchTypeResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeMixin3MockHandler.html +0 -1
- package/src/gen/_docs/html/functions/extensions_extensions.msw.api.gen.getUpdateTypeMixin3ResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/records_records.msw.api.gen.getLocateMixin3MockHandler.html +0 -1
- package/src/gen/_docs/html/functions/records_records.msw.api.gen.getLocateMixin3ResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/types_types.msw.api.gen.getLocateMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/types_types.msw.api.gen.getLocateResponseMock.html +0 -1
- package/src/gen/_docs/html/modules/_models_locateMixin3200.html +0 -1
- package/src/gen/_docs/html/modules/_models_locateMixin3Params.html +0 -1
- package/src/gen/_docs/html/modules/_models_updateTypeParams.html +0 -1
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.CreateTypeResult.html +0 -1
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.LocateTypeResult.html +0 -1
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.SearchTypeMixin3Result.html +0 -1
- package/src/gen/_docs/html/types/dictionaries_dictionaries.api.gen.UpdateTypeResult.html +0 -1
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.LocateTypeMixin3Result.html +0 -1
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.SearchTypeResult.html +0 -1
- package/src/gen/_docs/html/types/extensions_extensions.api.gen.UpdateTypeMixin3Result.html +0 -1
- package/src/gen/_docs/html/types/records_records.api.gen.LocateMixin3Result.html +0 -1
- package/src/gen/_docs/html/types/types_types.api.gen.LocateResult.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeBody.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeBodyFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeResponse.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.createTypeResponseFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeResponse.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.locateTypeResponseFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QueryFieldsItemDefault.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QueryParams.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QuerySortItemDefault.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3QuerySortItemRegExp.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.searchTypeMixin3Response.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeBody.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeResponse.html +0 -1
- package/src/gen/_docs/html/variables/dictionaries_dictionaries.zod.gen.updateTypeResponseFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3Body.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3BodyFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3Response.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.createTypeMixin3ResponseFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeMixin3Response.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.locateTypeMixin3ResponseFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeQuerySortItemRegExp.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.searchTypeResponse.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3Body.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3BodyFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3Response.html +0 -1
- package/src/gen/_docs/html/variables/extensions_extensions.zod.gen.updateTypeMixin3ResponseFieldsItemKindDefault.html +0 -1
- package/src/gen/_docs/html/variables/records_records.zod.gen.locateMixin3Params.html +0 -2
- package/src/gen/_docs/html/variables/records_records.zod.gen.locateMixin3QueryParams.html +0 -1
- package/src/gen/_docs/html/variables/records_records.zod.gen.locateMixin3Response.html +0 -1
- package/src/gen/_docs/html/variables/types_types.zod.gen.locateParams.html +0 -1
- package/src/gen/_docs/html/variables/types_types.zod.gen.locateResponse.html +0 -1
- package/src/gen/_docs/html/variables/types_types.zod.gen.locateResponseFieldsItemKindDefault.html +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Chunked response with PDF binary data.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelPdfPdfExportChunk {
|
|
12
|
+
/** Raw PDF file bytes (chunked). */
|
|
13
|
+
data?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Metadata about a PDF export task.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelPdfPdfExportMetadata {
|
|
12
|
+
/** File name of the export. */
|
|
13
|
+
fileName?: string;
|
|
14
|
+
/** MIME type, e.g., "application/pdf". */
|
|
15
|
+
mimeType?: string;
|
|
16
|
+
/** File size in bytes (0 if not ready). */
|
|
17
|
+
size?: string;
|
|
18
|
+
/** Task status: pending | processing | done | failed. */
|
|
19
|
+
status?: string;
|
|
20
|
+
/** Unique identifier of the task. */
|
|
21
|
+
taskId?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Status of the PDF export process.
|
|
10
|
+
|
|
11
|
+
- PDF_EXPORT_STATUS_UNSPECIFIED: Default value.
|
|
12
|
+
- PDF_EXPORT_STATUS_PENDING: Task is waiting to start.
|
|
13
|
+
- PDF_EXPORT_STATUS_PROCESSING: Task is in progress.
|
|
14
|
+
- PDF_EXPORT_STATUS_DONE: Task is completed successfully.
|
|
15
|
+
- PDF_EXPORT_STATUS_FAILED: Task failed.
|
|
16
|
+
*/
|
|
17
|
+
export type WebitelPdfPdfExportStatus =
|
|
18
|
+
(typeof WebitelPdfPdfExportStatus)[keyof typeof WebitelPdfPdfExportStatus];
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
21
|
+
export const WebitelPdfPdfExportStatus = {
|
|
22
|
+
PdfExportStatusUnspecified: 'PDF_EXPORT_STATUS_UNSPECIFIED',
|
|
23
|
+
PdfExportStatusPending: 'PDF_EXPORT_STATUS_PENDING',
|
|
24
|
+
PdfExportStatusProcessing: 'PDF_EXPORT_STATUS_PROCESSING',
|
|
25
|
+
PdfExportStatusDone: 'PDF_EXPORT_STATUS_DONE',
|
|
26
|
+
PdfExportStatusFailed: 'PDF_EXPORT_STATUS_FAILED',
|
|
27
|
+
} as const;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelPdfPdfExportStatus } from './webitelPdfPdfExportStatus';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Represents a single PDF export record.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelPdfPdfHistoryRecord {
|
|
13
|
+
/** Creation timestamp (Unix millis). */
|
|
14
|
+
createdAt?: string;
|
|
15
|
+
/** User ID who created the export. */
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
/** Related file ID. */
|
|
18
|
+
fileId?: string;
|
|
19
|
+
/** Export ID. */
|
|
20
|
+
id?: string;
|
|
21
|
+
/** MIME type of the export. */
|
|
22
|
+
mimeType?: string;
|
|
23
|
+
/** Export name. */
|
|
24
|
+
name?: string;
|
|
25
|
+
/** Current export status. */
|
|
26
|
+
status?: WebitelPdfPdfExportStatus;
|
|
27
|
+
/** Update timestamp (Unix millis). */
|
|
28
|
+
updatedAt?: string;
|
|
29
|
+
/** User ID who last updated the export. */
|
|
30
|
+
updatedBy?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelPdfPdfHistoryRecord } from './webitelPdfPdfHistoryRecord';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Response containing a page of export history.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelPdfPdfHistoryResponse {
|
|
13
|
+
/** List of export history records. */
|
|
14
|
+
data?: WebitelPdfPdfHistoryRecord[];
|
|
15
|
+
/** True if there is a next page. */
|
|
16
|
+
next?: boolean;
|
|
17
|
+
/** Current page number. */
|
|
18
|
+
page?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Request for generating a PDF export.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelPdfPdfServiceGeneratePdfExportBody {
|
|
12
|
+
/** Channel type (e.g., "screenshot"). */
|
|
13
|
+
channel?: string;
|
|
14
|
+
/** Optional list of specific file IDs to include. */
|
|
15
|
+
fileIds?: string[];
|
|
16
|
+
/** Start timestamp (Unix millis). */
|
|
17
|
+
from?: string;
|
|
18
|
+
/** End timestamp (Unix millis). */
|
|
19
|
+
to?: string;
|
|
20
|
+
}
|
|
@@ -22,14 +22,14 @@ import type {
|
|
|
22
22
|
LocateDataParams,
|
|
23
23
|
ProtodataStruct,
|
|
24
24
|
SearchDataParams,
|
|
25
|
-
|
|
25
|
+
SearchTypeParams,
|
|
26
26
|
UpdateData2Body,
|
|
27
27
|
UpdateData2Params,
|
|
28
28
|
UpdateData200,
|
|
29
29
|
UpdateData2200,
|
|
30
30
|
UpdateDataBody,
|
|
31
31
|
UpdateDataParams,
|
|
32
|
-
|
|
32
|
+
UpdateTypeMixin3Params,
|
|
33
33
|
} from '.././_models';
|
|
34
34
|
|
|
35
35
|
// --- header start
|
|
@@ -168,8 +168,8 @@ export const // --- title start
|
|
|
168
168
|
/**
|
|
169
169
|
* @summary Lookup dictionaries data types.
|
|
170
170
|
*/
|
|
171
|
-
const
|
|
172
|
-
params?:
|
|
171
|
+
const searchType = <TData = AxiosResponse<DataStructList>>(
|
|
172
|
+
params?: SearchTypeParams,
|
|
173
173
|
options?: AxiosRequestConfig,
|
|
174
174
|
): Promise<TData> => {
|
|
175
175
|
return axios.get('/types/dictionaries', {
|
|
@@ -181,7 +181,7 @@ export const // --- title start
|
|
|
181
181
|
* (Dictionary) {
|
|
182
182
|
* @summary Locate the dictionary type.
|
|
183
183
|
*/
|
|
184
|
-
const
|
|
184
|
+
const locateTypeMixin3 = <TData = AxiosResponse<ProtodataStruct>>(
|
|
185
185
|
repo: string,
|
|
186
186
|
options?: AxiosRequestConfig,
|
|
187
187
|
): Promise<TData> => {
|
|
@@ -191,7 +191,7 @@ export const // --- title start
|
|
|
191
191
|
* (Dictionary) {
|
|
192
192
|
* @summary Create custom dictionary.
|
|
193
193
|
*/
|
|
194
|
-
const
|
|
194
|
+
const createTypeMixin3 = <TData = AxiosResponse<ProtodataStruct>>(
|
|
195
195
|
repo: string,
|
|
196
196
|
dataInputDictionary: DataInputDictionary,
|
|
197
197
|
options?: AxiosRequestConfig,
|
|
@@ -206,10 +206,10 @@ export const // --- title start
|
|
|
206
206
|
* (Dictionary) {
|
|
207
207
|
* @summary Update custom dictionary.
|
|
208
208
|
*/
|
|
209
|
-
const
|
|
209
|
+
const updateTypeMixin3 = <TData = AxiosResponse<ProtodataStruct>>(
|
|
210
210
|
repo: string,
|
|
211
211
|
dataInputDictionary: DataInputDictionary,
|
|
212
|
-
params?:
|
|
212
|
+
params?: UpdateTypeMixin3Params,
|
|
213
213
|
options?: AxiosRequestConfig,
|
|
214
214
|
): Promise<TData> => {
|
|
215
215
|
return axios.put(`/types/dictionaries/${repo}`, dataInputDictionary, {
|
|
@@ -229,10 +229,10 @@ export const // --- title start
|
|
|
229
229
|
updateData,
|
|
230
230
|
updateData2,
|
|
231
231
|
deleteType,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
232
|
+
searchType,
|
|
233
|
+
locateTypeMixin3,
|
|
234
|
+
createTypeMixin3,
|
|
235
|
+
updateTypeMixin3,
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
export type DeleteDataResult = AxiosResponse<DataDataset>;
|
|
@@ -244,9 +244,9 @@ export type LocateDataResult = AxiosResponse<LocateData200>;
|
|
|
244
244
|
export type UpdateDataResult = AxiosResponse<UpdateData200>;
|
|
245
245
|
export type UpdateData2Result = AxiosResponse<UpdateData2200>;
|
|
246
246
|
export type DeleteTypeResult = AxiosResponse<DataStructList>;
|
|
247
|
-
export type
|
|
248
|
-
export type
|
|
249
|
-
export type
|
|
250
|
-
export type
|
|
247
|
+
export type SearchTypeResult = AxiosResponse<DataStructList>;
|
|
248
|
+
export type LocateTypeMixin3Result = AxiosResponse<ProtodataStruct>;
|
|
249
|
+
export type CreateTypeMixin3Result = AxiosResponse<ProtodataStruct>;
|
|
250
|
+
export type UpdateTypeMixin3Result = AxiosResponse<ProtodataStruct>;
|
|
251
251
|
|
|
252
252
|
// --- footer end
|
|
@@ -2942,7 +2942,7 @@ export const getDeleteTypeResponseMock = (
|
|
|
2942
2942
|
...overrideResponse,
|
|
2943
2943
|
});
|
|
2944
2944
|
|
|
2945
|
-
export const
|
|
2945
|
+
export const getSearchTypeResponseMock = (
|
|
2946
2946
|
overrideResponse: Partial<DataStructList> = {},
|
|
2947
2947
|
): DataStructList => ({
|
|
2948
2948
|
data: faker.helpers.arrayElement([
|
|
@@ -3522,7 +3522,7 @@ export const getSearchTypeMixin3ResponseMock = (
|
|
|
3522
3522
|
...overrideResponse,
|
|
3523
3523
|
});
|
|
3524
3524
|
|
|
3525
|
-
export const
|
|
3525
|
+
export const getLocateTypeMixin3ResponseMock = (
|
|
3526
3526
|
overrideResponse: Partial<ProtodataStruct> = {},
|
|
3527
3527
|
): ProtodataStruct => ({
|
|
3528
3528
|
about: faker.helpers.arrayElement([
|
|
@@ -4080,7 +4080,7 @@ export const getLocateTypeResponseMock = (
|
|
|
4080
4080
|
...overrideResponse,
|
|
4081
4081
|
});
|
|
4082
4082
|
|
|
4083
|
-
export const
|
|
4083
|
+
export const getCreateTypeMixin3ResponseMock = (
|
|
4084
4084
|
overrideResponse: Partial<ProtodataStruct> = {},
|
|
4085
4085
|
): ProtodataStruct => ({
|
|
4086
4086
|
about: faker.helpers.arrayElement([
|
|
@@ -4638,7 +4638,7 @@ export const getCreateTypeResponseMock = (
|
|
|
4638
4638
|
...overrideResponse,
|
|
4639
4639
|
});
|
|
4640
4640
|
|
|
4641
|
-
export const
|
|
4641
|
+
export const getUpdateTypeMixin3ResponseMock = (
|
|
4642
4642
|
overrideResponse: Partial<ProtodataStruct> = {},
|
|
4643
4643
|
): ProtodataStruct => ({
|
|
4644
4644
|
about: faker.helpers.arrayElement([
|
|
@@ -5403,7 +5403,7 @@ export const getDeleteTypeMockHandler = (
|
|
|
5403
5403
|
});
|
|
5404
5404
|
};
|
|
5405
5405
|
|
|
5406
|
-
export const
|
|
5406
|
+
export const getSearchTypeMockHandler = (
|
|
5407
5407
|
overrideResponse?:
|
|
5408
5408
|
| DataStructList
|
|
5409
5409
|
| ((
|
|
@@ -5419,14 +5419,14 @@ export const getSearchTypeMixin3MockHandler = (
|
|
|
5419
5419
|
? typeof overrideResponse === 'function'
|
|
5420
5420
|
? await overrideResponse(info)
|
|
5421
5421
|
: overrideResponse
|
|
5422
|
-
:
|
|
5422
|
+
: getSearchTypeResponseMock(),
|
|
5423
5423
|
),
|
|
5424
5424
|
{ status: 200, headers: { 'Content-Type': 'application/json' } },
|
|
5425
5425
|
);
|
|
5426
5426
|
});
|
|
5427
5427
|
};
|
|
5428
5428
|
|
|
5429
|
-
export const
|
|
5429
|
+
export const getLocateTypeMixin3MockHandler = (
|
|
5430
5430
|
overrideResponse?:
|
|
5431
5431
|
| ProtodataStruct
|
|
5432
5432
|
| ((
|
|
@@ -5442,14 +5442,14 @@ export const getLocateTypeMockHandler = (
|
|
|
5442
5442
|
? typeof overrideResponse === 'function'
|
|
5443
5443
|
? await overrideResponse(info)
|
|
5444
5444
|
: overrideResponse
|
|
5445
|
-
:
|
|
5445
|
+
: getLocateTypeMixin3ResponseMock(),
|
|
5446
5446
|
),
|
|
5447
5447
|
{ status: 200, headers: { 'Content-Type': 'application/json' } },
|
|
5448
5448
|
);
|
|
5449
5449
|
});
|
|
5450
5450
|
};
|
|
5451
5451
|
|
|
5452
|
-
export const
|
|
5452
|
+
export const getCreateTypeMixin3MockHandler = (
|
|
5453
5453
|
overrideResponse?:
|
|
5454
5454
|
| ProtodataStruct
|
|
5455
5455
|
| ((
|
|
@@ -5465,14 +5465,14 @@ export const getCreateTypeMockHandler = (
|
|
|
5465
5465
|
? typeof overrideResponse === 'function'
|
|
5466
5466
|
? await overrideResponse(info)
|
|
5467
5467
|
: overrideResponse
|
|
5468
|
-
:
|
|
5468
|
+
: getCreateTypeMixin3ResponseMock(),
|
|
5469
5469
|
),
|
|
5470
5470
|
{ status: 200, headers: { 'Content-Type': 'application/json' } },
|
|
5471
5471
|
);
|
|
5472
5472
|
});
|
|
5473
5473
|
};
|
|
5474
5474
|
|
|
5475
|
-
export const
|
|
5475
|
+
export const getUpdateTypeMixin3MockHandler = (
|
|
5476
5476
|
overrideResponse?:
|
|
5477
5477
|
| ProtodataStruct
|
|
5478
5478
|
| ((
|
|
@@ -5488,7 +5488,7 @@ export const getUpdateTypeMockHandler = (
|
|
|
5488
5488
|
? typeof overrideResponse === 'function'
|
|
5489
5489
|
? await overrideResponse(info)
|
|
5490
5490
|
: overrideResponse
|
|
5491
|
-
:
|
|
5491
|
+
: getUpdateTypeMixin3ResponseMock(),
|
|
5492
5492
|
),
|
|
5493
5493
|
{ status: 200, headers: { 'Content-Type': 'application/json' } },
|
|
5494
5494
|
);
|
|
@@ -5504,8 +5504,8 @@ export const getDictionariesMock = () => [
|
|
|
5504
5504
|
getUpdateDataMockHandler(),
|
|
5505
5505
|
getUpdateData2MockHandler(),
|
|
5506
5506
|
getDeleteTypeMockHandler(),
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5507
|
+
getSearchTypeMockHandler(),
|
|
5508
|
+
getLocateTypeMixin3MockHandler(),
|
|
5509
|
+
getCreateTypeMixin3MockHandler(),
|
|
5510
|
+
getUpdateTypeMixin3MockHandler(),
|
|
5511
5511
|
];
|
|
@@ -1981,11 +1981,11 @@ export const deleteTypeResponse = zod
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* @summary Lookup dictionaries data types.
|
|
1983
1983
|
*/
|
|
1984
|
-
export const
|
|
1985
|
-
export const
|
|
1986
|
-
export const
|
|
1984
|
+
export const searchTypeQuerySortItemDefault = '*';
|
|
1985
|
+
export const searchTypeQuerySortItemRegExp = /^[+|-|!]?\w+$/;
|
|
1986
|
+
export const searchTypeQueryFieldsItemDefault = '*';
|
|
1987
1987
|
|
|
1988
|
-
export const
|
|
1988
|
+
export const searchTypeQueryParams = zod.object({
|
|
1989
1989
|
q: zod
|
|
1990
1990
|
.string()
|
|
1991
1991
|
.optional()
|
|
@@ -2022,7 +2022,7 @@ export const searchTypeMixin3QueryParams = zod.object({
|
|
|
2022
2022
|
.optional()
|
|
2023
2023
|
.describe('Page number of result set of records.\nDefault: 1.'),
|
|
2024
2024
|
sort: zod
|
|
2025
|
-
.array(zod.string().regex(
|
|
2025
|
+
.array(zod.string().regex(searchTypeQuerySortItemRegExp))
|
|
2026
2026
|
.optional()
|
|
2027
2027
|
.describe(
|
|
2028
2028
|
'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = \"-\" / \"!\"\nASC = [ \"+\" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.',
|
|
@@ -2035,9 +2035,9 @@ export const searchTypeMixin3QueryParams = zod.object({
|
|
|
2035
2035
|
),
|
|
2036
2036
|
});
|
|
2037
2037
|
|
|
2038
|
-
export const
|
|
2038
|
+
export const searchTypeResponseDataItemFieldsItemKindDefault = 'none';
|
|
2039
2039
|
|
|
2040
|
-
export const
|
|
2040
|
+
export const searchTypeResponse = zod
|
|
2041
2041
|
.object({
|
|
2042
2042
|
data: zod
|
|
2043
2043
|
.array(
|
|
@@ -2218,9 +2218,7 @@ export const searchTypeMixin3Response = zod
|
|
|
2218
2218
|
'datetime',
|
|
2219
2219
|
'duration',
|
|
2220
2220
|
])
|
|
2221
|
-
.default(
|
|
2222
|
-
searchTypeMixin3ResponseDataItemFieldsItemKindDefault,
|
|
2223
|
-
)
|
|
2221
|
+
.default(searchTypeResponseDataItemFieldsItemKindDefault)
|
|
2224
2222
|
.describe(
|
|
2225
2223
|
'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
|
|
2226
2224
|
),
|
|
@@ -2414,13 +2412,13 @@ export const searchTypeMixin3Response = zod
|
|
|
2414
2412
|
* (Dictionary) {
|
|
2415
2413
|
* @summary Locate the dictionary type.
|
|
2416
2414
|
*/
|
|
2417
|
-
export const
|
|
2415
|
+
export const locateTypeMixin3Params = zod.object({
|
|
2418
2416
|
repo: zod.string().describe('`types.repo`'),
|
|
2419
2417
|
});
|
|
2420
2418
|
|
|
2421
|
-
export const
|
|
2419
|
+
export const locateTypeMixin3ResponseFieldsItemKindDefault = 'none';
|
|
2422
2420
|
|
|
2423
|
-
export const
|
|
2421
|
+
export const locateTypeMixin3Response = zod
|
|
2424
2422
|
.object({
|
|
2425
2423
|
about: zod.string().optional().describe('Optional. Short description.'),
|
|
2426
2424
|
administered: zod.boolean().optional(),
|
|
@@ -2564,7 +2562,7 @@ export const locateTypeResponse = zod
|
|
|
2564
2562
|
'datetime',
|
|
2565
2563
|
'duration',
|
|
2566
2564
|
])
|
|
2567
|
-
.default(
|
|
2565
|
+
.default(locateTypeMixin3ResponseFieldsItemKindDefault)
|
|
2568
2566
|
.describe(
|
|
2569
2567
|
'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
|
|
2570
2568
|
),
|
|
@@ -2726,15 +2724,15 @@ export const locateTypeResponse = zod
|
|
|
2726
2724
|
* (Dictionary) {
|
|
2727
2725
|
* @summary Create custom dictionary.
|
|
2728
2726
|
*/
|
|
2729
|
-
export const
|
|
2727
|
+
export const createTypeMixin3Params = zod.object({
|
|
2730
2728
|
repo: zod
|
|
2731
2729
|
.string()
|
|
2732
2730
|
.describe('NEW [`types.repo`] repository name, e.g.: `countries`.'),
|
|
2733
2731
|
});
|
|
2734
2732
|
|
|
2735
|
-
export const
|
|
2733
|
+
export const createTypeMixin3BodyFieldsItemKindDefault = 'none';
|
|
2736
2734
|
|
|
2737
|
-
export const
|
|
2735
|
+
export const createTypeMixin3Body = zod.object({
|
|
2738
2736
|
about: zod.string().optional(),
|
|
2739
2737
|
administered: zod.boolean().optional(),
|
|
2740
2738
|
display: zod
|
|
@@ -2865,7 +2863,7 @@ export const createTypeBody = zod.object({
|
|
|
2865
2863
|
'datetime',
|
|
2866
2864
|
'duration',
|
|
2867
2865
|
])
|
|
2868
|
-
.default(
|
|
2866
|
+
.default(createTypeMixin3BodyFieldsItemKindDefault)
|
|
2869
2867
|
.describe(
|
|
2870
2868
|
'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
|
|
2871
2869
|
),
|
|
@@ -2998,9 +2996,9 @@ export const createTypeBody = zod.object({
|
|
|
2998
2996
|
),
|
|
2999
2997
|
});
|
|
3000
2998
|
|
|
3001
|
-
export const
|
|
2999
|
+
export const createTypeMixin3ResponseFieldsItemKindDefault = 'none';
|
|
3002
3000
|
|
|
3003
|
-
export const
|
|
3001
|
+
export const createTypeMixin3Response = zod
|
|
3004
3002
|
.object({
|
|
3005
3003
|
about: zod.string().optional().describe('Optional. Short description.'),
|
|
3006
3004
|
administered: zod.boolean().optional(),
|
|
@@ -3144,7 +3142,7 @@ export const createTypeResponse = zod
|
|
|
3144
3142
|
'datetime',
|
|
3145
3143
|
'duration',
|
|
3146
3144
|
])
|
|
3147
|
-
.default(
|
|
3145
|
+
.default(createTypeMixin3ResponseFieldsItemKindDefault)
|
|
3148
3146
|
.describe(
|
|
3149
3147
|
'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
|
|
3150
3148
|
),
|
|
@@ -3306,22 +3304,22 @@ export const createTypeResponse = zod
|
|
|
3306
3304
|
* (Dictionary) {
|
|
3307
3305
|
* @summary Update custom dictionary.
|
|
3308
3306
|
*/
|
|
3309
|
-
export const
|
|
3307
|
+
export const updateTypeMixin3Params = zod.object({
|
|
3310
3308
|
repo: zod
|
|
3311
3309
|
.string()
|
|
3312
3310
|
.describe('[**repo**] name of the dataset type, e.g.: `countries`.'),
|
|
3313
3311
|
});
|
|
3314
3312
|
|
|
3315
|
-
export const
|
|
3313
|
+
export const updateTypeMixin3QueryParams = zod.object({
|
|
3316
3314
|
fields: zod
|
|
3317
3315
|
.array(zod.string())
|
|
3318
3316
|
.optional()
|
|
3319
3317
|
.describe('Fields to return into result.'),
|
|
3320
3318
|
});
|
|
3321
3319
|
|
|
3322
|
-
export const
|
|
3320
|
+
export const updateTypeMixin3BodyFieldsItemKindDefault = 'none';
|
|
3323
3321
|
|
|
3324
|
-
export const
|
|
3322
|
+
export const updateTypeMixin3Body = zod.object({
|
|
3325
3323
|
about: zod.string().optional(),
|
|
3326
3324
|
administered: zod.boolean().optional(),
|
|
3327
3325
|
display: zod
|
|
@@ -3452,7 +3450,7 @@ export const updateTypeBody = zod.object({
|
|
|
3452
3450
|
'datetime',
|
|
3453
3451
|
'duration',
|
|
3454
3452
|
])
|
|
3455
|
-
.default(
|
|
3453
|
+
.default(updateTypeMixin3BodyFieldsItemKindDefault)
|
|
3456
3454
|
.describe(
|
|
3457
3455
|
'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
|
|
3458
3456
|
),
|
|
@@ -3585,9 +3583,9 @@ export const updateTypeBody = zod.object({
|
|
|
3585
3583
|
),
|
|
3586
3584
|
});
|
|
3587
3585
|
|
|
3588
|
-
export const
|
|
3586
|
+
export const updateTypeMixin3ResponseFieldsItemKindDefault = 'none';
|
|
3589
3587
|
|
|
3590
|
-
export const
|
|
3588
|
+
export const updateTypeMixin3Response = zod
|
|
3591
3589
|
.object({
|
|
3592
3590
|
about: zod.string().optional().describe('Optional. Short description.'),
|
|
3593
3591
|
administered: zod.boolean().optional(),
|
|
@@ -3731,7 +3729,7 @@ export const updateTypeResponse = zod
|
|
|
3731
3729
|
'datetime',
|
|
3732
3730
|
'duration',
|
|
3733
3731
|
])
|
|
3734
|
-
.default(
|
|
3732
|
+
.default(updateTypeMixin3ResponseFieldsItemKindDefault)
|
|
3735
3733
|
.describe(
|
|
3736
3734
|
'Kind of primitive data types.\n\n - none: option allow_alias = true;\n - list: [array]\n - int: int32\n - uint: uint32\n - float: float32\n - datetime: date &| time',
|
|
3737
3735
|
),
|
|
@@ -14,7 +14,7 @@ import type {
|
|
|
14
14
|
DeleteType2Params,
|
|
15
15
|
DeleteTypeMixin3Params,
|
|
16
16
|
ProtodataStruct,
|
|
17
|
-
|
|
17
|
+
SearchTypeMixin3Params,
|
|
18
18
|
} from '.././_models';
|
|
19
19
|
|
|
20
20
|
// --- header start
|
|
@@ -42,8 +42,8 @@ export const // --- title start
|
|
|
42
42
|
* (ExtensionList) {
|
|
43
43
|
* @summary Search for type extensions.
|
|
44
44
|
*/
|
|
45
|
-
const
|
|
46
|
-
params?:
|
|
45
|
+
const searchTypeMixin3 = <TData = AxiosResponse<DataStructList>>(
|
|
46
|
+
params?: SearchTypeMixin3Params,
|
|
47
47
|
options?: AxiosRequestConfig,
|
|
48
48
|
): Promise<TData> => {
|
|
49
49
|
return axios.get('/types/extensions', {
|
|
@@ -69,7 +69,7 @@ export const // --- title start
|
|
|
69
69
|
* returns (Extension) {
|
|
70
70
|
* @summary Type extension details.
|
|
71
71
|
*/
|
|
72
|
-
const
|
|
72
|
+
const locateType = <TData = AxiosResponse<ProtodataStruct>>(
|
|
73
73
|
repo: string,
|
|
74
74
|
options?: AxiosRequestConfig,
|
|
75
75
|
): Promise<TData> => {
|
|
@@ -79,7 +79,7 @@ export const // --- title start
|
|
|
79
79
|
* returns (Extension) {
|
|
80
80
|
* @summary Create type extension.
|
|
81
81
|
*/
|
|
82
|
-
const
|
|
82
|
+
const createType = <TData = AxiosResponse<ProtodataStruct>>(
|
|
83
83
|
repo: string,
|
|
84
84
|
dataInputExtension: DataInputExtension,
|
|
85
85
|
options?: AxiosRequestConfig,
|
|
@@ -94,7 +94,7 @@ export const // --- title start
|
|
|
94
94
|
* returns (Extension) {
|
|
95
95
|
* @summary Update type extension.
|
|
96
96
|
*/
|
|
97
|
-
const
|
|
97
|
+
const updateType = <TData = AxiosResponse<ProtodataStruct>>(
|
|
98
98
|
repo: string,
|
|
99
99
|
dataInputExtension: DataInputExtension,
|
|
100
100
|
options?: AxiosRequestConfig,
|
|
@@ -109,18 +109,18 @@ export const // --- title start
|
|
|
109
109
|
// --- footer start
|
|
110
110
|
return {
|
|
111
111
|
deleteType2,
|
|
112
|
-
|
|
112
|
+
searchTypeMixin3,
|
|
113
113
|
deleteTypeMixin3,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
locateType,
|
|
115
|
+
createType,
|
|
116
|
+
updateType,
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
119
|
export type DeleteType2Result = AxiosResponse<DataStructList>;
|
|
120
|
-
export type
|
|
120
|
+
export type SearchTypeMixin3Result = AxiosResponse<DataStructList>;
|
|
121
121
|
export type DeleteTypeMixin3Result = AxiosResponse<DataStructList>;
|
|
122
|
-
export type
|
|
123
|
-
export type
|
|
124
|
-
export type
|
|
122
|
+
export type LocateTypeResult = AxiosResponse<ProtodataStruct>;
|
|
123
|
+
export type CreateTypeResult = AxiosResponse<ProtodataStruct>;
|
|
124
|
+
export type UpdateTypeResult = AxiosResponse<ProtodataStruct>;
|
|
125
125
|
|
|
126
126
|
// --- footer end
|