@empathyco/x-components 6.0.0-alpha.6 → 6.0.0-alpha.8

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.
Files changed (20) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/design-system/deprecated-full-theme.css +1310 -1310
  3. package/docs/API-reference/api/x-adapter-platform.md +9 -0
  4. package/docs/API-reference/api/x-adapter-platform.platformadapter.relatedprompts.md +1 -1
  5. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.md +22 -0
  6. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.nextqueries.md +11 -0
  7. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.suggestiontext.md +11 -0
  8. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.type.md +11 -0
  9. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsrequest.md +15 -0
  10. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.data.md +13 -0
  11. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.md +21 -0
  12. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.status.md +11 -0
  13. package/docs/API-reference/api/x-adapter-platform.relatedpromptschema.md +13 -0
  14. package/docs/API-reference/api/x-adapter-platform.relatedpromptsendpointadapter.md +13 -0
  15. package/docs/API-reference/api/x-adapter-platform.relatedpromptsrequestmapper.md +13 -0
  16. package/docs/API-reference/api/x-adapter-platform.relatedpromptsrequestschema.md +13 -0
  17. package/docs/API-reference/api/x-adapter-platform.relatedpromptsresponsemapper.md +13 -0
  18. package/docs/API-reference/api/x-adapter-platform.relatedpromptsresponseschema.md +13 -0
  19. package/package.json +3 -3
  20. package/report/x-adapter-platform.api.json +549 -2
@@ -39,6 +39,9 @@
39
39
  | [PlatformRecommendationsRequest](./x-adapter-platform.platformrecommendationsrequest.md) | Request for <code>recommendations</code> endpoint with <code>extra params</code>. |
40
40
  | [PlatformRecommendationsResponse](./x-adapter-platform.platformrecommendationsresponse.md) | Response for the <code>recommendations</code> endpoint. |
41
41
  | [PlatformRedirection](./x-adapter-platform.platformredirection.md) | Redirection model for the <code>platform</code> API. |
42
+ | [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) | Related prompt model for the <code>platform</code> API. |
43
+ | [PlatformRelatedPromptsRequest](./x-adapter-platform.platformrelatedpromptsrequest.md) | Request for the <code>related prompts</code> endpoint with <code>extra params</code>. |
44
+ | [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md) | Response for the <code>related prompts</code> endpoint. |
42
45
  | [PlatformRelatedTag](./x-adapter-platform.platformrelatedtag.md) | Related tag model for the <code>platform</code> API. |
43
46
  | [PlatformRelatedTagsRequest](./x-adapter-platform.platformrelatedtagsrequest.md) | Request for the <code>related tags</code> endpoint with <code>extra params</code>. |
44
47
  | [PlatformRelatedTagsResponse](./x-adapter-platform.platformrelatedtagsresponse.md) | Response for the <code>related tags</code> endpoint. |
@@ -94,6 +97,12 @@
94
97
  | [recommendationsResponseMapper](./x-adapter-platform.recommendationsresponsemapper.md) | Default implementation for the RecommendationsResponseMapper. |
95
98
  | [recommendationsResponseSchema](./x-adapter-platform.recommendationsresponseschema.md) | Default implementation for the RecommendationsResponseSchema. |
96
99
  | [redirectionSchema](./x-adapter-platform.redirectionschema.md) | Default implementation for the RedirectionSchema. |
100
+ | [relatedPromptSchema](./x-adapter-platform.relatedpromptschema.md) | Default implementation for the RelatedPromptSchema. |
101
+ | [relatedPromptsEndpointAdapter](./x-adapter-platform.relatedpromptsendpointadapter.md) | Default adapter for the related prompt endpoint. This endpoint does not support pagination in the request. |
102
+ | [relatedPromptsRequestMapper](./x-adapter-platform.relatedpromptsrequestmapper.md) | Default implementation for the RelatedPromptsRequestMapper. |
103
+ | [relatedPromptsRequestSchema](./x-adapter-platform.relatedpromptsrequestschema.md) | Default implementation for the RelatedPromptsRequestSchema. |
104
+ | [relatedPromptsResponseMapper](./x-adapter-platform.relatedpromptsresponsemapper.md) | Default implementation for the RelatedPromptsResponseMapper. |
105
+ | [relatedPromptsResponseSchema](./x-adapter-platform.relatedpromptsresponseschema.md) | Default implementation for the RelatedPromptsResponseSchema. |
97
106
  | [relatedTagSchema](./x-adapter-platform.relatedtagschema.md) | Default implementation for the RelatedTagSchema. |
98
107
  | [relatedTagsEndpointAdapter](./x-adapter-platform.relatedtagsendpointadapter.md) | This endpoint does not support pagination in the request. |
