From be1d2c5112515b0e0aa31e70ac0435d3f7f3a92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kleinb=C3=B6lting?= Date: Thu, 23 May 2024 15:19:46 +0200 Subject: [PATCH] feat!: Send X-Asset-Ingested header for update/create of value and resources (DEV-2628) (#639) * feat: Send X-Asset-Ingested header for update value and create resource * fix test --- package-lock.json | 175 ++++------------- src/api/v2/resource/resources-endpoint-v2.ts | 2 +- src/api/v2/values/values-endpoint-v2.ts | 4 +- src/api/v2/values/values-endpoint.spec.ts | 190 +++++++++++++++---- 4 files changed, 190 insertions(+), 181 deletions(-) diff --git a/package-lock.json b/package-lock.json index ce6c6a545..e370b84ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz", "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==", - "dev": true, "dependencies": { "@babel/highlight": "^7.23.4", "chalk": "^2.4.2" @@ -61,7 +60,6 @@ "version": "7.10.2", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz", "integrity": "sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.10.1", "@babel/generator": "^7.10.2", @@ -88,7 +86,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, "dependencies": { "ms": "^2.1.1" } @@ -96,14 +93,12 @@ "node_modules/@babel/core/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/@babel/core/node_modules/source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -112,7 +107,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", - "dev": true, "dependencies": { "@babel/types": "^7.23.4", "@jridgewell/gen-mapping": "^0.3.2", @@ -152,7 +146,6 @@ "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -161,7 +154,6 @@ "version": "7.23.0", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, "dependencies": { "@babel/template": "^7.22.15", "@babel/types": "^7.23.0" @@ -174,7 +166,6 @@ "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, "dependencies": { "@babel/types": "^7.22.5" }, @@ -186,7 +177,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz", "integrity": "sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g==", - "dev": true, "dependencies": { "@babel/types": "^7.10.1" } @@ -195,7 +185,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz", "integrity": "sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg==", - "dev": true, "dependencies": { "@babel/types": "^7.10.1" } @@ -204,7 +193,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz", "integrity": "sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg==", - "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.10.1", "@babel/helper-replace-supers": "^7.10.1", @@ -219,7 +207,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz", "integrity": "sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg==", - "dev": true, "dependencies": { "@babel/types": "^7.10.1" } @@ -228,7 +215,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz", "integrity": "sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A==", - "dev": true, "dependencies": { "@babel/helper-member-expression-to-functions": "^7.10.1", "@babel/helper-optimise-call-expression": "^7.10.1", @@ -240,7 +226,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz", "integrity": "sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw==", - "dev": true, "dependencies": { "@babel/template": "^7.10.1", "@babel/types": "^7.10.1" @@ -250,7 +235,6 @@ "version": "7.22.6", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, "dependencies": { "@babel/types": "^7.22.5" }, @@ -262,7 +246,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -271,7 +254,6 @@ "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -288,7 +270,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz", "integrity": "sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw==", - "dev": true, "dependencies": { "@babel/template": "^7.10.1", "@babel/traverse": "^7.10.1", @@ -299,7 +280,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -313,7 +293,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz", "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==", - "dev": true, "bin": { "parser": "bin/babel-parser.js" }, @@ -325,7 +304,6 @@ "version": "7.22.15", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.22.13", "@babel/parser": "^7.22.15", @@ -339,7 +317,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz", "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.23.4", "@babel/generator": "^7.23.4", @@ -360,7 +337,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, "dependencies": { "ms": "^2.1.1" } @@ -368,14 +344,12 @@ "node_modules/@babel/traverse/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/@babel/types": { "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz", "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==", - "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", @@ -428,7 +402,6 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -442,7 +415,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", - "dev": true, "engines": { "node": ">=6.0.0" } @@ -451,7 +423,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "dev": true, "engines": { "node": ">=6.0.0" } @@ -459,14 +430,12 @@ "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.20", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", - "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -590,7 +559,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -1038,7 +1006,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -1124,7 +1091,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -1132,8 +1098,7 @@ "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "node_modules/combine-source-map": { "version": "0.8.0", @@ -1277,7 +1242,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "dev": true, "dependencies": { "safe-buffer": "~5.1.1" } @@ -1285,8 +1249,7 @@ "node_modules/convert-source-map/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/cookie": { "version": "0.4.2", @@ -1722,7 +1685,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, "engines": { "node": ">=0.8.0" } @@ -1966,14 +1928,12 @@ "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/gensync": { "version": "1.0.0-beta.1", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -2046,7 +2006,6 @@ "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, "engines": { "node": ">=4" } @@ -2083,7 +2042,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "dependencies": { "function-bind": "^1.1.1" }, @@ -2095,7 +2053,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, "engines": { "node": ">=4" } @@ -2312,7 +2269,6 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", - "dev": true, "dependencies": { "has": "^1.0.3" }, @@ -2605,8 +2561,7 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-yaml": { "version": "3.13.1", @@ -2644,7 +2599,6 @@ "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, "bin": { "jsesc": "bin/jsesc" }, @@ -2679,7 +2633,6 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, "bin": { "json5": "lib/cli.js" }, @@ -2960,8 +2913,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.memoize": { "version": "3.0.4", @@ -3398,8 +3350,7 @@ "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "node_modules/pbkdf2": { "version": "3.1.1", @@ -3743,7 +3694,6 @@ "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, "dependencies": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" @@ -3796,7 +3746,6 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, "bin": { "semver": "bin/semver" } @@ -4146,7 +4095,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -4200,7 +4148,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, "engines": { "node": ">=4" } @@ -4754,7 +4701,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz", "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==", - "dev": true, "requires": { "@babel/highlight": "^7.23.4", "chalk": "^2.4.2" @@ -4769,7 +4715,6 @@ "version": "7.10.2", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz", "integrity": "sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ==", - "dev": true, "requires": { "@babel/code-frame": "^7.10.1", "@babel/generator": "^7.10.2", @@ -4793,7 +4738,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, "requires": { "ms": "^2.1.1" } @@ -4801,14 +4745,12 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, @@ -4816,7 +4758,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", - "dev": true, "requires": { "@babel/types": "^7.23.4", "@jridgewell/gen-mapping": "^0.3.2", @@ -4845,14 +4786,12 @@ "@babel/helper-environment-visitor": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==" }, "@babel/helper-function-name": { "version": "7.23.0", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, "requires": { "@babel/template": "^7.22.15", "@babel/types": "^7.23.0" @@ -4862,7 +4801,6 @@ "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, "requires": { "@babel/types": "^7.22.5" } @@ -4871,7 +4809,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz", "integrity": "sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g==", - "dev": true, "requires": { "@babel/types": "^7.10.1" } @@ -4880,7 +4817,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz", "integrity": "sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg==", - "dev": true, "requires": { "@babel/types": "^7.10.1" } @@ -4889,7 +4825,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz", "integrity": "sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg==", - "dev": true, "requires": { "@babel/helper-module-imports": "^7.10.1", "@babel/helper-replace-supers": "^7.10.1", @@ -4904,7 +4839,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz", "integrity": "sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg==", - "dev": true, "requires": { "@babel/types": "^7.10.1" } @@ -4913,7 +4847,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz", "integrity": "sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A==", - "dev": true, "requires": { "@babel/helper-member-expression-to-functions": "^7.10.1", "@babel/helper-optimise-call-expression": "^7.10.1", @@ -4925,7 +4858,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz", "integrity": "sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw==", - "dev": true, "requires": { "@babel/template": "^7.10.1", "@babel/types": "^7.10.1" @@ -4935,7 +4867,6 @@ "version": "7.22.6", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, "requires": { "@babel/types": "^7.22.5" } @@ -4943,14 +4874,12 @@ "@babel/helper-string-parser": { "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", - "dev": true + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==" }, "@babel/helper-validator-identifier": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "dev": true + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" }, "@babel/helper-validator-option": { "version": "7.16.7", @@ -4961,7 +4890,6 @@ "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz", "integrity": "sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw==", - "dev": true, "requires": { "@babel/template": "^7.10.1", "@babel/traverse": "^7.10.1", @@ -4972,7 +4900,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -4982,14 +4909,12 @@ "@babel/parser": { "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz", - "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==", - "dev": true + "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==" }, "@babel/template": { "version": "7.22.15", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, "requires": { "@babel/code-frame": "^7.22.13", "@babel/parser": "^7.22.15", @@ -5000,7 +4925,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz", "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==", - "dev": true, "requires": { "@babel/code-frame": "^7.23.4", "@babel/generator": "^7.23.4", @@ -5018,7 +4942,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, "requires": { "ms": "^2.1.1" } @@ -5026,8 +4949,7 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" } } }, @@ -5035,7 +4957,6 @@ "version": "7.23.4", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz", "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==", - "dev": true, "requires": { "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", @@ -5073,7 +4994,6 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, "requires": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -5083,26 +5003,22 @@ "@jridgewell/resolve-uri": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", - "dev": true + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==" }, "@jridgewell/set-array": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "dev": true + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" }, "@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "@jridgewell/trace-mapping": { "version": "0.3.20", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", - "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -5204,7 +5120,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -5595,7 +5510,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -5666,7 +5580,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "requires": { "color-name": "1.1.3" } @@ -5674,8 +5587,7 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "combine-source-map": { "version": "0.8.0", @@ -5808,7 +5720,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "dev": true, "requires": { "safe-buffer": "~5.1.1" }, @@ -5816,8 +5727,7 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" } } }, @@ -6196,8 +6106,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "event-target-shim": { "version": "5.0.1", @@ -6374,14 +6283,12 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "gensync": { "version": "1.0.0-beta.1", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", - "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", - "dev": true + "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==" }, "get-caller-file": { "version": "2.0.5", @@ -6435,8 +6342,7 @@ "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, "graceful-fs": { "version": "4.2.9", @@ -6464,7 +6370,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -6472,8 +6377,7 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "has-symbols": { "version": "1.0.3", @@ -6651,7 +6555,6 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", - "dev": true, "requires": { "has": "^1.0.3" } @@ -6881,8 +6784,7 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-yaml": { "version": "3.13.1", @@ -6911,8 +6813,7 @@ "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" }, "json-schema": { "version": "0.4.0", @@ -6940,8 +6841,7 @@ "json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==" }, "jsonc-parser": { "version": "3.2.0", @@ -7170,8 +7070,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.memoize": { "version": "3.0.4", @@ -7505,8 +7404,7 @@ "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "pbkdf2": { "version": "3.1.1", @@ -7792,7 +7690,6 @@ "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, "requires": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" @@ -7838,8 +7735,7 @@ "semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" }, "setimmediate": { "version": "1.0.5", @@ -8128,7 +8024,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "requires": { "has-flag": "^3.0.0" } @@ -8171,8 +8066,7 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" }, "to-regex-range": { "version": "5.0.1", @@ -8535,7 +8429,8 @@ "version": "8.11.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", - "dev": true + "dev": true, + "requires": {} }, "xtend": { "version": "4.0.2", diff --git a/src/api/v2/resource/resources-endpoint-v2.ts b/src/api/v2/resource/resources-endpoint-v2.ts index 9ef589460..67d7a1857 100644 --- a/src/api/v2/resource/resources-endpoint-v2.ts +++ b/src/api/v2/resource/resources-endpoint-v2.ts @@ -109,7 +109,7 @@ export class ResourcesEndpointV2 extends Endpoint { }); - return this.httpPost("", res).pipe( + return this.httpPost("", res, "json", {"X-Asset-Ingested": "true"}).pipe( mergeMap((ajaxResponse: AjaxResponse) => { // console.log(JSON.stringify(ajaxResponse.response)); // TODO: @rosenth Adapt context object diff --git a/src/api/v2/values/values-endpoint-v2.ts b/src/api/v2/values/values-endpoint-v2.ts index 2fa2cc5f2..296b787d1 100644 --- a/src/api/v2/values/values-endpoint-v2.ts +++ b/src/api/v2/values/values-endpoint-v2.ts @@ -73,7 +73,7 @@ export class ValuesEndpointV2 extends Endpoint { res[resource.property] = val; - return this.httpPut("", res).pipe( + return this.httpPut("", res, "json", {"X-Asset-Ingested": "true"}).pipe( mergeMap((ajaxResponse: AjaxResponse) => { // console.log(JSON.stringify(ajaxResponse.response)); // TODO: @rosenth Adapt context object @@ -104,7 +104,7 @@ export class ValuesEndpointV2 extends Endpoint { res[resource.property] = val; - return this.httpPost("", res).pipe( + return this.httpPost("", res, "json", {"X-Asset-Ingested": "true"}).pipe( mergeMap((ajaxResponse: AjaxResponse) => { // console.log(JSON.stringify(ajaxResponse.response)); // TODO: @rosenth Adapt context object diff --git a/src/api/v2/values/values-endpoint.spec.ts b/src/api/v2/values/values-endpoint.spec.ts index a3b40aafb..ccb4c3296 100644 --- a/src/api/v2/values/values-endpoint.spec.ts +++ b/src/api/v2/values/values-endpoint.spec.ts @@ -633,7 +633,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-int-value-request-expanded.json"); @@ -676,7 +679,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-decimal-value-request-expanded.json"); @@ -719,7 +725,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-color-value-request-expanded.json"); @@ -763,7 +772,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-interval-value-request-expanded.json"); @@ -806,7 +818,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-boolean-value-request-expanded.json"); @@ -849,7 +864,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-list-value-request-expanded.json"); @@ -892,7 +910,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-link-value-request-expanded.json"); @@ -935,7 +956,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-uri-value-request-expanded.json"); @@ -978,7 +1002,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-text-value-without-standoff-request-expanded.json"); @@ -1022,7 +1049,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-text-value-with-standoff-request-expanded.json"); @@ -1073,7 +1103,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-date-value-with-day-precision-request-expanded.json"); @@ -1122,7 +1155,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-date-value-with-month-precision-request-expanded.json"); @@ -1169,7 +1205,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-date-value-with-year-precision-request-expanded.json"); @@ -1212,7 +1251,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-still-image-file-value-request-expanded.json"); @@ -1255,7 +1297,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-geometry-value-request-expanded.json"); @@ -1298,7 +1343,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-geoname-value-request-expanded.json"); @@ -1341,7 +1389,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-time-value-request-expanded.json"); @@ -1385,7 +1436,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-text-value-with-comment-request-expanded.json"); @@ -1429,7 +1483,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-int-value-with-custom-permissions-request-expanded.json"); @@ -1474,7 +1531,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("PUT"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/update-int-value-permissions-only-request-expanded.json"); @@ -1540,7 +1600,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-int-value-request-expanded.json"); @@ -1581,7 +1644,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-decimal-value-request-expanded.json"); @@ -1622,7 +1688,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-color-value-request-expanded.json"); @@ -1664,7 +1733,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-interval-value-request-expanded.json"); @@ -1703,7 +1775,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-boolean-value-request-expanded.json"); @@ -1743,7 +1818,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-list-value-request-expanded.json"); @@ -1783,7 +1861,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-link-value-request-expanded.json"); @@ -1823,7 +1904,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-uri-value-request-expanded.json"); @@ -1863,7 +1947,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-text-value-without-standoff-request-expanded.json"); @@ -1904,7 +1991,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-text-value-with-standoff-request-expanded.json"); @@ -1952,7 +2042,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-date-value-with-day-precision-request-expanded.json"); @@ -1998,7 +2091,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-date-value-with-month-precision-request-expanded.json"); @@ -2042,7 +2138,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-date-value-with-year-precision-request-expanded.json"); @@ -2082,7 +2181,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-geometry-value-request-expanded.json"); @@ -2122,7 +2224,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-time-value-request-expanded.json"); @@ -2184,7 +2289,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-geoname-value-request-expanded.json"); @@ -2225,7 +2333,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-text-value-with-comment-request-expanded.json"); @@ -2267,7 +2378,10 @@ describe("ValuesEndpoint", () => { expect(request.method).toEqual("POST"); - expect(request.requestHeaders).toEqual({ "Content-Type": "application/json; charset=utf-8" }); + expect(request.requestHeaders).toEqual({ + "Content-Type": "application/json; charset=utf-8", + "X-Asset-Ingested": "true" + }); const expectedPayload = require("../../../../test/data/api/v2/values/create-int-value-with-custom-permissions-request-expanded.json");