@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
@@ -1849,9 +1849,32 @@
1849
1849
  "kind": "Content",
1850
1850
  "text": "relatedPrompts: "
1851
1851
  },
1852
+ {
1853
+ "kind": "Reference",
1854
+ "text": "ExtendableEndpointAdapter",
1855
+ "canonicalReference": "@empathyco/x-adapter!ExtendableEndpointAdapter:interface"
1856
+ },
1857
+ {
1858
+ "kind": "Content",
1859
+ "text": "<"
1860
+ },
1861
+ {
1862
+ "kind": "Reference",
1863
+ "text": "RelatedPromptsRequest",
1864
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsRequest:interface"
1865
+ },
1866
+ {
1867
+ "kind": "Content",
1868
+ "text": ", "
1869
+ },
1870
+ {
1871
+ "kind": "Reference",
1872
+ "text": "RelatedPromptsResponse",
1873
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsResponse:interface"
1874
+ },
1852
1875
  {
1853
1876
  "kind": "Content",
1854
- "text": "any"
1877
+ "text": ">"
1855
1878
  },
1856
1879
  {
1857
1880
  "kind": "Content",
@@ -1864,7 +1887,7 @@
1864
1887
  "name": "relatedPrompts",
1865
1888
  "propertyTypeTokenRange": {
1866
1889
  "startIndex": 1,
1867
- "endIndex": 2
1890
+ "endIndex": 7
1868
1891
  }
1869
1892
  },
1870
1893
  {
@@ -3677,6 +3700,230 @@
3677
3700
  ],
3678
3701
  "extendsTokenRanges": []
3679
3702
  },