99
108
  | [relatedTagsRequestMapper](./x-adapter-platform.relatedtagsrequestmapper.md) | Default implementation for the RelatedTagsRequestMapper. |
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- relatedPrompts: any;
10
+ relatedPrompts: ExtendableEndpointAdapter<RelatedPromptsRequest, RelatedPromptsResponse>;
11
11
  ```
@@ -0,0 +1,22 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md)
4
+
5
+ ## PlatformRelatedPrompt interface
6
+
7
+ Related prompt model for the `platform` API.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface PlatformRelatedPrompt
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [nextQueries](./x-adapter-platform.platformrelatedprompt.nextqueries.md) | | string\[\] | |
20
+ | [suggestionText](./x-adapter-platform.platformrelatedprompt.suggestiontext.md) | | string | |
21
+ | [type](./x-adapter-platform.platformrelatedprompt.type.md) | | 'SYNTHETIC' \| 'CURATED' | |
22
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) &gt; [nextQueries](./x-adapter-platform.platformrelatedprompt.nextqueries.md)
4
+
5
+ ## PlatformRelatedPrompt.nextQueries property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ nextQueries: string[];
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) &gt; [suggestionText](./x-adapter-platform.platformrelatedprompt.suggestiontext.md)
4
+
5
+ ## PlatformRelatedPrompt.suggestionText property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ suggestionText: string;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) &gt; [type](./x-adapter-platform.platformrelatedprompt.type.md)
4
+
5
+ ## PlatformRelatedPrompt.type property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ type: 'SYNTHETIC' | 'CURATED';
11
+ ```
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPromptsRequest](./x-adapter-platform.platformrelatedpromptsrequest.md)
4
+
5
+ ## PlatformRelatedPromptsRequest interface
6
+
7
+ Request for the `related prompts` endpoint with `extra params`<!-- -->.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface PlatformRelatedPromptsRequest extends PlatformQueryableRequest, PlatformExtraParamsRequest
13
+ ```
14
+ **Extends:** PlatformQueryableRequest, PlatformExtraParamsRequest
15
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md) &gt; [data](./x-adapter-platform.platformrelatedpromptsresponse.data.md)
4
+
5
+ ## PlatformRelatedPromptsResponse.data property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ data: {
11
+ relatedprompts: PlatformRelatedPrompt[];
12
+ };
13
+ ```
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md)
4
+
5
+ ## PlatformRelatedPromptsResponse interface
6
+
7
+ Response for the `related prompts` endpoint.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface PlatformRelatedPromptsResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [data](./x-adapter-platform.platformrelatedpromptsresponse.data.md) | | { relatedprompts: [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md)<!-- -->\[\]; } | |
20
+ | [status](./x-adapter-platform.platformrelatedpromptsresponse.status.md) | | number | |
21
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md) &gt; [status](./x-adapter-platform.platformrelatedpromptsresponse.status.md)
4
+
5
+ ## PlatformRelatedPromptsResponse.status property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ status: number;
11
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [relatedPromptSchema](./x-adapter-platform.relatedpromptschema.md)
4
+
5
+ ## relatedPromptSchema variable
6
+
7
+ Default implementation for the RelatedPromptSchema.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ relatedPromptSchema: import("@empathyco/x-adapter").MutableSchema<PlatformRelatedPrompt, RelatedPrompt>
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [relatedPromptsEndpointAdapter](./x-adapter-platform.relatedpromptsendpointadapter.md)
4
+
5
+ ## relatedPromptsEndpointAdapter variable
6
+
7
+ Default adapter for the related prompt endpoint. This endpoint does not support pagination in the request.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ relatedPromptsEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<RelatedPromptsRequest, RelatedPromptsResponse>
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [relatedPromptsRequestMapper](./x-adapter-platform.relatedpromptsrequestmapper.md)
4
+
5
+ ## relatedPromptsRequestMapper variable
6
+
7
+ Default implementation for the RelatedPromptsRequestMapper.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ relatedPromptsRequestMapper: import("@empathyco/x-adapter").Mapper<RelatedPromptsRequest, PlatformRelatedPromptsRequest>
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [relatedPromptsRequestSchema](./x-adapter-platform.relatedpromptsrequestschema.md)
4
+
5
+ ## relatedPromptsRequestSchema variable
6
+
7
+ Default implementation for the RelatedPromptsRequestSchema.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ relatedPromptsRequestSchema: import("@empathyco/x-adapter").MutableSchema<RelatedPromptsRequest, PlatformRelatedPromptsRequest>
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [relatedPromptsResponseMapper](./x-adapter-platform.relatedpromptsresponsemapper.md)
4
+
5
+ ## relatedPromptsResponseMapper variable
6
+
7
+ Default implementation for the RelatedPromptsResponseMapper.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ relatedPromptsResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformRelatedPromptsResponse, RelatedPromptsResponse>
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [relatedPromptsResponseSchema](./x-adapter-platform.relatedpromptsresponseschema.md)
4
+
5
+ ## relatedPromptsResponseSchema variable
6
+
7
+ Default implementation for the RelatedPromptsResponseSchema.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ relatedPromptsResponseSchema: import("@empathyco/x-adapter").MutableSchema<PlatformRelatedPromptsResponse, RelatedPromptsResponse>
13
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "6.0.0-alpha.6",
3
+ "version": "6.0.0-alpha.8",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@empathyco/x-adapter": "^8.1.0-alpha.0",
73
- "@empathyco/x-adapter-platform": "^1.1.0-alpha.4",
73
+ "@empathyco/x-adapter-platform": "^1.1.0-alpha.6",
74
74
  "@empathyco/x-bus": "^1.0.3-alpha.1",
75
75
  "@empathyco/x-deep-merge": "^2.0.3-alpha.1",
76
76
  "@empathyco/x-logger": "^1.2.0-alpha.11",
@@ -137,5 +137,5 @@
137
137
  "access": "public",
138
138
  "directory": "dist"
139
139
  },
140
- "gitHead": "abc0d00d934bc6cd4052c2212d816321ab097742"
140
+ "gitHead": "4e0518127d797743f37cedb6bdea0e68a85402ed"
141
141
  }