@adobe/spacecat-shared-data-access 2.43.1 → 2.44.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.44.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.43.2...@adobe/spacecat-shared-data-access-v2.44.0) (2025-08-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add customer intent, filter schema and tags for llmo subconfig (LLMO-198, LLMO-202) ([#890](https://github.com/adobe/spacecat-shared/issues/890)) ([e11af65](https://github.com/adobe/spacecat-shared/commit/e11af6525b5ada6966d4c0424cc394e95c49c7a8))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v2.43.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.43.1...@adobe/spacecat-shared-data-access-v2.43.2) (2025-08-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([#888](https://github.com/adobe/spacecat-shared/issues/888)) ([45ccd67](https://github.com/adobe/spacecat-shared/commit/45ccd679577031d01771aa642ac0c2e33b22af6f))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v2.43.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.43.0...@adobe/spacecat-shared-data-access-v2.43.1) (2025-08-04)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-data-access",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.44.0",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - Data Access",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@adobe/spacecat-shared-utils": "1.39.1",
|
|
39
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
40
|
-
"@aws-sdk/lib-dynamodb": "3.
|
|
39
|
+
"@aws-sdk/client-dynamodb": "3.859.0",
|
|
40
|
+
"@aws-sdk/lib-dynamodb": "3.859.0",
|
|
41
41
|
"@types/joi": "17.2.3",
|
|
42
42
|
"aws-xray-sdk": "3.10.3",
|
|
43
43
|
"electrodb": "3.4.3",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"chai": "5.2.1",
|
|
50
50
|
"chai-as-promised": "8.0.1",
|
|
51
51
|
"dynamo-db-local": "9.6.0",
|
|
52
|
-
"nock": "14.0.
|
|
52
|
+
"nock": "14.0.8",
|
|
53
53
|
"sinon": "20.0.0",
|
|
54
54
|
"sinon-chai": "4.0.0"
|
|
55
55
|
}
|
|
@@ -50,9 +50,9 @@ const schema = new SchemaBuilder(Report, ReportCollection)
|
|
|
50
50
|
validate: (value) => !value || (isString(value) && value.length >= 0),
|
|
51
51
|
})
|
|
52
52
|
.addAttribute('status', {
|
|
53
|
-
type:
|
|
53
|
+
type: Object.values(Report.STATUSES),
|
|
54
54
|
required: true,
|
|
55
|
-
default:
|
|
55
|
+
default: Report.STATUSES.PROCESSING,
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
export default schema.build();
|
|
@@ -248,6 +248,19 @@ export const configSchema = Joi.object({
|
|
|
248
248
|
AI: Joi.array().items(QUESTION_SCHEMA).optional(),
|
|
249
249
|
}).optional(),
|
|
250
250
|
urlPatterns: LLMO_URL_PATTERNS_SCHEMA.optional(),
|
|
251
|
+
customerIntent: Joi.object({
|
|
252
|
+
adobeProduct: Joi.string().optional(),
|
|
253
|
+
cdnProvider: Joi.array().items(Joi.string()).optional(),
|
|
254
|
+
referralProvider: Joi.string().optional(),
|
|
255
|
+
}).optional(),
|
|
256
|
+
filterConfig: Joi.array().items(
|
|
257
|
+
Joi.object({
|
|
258
|
+
key: Joi.string().required(),
|
|
259
|
+
value: Joi.string().required(),
|
|
260
|
+
records: Joi.array().items(Joi.string()).optional(),
|
|
261
|
+
}),
|
|
262
|
+
).optional(),
|
|
263
|
+
tags: Joi.array().items(Joi.string()).optional(),
|
|
251
264
|
}).optional(),
|
|
252
265
|
cdnLogsConfig: Joi.object({
|
|
253
266
|
bucketName: Joi.string().required(),
|