3703
+ {
3704
+ "kind": "Interface",
3705
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPrompt:interface",
3706
+ "docComment": "/**\n * Related prompt model for the `platform` API.\n */\n",
3707
+ "excerptTokens": [
3708
+ {
3709
+ "kind": "Content",
3710
+ "text": "export interface PlatformRelatedPrompt "
3711
+ }
3712
+ ],
3713
+ "fileUrlPath": "dist/types/types/models/related-prompt.model.d.ts",
3714
+ "releaseTag": "Public",
3715
+ "name": "PlatformRelatedPrompt",
3716
+ "preserveMemberOrder": false,
3717
+ "members": [
3718
+ {
3719
+ "kind": "PropertySignature",
3720
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPrompt#nextQueries:member",
3721
+ "docComment": "",
3722
+ "excerptTokens": [
3723
+ {
3724
+ "kind": "Content",
3725
+ "text": "nextQueries: "
3726
+ },
3727
+ {
3728
+ "kind": "Content",
3729
+ "text": "string[]"
3730
+ },
3731
+ {
3732
+ "kind": "Content",
3733
+ "text": ";"
3734
+ }
3735
+ ],
3736
+ "isReadonly": false,
3737
+ "isOptional": false,
3738
+ "releaseTag": "Public",
3739
+ "name": "nextQueries",
3740
+ "propertyTypeTokenRange": {
3741
+ "startIndex": 1,
3742
+ "endIndex": 2
3743
+ }
3744
+ },
3745
+ {
3746
+ "kind": "PropertySignature",
3747
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPrompt#suggestionText:member",
3748
+ "docComment": "",
3749
+ "excerptTokens": [
3750
+ {
3751
+ "kind": "Content",
3752
+ "text": "suggestionText: "
3753
+ },
3754
+ {
3755
+ "kind": "Content",
3756
+ "text": "string"
3757
+ },
3758
+ {
3759
+ "kind": "Content",
3760
+ "text": ";"
3761
+ }
3762
+ ],
3763
+ "isReadonly": false,
3764
+ "isOptional": false,
3765
+ "releaseTag": "Public",
3766
+ "name": "suggestionText",
3767
+ "propertyTypeTokenRange": {
3768
+ "startIndex": 1,
3769
+ "endIndex": 2
3770
+ }
3771
+ },
3772
+ {
3773
+ "kind": "PropertySignature",
3774
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPrompt#type:member",
3775
+ "docComment": "",
3776
+ "excerptTokens": [
3777
+ {
3778
+ "kind": "Content",
3779
+ "text": "type: "
3780
+ },
3781
+ {
3782
+ "kind": "Content",
3783
+ "text": "'SYNTHETIC' | 'CURATED'"
3784
+ },
3785
+ {
3786
+ "kind": "Content",
3787
+ "text": ";"
3788
+ }
3789
+ ],
3790
+ "isReadonly": false,
3791
+ "isOptional": false,
3792
+ "releaseTag": "Public",
3793
+ "name": "type",
3794
+ "propertyTypeTokenRange": {
3795
+ "startIndex": 1,
3796
+ "endIndex": 2
3797
+ }
3798
+ }
3799
+ ],
3800
+ "extendsTokenRanges": []
3801
+ },
3802
+ {
3803
+ "kind": "Interface",
3804
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsRequest:interface",
3805
+ "docComment": "/**\n * Request for the `related prompts` endpoint with `extra params`.\n *\n * @public\n */\n",
3806
+ "excerptTokens": [
3807
+ {
3808
+ "kind": "Content",
3809
+ "text": "export interface PlatformRelatedPromptsRequest extends "
3810
+ },
3811
+ {
3812
+ "kind": "Reference",
3813
+ "text": "PlatformQueryableRequest",
3814
+ "canonicalReference": "@empathyco/x-adapter-platform!~PlatformQueryableRequest:interface"
3815
+ },
3816
+ {
3817
+ "kind": "Content",
3818
+ "text": ", "
3819
+ },
3820
+ {
3821
+ "kind": "Reference",
3822
+ "text": "PlatformExtraParamsRequest",
3823
+ "canonicalReference": "@empathyco/x-adapter-platform!~PlatformExtraParamsRequest:interface"
3824
+ },
3825
+ {
3826
+ "kind": "Content",
3827
+ "text": " "
3828
+ }
3829
+ ],
3830
+ "fileUrlPath": "dist/types/types/requests/related-prompts-request.model.d.ts",
3831
+ "releaseTag": "Public",
3832
+ "name": "PlatformRelatedPromptsRequest",
3833
+ "preserveMemberOrder": false,
3834
+ "members": [],
3835
+ "extendsTokenRanges": [
3836
+ {
3837
+ "startIndex": 1,
3838
+ "endIndex": 2
3839
+ },
3840
+ {
3841
+ "startIndex": 3,
3842
+ "endIndex": 4
3843
+ }
3844
+ ]
3845
+ },
3846
+ {
3847
+ "kind": "Interface",
3848
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsResponse:interface",
3849
+ "docComment": "/**\n * Response for the `related prompts` endpoint.\n */\n",
3850
+ "excerptTokens": [
3851
+ {
3852
+ "kind": "Content",
3853
+ "text": "export interface PlatformRelatedPromptsResponse "
3854
+ }
3855
+ ],
3856
+ "fileUrlPath": "dist/types/types/responses/related-prompts-response.model.d.ts",
3857
+ "releaseTag": "Public",
3858
+ "name": "PlatformRelatedPromptsResponse",
3859
+ "preserveMemberOrder": false,
3860
+ "members": [
3861
+ {
3862
+ "kind": "PropertySignature",
3863
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsResponse#data:member",
3864
+ "docComment": "",
3865
+ "excerptTokens": [
3866
+ {
3867
+ "kind": "Content",
3868
+ "text": "data: "
3869
+ },
3870
+ {
3871
+ "kind": "Content",
3872
+ "text": "{\n relatedprompts: "
3873
+ },
3874
+ {
3875
+ "kind": "Reference",
3876
+ "text": "PlatformRelatedPrompt",
3877
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPrompt:interface"
3878
+ },
3879
+ {
3880
+ "kind": "Content",
3881
+ "text": "[];\n }"
3882
+ },
3883
+ {
3884
+ "kind": "Content",
3885
+ "text": ";"
3886
+ }
3887
+ ],
3888
+ "isReadonly": false,
3889
+ "isOptional": false,
3890
+ "releaseTag": "Public",
3891
+ "name": "data",
3892
+ "propertyTypeTokenRange": {
3893
+ "startIndex": 1,
3894
+ "endIndex": 4
3895
+ }
3896
+ },
3897
+ {
3898
+ "kind": "PropertySignature",
3899
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsResponse#status:member",
3900
+ "docComment": "",
3901
+ "excerptTokens": [
3902
+ {
3903
+ "kind": "Content",
3904
+ "text": "status: "
3905
+ },
3906
+ {
3907
+ "kind": "Content",
3908
+ "text": "number"
3909
+ },
3910
+ {
3911
+ "kind": "Content",
3912
+ "text": ";"
3913
+ }
3914
+ ],
3915
+ "isReadonly": false,
3916
+ "isOptional": false,
3917
+ "releaseTag": "Public",
3918
+ "name": "status",
3919
+ "propertyTypeTokenRange": {
3920
+ "startIndex": 1,
3921
+ "endIndex": 2
3922
+ }
3923
+ }
3924
+ ],
3925
+ "extendsTokenRanges": []
3926
+ },
3680
3927
  {
3681
3928
  "kind": "Interface",
3682
3929
  "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedTag:interface",
@@ -5645,6 +5892,306 @@
5645
5892
  "endIndex": 8
5646
5893
  }
