@webitel/api-services 0.0.20 → 0.0.21
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/config-service_config-service.api.gen.getConfigService.html +1 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceCreateConfigMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceCreateConfigResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceDeleteConfigMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceDeleteConfigResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServicePatchConfigMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServicePatchConfigResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadConfigMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadConfigResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadSystemObjectsMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceReadSystemObjectsResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceSearchConfigMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceSearchConfigResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceUpdateConfigMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getConfigServiceUpdateConfigResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/logger-service_logger-service.api.gen.getLoggerService.html +1 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByConfigIdMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByConfigIdResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByRecordIdMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByRecordIdResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByUserIdMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getLoggerServiceSearchLogByUserIdResponseMock.html +1 -0
- package/src/gen/_docs/html/functions/sources_sources.api.gen.getSources.html +1 -1
- package/src/gen/_docs/html/index.html +1 -1
- package/src/gen/_docs/html/interfaces/_models_loggerPatchConfigRequest.LoggerPatchConfigRequest.html +8 -0
- package/src/gen/_docs/html/interfaces/_models_loggerUpdateConfigRequest.LoggerUpdateConfigRequest.html +7 -0
- package/src/gen/_docs/html/interfaces/_models_protobufAny.ProtobufAny.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_runtimeError.RuntimeError.html +5 -0
- package/src/gen/_docs/html/interfaces/_models_webitelCasesInputSource.WebitelCasesInputSource.html +11 -6
- package/src/gen/_docs/html/interfaces/_models_webitelCasesSource.WebitelCasesSource.html +21 -9
- package/src/gen/_docs/html/modules/_models.html +1 -1
- package/src/gen/_docs/html/modules/_models_configServiceReadSystemObjectsParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_configServiceSearchConfigObjectItem.html +1 -0
- package/src/gen/_docs/html/modules/_models_configServiceSearchConfigParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerPatchConfigRequest.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByConfigIdActionItem.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByConfigIdParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByRecordIdActionItem.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByRecordIdParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByUserIdActionItem.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerServiceSearchLogByUserIdParams.html +1 -0
- package/src/gen/_docs/html/modules/_models_loggerUpdateConfigRequest.html +1 -0
- package/src/gen/_docs/html/modules/_models_runtimeError.html +1 -0
- package/src/gen/_docs/html/modules/config-service_config-service.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/config-service_config-service.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/config-service_config-service.zod.gen.html +1 -1
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/modules/logger-service_logger-service.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/logger-service_logger-service.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/logger-service_logger-service.zod.gen.html +1 -1
- package/src/gen/_docs/html/modules/sources_sources.zod.gen.html +7 -7
- package/src/gen/_docs/html/types/{_models_readSystemObjectsParams.ReadSystemObjectsParams.html → _models_configServiceReadSystemObjectsParams.ConfigServiceReadSystemObjectsParams.html} +2 -2
- package/src/gen/_docs/html/types/_models_configServiceSearchConfigObjectItem.ConfigServiceSearchConfigObjectItem.html +5 -0
- package/src/gen/_docs/html/types/{_models_searchConfigParams.SearchConfigParams.html → _models_configServiceSearchConfigParams.ConfigServiceSearchConfigParams.html} +2 -2
- package/src/gen/_docs/html/types/_models_createSourceParams.CreateSourceParams.html +3 -1
- package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByConfigIdActionItem.LoggerServiceSearchLogByConfigIdActionItem.html +5 -0
- package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByConfigIdParams.LoggerServiceSearchLogByConfigIdParams.html +11 -0
- package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByRecordIdActionItem.LoggerServiceSearchLogByRecordIdActionItem.html +5 -0
- package/src/gen/_docs/html/types/{_models_searchLogByRecordIdParams.SearchLogByRecordIdParams.html → _models_loggerServiceSearchLogByRecordIdParams.LoggerServiceSearchLogByRecordIdParams.html} +2 -2
- package/src/gen/_docs/html/types/_models_loggerServiceSearchLogByUserIdActionItem.LoggerServiceSearchLogByUserIdActionItem.html +5 -0
- package/src/gen/_docs/html/types/{_models_searchLogByUserIdParams.SearchLogByUserIdParams.html → _models_loggerServiceSearchLogByUserIdParams.LoggerServiceSearchLogByUserIdParams.html} +3 -3
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceCreateConfigResult.html +1 -0
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceDeleteConfigResult.html +1 -0
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServicePatchConfigResult.html +1 -0
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceReadConfigResult.html +1 -0
- package/src/gen/_docs/html/{modules/_models_configServicePatchConfigBody.html → types/config-service_config-service.api.gen.ConfigServiceReadSystemObjectsResult.html} +1 -1
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceSearchConfigResult.html +1 -0
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ConfigServiceUpdateConfigResult.html +1 -0
- package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.LoggerServiceSearchLogByConfigIdResult.html +1 -0
- package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.LoggerServiceSearchLogByRecordIdResult.html +1 -0
- package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.LoggerServiceSearchLogByUserIdResult.html +1 -0
- package/src/gen/_docs/html/variables/_models_configServiceSearchConfigObjectItem.ConfigServiceSearchConfigObjectItem.html +1 -0
- package/src/gen/_docs/html/variables/_models_loggerServiceSearchLogByConfigIdActionItem.LoggerServiceSearchLogByConfigIdActionItem.html +1 -0
- package/src/gen/_docs/html/variables/_models_loggerServiceSearchLogByRecordIdActionItem.LoggerServiceSearchLogByRecordIdActionItem.html +1 -0
- package/src/gen/_docs/html/variables/_models_loggerServiceSearchLogByUserIdActionItem.LoggerServiceSearchLogByUserIdActionItem.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceCreateConfigBody.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceCreateConfigResponse.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceDeleteConfigParams.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceDeleteConfigResponse.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServicePatchConfigBody.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServicePatchConfigParams.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServicePatchConfigResponse.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadConfigParams.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadConfigResponse.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadSystemObjectsQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceReadSystemObjectsResponse.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceSearchConfigQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceSearchConfigResponse.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceUpdateConfigBody.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceUpdateConfigParams.html +1 -0
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.configServiceUpdateConfigResponse.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByConfigIdParams.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByConfigIdQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByConfigIdResponse.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByRecordIdParams.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByRecordIdQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByRecordIdResponse.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByUserIdParams.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByUserIdQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.loggerServiceSearchLogByUserIdResponse.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBody.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponse.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponseDescriptionMax.html +1 -0
- package/src/gen/_docs/html/{types/config-service_config-service.api.gen.SearchConfigResult.html → variables/sources_sources.zod.gen.createSourceResponseNameMax.html} +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponseNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceResponseNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponse.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.deleteSourceResponseNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponse.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesResponseItemsItemNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponse.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.locateSourceResponseSourceNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Body.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Response.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2ResponseNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBody.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameDefault.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponse.html +1 -1
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseDescriptionMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseNameMax.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseNameMin.html +1 -0
- package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceResponseNameRegExp.html +1 -0
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.createTriggerBody.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.createTriggerResponse.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.deleteTriggerResponse.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.patchTriggerBody.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.patchTriggerResponse.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.readTriggerResponse.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.searchTriggerResponse.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.updateTriggerBody.html +1 -1
- package/src/gen/_docs/html/variables/trigger-service_trigger-service.zod.gen.updateTriggerResponse.html +1 -1
- package/src/gen/_models/{readSystemObjectsParams.ts → configServiceReadSystemObjectsParams.ts} +1 -1
- package/src/gen/_models/{searchConfigObjectItem.ts → configServiceSearchConfigObjectItem.ts} +3 -3
- package/src/gen/_models/{searchConfigParams.ts → configServiceSearchConfigParams.ts} +4 -4
- package/src/gen/_models/createSourceParams.ts +5 -0
- package/src/gen/_models/index.ts +12 -11
- package/src/gen/_models/{configServicePatchConfigBody.ts → loggerPatchConfigRequest.ts} +2 -1
- package/src/gen/_models/{searchLogByRecordIdActionItem.ts → loggerServiceSearchLogByConfigIdActionItem.ts} +3 -3
- package/src/gen/_models/{searchLogByConfigIdParams.ts → loggerServiceSearchLogByConfigIdParams.ts} +3 -3
- package/src/gen/_models/{searchLogByUserIdActionItem.ts → loggerServiceSearchLogByRecordIdActionItem.ts} +3 -3
- package/src/gen/_models/{searchLogByRecordIdParams.ts → loggerServiceSearchLogByRecordIdParams.ts} +4 -4
- package/src/gen/_models/{searchLogByConfigIdActionItem.ts → loggerServiceSearchLogByUserIdActionItem.ts} +3 -3
- package/src/gen/_models/{searchLogByUserIdParams.ts → loggerServiceSearchLogByUserIdParams.ts} +5 -5
- package/src/gen/_models/{configServiceUpdateConfigBody.ts → loggerUpdateConfigRequest.ts} +2 -1
- package/src/gen/_models/protobufAny.ts +2 -1
- package/src/gen/_models/runtimeError.ts +14 -0
- package/src/gen/_models/webitelCasesInputSource.ts +16 -5
- package/src/gen/_models/webitelCasesSource.ts +24 -8
- package/src/gen/config-service/config-service.api.gen.ts +34 -31
- package/src/gen/config-service/config-service.msw.api.gen.ts +28 -28
- package/src/gen/config-service/config-service.zod.gen.ts +20 -18
- package/src/gen/logger-service/logger-service.api.gen.ts +23 -13
- package/src/gen/logger-service/logger-service.msw.api.gen.ts +12 -12
- package/src/gen/logger-service/logger-service.zod.gen.ts +12 -12
- package/src/gen/sources/sources.api.gen.ts +2 -3
- package/src/gen/sources/sources.msw.api.gen.ts +114 -222
- package/src/gen/sources/sources.zod.gen.ts +340 -178
- package/types/gen/_models/{readSystemObjectsParams.d.ts → configServiceReadSystemObjectsParams.d.ts} +1 -1
- package/types/gen/_models/{searchConfigObjectItem.d.ts → configServiceSearchConfigObjectItem.d.ts} +2 -2
- package/types/gen/_models/{searchConfigParams.d.ts → configServiceSearchConfigParams.d.ts} +4 -4
- package/types/gen/_models/createSourceParams.d.ts +5 -0
- package/types/gen/_models/index.d.ts +12 -11
- package/types/gen/_models/{configServicePatchConfigBody.d.ts → loggerPatchConfigRequest.d.ts} +2 -1
- package/types/gen/_models/{searchLogByRecordIdActionItem.d.ts → loggerServiceSearchLogByConfigIdActionItem.d.ts} +2 -2
- package/types/gen/_models/{searchLogByConfigIdParams.d.ts → loggerServiceSearchLogByConfigIdParams.d.ts} +3 -3
- package/types/gen/_models/{searchLogByUserIdActionItem.d.ts → loggerServiceSearchLogByRecordIdActionItem.d.ts} +2 -2
- package/types/gen/_models/{searchLogByRecordIdParams.d.ts → loggerServiceSearchLogByRecordIdParams.d.ts} +4 -4
- package/types/gen/_models/{searchLogByConfigIdActionItem.d.ts → loggerServiceSearchLogByUserIdActionItem.d.ts} +2 -2
- package/types/gen/_models/{searchLogByUserIdParams.d.ts → loggerServiceSearchLogByUserIdParams.d.ts} +5 -5
- package/types/gen/_models/{configServiceUpdateConfigBody.d.ts → loggerUpdateConfigRequest.d.ts} +2 -1
- package/types/gen/_models/protobufAny.d.ts +2 -1
- package/types/gen/_models/runtimeError.d.ts +13 -0
- package/types/gen/_models/webitelCasesInputSource.d.ts +16 -5
- package/types/gen/_models/webitelCasesSource.d.ts +24 -8
- package/types/gen/config-service/config-service.api.gen.d.ts +15 -15
- package/types/gen/config-service/config-service.msw.api.gen.d.ts +14 -14
- package/types/gen/config-service/config-service.zod.gen.d.ts +24 -18
- package/types/gen/logger-service/logger-service.api.gen.d.ts +7 -7
- package/types/gen/logger-service/logger-service.msw.api.gen.d.ts +6 -6
- package/types/gen/logger-service/logger-service.zod.gen.d.ts +23 -23
- package/types/gen/queue-hook-service/queue-hook-service.zod.gen.d.ts +20 -20
- package/types/gen/queue-service/queue-service.zod.gen.d.ts +34 -34
- package/types/gen/sources/sources.api.gen.d.ts +2 -2
- package/types/gen/sources/sources.zod.gen.d.ts +117 -63
- package/types/gen/team-hook-service/team-hook-service.zod.gen.d.ts +20 -20
- package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +40 -40
- package/types/validations/caseSource/caseSource.validations.d.ts +3 -3
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getCreateConfigMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getCreateConfigResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getDeleteConfigMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getDeleteConfigResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getPatchConfigMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getPatchConfigResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadConfigMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadConfigResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadSystemObjectsMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getReadSystemObjectsResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getSearchConfigMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getSearchConfigResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getUpdateConfigMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/config-service_config-service.msw.api.gen.getUpdateConfigResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByConfigIdMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByConfigIdResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByRecordIdMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByRecordIdResponseMock.html +0 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByUserIdMockHandler.html +0 -1
- package/src/gen/_docs/html/functions/logger-service_logger-service.msw.api.gen.getSearchLogByUserIdResponseMock.html +0 -1
- package/src/gen/_docs/html/interfaces/_models_configServicePatchConfigBody.ConfigServicePatchConfigBody.html +0 -7
- package/src/gen/_docs/html/interfaces/_models_configServiceUpdateConfigBody.ConfigServiceUpdateConfigBody.html +0 -6
- package/src/gen/_docs/html/modules/_models_configServiceUpdateConfigBody.html +0 -1
- package/src/gen/_docs/html/modules/_models_readSystemObjectsParams.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchConfigObjectItem.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchConfigParams.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchLogByConfigIdActionItem.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchLogByConfigIdParams.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchLogByRecordIdActionItem.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchLogByRecordIdParams.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchLogByUserIdActionItem.html +0 -1
- package/src/gen/_docs/html/modules/_models_searchLogByUserIdParams.html +0 -1
- package/src/gen/_docs/html/types/_models_searchConfigObjectItem.SearchConfigObjectItem.html +0 -5
- package/src/gen/_docs/html/types/_models_searchLogByConfigIdActionItem.SearchLogByConfigIdActionItem.html +0 -5
- package/src/gen/_docs/html/types/_models_searchLogByConfigIdParams.SearchLogByConfigIdParams.html +0 -11
- package/src/gen/_docs/html/types/_models_searchLogByRecordIdActionItem.SearchLogByRecordIdActionItem.html +0 -5
- package/src/gen/_docs/html/types/_models_searchLogByUserIdActionItem.SearchLogByUserIdActionItem.html +0 -5
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.CreateConfigResult.html +0 -1
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.DeleteConfigResult.html +0 -1
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.PatchConfigResult.html +0 -1
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ReadConfigResult.html +0 -1
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.ReadSystemObjectsResult.html +0 -1
- package/src/gen/_docs/html/types/config-service_config-service.api.gen.UpdateConfigResult.html +0 -1
- package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.SearchLogByConfigIdResult.html +0 -1
- package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.SearchLogByRecordIdResult.html +0 -1
- package/src/gen/_docs/html/types/logger-service_logger-service.api.gen.SearchLogByUserIdResult.html +0 -1
- package/src/gen/_docs/html/variables/_models_searchConfigObjectItem.SearchConfigObjectItem.html +0 -1
- package/src/gen/_docs/html/variables/_models_searchLogByConfigIdActionItem.SearchLogByConfigIdActionItem.html +0 -1
- package/src/gen/_docs/html/variables/_models_searchLogByRecordIdActionItem.SearchLogByRecordIdActionItem.html +0 -1
- package/src/gen/_docs/html/variables/_models_searchLogByUserIdActionItem.SearchLogByUserIdActionItem.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.createConfigBody.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.createConfigResponse.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.deleteConfigParams.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.deleteConfigResponse.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.patchConfigBody.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.patchConfigParams.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.patchConfigResponse.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readConfigParams.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readConfigResponse.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readSystemObjectsQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.readSystemObjectsResponse.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.searchConfigQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.searchConfigResponse.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.updateConfigBody.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.updateConfigParams.html +0 -1
- package/src/gen/_docs/html/variables/config-service_config-service.zod.gen.updateConfigResponse.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByConfigIdParams.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByConfigIdQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByConfigIdResponse.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByRecordIdParams.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByRecordIdQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByRecordIdResponse.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByUserIdParams.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByUserIdQueryParams.html +0 -1
- package/src/gen/_docs/html/variables/logger-service_logger-service.zod.gen.searchLogByUserIdResponse.html +0 -1
|
@@ -51,6 +51,12 @@ export const listSourcesQueryParams = zod.object({
|
|
|
51
51
|
),
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
+
export const listSourcesResponseItemsItemDescriptionMax = 500;
|
|
55
|
+
export const listSourcesResponseItemsItemNameMin = 3;
|
|
56
|
+
|
|
57
|
+
export const listSourcesResponseItemsItemNameMax = 100;
|
|
58
|
+
|
|
59
|
+
export const listSourcesResponseItemsItemNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
|
|
54
60
|
export const listSourcesResponseItemsItemTypeDefault = 'TYPE_UNSPECIFIED';
|
|
55
61
|
|
|
56
62
|
export const listSourcesResponse = zod
|
|
@@ -59,16 +65,33 @@ export const listSourcesResponse = zod
|
|
|
59
65
|
.array(
|
|
60
66
|
zod
|
|
61
67
|
.object({
|
|
62
|
-
createdAt: zod
|
|
63
|
-
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
.optional(),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
createdAt: zod
|
|
69
|
+
.string()
|
|
70
|
+
.describe(
|
|
71
|
+
'Unix timestamp representing when the source was created.',
|
|
72
|
+
),
|
|
73
|
+
createdBy: zod.object({
|
|
74
|
+
id: zod.string().optional(),
|
|
75
|
+
name: zod.string().optional(),
|
|
76
|
+
}),
|
|
77
|
+
description: zod
|
|
78
|
+
.string()
|
|
79
|
+
.max(listSourcesResponseItemsItemDescriptionMax)
|
|
80
|
+
.optional()
|
|
81
|
+
.describe(
|
|
82
|
+
"An optional longer explanation of the source's purpose.",
|
|
83
|
+
),
|
|
84
|
+
id: zod
|
|
85
|
+
.string()
|
|
86
|
+
.describe(
|
|
87
|
+
'Unique identifier for the source, generated automatically.',
|
|
88
|
+
),
|
|
89
|
+
name: zod
|
|
90
|
+
.string()
|
|
91
|
+
.min(listSourcesResponseItemsItemNameMin)
|
|
92
|
+
.max(listSourcesResponseItemsItemNameMax)
|
|
93
|
+
.regex(listSourcesResponseItemsItemNameRegExp)
|
|
94
|
+
.describe('A unique, descriptive name for the source.'),
|
|
72
95
|
type: zod
|
|
73
96
|
.enum([
|
|
74
97
|
'TYPE_UNSPECIFIED',
|
|
@@ -79,19 +102,20 @@ export const listSourcesResponse = zod
|
|
|
79
102
|
'API',
|
|
80
103
|
'MANUAL',
|
|
81
104
|
])
|
|
82
|
-
.default(listSourcesResponseItemsItemTypeDefault)
|
|
83
105
|
.describe(
|
|
84
106
|
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
85
107
|
),
|
|
86
|
-
updatedAt: zod
|
|
87
|
-
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
108
|
+
updatedAt: zod
|
|
109
|
+
.string()
|
|
110
|
+
.describe('Unix timestamp representing the most recent update.'),
|
|
111
|
+
updatedBy: zod.object({
|
|
112
|
+
id: zod.string().optional(),
|
|
113
|
+
name: zod.string().optional(),
|
|
114
|
+
}),
|
|
93
115
|
})
|
|
94
|
-
.describe(
|
|
116
|
+
.describe(
|
|
117
|
+
'Represents a data source in the contact management system.',
|
|
118
|
+
),
|
|
95
119
|
)
|
|
96
120
|
.optional()
|
|
97
121
|
.describe('List of sources.'),
|
|
@@ -107,47 +131,85 @@ export const listSourcesResponse = zod
|
|
|
107
131
|
* @summary Create a new source
|
|
108
132
|
*/
|
|
109
133
|
export const createSourceQueryParams = zod.object({
|
|
110
|
-
fields: zod
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
export const createSourceBodyTypeDefault = 'TYPE_UNSPECIFIED';
|
|
114
|
-
|
|
115
|
-
export const createSourceBody = zod.object({
|
|
116
|
-
description: zod
|
|
117
|
-
.string()
|
|
134
|
+
fields: zod
|
|
135
|
+
.array(zod.string())
|
|
118
136
|
.optional()
|
|
119
|
-
.describe('The description of the source.'),
|
|
120
|
-
name: zod.string().optional().describe('The name of the source.'),
|
|
121
|
-
type: zod
|
|
122
|
-
.enum([
|
|
123
|
-
'TYPE_UNSPECIFIED',
|
|
124
|
-
'CALL',
|
|
125
|
-
'CHAT',
|
|
126
|
-
'SOCIAL_MEDIA',
|
|
127
|
-
'EMAIL',
|
|
128
|
-
'API',
|
|
129
|
-
'MANUAL',
|
|
130
|
-
])
|
|
131
|
-
.default(createSourceBodyTypeDefault)
|
|
132
137
|
.describe(
|
|
133
|
-
'
|
|
138
|
+
'Optional list of specific fields to return after creation\n\nSpecific fields to include in response',
|
|
134
139
|
),
|
|
135
140
|
});
|
|
136
141
|
|
|
142
|
+
export const createSourceBodyDefault = { name: 'Default Source', type: 'CALL' };
|
|
143
|
+
export const createSourceBodyDescriptionDefault = 'No description provided';
|
|
144
|
+
export const createSourceBodyDescriptionMax = 500;
|
|
145
|
+
export const createSourceBodyNameDefault = 'New Source';
|
|
146
|
+
export const createSourceBodyNameMin = 2;
|
|
147
|
+
|
|
148
|
+
export const createSourceBodyNameMax = 100;
|
|
149
|
+
|
|
150
|
+
export const createSourceBodyNameRegExp = /^[a-zA-Z0-9_\- ]+$/;
|
|
151
|
+
export const createSourceBodyTypeDefault = 'TYPE_UNSPECIFIED';
|
|
152
|
+
|
|
153
|
+
export const createSourceBody = zod
|
|
154
|
+
.object({
|
|
155
|
+
description: zod
|
|
156
|
+
.string()
|
|
157
|
+
.max(createSourceBodyDescriptionMax)
|
|
158
|
+
.default(createSourceBodyDescriptionDefault)
|
|
159
|
+
.describe('A short description of the source'),
|
|
160
|
+
name: zod
|
|
161
|
+
.string()
|
|
162
|
+
.min(createSourceBodyNameMin)
|
|
163
|
+
.max(createSourceBodyNameMax)
|
|
164
|
+
.regex(createSourceBodyNameRegExp)
|
|
165
|
+
.describe('The name of the source'),
|
|
166
|
+
type: zod
|
|
167
|
+
.enum([
|
|
168
|
+
'TYPE_UNSPECIFIED',
|
|
169
|
+
'CALL',
|
|
170
|
+
'CHAT',
|
|
171
|
+
'SOCIAL_MEDIA',
|
|
172
|
+
'EMAIL',
|
|
173
|
+
'API',
|
|
174
|
+
'MANUAL',
|
|
175
|
+
])
|
|
176
|
+
.describe(
|
|
177
|
+
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
178
|
+
),
|
|
179
|
+
})
|
|
180
|
+
.describe('The data structure representing a source');
|
|
181
|
+
|
|
182
|
+
export const createSourceResponseDescriptionMax = 500;
|
|
183
|
+
export const createSourceResponseNameMin = 3;
|
|
184
|
+
|
|
185
|
+
export const createSourceResponseNameMax = 100;
|
|
186
|
+
|
|
187
|
+
export const createSourceResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
|
|
137
188
|
export const createSourceResponseTypeDefault = 'TYPE_UNSPECIFIED';
|
|
138
189
|
|
|
139
190
|
export const createSourceResponse = zod
|
|
140
191
|
.object({
|
|
141
|
-
createdAt: zod
|
|
142
|
-
|
|
143
|
-
.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
description: zod
|
|
149
|
-
|
|
150
|
-
|
|
192
|
+
createdAt: zod
|
|
193
|
+
.string()
|
|
194
|
+
.describe('Unix timestamp representing when the source was created.'),
|
|
195
|
+
createdBy: zod.object({
|
|
196
|
+
id: zod.string().optional(),
|
|
197
|
+
name: zod.string().optional(),
|
|
198
|
+
}),
|
|
199
|
+
description: zod
|
|
200
|
+
.string()
|
|
201
|
+
.max(createSourceResponseDescriptionMax)
|
|
202
|
+
.optional()
|
|
203
|
+
.describe("An optional longer explanation of the source's purpose."),
|
|
204
|
+
id: zod
|
|
205
|
+
.string()
|
|
206
|
+
.describe('Unique identifier for the source, generated automatically.'),
|
|
207
|
+
name: zod
|
|
208
|
+
.string()
|
|
209
|
+
.min(createSourceResponseNameMin)
|
|
210
|
+
.max(createSourceResponseNameMax)
|
|
211
|
+
.regex(createSourceResponseNameRegExp)
|
|
212
|
+
.describe('A unique, descriptive name for the source.'),
|
|
151
213
|
type: zod
|
|
152
214
|
.enum([
|
|
153
215
|
'TYPE_UNSPECIFIED',
|
|
@@ -158,19 +220,18 @@ export const createSourceResponse = zod
|
|
|
158
220
|
'API',
|
|
159
221
|
'MANUAL',
|
|
160
222
|
])
|
|
161
|
-
.default(createSourceResponseTypeDefault)
|
|
162
223
|
.describe(
|
|
163
224
|
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
164
225
|
),
|
|
165
|
-
updatedAt: zod
|
|
166
|
-
|
|
167
|
-
.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
226
|
+
updatedAt: zod
|
|
227
|
+
.string()
|
|
228
|
+
.describe('Unix timestamp representing the most recent update.'),
|
|
229
|
+
updatedBy: zod.object({
|
|
230
|
+
id: zod.string().optional(),
|
|
231
|
+
name: zod.string().optional(),
|
|
232
|
+
}),
|
|
172
233
|
})
|
|
173
|
-
.describe('Represents a source
|
|
234
|
+
.describe('Represents a data source in the contact management system.');
|
|
174
235
|
|
|
175
236
|
/**
|
|
176
237
|
* @summary Delete a source
|
|
@@ -179,20 +240,37 @@ export const deleteSourceParams = zod.object({
|
|
|
179
240
|
id: zod.string().describe('The unique ID of the source to delete.'),
|
|
180
241
|
});
|
|
181
242
|
|
|
243
|
+
export const deleteSourceResponseDescriptionMax = 500;
|
|
244
|
+
export const deleteSourceResponseNameMin = 3;
|
|
245
|
+
|
|
246
|
+
export const deleteSourceResponseNameMax = 100;
|
|
247
|
+
|
|
248
|
+
export const deleteSourceResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
|
|
182
249
|
export const deleteSourceResponseTypeDefault = 'TYPE_UNSPECIFIED';
|
|
183
250
|
|
|
184
251
|
export const deleteSourceResponse = zod
|
|
185
252
|
.object({
|
|
186
|
-
createdAt: zod
|
|
187
|
-
|
|
188
|
-
.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
description: zod
|
|
194
|
-
|
|
195
|
-
|
|
253
|
+
createdAt: zod
|
|
254
|
+
.string()
|
|
255
|
+
.describe('Unix timestamp representing when the source was created.'),
|
|
256
|
+
createdBy: zod.object({
|
|
257
|
+
id: zod.string().optional(),
|
|
258
|
+
name: zod.string().optional(),
|
|
259
|
+
}),
|
|
260
|
+
description: zod
|
|
261
|
+
.string()
|
|
262
|
+
.max(deleteSourceResponseDescriptionMax)
|
|
263
|
+
.optional()
|
|
264
|
+
.describe("An optional longer explanation of the source's purpose."),
|
|
265
|
+
id: zod
|
|
266
|
+
.string()
|
|
267
|
+
.describe('Unique identifier for the source, generated automatically.'),
|
|
268
|
+
name: zod
|
|
269
|
+
.string()
|
|
270
|
+
.min(deleteSourceResponseNameMin)
|
|
271
|
+
.max(deleteSourceResponseNameMax)
|
|
272
|
+
.regex(deleteSourceResponseNameRegExp)
|
|
273
|
+
.describe('A unique, descriptive name for the source.'),
|
|
196
274
|
type: zod
|
|
197
275
|
.enum([
|
|
198
276
|
'TYPE_UNSPECIFIED',
|
|
@@ -203,19 +281,18 @@ export const deleteSourceResponse = zod
|
|
|
203
281
|
'API',
|
|
204
282
|
'MANUAL',
|
|
205
283
|
])
|
|
206
|
-
.default(deleteSourceResponseTypeDefault)
|
|
207
284
|
.describe(
|
|
208
285
|
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
209
286
|
),
|
|
210
|
-
updatedAt: zod
|
|
211
|
-
|
|
212
|
-
.
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
287
|
+
updatedAt: zod
|
|
288
|
+
.string()
|
|
289
|
+
.describe('Unix timestamp representing the most recent update.'),
|
|
290
|
+
updatedBy: zod.object({
|
|
291
|
+
id: zod.string().optional(),
|
|
292
|
+
name: zod.string().optional(),
|
|
293
|
+
}),
|
|
217
294
|
})
|
|
218
|
-
.describe('Represents a source
|
|
295
|
+
.describe('Represents a data source in the contact management system.');
|
|
219
296
|
|
|
220
297
|
/**
|
|
221
298
|
* @summary Locate a source by ID
|
|
@@ -231,22 +308,41 @@ export const locateSourceQueryParams = zod.object({
|
|
|
231
308
|
.describe('Fields to be retrieved into result.'),
|
|
232
309
|
});
|
|
233
310
|
|
|
311
|
+
export const locateSourceResponseSourceDescriptionMax = 500;
|
|
312
|
+
export const locateSourceResponseSourceNameMin = 3;
|
|
313
|
+
|
|
314
|
+
export const locateSourceResponseSourceNameMax = 100;
|
|
315
|
+
|
|
316
|
+
export const locateSourceResponseSourceNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
|
|
234
317
|
export const locateSourceResponseSourceTypeDefault = 'TYPE_UNSPECIFIED';
|
|
235
318
|
|
|
236
319
|
export const locateSourceResponse = zod
|
|
237
320
|
.object({
|
|
238
321
|
source: zod
|
|
239
322
|
.object({
|
|
240
|
-
createdAt: zod
|
|
241
|
-
|
|
242
|
-
.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
description: zod
|
|
248
|
-
|
|
249
|
-
|
|
323
|
+
createdAt: zod
|
|
324
|
+
.string()
|
|
325
|
+
.describe('Unix timestamp representing when the source was created.'),
|
|
326
|
+
createdBy: zod.object({
|
|
327
|
+
id: zod.string().optional(),
|
|
328
|
+
name: zod.string().optional(),
|
|
329
|
+
}),
|
|
330
|
+
description: zod
|
|
331
|
+
.string()
|
|
332
|
+
.max(locateSourceResponseSourceDescriptionMax)
|
|
333
|
+
.optional()
|
|
334
|
+
.describe("An optional longer explanation of the source's purpose."),
|
|
335
|
+
id: zod
|
|
336
|
+
.string()
|
|
337
|
+
.describe(
|
|
338
|
+
'Unique identifier for the source, generated automatically.',
|
|
339
|
+
),
|
|
340
|
+
name: zod
|
|
341
|
+
.string()
|
|
342
|
+
.min(locateSourceResponseSourceNameMin)
|
|
343
|
+
.max(locateSourceResponseSourceNameMax)
|
|
344
|
+
.regex(locateSourceResponseSourceNameRegExp)
|
|
345
|
+
.describe('A unique, descriptive name for the source.'),
|
|
250
346
|
type: zod
|
|
251
347
|
.enum([
|
|
252
348
|
'TYPE_UNSPECIFIED',
|
|
@@ -257,20 +353,19 @@ export const locateSourceResponse = zod
|
|
|
257
353
|
'API',
|
|
258
354
|
'MANUAL',
|
|
259
355
|
])
|
|
260
|
-
.default(locateSourceResponseSourceTypeDefault)
|
|
261
356
|
.describe(
|
|
262
357
|
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
263
358
|
),
|
|
264
|
-
updatedAt: zod
|
|
265
|
-
|
|
266
|
-
.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
359
|
+
updatedAt: zod
|
|
360
|
+
.string()
|
|
361
|
+
.describe('Unix timestamp representing the most recent update.'),
|
|
362
|
+
updatedBy: zod.object({
|
|
363
|
+
id: zod.string().optional(),
|
|
364
|
+
name: zod.string().optional(),
|
|
365
|
+
}),
|
|
271
366
|
})
|
|
272
367
|
.optional()
|
|
273
|
-
.describe('Represents a source
|
|
368
|
+
.describe('Represents a data source in the contact management system.'),
|
|
274
369
|
})
|
|
275
370
|
.describe('Response message for locating a source.');
|
|
276
371
|
|
|
@@ -285,44 +380,80 @@ export const updateSource2QueryParams = zod.object({
|
|
|
285
380
|
fields: zod.array(zod.string()).optional(),
|
|
286
381
|
});
|
|
287
382
|
|
|
383
|
+
export const updateSource2BodyDefault = {
|
|
384
|
+
name: 'Default Source',
|
|
385
|
+
type: 'CALL',
|
|
386
|
+
};
|
|
387
|
+
export const updateSource2BodyDescriptionDefault = 'No description provided';
|
|
388
|
+
export const updateSource2BodyDescriptionMax = 500;
|
|
389
|
+
export const updateSource2BodyNameDefault = 'New Source';
|
|
390
|
+
export const updateSource2BodyNameMin = 2;
|
|
391
|
+
|
|
392
|
+
export const updateSource2BodyNameMax = 100;
|
|
393
|
+
|
|
394
|
+
export const updateSource2BodyNameRegExp = /^[a-zA-Z0-9_\- ]+$/;
|
|
288
395
|
export const updateSource2BodyTypeDefault = 'TYPE_UNSPECIFIED';
|
|
289
396
|
|
|
290
|
-
export const updateSource2Body = zod
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
'
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
397
|
+
export const updateSource2Body = zod
|
|
398
|
+
.object({
|
|
399
|
+
description: zod
|
|
400
|
+
.string()
|
|
401
|
+
.max(updateSource2BodyDescriptionMax)
|
|
402
|
+
.default(updateSource2BodyDescriptionDefault)
|
|
403
|
+
.describe('A short description of the source'),
|
|
404
|
+
name: zod
|
|
405
|
+
.string()
|
|
406
|
+
.min(updateSource2BodyNameMin)
|
|
407
|
+
.max(updateSource2BodyNameMax)
|
|
408
|
+
.regex(updateSource2BodyNameRegExp)
|
|
409
|
+
.describe('The name of the source'),
|
|
410
|
+
type: zod
|
|
411
|
+
.enum([
|
|
412
|
+
'TYPE_UNSPECIFIED',
|
|
413
|
+
'CALL',
|
|
414
|
+
'CHAT',
|
|
415
|
+
'SOCIAL_MEDIA',
|
|
416
|
+
'EMAIL',
|
|
417
|
+
'API',
|
|
418
|
+
'MANUAL',
|
|
419
|
+
])
|
|
420
|
+
.describe(
|
|
421
|
+
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
422
|
+
),
|
|
423
|
+
})
|
|
424
|
+
.describe('The data structure representing a source');
|
|
311
425
|
|
|
426
|
+
export const updateSource2ResponseDescriptionMax = 500;
|
|
427
|
+
export const updateSource2ResponseNameMin = 3;
|
|
428
|
+
|
|
429
|
+
export const updateSource2ResponseNameMax = 100;
|
|
430
|
+
|
|
431
|
+
export const updateSource2ResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
|
|
312
432
|
export const updateSource2ResponseTypeDefault = 'TYPE_UNSPECIFIED';
|
|
313
433
|
|
|
314
434
|
export const updateSource2Response = zod
|
|
315
435
|
.object({
|
|
316
|
-
createdAt: zod
|
|
317
|
-
|
|
318
|
-
.
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
description: zod
|
|
324
|
-
|
|
325
|
-
|
|
436
|
+
createdAt: zod
|
|
437
|
+
.string()
|
|
438
|
+
.describe('Unix timestamp representing when the source was created.'),
|
|
439
|
+
createdBy: zod.object({
|
|
440
|
+
id: zod.string().optional(),
|
|
441
|
+
name: zod.string().optional(),
|
|
442
|
+
}),
|
|
443
|
+
description: zod
|
|
444
|
+
.string()
|
|
445
|
+
.max(updateSource2ResponseDescriptionMax)
|
|
446
|
+
.optional()
|
|
447
|
+
.describe("An optional longer explanation of the source's purpose."),
|
|
448
|
+
id: zod
|
|
449
|
+
.string()
|
|
450
|
+
.describe('Unique identifier for the source, generated automatically.'),
|
|
451
|
+
name: zod
|
|
452
|
+
.string()
|
|
453
|
+
.min(updateSource2ResponseNameMin)
|
|
454
|
+
.max(updateSource2ResponseNameMax)
|
|
455
|
+
.regex(updateSource2ResponseNameRegExp)
|
|
456
|
+
.describe('A unique, descriptive name for the source.'),
|
|
326
457
|
type: zod
|
|
327
458
|
.enum([
|
|
328
459
|
'TYPE_UNSPECIFIED',
|
|
@@ -333,19 +464,18 @@ export const updateSource2Response = zod
|
|
|
333
464
|
'API',
|
|
334
465
|
'MANUAL',
|
|
335
466
|
])
|
|
336
|
-
.default(updateSource2ResponseTypeDefault)
|
|
337
467
|
.describe(
|
|
338
468
|
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
339
469
|
),
|
|
340
|
-
updatedAt: zod
|
|
341
|
-
|
|
342
|
-
.
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
470
|
+
updatedAt: zod
|
|
471
|
+
.string()
|
|
472
|
+
.describe('Unix timestamp representing the most recent update.'),
|
|
473
|
+
updatedBy: zod.object({
|
|
474
|
+
id: zod.string().optional(),
|
|
475
|
+
name: zod.string().optional(),
|
|
476
|
+
}),
|
|
347
477
|
})
|
|
348
|
-
.describe('Represents a source
|
|
478
|
+
.describe('Represents a data source in the contact management system.');
|
|
349
479
|
|
|
350
480
|
/**
|
|
351
481
|
* @summary Update an existing source
|
|
@@ -358,44 +488,77 @@ export const updateSourceQueryParams = zod.object({
|
|
|
358
488
|
fields: zod.array(zod.string()).optional(),
|
|
359
489
|
});
|
|
360
490
|
|
|
491
|
+
export const updateSourceBodyDefault = { name: 'Default Source', type: 'CALL' };
|
|
492
|
+
export const updateSourceBodyDescriptionDefault = 'No description provided';
|
|
493
|
+
export const updateSourceBodyDescriptionMax = 500;
|
|
494
|
+
export const updateSourceBodyNameDefault = 'New Source';
|
|
495
|
+
export const updateSourceBodyNameMin = 2;
|
|
496
|
+
|
|
497
|
+
export const updateSourceBodyNameMax = 100;
|
|
498
|
+
|
|
499
|
+
export const updateSourceBodyNameRegExp = /^[a-zA-Z0-9_\- ]+$/;
|
|
361
500
|
export const updateSourceBodyTypeDefault = 'TYPE_UNSPECIFIED';
|
|
362
501
|
|
|
363
|
-
export const updateSourceBody = zod
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
'
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
502
|
+
export const updateSourceBody = zod
|
|
503
|
+
.object({
|
|
504
|
+
description: zod
|
|
505
|
+
.string()
|
|
506
|
+
.max(updateSourceBodyDescriptionMax)
|
|
507
|
+
.default(updateSourceBodyDescriptionDefault)
|
|
508
|
+
.describe('A short description of the source'),
|
|
509
|
+
name: zod
|
|
510
|
+
.string()
|
|
511
|
+
.min(updateSourceBodyNameMin)
|
|
512
|
+
.max(updateSourceBodyNameMax)
|
|
513
|
+
.regex(updateSourceBodyNameRegExp)
|
|
514
|
+
.describe('The name of the source'),
|
|
515
|
+
type: zod
|
|
516
|
+
.enum([
|
|
517
|
+
'TYPE_UNSPECIFIED',
|
|
518
|
+
'CALL',
|
|
519
|
+
'CHAT',
|
|
520
|
+
'SOCIAL_MEDIA',
|
|
521
|
+
'EMAIL',
|
|
522
|
+
'API',
|
|
523
|
+
'MANUAL',
|
|
524
|
+
])
|
|
525
|
+
.describe(
|
|
526
|
+
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
527
|
+
),
|
|
528
|
+
})
|
|
529
|
+
.describe('The data structure representing a source');
|
|
384
530
|
|
|
531
|
+
export const updateSourceResponseDescriptionMax = 500;
|
|
532
|
+
export const updateSourceResponseNameMin = 3;
|
|
533
|
+
|
|
534
|
+
export const updateSourceResponseNameMax = 100;
|
|
535
|
+
|
|
536
|
+
export const updateSourceResponseNameRegExp = /^[a-zA-Z0-9_\-\s]+$/;
|
|
385
537
|
export const updateSourceResponseTypeDefault = 'TYPE_UNSPECIFIED';
|
|
386
538
|
|
|
387
539
|
export const updateSourceResponse = zod
|
|
388
540
|
.object({
|
|
389
|
-
createdAt: zod
|
|
390
|
-
|
|
391
|
-
.
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
description: zod
|
|
397
|
-
|
|
398
|
-
|
|
541
|
+
createdAt: zod
|
|
542
|
+
.string()
|
|
543
|
+
.describe('Unix timestamp representing when the source was created.'),
|
|
544
|
+
createdBy: zod.object({
|
|
545
|
+
id: zod.string().optional(),
|
|
546
|
+
name: zod.string().optional(),
|
|
547
|
+
}),
|
|
548
|
+
description: zod
|
|
549
|
+
.string()
|
|
550
|
+
.max(updateSourceResponseDescriptionMax)
|
|
551
|
+
.optional()
|
|
552
|
+
.describe("An optional longer explanation of the source's purpose."),
|
|
553
|
+
id: zod
|
|
554
|
+
.string()
|
|
555
|
+
.describe('Unique identifier for the source, generated automatically.'),
|
|
556
|
+
name: zod
|
|
557
|
+
.string()
|
|
558
|
+
.min(updateSourceResponseNameMin)
|
|
559
|
+
.max(updateSourceResponseNameMax)
|
|
560
|
+
.regex(updateSourceResponseNameRegExp)
|
|
561
|
+
.describe('A unique, descriptive name for the source.'),
|
|
399
562
|
type: zod
|
|
400
563
|
.enum([
|
|
401
564
|
'TYPE_UNSPECIFIED',
|
|
@@ -406,16 +569,15 @@ export const updateSourceResponse = zod
|
|
|
406
569
|
'API',
|
|
407
570
|
'MANUAL',
|
|
408
571
|
])
|
|
409
|
-
.default(updateSourceResponseTypeDefault)
|
|
410
572
|
.describe(
|
|
411
573
|
'Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.',
|
|
412
574
|
),
|
|
413
|
-
updatedAt: zod
|
|
414
|
-
|
|
415
|
-
.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
575
|
+
updatedAt: zod
|
|
576
|
+
.string()
|
|
577
|
+
.describe('Unix timestamp representing the most recent update.'),
|
|
578
|
+
updatedBy: zod.object({
|
|
579
|
+
id: zod.string().optional(),
|
|
580
|
+
name: zod.string().optional(),
|
|
581
|
+
}),
|
|
420
582
|
})
|
|
421
|
-
.describe('Represents a source
|
|
583
|
+
.describe('Represents a data source in the contact management system.');
|
package/types/gen/_models/{searchConfigObjectItem.d.ts → configServiceSearchConfigObjectItem.d.ts}
RENAMED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
8
|
-
export declare const
|
|
7
|
+
export type ConfigServiceSearchConfigObjectItem = (typeof ConfigServiceSearchConfigObjectItem)[keyof typeof ConfigServiceSearchConfigObjectItem];
|
|
8
|
+
export declare const ConfigServiceSearchConfigObjectItem: {
|
|
9
9
|
readonly cc_queue: "cc_queue";
|
|
10
10
|
readonly schema: "schema";
|
|
11
11
|
readonly users: "users";
|