kuzzle 2.49.1 → 2.50.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/check-node-version.js +11 -0
- package/dist/bin/copy-protobuf.js +17 -0
- package/dist/lib/api/controllers/adminController.d.ts +51 -0
- package/dist/lib/api/controllers/adminController.js +191 -0
- package/{lib → dist/lib}/api/controllers/authController.d.ts +20 -40
- package/{lib → dist/lib}/api/controllers/authController.js +23 -24
- package/dist/lib/api/controllers/bulkController.d.ts +46 -0
- package/dist/lib/api/controllers/bulkController.js +132 -0
- package/dist/lib/api/controllers/clusterController.d.ts +6 -0
- package/{lib → dist/lib}/api/controllers/clusterController.js +7 -11
- package/dist/lib/api/controllers/collectionController.d.ts +136 -0
- package/dist/lib/api/controllers/collectionController.js +356 -0
- package/dist/lib/api/controllers/documentController.d.ts +181 -0
- package/dist/lib/api/controllers/documentController.js +768 -0
- package/dist/lib/api/controllers/index.d.ts +12 -0
- package/{lib → dist/lib}/api/controllers/index.js +13 -14
- package/dist/lib/api/controllers/indexController.d.ts +65 -0
- package/dist/lib/api/controllers/indexController.js +139 -0
- package/dist/lib/api/controllers/memoryStorageController.d.ts +8 -0
- package/dist/lib/api/controllers/memoryStorageController.js +867 -0
- package/dist/lib/api/controllers/realtimeController.d.ts +47 -0
- package/dist/lib/api/controllers/realtimeController.js +128 -0
- package/dist/lib/api/controllers/securityController.d.ts +423 -0
- package/dist/lib/api/controllers/securityController.js +1139 -0
- package/dist/lib/api/controllers/serverController.d.ts +82 -0
- package/dist/lib/api/controllers/serverController.js +321 -0
- package/dist/lib/api/documentExtractor.d.ts +9 -0
- package/dist/lib/api/documentExtractor.js +274 -0
- package/dist/lib/api/funnel.d.ts +183 -0
- package/dist/lib/api/funnel.js +821 -0
- package/dist/lib/api/httpRoutes.d.ts +17 -0
- package/dist/lib/api/httpRoutes.js +1496 -0
- package/dist/lib/api/rateLimiter.d.ts +18 -0
- package/dist/lib/api/rateLimiter.js +74 -0
- package/{lib → dist/lib}/api/request/kuzzleRequest.d.ts +2 -2
- package/{lib → dist/lib}/api/request/requestContext.d.ts +2 -1
- package/dist/lib/cluster/command.d.ts +73 -0
- package/dist/lib/cluster/command.js +236 -0
- package/dist/lib/cluster/index.d.ts +2 -0
- package/{lib → dist/lib}/cluster/index.js +1 -2
- package/dist/lib/cluster/node.d.ts +278 -0
- package/dist/lib/cluster/node.js +876 -0
- package/dist/lib/cluster/publisher.d.ts +188 -0
- package/dist/lib/cluster/publisher.js +347 -0
- package/dist/lib/cluster/subscriber.d.ts +269 -0
- package/dist/lib/cluster/subscriber.js +555 -0
- package/dist/lib/cluster/workers/IDCardRenewer.d.ts +13 -0
- package/dist/lib/cluster/workers/IDCardRenewer.js +120 -0
- package/{lib → dist/lib}/config/documentEventAliases.d.ts +1 -2
- package/dist/lib/config/index.d.ts +5 -0
- package/dist/lib/config/index.js +244 -0
- package/dist/lib/config/sdkCompatibility.json +9 -0
- package/dist/lib/core/auth/formatProcessing.d.ts +30 -0
- package/dist/lib/core/auth/formatProcessing.js +55 -0
- package/dist/lib/core/auth/passportResponse.d.ts +15 -0
- package/{lib → dist/lib}/core/auth/passportResponse.js +24 -30
- package/dist/lib/core/auth/passportWrapper.d.ts +28 -0
- package/dist/lib/core/auth/passportWrapper.js +126 -0
- package/{lib → dist/lib}/core/backend/backendConfig.js +2 -2
- package/{lib → dist/lib}/core/backend/backendErrors.js +9 -12
- package/dist/lib/core/cache/cacheEngine.d.ts +15 -0
- package/dist/lib/core/cache/cacheEngine.js +205 -0
- package/dist/lib/core/network/accessLogger.d.ts +29 -0
- package/dist/lib/core/network/accessLogger.js +250 -0
- package/dist/lib/core/network/clientConnection.d.ts +15 -0
- package/{lib → dist/lib}/core/network/clientConnection.js +17 -24
- package/dist/lib/core/network/context.d.ts +42 -0
- package/dist/lib/core/network/context.js +57 -0
- package/dist/lib/core/network/entryPoint.d.ts +62 -0
- package/dist/lib/core/network/entryPoint.js +261 -0
- package/dist/lib/core/network/httpRouter/index.d.ts +85 -0
- package/dist/lib/core/network/httpRouter/index.js +258 -0
- package/dist/lib/core/network/httpRouter/routeHandler.d.ts +46 -0
- package/dist/lib/core/network/httpRouter/routeHandler.js +101 -0
- package/dist/lib/core/network/httpRouter/routePart.d.ts +35 -0
- package/dist/lib/core/network/httpRouter/routePart.js +117 -0
- package/dist/lib/core/network/protocolManifest.d.ts +6 -0
- package/{lib → dist/lib}/core/network/protocolManifest.js +5 -9
- package/dist/lib/core/network/protocols/httpMessage.d.ts +22 -0
- package/dist/lib/core/network/protocols/httpMessage.js +62 -0
- package/dist/lib/core/network/protocols/httpwsProtocol.d.ts +171 -0
- package/dist/lib/core/network/protocols/httpwsProtocol.js +921 -0
- package/dist/lib/core/network/protocols/internalProtocol.d.ts +27 -0
- package/dist/lib/core/network/protocols/internalProtocol.js +82 -0
- package/dist/lib/core/network/protocols/mqttProtocol.d.ts +39 -0
- package/dist/lib/core/network/protocols/mqttProtocol.js +219 -0
- package/dist/lib/core/network/protocols/protocol.d.ts +26 -0
- package/dist/lib/core/network/protocols/protocol.js +74 -0
- package/dist/lib/core/network/router.d.ts +49 -0
- package/dist/lib/core/network/router.js +193 -0
- package/dist/lib/core/plugin/plugin.d.ts +56 -0
- package/dist/lib/core/plugin/plugin.js +282 -0
- package/{lib → dist/lib}/core/plugin/pluginContext.js +2 -2
- package/dist/lib/core/plugin/pluginManifest.d.ts +5 -0
- package/{lib → dist/lib}/core/plugin/pluginManifest.js +16 -27
- package/dist/lib/core/plugin/pluginRepository.d.ts +53 -0
- package/dist/lib/core/plugin/pluginRepository.js +112 -0
- package/dist/lib/core/plugin/pluginsManager.d.ts +190 -0
- package/dist/lib/core/plugin/pluginsManager.js +817 -0
- package/dist/lib/core/plugin/privilegedContext.d.ts +14 -0
- package/{lib → dist/lib}/core/plugin/privilegedContext.js +10 -14
- package/dist/lib/core/realtime/actionEnum.d.ts +25 -0
- package/{lib → dist/lib}/core/realtime/actionEnum.js +7 -10
- package/dist/lib/core/realtime/index.d.ts +8 -0
- package/{lib → dist/lib}/core/realtime/index.js +9 -13
- package/dist/lib/core/realtime/notification/document.d.ts +34 -0
- package/dist/lib/core/realtime/notification/document.js +98 -0
- package/dist/lib/core/realtime/notification/index.d.ts +3 -0
- package/{lib → dist/lib}/core/realtime/notification/index.js +4 -5
- package/dist/lib/core/realtime/notification/server.d.ts +17 -0
- package/{lib → dist/lib}/core/realtime/notification/server.js +8 -10
- package/dist/lib/core/realtime/notification/user.d.ts +29 -0
- package/dist/lib/core/realtime/notification/user.js +66 -0
- package/dist/lib/core/realtime/notifier.d.ts +171 -0
- package/dist/lib/core/realtime/notifier.js +405 -0
- package/dist/lib/core/security/index.d.ts +14 -0
- package/{lib → dist/lib}/core/security/index.js +15 -19
- package/dist/lib/core/security/roleRepository.d.ts +143 -0
- package/dist/lib/core/security/roleRepository.js +445 -0
- package/dist/lib/core/security/securityLoader.d.ts +24 -0
- package/dist/lib/core/security/securityLoader.js +125 -0
- package/{lib → dist/lib}/core/security/tokenRepository.js +1 -1
- package/dist/lib/core/security/userRepository.d.ts +81 -0
- package/dist/lib/core/security/userRepository.js +346 -0
- package/dist/lib/core/shared/abstractManifest.d.ts +27 -0
- package/dist/lib/core/shared/abstractManifest.js +85 -0
- package/dist/lib/core/shared/sdk/impersonatedSdk.d.ts +7 -0
- package/dist/lib/core/shared/sdk/impersonatedSdk.js +80 -0
- package/{lib → dist/lib}/core/shared/store.d.ts +2 -2
- package/dist/lib/core/statistics/statistics.d.ts +94 -0
- package/dist/lib/core/statistics/statistics.js +287 -0
- package/dist/lib/core/storage/clientAdapter.d.ts +62 -0
- package/dist/lib/core/storage/clientAdapter.js +756 -0
- package/dist/lib/core/storage/storageEngine.d.ts +13 -0
- package/dist/lib/core/storage/storageEngine.js +52 -0
- package/dist/lib/core/validation/baseType.d.ts +35 -0
- package/dist/lib/core/validation/baseType.js +70 -0
- package/dist/lib/core/validation/types/anything.d.ts +10 -0
- package/{lib → dist/lib}/core/validation/types/anything.js +7 -10
- package/dist/lib/core/validation/types/boolean.d.ts +16 -0
- package/{lib → dist/lib}/core/validation/types/boolean.js +18 -23
- package/dist/lib/core/validation/types/date.d.ts +17 -0
- package/dist/lib/core/validation/types/date.js +215 -0
- package/dist/lib/core/validation/types/email.d.ts +17 -0
- package/dist/lib/core/validation/types/email.js +80 -0
- package/dist/lib/core/validation/types/enum.d.ts +17 -0
- package/dist/lib/core/validation/types/enum.js +70 -0
- package/dist/lib/core/validation/types/geoPoint.d.ts +17 -0
- package/{lib → dist/lib}/core/validation/types/geoPoint.js +19 -24
- package/dist/lib/core/validation/types/geoShape.d.ts +31 -0
- package/dist/lib/core/validation/types/geoShape.js +280 -0
- package/dist/lib/core/validation/types/integer.d.ts +7 -0
- package/{lib → dist/lib}/core/validation/types/integer.js +21 -27
- package/dist/lib/core/validation/types/ipAddress.d.ts +17 -0
- package/dist/lib/core/validation/types/ipAddress.js +73 -0
- package/dist/lib/core/validation/types/numeric.d.ts +17 -0
- package/dist/lib/core/validation/types/numeric.js +84 -0
- package/dist/lib/core/validation/types/object.d.ts +24 -0
- package/dist/lib/core/validation/types/object.js +74 -0
- package/dist/lib/core/validation/types/string.d.ts +17 -0
- package/dist/lib/core/validation/types/string.js +85 -0
- package/dist/lib/core/validation/types/url.d.ts +17 -0
- package/dist/lib/core/validation/types/url.js +73 -0
- package/dist/lib/core/validation/validation.d.ts +113 -0
- package/dist/lib/core/validation/validation.js +692 -0
- package/dist/lib/kerror/codes/0-core.json +194 -0
- package/dist/lib/kerror/codes/1-services.json +351 -0
- package/dist/lib/kerror/codes/2-api.json +195 -0
- package/dist/lib/kerror/codes/3-network.json +151 -0
- package/dist/lib/kerror/codes/4-plugin.json +498 -0
- package/dist/lib/kerror/codes/5-validation.json +158 -0
- package/dist/lib/kerror/codes/6-protocol.json +28 -0
- package/dist/lib/kerror/codes/7-security.json +283 -0
- package/dist/lib/kerror/codes/8-cluster.json +16 -0
- package/dist/lib/kerror/codes/index.d.ts +24 -0
- package/dist/lib/kerror/codes/index.js +140 -0
- package/{lib → dist/lib}/kerror/index.d.ts +5 -5
- package/{lib → dist/lib}/kuzzle/Logger.d.ts +6 -0
- package/{lib → dist/lib}/kuzzle/Logger.js +26 -5
- package/dist/lib/kuzzle/dumpGenerator.d.ts +14 -0
- package/dist/lib/kuzzle/dumpGenerator.js +180 -0
- package/dist/lib/kuzzle/event/pipeRunner.d.ts +30 -0
- package/dist/lib/kuzzle/event/pipeRunner.js +119 -0
- package/dist/lib/kuzzle/event/waterfall.d.ts +2 -0
- package/dist/lib/kuzzle/event/waterfall.js +90 -0
- package/dist/lib/kuzzle/internalIndexHandler.d.ts +186 -0
- package/dist/lib/kuzzle/internalIndexHandler.js +174 -0
- package/{lib → dist/lib}/kuzzle/kuzzle.d.ts +6 -7
- package/{lib → dist/lib}/kuzzle/kuzzle.js +5 -2
- package/dist/lib/kuzzle/kuzzleStateEnum.d.ts +20 -0
- package/{lib → dist/lib}/kuzzle/kuzzleStateEnum.js +5 -8
- package/dist/lib/kuzzle/vault.d.ts +2 -0
- package/dist/lib/kuzzle/vault.js +63 -0
- package/dist/lib/model/security/rights.d.ts +8 -0
- package/{lib → dist/lib}/model/security/rights.js +4 -8
- package/{lib → dist/lib}/model/security/role.d.ts +1 -1
- package/{lib → dist/lib}/model/security/user.d.ts +1 -0
- package/dist/lib/model/storage/apiKey.d.ts +49 -0
- package/dist/lib/model/storage/apiKey.js +126 -0
- package/dist/lib/model/storage/baseModel.d.ts +100 -0
- package/dist/lib/model/storage/baseModel.js +211 -0
- package/dist/lib/service/cache/redis.d.ts +74 -0
- package/dist/lib/service/cache/redis.js +237 -0
- package/dist/lib/service/service.d.ts +30 -0
- package/dist/lib/service/service.js +74 -0
- package/{lib → dist/lib}/service/storage/7/elasticsearch.d.ts +2 -2
- package/{lib → dist/lib}/service/storage/7/elasticsearch.js +23 -25
- package/dist/lib/service/storage/7/esWrapper.d.ts +19 -0
- package/dist/lib/service/storage/7/esWrapper.js +245 -0
- package/{lib → dist/lib}/service/storage/8/elasticsearch.js +23 -25
- package/dist/lib/service/storage/8/esWrapper.d.ts +19 -0
- package/dist/lib/service/storage/8/esWrapper.js +245 -0
- package/{lib → dist/lib}/types/Plugin.d.ts +1 -1
- package/{lib/types → dist/lib/types/controllers}/Controller.d.ts +2 -2
- package/{lib/types → dist/lib/types/controllers}/ControllerDefinition.d.ts +1 -1
- package/dist/lib/types/controllers/adminControlller.type.d.ts +5 -0
- package/dist/lib/types/controllers/adminControlller.type.js +3 -0
- package/dist/lib/types/controllers/authController.type.d.ts +5 -0
- package/dist/lib/types/controllers/authController.type.js +3 -0
- package/dist/lib/types/core/auth/formatProcessing.type.d.ts +7 -0
- package/dist/lib/types/core/auth/formatProcessing.type.js +3 -0
- package/{lib → dist/lib}/types/index.d.ts +3 -3
- package/{lib → dist/lib}/types/index.js +3 -3
- package/dist/lib/util/assertType.d.ts +41 -0
- package/{lib → dist/lib}/util/assertType.js +38 -56
- package/dist/lib/util/asyncStore.d.ts +38 -0
- package/dist/lib/util/asyncStore.js +70 -0
- package/dist/lib/util/bytes.d.ts +2 -0
- package/dist/lib/util/bytes.js +33 -0
- package/dist/lib/util/debug.d.ts +2 -0
- package/{lib → dist/lib}/util/debug.js +15 -23
- package/dist/lib/util/deprecate.d.ts +1 -0
- package/dist/lib/util/deprecate.js +64 -0
- package/dist/lib/util/didYouMean.d.ts +2 -0
- package/{lib → dist/lib}/util/didYouMean.js +9 -15
- package/dist/lib/util/extractFields.d.ts +17 -0
- package/{lib → dist/lib}/util/extractFields.js +18 -32
- package/dist/lib/util/memoize.d.ts +7 -0
- package/{lib → dist/lib}/util/memoize.js +14 -21
- package/dist/lib/util/promback.d.ts +13 -0
- package/dist/lib/util/promback.js +60 -0
- package/dist/lib/util/requestAssertions.d.ts +10 -0
- package/dist/lib/util/requestAssertions.js +143 -0
- package/dist/lib/util/safeObject.d.ts +3 -0
- package/{lib → dist/lib}/util/safeObject.js +7 -13
- package/dist/lib/util/stackTrace.d.ts +19 -0
- package/{lib → dist/lib}/util/stackTrace.js +35 -41
- package/dist/lib/util/wildcard.d.ts +1 -0
- package/{lib → dist/lib}/util/wildcard.js +21 -30
- package/dist/package.json +120 -0
- package/package.json +45 -58
- package/bin/start-kuzzle-server +0 -126
- package/check-node-version.js +0 -17
- package/lib/api/controllers/adminController.js +0 -229
- package/lib/api/controllers/bulkController.js +0 -210
- package/lib/api/controllers/collectionController.js +0 -502
- package/lib/api/controllers/documentController.js +0 -1156
- package/lib/api/controllers/indexController.js +0 -179
- package/lib/api/controllers/memoryStorageController.js +0 -1023
- package/lib/api/controllers/realtimeController.js +0 -155
- package/lib/api/controllers/securityController.js +0 -1571
- package/lib/api/controllers/serverController.js +0 -381
- package/lib/api/documentExtractor.js +0 -309
- package/lib/api/funnel.js +0 -1143
- package/lib/api/httpRoutes.js +0 -1547
- package/lib/api/rateLimiter.js +0 -87
- package/lib/cluster/command.js +0 -284
- package/lib/cluster/node.js +0 -1203
- package/lib/cluster/publisher.js +0 -386
- package/lib/cluster/subscriber.js +0 -776
- package/lib/cluster/workers/IDCardRenewer.js +0 -144
- package/lib/config/index.js +0 -351
- package/lib/config/sdkCompatibility.json +0 -9
- package/lib/core/auth/formatProcessing.js +0 -66
- package/lib/core/auth/passportWrapper.js +0 -126
- package/lib/core/cache/cacheEngine.js +0 -278
- package/lib/core/network/accessLogger.js +0 -322
- package/lib/core/network/context.js +0 -80
- package/lib/core/network/entryPoint.js +0 -358
- package/lib/core/network/httpRouter/index.js +0 -316
- package/lib/core/network/httpRouter/routeHandler.js +0 -111
- package/lib/core/network/httpRouter/routePart.js +0 -147
- package/lib/core/network/protocols/httpMessage.js +0 -69
- package/lib/core/network/protocols/httpwsProtocol.js +0 -1254
- package/lib/core/network/protocols/internalProtocol.js +0 -109
- package/lib/core/network/protocols/mqttProtocol.js +0 -291
- package/lib/core/network/protocols/protocol.js +0 -102
- package/lib/core/network/router.js +0 -255
- package/lib/core/plugin/plugin.js +0 -436
- package/lib/core/plugin/pluginRepository.js +0 -132
- package/lib/core/plugin/pluginsManager.js +0 -1244
- package/lib/core/realtime/notification/document.js +0 -108
- package/lib/core/realtime/notification/user.js +0 -70
- package/lib/core/realtime/notifier.js +0 -541
- package/lib/core/security/README.md +0 -223
- package/lib/core/security/roleRepository.js +0 -569
- package/lib/core/security/securityLoader.js +0 -174
- package/lib/core/security/userRepository.js +0 -446
- package/lib/core/shared/README.md +0 -3
- package/lib/core/shared/abstractManifest.js +0 -102
- package/lib/core/shared/sdk/impersonatedSdk.js +0 -94
- package/lib/core/statistics/index.js +0 -24
- package/lib/core/statistics/statistics.js +0 -373
- package/lib/core/storage/clientAdapter.js +0 -1045
- package/lib/core/storage/storageEngine.js +0 -63
- package/lib/core/validation/baseType.js +0 -80
- package/lib/core/validation/index.js +0 -24
- package/lib/core/validation/types/date.js +0 -284
- package/lib/core/validation/types/email.js +0 -92
- package/lib/core/validation/types/enum.js +0 -100
- package/lib/core/validation/types/geoShape.js +0 -370
- package/lib/core/validation/types/ipAddress.js +0 -83
- package/lib/core/validation/types/numeric.js +0 -108
- package/lib/core/validation/types/object.js +0 -88
- package/lib/core/validation/types/string.js +0 -110
- package/lib/core/validation/types/url.js +0 -83
- package/lib/core/validation/validation.js +0 -1180
- package/lib/kerror/codes/0-core.json +0 -194
- package/lib/kerror/codes/1-services.json +0 -351
- package/lib/kerror/codes/2-api.json +0 -195
- package/lib/kerror/codes/3-network.json +0 -151
- package/lib/kerror/codes/4-plugin.json +0 -498
- package/lib/kerror/codes/5-validation.json +0 -158
- package/lib/kerror/codes/6-protocol.json +0 -28
- package/lib/kerror/codes/7-security.json +0 -283
- package/lib/kerror/codes/8-cluster.json +0 -16
- package/lib/kerror/codes/index.js +0 -208
- package/lib/kuzzle/dumpGenerator.js +0 -259
- package/lib/kuzzle/event/pipeRunner.js +0 -144
- package/lib/kuzzle/event/waterfall.js +0 -101
- package/lib/kuzzle/internalIndexHandler.js +0 -234
- package/lib/kuzzle/vault.js +0 -89
- package/lib/model/storage/apiKey.js +0 -158
- package/lib/model/storage/baseModel.js +0 -275
- package/lib/service/cache/redis.js +0 -282
- package/lib/service/service.js +0 -84
- package/lib/service/storage/7/esWrapper.js +0 -303
- package/lib/service/storage/8/esWrapper.js +0 -303
- package/lib/util/asyncStore.js +0 -112
- package/lib/util/bytes.js +0 -36
- package/lib/util/deprecate.js +0 -82
- package/lib/util/promback.js +0 -66
- package/lib/util/readYamlFile.d.ts +0 -2
- package/lib/util/readYamlFile.js +0 -10
- package/lib/util/requestAssertions.js +0 -157
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{lib → dist/lib}/api/controllers/baseController.d.ts +0 -0
- /package/{lib → dist/lib}/api/controllers/baseController.js +0 -0
- /package/{lib → dist/lib}/api/controllers/debugController.d.ts +0 -0
- /package/{lib → dist/lib}/api/controllers/debugController.js +0 -0
- /package/{lib → dist/lib}/api/openapi/OpenApiManager.d.ts +0 -0
- /package/{lib → dist/lib}/api/openapi/OpenApiManager.js +0 -0
- /package/{lib → dist/lib}/api/openapi/index.d.ts +0 -0
- /package/{lib → dist/lib}/api/openapi/index.js +0 -0
- /package/{lib → dist/lib}/api/openapi/openApiGenerator.d.ts +0 -0
- /package/{lib → dist/lib}/api/openapi/openApiGenerator.js +0 -0
- /package/{lib → dist/lib}/api/request/index.d.ts +0 -0
- /package/{lib → dist/lib}/api/request/index.js +0 -0
- /package/{lib → dist/lib}/api/request/kuzzleRequest.js +0 -0
- /package/{lib → dist/lib}/api/request/requestContext.js +0 -0
- /package/{lib → dist/lib}/api/request/requestInput.d.ts +0 -0
- /package/{lib → dist/lib}/api/request/requestInput.js +0 -0
- /package/{lib → dist/lib}/api/request/requestResponse.d.ts +0 -0
- /package/{lib → dist/lib}/api/request/requestResponse.js +0 -0
- /package/{lib → dist/lib}/cluster/idCardHandler.d.ts +0 -0
- /package/{lib → dist/lib}/cluster/idCardHandler.js +0 -0
- /package/{lib → dist/lib}/cluster/protobuf/command.proto +0 -0
- /package/{lib → dist/lib}/cluster/protobuf/sync.proto +0 -0
- /package/{lib → dist/lib}/cluster/state.d.ts +0 -0
- /package/{lib → dist/lib}/cluster/state.js +0 -0
- /package/{lib → dist/lib}/config/default.config.d.ts +0 -0
- /package/{lib → dist/lib}/config/default.config.js +0 -0
- /package/{lib → dist/lib}/config/documentEventAliases.js +0 -0
- /package/{lib → dist/lib}/core/auth/tokenManager.d.ts +0 -0
- /package/{lib → dist/lib}/core/auth/tokenManager.js +0 -0
- /package/{lib → dist/lib}/core/backend/applicationManager.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/applicationManager.js +0 -0
- /package/{lib → dist/lib}/core/backend/backend.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backend.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendCluster.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendCluster.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendConfig.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendController.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendController.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendErrors.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendHook.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendHook.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendImport.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendImport.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendOpenApi.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendOpenApi.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendPipe.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendPipe.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendPlugin.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendPlugin.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendStorage.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendStorage.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendSubscription.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendSubscription.js +0 -0
- /package/{lib → dist/lib}/core/backend/backendVault.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/backendVault.js +0 -0
- /package/{lib → dist/lib}/core/backend/index.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/index.js +0 -0
- /package/{lib → dist/lib}/core/backend/internalLogger.d.ts +0 -0
- /package/{lib → dist/lib}/core/backend/internalLogger.js +0 -0
- /package/{lib → dist/lib}/core/cache/cacheDbEnum.d.ts +0 -0
- /package/{lib → dist/lib}/core/cache/cacheDbEnum.js +0 -0
- /package/{lib → dist/lib}/core/debug/kuzzleDebugger.d.ts +0 -0
- /package/{lib → dist/lib}/core/debug/kuzzleDebugger.js +0 -0
- /package/{lib → dist/lib}/core/plugin/pluginContext.d.ts +0 -0
- /package/{lib → dist/lib}/core/realtime/channel.d.ts +0 -0
- /package/{lib → dist/lib}/core/realtime/channel.js +0 -0
- /package/{lib → dist/lib}/core/realtime/connectionRooms.d.ts +0 -0
- /package/{lib → dist/lib}/core/realtime/connectionRooms.js +0 -0
- /package/{lib → dist/lib}/core/realtime/hotelClerk.d.ts +0 -0
- /package/{lib → dist/lib}/core/realtime/hotelClerk.js +0 -0
- /package/{lib → dist/lib}/core/realtime/room.d.ts +0 -0
- /package/{lib → dist/lib}/core/realtime/room.js +0 -0
- /package/{lib → dist/lib}/core/realtime/subscription.d.ts +0 -0
- /package/{lib → dist/lib}/core/realtime/subscription.js +0 -0
- /package/{lib → dist/lib}/core/security/profileRepository.d.ts +0 -0
- /package/{lib → dist/lib}/core/security/profileRepository.js +0 -0
- /package/{lib → dist/lib}/core/security/tokenRepository.d.ts +0 -0
- /package/{lib → dist/lib}/core/shared/KoncordeWrapper.d.ts +0 -0
- /package/{lib → dist/lib}/core/shared/KoncordeWrapper.js +0 -0
- /package/{lib → dist/lib}/core/shared/ObjectRepository.d.ts +0 -0
- /package/{lib → dist/lib}/core/shared/ObjectRepository.js +0 -0
- /package/{lib → dist/lib}/core/shared/sdk/embeddedSdk.d.ts +0 -0
- /package/{lib → dist/lib}/core/shared/sdk/embeddedSdk.js +0 -0
- /package/{lib → dist/lib}/core/shared/sdk/funnelProtocol.d.ts +0 -0
- /package/{lib → dist/lib}/core/shared/sdk/funnelProtocol.js +0 -0
- /package/{lib → dist/lib}/core/shared/store.js +0 -0
- /package/{lib → dist/lib}/core/storage/indexCache.d.ts +0 -0
- /package/{lib → dist/lib}/core/storage/indexCache.js +0 -0
- /package/{lib → dist/lib}/core/storage/storeScopeEnum.d.ts +0 -0
- /package/{lib → dist/lib}/core/storage/storeScopeEnum.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/badRequestError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/badRequestError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/externalServiceError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/externalServiceError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/forbiddenError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/forbiddenError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/gatewayTimeoutError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/gatewayTimeoutError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/index.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/index.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/internalError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/internalError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/kuzzleError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/kuzzleError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/multipleErrorsError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/multipleErrorsError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/notFoundError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/notFoundError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/partialError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/partialError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/pluginImplementationError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/pluginImplementationError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/preconditionError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/preconditionError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/serviceUnavailableError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/serviceUnavailableError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/sizeLimitError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/sizeLimitError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/tooManyRequestsError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/tooManyRequestsError.js +0 -0
- /package/{lib → dist/lib}/kerror/errors/unauthorizedError.d.ts +0 -0
- /package/{lib → dist/lib}/kerror/errors/unauthorizedError.js +0 -0
- /package/{lib → dist/lib}/kerror/index.js +0 -0
- /package/{lib → dist/lib}/kuzzle/event/KuzzleEventEmitter.d.ts +0 -0
- /package/{lib → dist/lib}/kuzzle/event/KuzzleEventEmitter.js +0 -0
- /package/{lib → dist/lib}/kuzzle/index.d.ts +0 -0
- /package/{lib → dist/lib}/kuzzle/index.js +0 -0
- /package/{lib → dist/lib}/model/security/profile.d.ts +0 -0
- /package/{lib → dist/lib}/model/security/profile.js +0 -0
- /package/{lib → dist/lib}/model/security/role.js +0 -0
- /package/{lib → dist/lib}/model/security/token.d.ts +0 -0
- /package/{lib → dist/lib}/model/security/token.js +0 -0
- /package/{lib → dist/lib}/model/security/user.js +0 -0
- /package/{lib → dist/lib}/service/storage/8/elasticsearch.d.ts +0 -0
- /package/{lib → dist/lib}/service/storage/Elasticsearch.d.ts +0 -0
- /package/{lib → dist/lib}/service/storage/Elasticsearch.js +0 -0
- /package/{lib → dist/lib}/service/storage/commons/queryTranslator.d.ts +0 -0
- /package/{lib → dist/lib}/service/storage/commons/queryTranslator.js +0 -0
- /package/{lib → dist/lib}/types/ClientConnection.d.ts +0 -0
- /package/{lib → dist/lib}/types/ClientConnection.js +0 -0
- /package/{lib → dist/lib}/types/Deprecation.d.ts +0 -0
- /package/{lib → dist/lib}/types/Deprecation.js +0 -0
- /package/{lib → dist/lib}/types/EventHandler.d.ts +0 -0
- /package/{lib → dist/lib}/types/EventHandler.js +0 -0
- /package/{lib → dist/lib}/types/Global.d.ts +0 -0
- /package/{lib → dist/lib}/types/Global.js +0 -0
- /package/{lib → dist/lib}/types/HttpMessage.d.ts +0 -0
- /package/{lib → dist/lib}/types/HttpMessage.js +0 -0
- /package/{lib → dist/lib}/types/HttpStream.d.ts +0 -0
- /package/{lib → dist/lib}/types/HttpStream.js +0 -0
- /package/{lib → dist/lib}/types/Kuzzle.d.ts +0 -0
- /package/{lib → dist/lib}/types/Kuzzle.js +0 -0
- /package/{lib → dist/lib}/types/KuzzleDocument.d.ts +0 -0
- /package/{lib → dist/lib}/types/KuzzleDocument.js +0 -0
- /package/{lib → dist/lib}/types/OpenApiDefinition.d.ts +0 -0
- /package/{lib → dist/lib}/types/OpenApiDefinition.js +0 -0
- /package/{lib → dist/lib}/types/PasswordPolicy.d.ts +0 -0
- /package/{lib → dist/lib}/types/PasswordPolicy.js +0 -0
- /package/{lib → dist/lib}/types/Plugin.js +0 -0
- /package/{lib → dist/lib}/types/PluginManifest.d.ts +0 -0
- /package/{lib → dist/lib}/types/PluginManifest.js +0 -0
- /package/{lib → dist/lib}/types/Policy.d.ts +0 -0
- /package/{lib → dist/lib}/types/Policy.js +0 -0
- /package/{lib → dist/lib}/types/PolicyRestrictions.d.ts +0 -0
- /package/{lib → dist/lib}/types/PolicyRestrictions.js +0 -0
- /package/{lib → dist/lib}/types/ProfileDefinition.d.ts +0 -0
- /package/{lib → dist/lib}/types/ProfileDefinition.js +0 -0
- /package/{lib → dist/lib}/types/RoleDefinition.d.ts +0 -0
- /package/{lib → dist/lib}/types/RoleDefinition.js +0 -0
- /package/{lib → dist/lib}/types/StrategyDefinition.d.ts +0 -0
- /package/{lib → dist/lib}/types/StrategyDefinition.js +0 -0
- /package/{lib → dist/lib}/types/Target.d.ts +0 -0
- /package/{lib → dist/lib}/types/Target.js +0 -0
- /package/{lib → dist/lib}/types/Token.d.ts +0 -0
- /package/{lib → dist/lib}/types/Token.js +0 -0
- /package/{lib → dist/lib}/types/User.d.ts +0 -0
- /package/{lib → dist/lib}/types/User.js +0 -0
- /package/{lib → dist/lib}/types/config/DumpConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/DumpConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/HttpConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/HttpConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/KuzzleConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/KuzzleConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/LimitsConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/LimitsConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/PluginsConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/PluginsConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/SecurityConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/SecurityConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/ServerConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/ServerConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/ServicesConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/ServicesConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/internalCache/InternalCacheRedisConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/internalCache/InternalCacheRedisConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/publicCache/PublicCacheRedisConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/publicCache/PublicCacheRedisConfiguration.js +0 -0
- /package/{lib → dist/lib}/types/config/storageEngine/StorageEngineElasticsearchConfiguration.d.ts +0 -0
- /package/{lib → dist/lib}/types/config/storageEngine/StorageEngineElasticsearchConfiguration.js +0 -0
- /package/{lib/types → dist/lib/types/controllers}/Controller.js +0 -0
- /package/{lib/types → dist/lib/types/controllers}/ControllerDefinition.js +0 -0
- /package/{lib/types → dist/lib/types/controllers}/ControllerRights.d.ts +0 -0
- /package/{lib/types → dist/lib/types/controllers}/ControllerRights.js +0 -0
- /package/{lib → dist/lib}/types/errors/ErrorDefinition.d.ts +0 -0
- /package/{lib → dist/lib}/types/errors/ErrorDefinition.js +0 -0
- /package/{lib → dist/lib}/types/errors/ErrorDomains.d.ts +0 -0
- /package/{lib → dist/lib}/types/errors/ErrorDomains.js +0 -0
- /package/{lib → dist/lib}/types/events/EventGenericDocument.d.ts +0 -0
- /package/{lib → dist/lib}/types/events/EventGenericDocument.js +0 -0
- /package/{lib → dist/lib}/types/events/EventProtocol.d.ts +0 -0
- /package/{lib → dist/lib}/types/events/EventProtocol.js +0 -0
- /package/{lib → dist/lib}/types/realtime/RealtimeScope.d.ts +0 -0
- /package/{lib → dist/lib}/types/realtime/RealtimeScope.js +0 -0
- /package/{lib → dist/lib}/types/realtime/RealtimeUsers.d.ts +0 -0
- /package/{lib → dist/lib}/types/realtime/RealtimeUsers.js +0 -0
- /package/{lib → dist/lib}/types/realtime/RoomList.d.ts +0 -0
- /package/{lib → dist/lib}/types/realtime/RoomList.js +0 -0
- /package/{lib → dist/lib}/types/shared/StoreCollectionsDefinition.d.ts +0 -0
- /package/{lib → dist/lib}/types/shared/StoreCollectionsDefinition.js +0 -0
- /package/{lib → dist/lib}/types/storage/7/Elasticsearch.d.ts +0 -0
- /package/{lib → dist/lib}/types/storage/7/Elasticsearch.js +0 -0
- /package/{lib → dist/lib}/types/storage/8/Elasticsearch.d.ts +0 -0
- /package/{lib → dist/lib}/types/storage/8/Elasticsearch.js +0 -0
- /package/{lib → dist/lib}/util/Inflector.d.ts +0 -0
- /package/{lib → dist/lib}/util/Inflector.js +0 -0
- /package/{lib → dist/lib}/util/array.d.ts +0 -0
- /package/{lib → dist/lib}/util/array.js +0 -0
- /package/{lib → dist/lib}/util/async.d.ts +0 -0
- /package/{lib → dist/lib}/util/async.js +0 -0
- /package/{lib → dist/lib}/util/bufferedPassThrough.d.ts +0 -0
- /package/{lib → dist/lib}/util/bufferedPassThrough.js +0 -0
- /package/{lib → dist/lib}/util/crypto.d.ts +0 -0
- /package/{lib → dist/lib}/util/crypto.js +0 -0
- /package/{lib → dist/lib}/util/dump-collection.d.ts +0 -0
- /package/{lib → dist/lib}/util/dump-collection.js +0 -0
- /package/{lib → dist/lib}/util/esRequest.d.ts +0 -0
- /package/{lib → dist/lib}/util/esRequest.js +0 -0
- /package/{lib → dist/lib}/util/koncordeCompat.d.ts +0 -0
- /package/{lib → dist/lib}/util/koncordeCompat.js +0 -0
- /package/{lib → dist/lib}/util/mutex.d.ts +0 -0
- /package/{lib → dist/lib}/util/mutex.js +0 -0
- /package/{lib → dist/lib}/util/name-generator.d.ts +0 -0
- /package/{lib → dist/lib}/util/name-generator.js +0 -0
- /package/{lib → dist/lib}/util/time.d.ts +0 -0
- /package/{lib → dist/lib}/util/time.js +0 -0
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"code": 0,
|
|
3
|
-
"subDomains": {
|
|
4
|
-
"fatal": {
|
|
5
|
-
"code": 0,
|
|
6
|
-
"errors": {
|
|
7
|
-
"unexpected_error": {
|
|
8
|
-
"description": "Caught an unexpected error. Please contact your support.",
|
|
9
|
-
"code": 1,
|
|
10
|
-
"message": "Caught an unexpected error: %s.",
|
|
11
|
-
"class": "InternalError"
|
|
12
|
-
},
|
|
13
|
-
"service_unavailable": {
|
|
14
|
-
"description": "An external service is unavailable",
|
|
15
|
-
"code": 2,
|
|
16
|
-
"message": "Service unavailable: %s.",
|
|
17
|
-
"class": "ExternalServiceError"
|
|
18
|
-
},
|
|
19
|
-
"service_timeout": {
|
|
20
|
-
"description": "Service initialization timeout",
|
|
21
|
-
"code": 3,
|
|
22
|
-
"message": "[FATAL] Service \"%s\": initialization timeout",
|
|
23
|
-
"class": "InternalError"
|
|
24
|
-
},
|
|
25
|
-
"unreadable_log_dir": {
|
|
26
|
-
"description": "Cannot read the content of the log directory",
|
|
27
|
-
"code": 4,
|
|
28
|
-
"message": "Cannot read log directory '%s' : %s.",
|
|
29
|
-
"class": "InternalError"
|
|
30
|
-
},
|
|
31
|
-
"assertion_failed": {
|
|
32
|
-
"description": "A runtime assertion has failed. Please contact support.",
|
|
33
|
-
"code": 5,
|
|
34
|
-
"message": "Runtime assertion failed: %s",
|
|
35
|
-
"class": "InternalError"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"realtime": {
|
|
40
|
-
"code": 1,
|
|
41
|
-
"errors": {
|
|
42
|
-
"room_not_found": {
|
|
43
|
-
"description": "The provided room identifier doesn't exist",
|
|
44
|
-
"code": 1,
|
|
45
|
-
"message": "The room \"%s\" doesn't exist",
|
|
46
|
-
"class": "NotFoundError"
|
|
47
|
-
},
|
|
48
|
-
"invalid_rooms": {
|
|
49
|
-
"description": "The provided \"rooms\" argument is invalid",
|
|
50
|
-
"code": 2,
|
|
51
|
-
"message": "The \"rooms\" attribute must be an array.",
|
|
52
|
-
"class": "BadRequestError"
|
|
53
|
-
},
|
|
54
|
-
"invalid_state": {
|
|
55
|
-
"description": "An invalid value has been provided to the \"state\" argument",
|
|
56
|
-
"code": 3,
|
|
57
|
-
"message": "Invalid value for the \"state\" parameter (allowed: \"all\", \"done\", \"pending\").",
|
|
58
|
-
"class": "BadRequestError",
|
|
59
|
-
"deprecated": "2.0.0"
|
|
60
|
-
},
|
|
61
|
-
"invalid_scope": {
|
|
62
|
-
"description": "An invalid value has been provided to the \"scope\" argument",
|
|
63
|
-
"code": 4,
|
|
64
|
-
"message": "Invalid value for the \"scope\" parameter (allowed: \"all\", \"in\", \"out\", \"none\").",
|
|
65
|
-
"class": "BadRequestError"
|
|
66
|
-
},
|
|
67
|
-
"invalid_users": {
|
|
68
|
-
"description": "An invalid value has been provided to the \"users\" argument",
|
|
69
|
-
"code": 5,
|
|
70
|
-
"message": "Invalid value for the \"users\" parameter (allowed: \"all\", \"in\", \"out\", \"none\").",
|
|
71
|
-
"class": "BadRequestError"
|
|
72
|
-
},
|
|
73
|
-
"too_many_terms": {
|
|
74
|
-
"description": "The number of filter terms exceeds the configured server limit",
|
|
75
|
-
"code": 6,
|
|
76
|
-
"message": "Unable to subscribe: maximum number of terms exceeded (max %s, received %s).",
|
|
77
|
-
"class": "SizeLimitError",
|
|
78
|
-
"deprecated": "2.12.3"
|
|
79
|
-
},
|
|
80
|
-
"too_many_rooms": {
|
|
81
|
-
"description": "The configured number of unique rooms has been reached",
|
|
82
|
-
"code": 7,
|
|
83
|
-
"message": "Unable to subscribe: maximum number of unique rooms reached.",
|
|
84
|
-
"class": "SizeLimitError"
|
|
85
|
-
},
|
|
86
|
-
"not_subscribed": {
|
|
87
|
-
"description": "Tried to manage a room while not having subscribed to it",
|
|
88
|
-
"code": 8,
|
|
89
|
-
"message": "User \"%s\" has not subscribed to \"%s\".",
|
|
90
|
-
"class": "PreconditionError"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"vault": {
|
|
95
|
-
"code": 2,
|
|
96
|
-
"errors": {
|
|
97
|
-
"cannot_decrypt": {
|
|
98
|
-
"description": "Decryption of a vault file failed",
|
|
99
|
-
"code": 1,
|
|
100
|
-
"message": "Cannot decrypt secrets: %s.",
|
|
101
|
-
"class": "InternalError"
|
|
102
|
-
},
|
|
103
|
-
"key_not_found": {
|
|
104
|
-
"description": "A vault file has been provided without a vault key",
|
|
105
|
-
"code": 2,
|
|
106
|
-
"message": "Cannot find vault key. Aborting.",
|
|
107
|
-
"class": "InternalError"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"configuration": {
|
|
112
|
-
"code": 3,
|
|
113
|
-
"errors": {
|
|
114
|
-
"invalid_type": {
|
|
115
|
-
"description": "Wrong configuration parameter type",
|
|
116
|
-
"code": 1,
|
|
117
|
-
"message": "Invalid type for the configuration parameter \"%s\" (expected: %s)",
|
|
118
|
-
"class": "InternalError"
|
|
119
|
-
},
|
|
120
|
-
"out_of_range": {
|
|
121
|
-
"description": "A configuration value exceeds the allowed range",
|
|
122
|
-
"code": 2,
|
|
123
|
-
"message": "The configuration value set for \"%s\" is outside the allowed range (allowed: %s)",
|
|
124
|
-
"class": "InternalError"
|
|
125
|
-
},
|
|
126
|
-
"cannot_parse": {
|
|
127
|
-
"description": "The kuzzlerc configuration file is badly formatted.",
|
|
128
|
-
"code": 3,
|
|
129
|
-
"message": "Unable to read kuzzlerc configuration file: %s",
|
|
130
|
-
"class": "InternalError"
|
|
131
|
-
},
|
|
132
|
-
"incompatible": {
|
|
133
|
-
"description": "The kuzzlerc configuration file has incompatible configurations",
|
|
134
|
-
"code": 4,
|
|
135
|
-
"message": "Incompatible configuration: %s",
|
|
136
|
-
"class": "InternalError"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"sandbox": {
|
|
141
|
-
"code": 4,
|
|
142
|
-
"deprecated": "2.0.0",
|
|
143
|
-
"errors": {
|
|
144
|
-
"process_already_running": {
|
|
145
|
-
"description": "A process is already running for this sandbox",
|
|
146
|
-
"code": 1,
|
|
147
|
-
"message": "A process is already running for this sandbox",
|
|
148
|
-
"class": "InternalError"
|
|
149
|
-
},
|
|
150
|
-
"timeout": {
|
|
151
|
-
"description": "Sandbox execution timed out",
|
|
152
|
-
"code": 2,
|
|
153
|
-
"message": "Timeout. The sandbox did not respond within %sms.",
|
|
154
|
-
"class": "GatewayTimeoutError"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"debugger": {
|
|
159
|
-
"code": 5,
|
|
160
|
-
"errors": {
|
|
161
|
-
"not_enabled": {
|
|
162
|
-
"description": "The debugger is not enabled",
|
|
163
|
-
"code": 1,
|
|
164
|
-
"message": "Debugger is not enabled",
|
|
165
|
-
"class": "PreconditionError"
|
|
166
|
-
},
|
|
167
|
-
"monitor_already_running": {
|
|
168
|
-
"description": "The monitor is already running",
|
|
169
|
-
"code": 2,
|
|
170
|
-
"message": "The monitoring of \"%s\" is already running",
|
|
171
|
-
"class": "PreconditionError"
|
|
172
|
-
},
|
|
173
|
-
"monitor_not_running": {
|
|
174
|
-
"description": "The monitor is not running",
|
|
175
|
-
"code": 3,
|
|
176
|
-
"message": "The monitoring of \"%s\" is not running",
|
|
177
|
-
"class": "PreconditionError"
|
|
178
|
-
},
|
|
179
|
-
"native_debug_protocol_usage_denied": {
|
|
180
|
-
"description": "Usage of the native debug protocol is not allowed",
|
|
181
|
-
"code": 4,
|
|
182
|
-
"message": "Usage of the native debug protocol is not allowed",
|
|
183
|
-
"class": "PreconditionError"
|
|
184
|
-
},
|
|
185
|
-
"method_not_found": {
|
|
186
|
-
"description": "Debugger method not found",
|
|
187
|
-
"code": 5,
|
|
188
|
-
"message": "Debugger method \"%s\" not found.",
|
|
189
|
-
"class": "PreconditionError"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"code": 1,
|
|
3
|
-
"subDomains": {
|
|
4
|
-
"storage": {
|
|
5
|
-
"code": 1,
|
|
6
|
-
"errors": {
|
|
7
|
-
"unknown_index": {
|
|
8
|
-
"description": "The provided data index does not exist",
|
|
9
|
-
"code": 1,
|
|
10
|
-
"message": "The index \"%s\" does not exist.",
|
|
11
|
-
"class": "PreconditionError"
|
|
12
|
-
},
|
|
13
|
-
"unknown_collection": {
|
|
14
|
-
"description": "The provided data collection does not exist",
|
|
15
|
-
"code": 2,
|
|
16
|
-
"message": "The collection \"%s\":\"%s\" does not exist.",
|
|
17
|
-
"class": "PreconditionError"
|
|
18
|
-
},
|
|
19
|
-
"get_limit_exceeded": {
|
|
20
|
-
"description": "The number of documents returned by this request exceeds the configured server limit",
|
|
21
|
-
"code": 3,
|
|
22
|
-
"message": "The number of documents returned by this request exceeds the configured server limit.",
|
|
23
|
-
"class": "SizeLimitError"
|
|
24
|
-
},
|
|
25
|
-
"write_limit_exceeded": {
|
|
26
|
-
"description": "The number of documents edited by this request exceeds the configured server limit",
|
|
27
|
-
"code": 4,
|
|
28
|
-
"message": "The number of documents edited by this request exceeds the configured server limit.",
|
|
29
|
-
"class": "SizeLimitError"
|
|
30
|
-
},
|
|
31
|
-
"import_failed": {
|
|
32
|
-
"description": "Failed to import some or all documents",
|
|
33
|
-
"code": 5,
|
|
34
|
-
"message": "Failed to import some or all documents.",
|
|
35
|
-
"class": "PartialError"
|
|
36
|
-
},
|
|
37
|
-
"no_multi_indexes": {
|
|
38
|
-
"description": "Cannot be run on multiple indexes",
|
|
39
|
-
"code": 6,
|
|
40
|
-
"message": "Cannot be run on multiple indexes.",
|
|
41
|
-
"class": "BadRequestError"
|
|
42
|
-
},
|
|
43
|
-
"no_multi_collections": {
|
|
44
|
-
"description": "Cannot be run on multiple collections",
|
|
45
|
-
"code": 7,
|
|
46
|
-
"message": "Cannot be run on multiple collections.",
|
|
47
|
-
"class": "BadRequestError"
|
|
48
|
-
},
|
|
49
|
-
"incomplete_delete": {
|
|
50
|
-
"description": "Couldn't delete all the requested documents",
|
|
51
|
-
"code": 9,
|
|
52
|
-
"message": "Couldn't delete all the requested documents: %s",
|
|
53
|
-
"class": "PartialError"
|
|
54
|
-
},
|
|
55
|
-
"not_found": {
|
|
56
|
-
"description": "Document not found",
|
|
57
|
-
"code": 11,
|
|
58
|
-
"message": "Document \"%s\" not found in \"%s\":\"%s\".",
|
|
59
|
-
"class": "NotFoundError"
|
|
60
|
-
},
|
|
61
|
-
"bootstrap_timeout": {
|
|
62
|
-
"description": "Bootstrap of a storage instance failed because it has been locked for too much time",
|
|
63
|
-
"code": 12,
|
|
64
|
-
"message": "%s: bootstrap failed - lock wait timeout exceeded.",
|
|
65
|
-
"class": "InternalError"
|
|
66
|
-
},
|
|
67
|
-
"version_mismatch": {
|
|
68
|
-
"description": "The version of the target Elasticsearch is not compatible with this version of Kuzzle",
|
|
69
|
-
"code": 13,
|
|
70
|
-
"message": "Your elasticsearch version is %s: this version is not compatible with this version of Kuzzle",
|
|
71
|
-
"class": "InternalError"
|
|
72
|
-
},
|
|
73
|
-
"unknown_scroll_id": {
|
|
74
|
-
"description": "The scroll identifier does not exist or has expired",
|
|
75
|
-
"code": 14,
|
|
76
|
-
"message": "Non-existing or expired scroll identifier.",
|
|
77
|
-
"class": "NotFoundError"
|
|
78
|
-
},
|
|
79
|
-
"search_as_an_id": {
|
|
80
|
-
"description": "Used \"_search\" as a document identifier, which conflicts with the _search HTTP route",
|
|
81
|
-
"code": 15,
|
|
82
|
-
"message": "_search is not a valid document identifier",
|
|
83
|
-
"class": "BadRequestError"
|
|
84
|
-
},
|
|
85
|
-
"unknown_index_collection": {
|
|
86
|
-
"description": "The provided index and/or collection doesn't exist",
|
|
87
|
-
"code": 16,
|
|
88
|
-
"message": "The provided index and/or collection doesn't exist.",
|
|
89
|
-
"class": "PreconditionError"
|
|
90
|
-
},
|
|
91
|
-
"document_already_exists": {
|
|
92
|
-
"description": "A document with the same identifier already exists",
|
|
93
|
-
"code": 17,
|
|
94
|
-
"message": "Document already exists.",
|
|
95
|
-
"class": "BadRequestError"
|
|
96
|
-
},
|
|
97
|
-
"missing_argument": {
|
|
98
|
-
"description": "A required argument is missing or is empty",
|
|
99
|
-
"code": 18,
|
|
100
|
-
"message": "Required argument \"%s\" is missing or is empty",
|
|
101
|
-
"class": "BadRequestError"
|
|
102
|
-
},
|
|
103
|
-
"invalid_argument": {
|
|
104
|
-
"description": "Invalid argument provided",
|
|
105
|
-
"code": 19,
|
|
106
|
-
"message": "Argument \"%s\" is invalid (expected: %s)",
|
|
107
|
-
"class": "BadRequestError"
|
|
108
|
-
},
|
|
109
|
-
"index_protected": {
|
|
110
|
-
"description": "The content of a protected index cannot be modified with generic API routes",
|
|
111
|
-
"code": 20,
|
|
112
|
-
"message": "Index '%s' is protected, use the appropriated routes instead.",
|
|
113
|
-
"class": "BadRequestError",
|
|
114
|
-
"deprecated": "2.5.0"
|
|
115
|
-
},
|
|
116
|
-
"invalid_mapping": {
|
|
117
|
-
"description": "The provided mapping is invalid",
|
|
118
|
-
"code": 21,
|
|
119
|
-
"message": "Invalid mapping property \"mappings.%s\".%s",
|
|
120
|
-
"class": "BadRequestError"
|
|
121
|
-
},
|
|
122
|
-
"collection_reserved": {
|
|
123
|
-
"description": "Collections cannot be named \"_kuzzle_keep\" because it is reserved for internal use.",
|
|
124
|
-
"code": 22,
|
|
125
|
-
"message": "Invalid collection name. \"%s\" is reserved for internal usage.",
|
|
126
|
-
"class": "BadRequestError"
|
|
127
|
-
},
|
|
128
|
-
"no_routing": {
|
|
129
|
-
"description": "The \"_routing\" keyword is forbidden",
|
|
130
|
-
"code": 23,
|
|
131
|
-
"message": "The \"_routing\" keyword is forbidden.",
|
|
132
|
-
"class": "BadRequestError"
|
|
133
|
-
},
|
|
134
|
-
"not_connected": {
|
|
135
|
-
"description": "Unable to connect to the storage instance",
|
|
136
|
-
"code": 24,
|
|
137
|
-
"message": "Elasticsearch service is not connected.",
|
|
138
|
-
"class": "ExternalServiceError"
|
|
139
|
-
},
|
|
140
|
-
"too_many_operations": {
|
|
141
|
-
"description": "Too many operations received",
|
|
142
|
-
"code": 25,
|
|
143
|
-
"message": "\"%s\" threads buffer exceeded. Too many operations received at once.",
|
|
144
|
-
"class": "ExternalServiceError"
|
|
145
|
-
},
|
|
146
|
-
"cannot_change_mapping": {
|
|
147
|
-
"description": "Cannot change the mapping of a field (once set, a field mapping cannot be changed)",
|
|
148
|
-
"code": 26,
|
|
149
|
-
"message": "Field \"%s\" already has a mapping, and it cannot be changed",
|
|
150
|
-
"class": "BadRequestError"
|
|
151
|
-
},
|
|
152
|
-
"duplicate_field_mapping": {
|
|
153
|
-
"description": "A same field cannot have different mappings within the same index (fields are shared to all of an index collections)",
|
|
154
|
-
"code": 27,
|
|
155
|
-
"message": "Cannot set mapping for field \"%s\" on collection \"%s\" because this field name is already used in another collection, with a different type.",
|
|
156
|
-
"class": "BadRequestError"
|
|
157
|
-
},
|
|
158
|
-
"unexpected_properties": {
|
|
159
|
-
"description": "Unexpected properties found",
|
|
160
|
-
"code": 28,
|
|
161
|
-
"message": "Property \"%s\" is not supported for field \"%s\".",
|
|
162
|
-
"class": "BadRequestError"
|
|
163
|
-
},
|
|
164
|
-
"invalid_mapping_type": {
|
|
165
|
-
"description": "Unrecognized mapping data type",
|
|
166
|
-
"code": 29,
|
|
167
|
-
"message": "Field \"%s\": the data type \"%s\" doesn't exist",
|
|
168
|
-
"class": "BadRequestError"
|
|
169
|
-
},
|
|
170
|
-
"wrong_mapping_property": {
|
|
171
|
-
"description": "A mapping property cannot be parsed",
|
|
172
|
-
"code": 30,
|
|
173
|
-
"message": "Cannot parse mapping property \"%s\"",
|
|
174
|
-
"class": "BadRequestError"
|
|
175
|
-
},
|
|
176
|
-
"invalid_mapping_argument": {
|
|
177
|
-
"description": "Invalid mapping property",
|
|
178
|
-
"code": 31,
|
|
179
|
-
"message": "Field \"%s\": invalid mapping property \"%s\".",
|
|
180
|
-
"class": "BadRequestError"
|
|
181
|
-
},
|
|
182
|
-
"too_many_changes": {
|
|
183
|
-
"description": "Too many changes occured on the same resource in a small amount of time. Try with the \"retryOnConflict\" option",
|
|
184
|
-
"code": 32,
|
|
185
|
-
"message": "Unable to modify document \"%s\": cluster sync failed (too many simultaneous changes applied)",
|
|
186
|
-
"class": "ExternalServiceError"
|
|
187
|
-
},
|
|
188
|
-
"unexpected_bad_request": {
|
|
189
|
-
"description": "Embeds an unexpected bad request error from Elasticsearch",
|
|
190
|
-
"code": 33,
|
|
191
|
-
"message": "%s",
|
|
192
|
-
"class": "BadRequestError"
|
|
193
|
-
},
|
|
194
|
-
"unexpected_not_found": {
|
|
195
|
-
"description": "Embeds an unexpected notfound error from Elasticsearch",
|
|
196
|
-
"code": 34,
|
|
197
|
-
"message": "%s",
|
|
198
|
-
"class": "NotFoundError"
|
|
199
|
-
},
|
|
200
|
-
"unexpected_error": {
|
|
201
|
-
"description": "Embeds an unexpected error from Elasticsearch",
|
|
202
|
-
"code": 35,
|
|
203
|
-
"message": "%s",
|
|
204
|
-
"class": "ExternalServiceError"
|
|
205
|
-
},
|
|
206
|
-
"no_mapping_found": {
|
|
207
|
-
"description": "Attempted to read a non-existent mapping",
|
|
208
|
-
"code": 37,
|
|
209
|
-
"message": "No mapping found for index \"%s\".",
|
|
210
|
-
"class": "NotFoundError"
|
|
211
|
-
},
|
|
212
|
-
"index_already_exists": {
|
|
213
|
-
"description": "Attempted to create an already existing index",
|
|
214
|
-
"code": 38,
|
|
215
|
-
"message": "A %s index named \"%s\" already exists",
|
|
216
|
-
"class": "PreconditionError"
|
|
217
|
-
},
|
|
218
|
-
"forbidden_character": {
|
|
219
|
-
"description": "An index or a collection name contains a forbidden character",
|
|
220
|
-
"code": 39,
|
|
221
|
-
"message": "An index or a collection name cannot contain the character \"%s\"",
|
|
222
|
-
"class": "BadRequestError",
|
|
223
|
-
"deprecated": "2.0.1"
|
|
224
|
-
},
|
|
225
|
-
"invalid_search_query": {
|
|
226
|
-
"description": "A forbidden argument has been provided in the search query",
|
|
227
|
-
"code": 40,
|
|
228
|
-
"message": "The argument \"%s\" is not allowed at this level of a search query.",
|
|
229
|
-
"class": "BadRequestError"
|
|
230
|
-
},
|
|
231
|
-
"invalid_index_name": {
|
|
232
|
-
"description": "A provided index name is invalid",
|
|
233
|
-
"code": 41,
|
|
234
|
-
"message": "The index name \"%s\" is invalid",
|
|
235
|
-
"class": "BadRequestError"
|
|
236
|
-
},
|
|
237
|
-
"invalid_collection_name": {
|
|
238
|
-
"description": "A provided collection name is invalid",
|
|
239
|
-
"code": 42,
|
|
240
|
-
"message": "The collection name \"%s\" is invalid",
|
|
241
|
-
"class": "BadRequestError"
|
|
242
|
-
},
|
|
243
|
-
"strict_mapping_rejection": {
|
|
244
|
-
"description": "Document rejected because it contains a field that is not declared in the strict mapping.",
|
|
245
|
-
"code": 43,
|
|
246
|
-
"message": "Cannot create document. Field \"%s\" is not present in collection \"%s:%s\" strict mapping",
|
|
247
|
-
"class": "BadRequestError"
|
|
248
|
-
},
|
|
249
|
-
"scroll_duration_too_great": {
|
|
250
|
-
"description": "The scroll duration exceed the configured maxium value. (See config.services.storageEngine.maxScrollDuration)",
|
|
251
|
-
"code": 44,
|
|
252
|
-
"message": "Scroll duration \"%s\" is too great.",
|
|
253
|
-
"class": "BadRequestError"
|
|
254
|
-
},
|
|
255
|
-
"unknown_query_keyword": {
|
|
256
|
-
"description": "An unknown keyword has been provided in the search query",
|
|
257
|
-
"code": 45,
|
|
258
|
-
"message": "The keyword \"%s\" is not part of Elasticsearch Query DSL. Are you trying to use a Koncorde query?",
|
|
259
|
-
"class": "BadRequestError"
|
|
260
|
-
},
|
|
261
|
-
"incomplete_update": {
|
|
262
|
-
"description": "Couldn't update all the requested documents",
|
|
263
|
-
"code": 46,
|
|
264
|
-
"message": "%s documents were successfully updated before an error occured",
|
|
265
|
-
"class": "MultipleErrorsError"
|
|
266
|
-
},
|
|
267
|
-
"invalid_query_keyword": {
|
|
268
|
-
"description": "A forbidden keyword has been provided in the query",
|
|
269
|
-
"code": 47,
|
|
270
|
-
"message": "The \"%s\" keyword is not allowed in this query.",
|
|
271
|
-
"class": "BadRequestError"
|
|
272
|
-
},
|
|
273
|
-
"multiple_indice_alias": {
|
|
274
|
-
"description": "The unique association between an indice and its alias has not been respected",
|
|
275
|
-
"code": 48,
|
|
276
|
-
"message": "An %s is not allowed to be associated with multiple %s. This is probably not linked to this request but rather the consequence of previous actions on ElasticSearch.",
|
|
277
|
-
"class": "PreconditionError"
|
|
278
|
-
},
|
|
279
|
-
"invalid_multi_index_collection_usage": {
|
|
280
|
-
"description": "Searches on multiple collections should be achieved with the \"targets\" argument who contains list of indexes and collections to search within.",
|
|
281
|
-
"message": "Searches on multiple collections should be achieved with the \"targets\" argument who contains list of indexes and collections to search within.",
|
|
282
|
-
"code": 49,
|
|
283
|
-
"class": "BadRequestError"
|
|
284
|
-
},
|
|
285
|
-
"invalid_target_format": {
|
|
286
|
-
"description": "When a target index or collections contains invalid characters used for multi index search or \"_all\"",
|
|
287
|
-
"message": "The %s (\"%s\") contains invalid characters \",+*\" or is equal to \"_all\" which is forbidden",
|
|
288
|
-
"code": 50,
|
|
289
|
-
"class": "BadRequestError"
|
|
290
|
-
},
|
|
291
|
-
"wrong_es_static_settings_for_collection_recreation": {
|
|
292
|
-
"description": "The ES static settings specified at the creation of an existing collection does not match existing settings",
|
|
293
|
-
"message": "Attempt to recreate an existing collection %s of index %s of scope %s with non matching static setting : %s at %s while existing one is at %s",
|
|
294
|
-
"code": 51,
|
|
295
|
-
"class": "BadRequestError"
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
"cache": {
|
|
300
|
-
"code": 3,
|
|
301
|
-
"errors": {
|
|
302
|
-
"database_not_found": {
|
|
303
|
-
"description": "Unknown cache database name",
|
|
304
|
-
"code": 1,
|
|
305
|
-
"message": "Cache database \"%s\" not found.",
|
|
306
|
-
"class": "NotFoundError"
|
|
307
|
-
},
|
|
308
|
-
"read_failed": {
|
|
309
|
-
"description": "An attempt to read from the cache failed",
|
|
310
|
-
"code": 2,
|
|
311
|
-
"message": "Cache read fail: %s",
|
|
312
|
-
"class": "InternalError"
|
|
313
|
-
},
|
|
314
|
-
"not_connected": {
|
|
315
|
-
"description": "Unable to connect to the cache server",
|
|
316
|
-
"code": 3,
|
|
317
|
-
"message": "Unable to connect to the cache server.",
|
|
318
|
-
"class": "ServiceUnavailableError"
|
|
319
|
-
},
|
|
320
|
-
"write_failed": {
|
|
321
|
-
"description": "An attempt to write to the cache failed",
|
|
322
|
-
"code": 4,
|
|
323
|
-
"message": "Cache write fail: %s",
|
|
324
|
-
"class": "InternalError"
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
"statistics": {
|
|
329
|
-
"code": 4,
|
|
330
|
-
"errors": {
|
|
331
|
-
"not_available": {
|
|
332
|
-
"description": "The statistics module is not enabled. See \"config.stats.enabled\".",
|
|
333
|
-
"code": 1,
|
|
334
|
-
"message": "Statistics module is not available.",
|
|
335
|
-
"class": "InternalError"
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
"koncorde": {
|
|
340
|
-
"code": 5,
|
|
341
|
-
"errors": {
|
|
342
|
-
"elastic_translation_error": {
|
|
343
|
-
"description": "An error occured while translating a Koncorde filter to an Elasticsearch query",
|
|
344
|
-
"code": 1,
|
|
345
|
-
"message": "An error occured while translating a Koncorde filter to an Elasticsearch query: %s",
|
|
346
|
-
"class": "BadRequestError"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|