5647
5894
  },
5895
+ {
5896
+ "kind": "Variable",
5897
+ "canonicalReference": "@empathyco/x-adapter-platform!relatedPromptSchema:var",
5898
+ "docComment": "/**\n * Default implementation for the RelatedPromptSchema.\n */\n",
5899
+ "excerptTokens": [
5900
+ {
5901
+ "kind": "Content",
5902
+ "text": "relatedPromptSchema: "
5903
+ },
5904
+ {
5905
+ "kind": "Content",
5906
+ "text": "import(\"@empathyco/x-adapter\")."
5907
+ },
5908
+ {
5909
+ "kind": "Reference",
5910
+ "text": "MutableSchema",
5911
+ "canonicalReference": "@empathyco/x-adapter!MutableSchema:type"
5912
+ },
5913
+ {
5914
+ "kind": "Content",
5915
+ "text": "<"
5916
+ },
5917
+ {
5918
+ "kind": "Reference",
5919
+ "text": "PlatformRelatedPrompt",
5920
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPrompt:interface"
5921
+ },
5922
+ {
5923
+ "kind": "Content",
5924
+ "text": ", "
5925
+ },
5926
+ {
5927
+ "kind": "Reference",
5928
+ "text": "RelatedPrompt",
5929
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPrompt:interface"
5930
+ },
5931
+ {
5932
+ "kind": "Content",
5933
+ "text": ">"
5934
+ }
5935
+ ],
5936
+ "fileUrlPath": "dist/types/schemas/models/related-prompt.schema.d.ts",
5937
+ "isReadonly": true,
5938
+ "releaseTag": "Public",
5939
+ "name": "relatedPromptSchema",
5940
+ "variableTypeTokenRange": {
5941
+ "startIndex": 1,
5942
+ "endIndex": 8
5943
+ }
5944
+ },
5945
+ {
5946
+ "kind": "Variable",
5947
+ "canonicalReference": "@empathyco/x-adapter-platform!relatedPromptsEndpointAdapter:var",
5948
+ "docComment": "/**\n * Default adapter for the related prompt endpoint. This endpoint does not support pagination in the request.\n *\n * @public\n */\n",
5949
+ "excerptTokens": [
5950
+ {
5951
+ "kind": "Content",
5952
+ "text": "relatedPromptsEndpointAdapter: "
5953
+ },
5954
+ {
5955
+ "kind": "Content",
5956
+ "text": "import(\"@empathyco/x-adapter\")."
5957
+ },
5958
+ {
5959
+ "kind": "Reference",
5960
+ "text": "ExtendableEndpointAdapter",
5961
+ "canonicalReference": "@empathyco/x-adapter!ExtendableEndpointAdapter:interface"
5962
+ },
5963
+ {
5964
+ "kind": "Content",
5965
+ "text": "<"
5966
+ },
5967
+ {
5968
+ "kind": "Reference",
5969
+ "text": "RelatedPromptsRequest",
5970
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsRequest:interface"
5971
+ },
5972
+ {
5973
+ "kind": "Content",
5974
+ "text": ", "
5975
+ },
5976
+ {
5977
+ "kind": "Reference",
5978
+ "text": "RelatedPromptsResponse",
5979
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsResponse:interface"
5980
+ },
5981
+ {
5982
+ "kind": "Content",
5983
+ "text": ">"
5984
+ }
5985
+ ],
5986
+ "fileUrlPath": "dist/types/endpoint-adapters/related-prompts.endpoint-adapter.d.ts",
5987
+ "isReadonly": true,
5988
+ "releaseTag": "Public",
5989
+ "name": "relatedPromptsEndpointAdapter",
5990
+ "variableTypeTokenRange": {
5991
+ "startIndex": 1,
5992
+ "endIndex": 8
5993
+ }
5994
+ },
5995
+ {
5996
+ "kind": "Variable",
5997
+ "canonicalReference": "@empathyco/x-adapter-platform!relatedPromptsRequestMapper:var",
5998
+ "docComment": "/**\n * Default implementation for the RelatedPromptsRequestMapper.\n */\n",
5999
+ "excerptTokens": [
6000
+ {
6001
+ "kind": "Content",
6002
+ "text": "relatedPromptsRequestMapper: "
6003
+ },
6004
+ {
6005
+ "kind": "Content",
6006
+ "text": "import(\"@empathyco/x-adapter\")."
6007
+ },
6008
+ {
6009
+ "kind": "Reference",
6010
+ "text": "Mapper",
6011
+ "canonicalReference": "@empathyco/x-adapter!Mapper:type"
6012
+ },
6013
+ {
6014
+ "kind": "Content",
6015
+ "text": "<"
6016
+ },
6017
+ {
6018
+ "kind": "Reference",
6019
+ "text": "RelatedPromptsRequest",
6020
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsRequest:interface"
6021
+ },
6022
+ {
6023
+ "kind": "Content",
6024
+ "text": ", "
6025
+ },
6026
+ {
6027
+ "kind": "Reference",
6028
+ "text": "PlatformRelatedPromptsRequest",
6029
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsRequest:interface"
6030
+ },
6031
+ {
6032
+ "kind": "Content",
6033
+ "text": ">"
6034
+ }
6035
+ ],
6036
+ "fileUrlPath": "dist/types/mappers/requests/related-prompts-request.mapper.d.ts",
6037
+ "isReadonly": true,
6038
+ "releaseTag": "Public",
6039
+ "name": "relatedPromptsRequestMapper",
6040
+ "variableTypeTokenRange": {
6041
+ "startIndex": 1,
6042
+ "endIndex": 8
6043
+ }
6044
+ },
6045
+ {
6046
+ "kind": "Variable",
6047
+ "canonicalReference": "@empathyco/x-adapter-platform!relatedPromptsRequestSchema:var",
6048
+ "docComment": "/**\n * Default implementation for the RelatedPromptsRequestSchema.\n */\n",
6049
+ "excerptTokens": [
6050
+ {
6051
+ "kind": "Content",
6052
+ "text": "relatedPromptsRequestSchema: "
6053
+ },
6054
+ {
6055
+ "kind": "Content",
6056
+ "text": "import(\"@empathyco/x-adapter\")."
6057
+ },
6058
+ {
6059
+ "kind": "Reference",
6060
+ "text": "MutableSchema",
6061
+ "canonicalReference": "@empathyco/x-adapter!MutableSchema:type"
6062
+ },
6063
+ {
6064
+ "kind": "Content",
6065
+ "text": "<"
6066
+ },
6067
+ {
6068
+ "kind": "Reference",
6069
+ "text": "RelatedPromptsRequest",
6070
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsRequest:interface"
6071
+ },
6072
+ {
6073
+ "kind": "Content",
6074
+ "text": ", "
6075
+ },
6076
+ {
6077
+ "kind": "Reference",
6078
+ "text": "PlatformRelatedPromptsRequest",
6079
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsRequest:interface"
6080
+ },
6081
+ {
6082
+ "kind": "Content",
6083
+ "text": ">"
6084
+ }
6085
+ ],
6086
+ "fileUrlPath": "dist/types/schemas/requests/related-prompts-request.schema.d.ts",
6087
+ "isReadonly": true,
6088
+ "releaseTag": "Public",
6089
+ "name": "relatedPromptsRequestSchema",
6090
+ "variableTypeTokenRange": {
6091
+ "startIndex": 1,
6092
+ "endIndex": 8
6093
+ }
6094
+ },
6095
+ {
6096
+ "kind": "Variable",
6097
+ "canonicalReference": "@empathyco/x-adapter-platform!relatedPromptsResponseMapper:var",
6098
+ "docComment": "/**\n * Default implementation for the RelatedPromptsResponseMapper.\n */\n",
6099
+ "excerptTokens": [
6100
+ {
6101
+ "kind": "Content",
6102
+ "text": "relatedPromptsResponseMapper: "
6103
+ },
6104
+ {
6105
+ "kind": "Content",
6106
+ "text": "import(\"@empathyco/x-adapter\")."
6107
+ },
6108
+ {
6109
+ "kind": "Reference",
6110
+ "text": "Mapper",
6111
+ "canonicalReference": "@empathyco/x-adapter!Mapper:type"
6112
+ },
6113
+ {
6114
+ "kind": "Content",
6115
+ "text": "<"
6116
+ },
6117
+ {
6118
+ "kind": "Reference",
6119
+ "text": "PlatformRelatedPromptsResponse",
6120
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsResponse:interface"
6121
+ },
6122
+ {
6123
+ "kind": "Content",
6124
+ "text": ", "
6125
+ },
6126
+ {
6127
+ "kind": "Reference",
6128
+ "text": "RelatedPromptsResponse",
6129
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsResponse:interface"
6130
+ },
6131
+ {
6132
+ "kind": "Content",
6133
+ "text": ">"
6134
+ }
6135
+ ],
6136
+ "fileUrlPath": "dist/types/mappers/responses/related-prompts-response.mapper.d.ts",
6137
+ "isReadonly": true,
6138
+ "releaseTag": "Public",
6139
+ "name": "relatedPromptsResponseMapper",
6140
+ "variableTypeTokenRange": {
6141
+ "startIndex": 1,
6142
+ "endIndex": 8
6143
+ }
6144
+ },
6145
+ {
6146
+ "kind": "Variable",
6147
+ "canonicalReference": "@empathyco/x-adapter-platform!relatedPromptsResponseSchema:var",
6148
+ "docComment": "/**\n * Default implementation for the RelatedPromptsResponseSchema.\n */\n",
6149
+ "excerptTokens": [
6150
+ {
6151
+ "kind": "Content",
6152
+ "text": "relatedPromptsResponseSchema: "
6153
+ },
6154
+ {
6155
+ "kind": "Content",
6156
+ "text": "import(\"@empathyco/x-adapter\")."
6157
+ },
6158
+ {
6159
+ "kind": "Reference",
6160
+ "text": "MutableSchema",
6161
+ "canonicalReference": "@empathyco/x-adapter!MutableSchema:type"
6162
+ },
6163
+ {
6164
+ "kind": "Content",
6165
+ "text": "<"
6166
+ },
6167
+ {
6168
+ "kind": "Reference",
6169
+ "text": "PlatformRelatedPromptsResponse",
6170
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformRelatedPromptsResponse:interface"
6171
+ },
6172
+ {
6173
+ "kind": "Content",
6174
+ "text": ", "
6175
+ },
6176
+ {
6177
+ "kind": "Reference",
6178
+ "text": "RelatedPromptsResponse",
6179
+ "canonicalReference": "@empathyco/x-adapter-platform!RelatedPromptsResponse:interface"
6180
+ },
6181
+ {
6182
+ "kind": "Content",
6183
+ "text": ">"
6184
+ }
6185
+ ],
6186
+ "fileUrlPath": "dist/types/schemas/responses/related-prompts-response.schema.d.ts",
6187
+ "isReadonly": true,
6188
+ "releaseTag": "Public",
6189
+ "name": "relatedPromptsResponseSchema",
6190
+ "variableTypeTokenRange": {
6191
+ "startIndex": 1,
6192
+ "endIndex": 8
6193
+ }
6194
+ },
5648
6195
  {
5649
6196
  "kind": "Variable",
5650
6197
  "canonicalReference": "@empathyco/x-adapter-platform!relatedTagSchema:var",