egain-api-python 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
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.
- egain_api_python/_version.py +3 -3
- egain_api_python/answers.py +26 -26
- egain_api_python/articlelists.py +6 -6
- egain_api_python/errors/gethealthop.py +33 -19
- egain_api_python/export.py +2 -2
- egain_api_python/models/__init__.py +87 -64
- egain_api_python/models/aisearchop.py +6 -34
- egain_api_python/models/aisearchresponse.py +0 -4
- egain_api_python/models/articleaisearchresult.py +14 -21
- egain_api_python/models/articletype.py +3 -5
- egain_api_python/models/exportstatus.py +15 -8
- egain_api_python/models/getannouncementarticlesop.py +2 -2
- egain_api_python/models/getarticlelistdetailsop.py +2 -2
- egain_api_python/models/getarticlesintopicop.py +4 -4
- egain_api_python/models/{post_portalid_answersop.py → getbestanswerop.py} +9 -9
- egain_api_python/models/gethealthop.py +134 -7
- egain_api_python/models/getpopulararticlesop.py +4 -4
- egain_api_python/models/getrelatedarticlesop.py +2 -2
- egain_api_python/models/importstatus.py +116 -0
- egain_api_python/models/knowledgeexport.py +3 -5
- egain_api_python/models/referenceresponse.py +7 -23
- egain_api_python/models/{post_portalid_retrieveop.py → retrievechunksop.py} +9 -9
- egain_api_python/models/searchresult.py +7 -23
- egain_api_python/populararticles.py +12 -12
- egain_api_python/portal_article.py +24 -24
- egain_api_python/retrieve.py +26 -26
- egain_api_python/sdk.py +1 -0
- egain_api_python/search.py +18 -36
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.3.dist-info}/METADATA +16 -11
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.3.dist-info}/RECORD +33 -35
- egain_api_python/models/resourcetype_parameter.py +0 -10
- egain_api_python/models/topicaisearchresult.py +0 -67
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.3.dist-info}/WHEEL +0 -0
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.3.dist-info}/licenses/LICENSE +0 -0
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.3.dist-info}/top_level.txt +0 -0
egain_api_python/search.py
CHANGED
@@ -15,14 +15,11 @@ class Search(BaseSDK):
|
|
15
15
|
*,
|
16
16
|
q: str,
|
17
17
|
portal_id: str,
|
18
|
-
|
18
|
+
filter_user_profile_id: Optional[str] = None,
|
19
19
|
language: Optional[models.LanguageCodeParameter] = None,
|
20
|
-
|
21
|
-
|
22
|
-
dollar_filter_exclude_topic_ids: Optional[List[str]] = None,
|
23
|
-
resource_type: Optional[models.ResourceTypeParameter] = None,
|
20
|
+
filter_tags: Optional[Dict[str, List[str]]] = None,
|
21
|
+
filter_topic_ids: Optional[List[str]] = None,
|
24
22
|
article_custom_additional_attributes: Optional[str] = None,
|
25
|
-
topic_custom_additional_attributes: Optional[str] = None,
|
26
23
|
pagenum: Optional[int] = 1,
|
27
24
|
pagesize: Optional[int] = 10,
|
28
25
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
@@ -36,14 +33,11 @@ class Search(BaseSDK):
|
|
36
33
|
|
37
34
|
:param q: The search query string. The string must be escaped as required by the URL syntax rules.
|
38
35
|
:param portal_id: The ID of the portal being accessed.<br><br>A portal ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits.
|
39
|
-
:param
|
36
|
+
:param filter_user_profile_id: The ID of the user profile.
|
40
37
|
:param language: The language that describes the details of a resource. Resources available in different languages may differ from each other. <br><br> If lang is not passed, then the portal's default language is used.
|
41
|
-
:param
|
42
|
-
:param
|
43
|
-
:param dollar_filter_exclude_topic_ids: An array of topic IDs that will be excluded from the search. It includes articles that belong to the topic.
|
44
|
-
:param resource_type: Type of resource to be fetched.
|
38
|
+
:param filter_tags: An object where each key is a **Category Tag ID** (numeric string), and each value is an array of **Tag IDs** for that category.
|
39
|
+
:param filter_topic_ids: An array of topic IDs. It is used to restrict search results to specific topics.
|
45
40
|
:param article_custom_additional_attributes: One or more comma-separated names for article custom attributes defined by the user to be returned.
|
46
|
-
:param topic_custom_additional_attributes: One or more comma-separated names for topic custom attributes defined by the user to be returned.
|
47
41
|
:param pagenum: Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize.
|
48
42
|
:param pagesize: Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum.
|
49
43
|
:param retries: Override the default retry configuration for this method
|
@@ -64,14 +58,11 @@ class Search(BaseSDK):
|
|
64
58
|
request = models.AiSearchRequest(
|
65
59
|
q=q,
|
66
60
|
portal_id=portal_id,
|
67
|
-
|
61
|
+
filter_user_profile_id=filter_user_profile_id,
|
68
62
|
language=language,
|
69
|
-
|
70
|
-
|
71
|
-
dollar_filter_exclude_topic_ids=dollar_filter_exclude_topic_ids,
|
72
|
-
resource_type=resource_type,
|
63
|
+
filter_tags=filter_tags,
|
64
|
+
filter_topic_ids=filter_topic_ids,
|
73
65
|
article_custom_additional_attributes=article_custom_additional_attributes,
|
74
|
-
topic_custom_additional_attributes=topic_custom_additional_attributes,
|
75
66
|
pagenum=pagenum,
|
76
67
|
pagesize=pagesize,
|
77
68
|
)
|
@@ -135,14 +126,11 @@ class Search(BaseSDK):
|
|
135
126
|
*,
|
136
127
|
q: str,
|
137
128
|
portal_id: str,
|
138
|
-
|
129
|
+
filter_user_profile_id: Optional[str] = None,
|
139
130
|
language: Optional[models.LanguageCodeParameter] = None,
|
140
|
-
|
141
|
-
|
142
|
-
dollar_filter_exclude_topic_ids: Optional[List[str]] = None,
|
143
|
-
resource_type: Optional[models.ResourceTypeParameter] = None,
|
131
|
+
filter_tags: Optional[Dict[str, List[str]]] = None,
|
132
|
+
filter_topic_ids: Optional[List[str]] = None,
|
144
133
|
article_custom_additional_attributes: Optional[str] = None,
|
145
|
-
topic_custom_additional_attributes: Optional[str] = None,
|
146
134
|
pagenum: Optional[int] = 1,
|
147
135
|
pagesize: Optional[int] = 10,
|
148
136
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
@@ -156,14 +144,11 @@ class Search(BaseSDK):
|
|
156
144
|
|
157
145
|
:param q: The search query string. The string must be escaped as required by the URL syntax rules.
|
158
146
|
:param portal_id: The ID of the portal being accessed.<br><br>A portal ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits.
|
159
|
-
:param
|
147
|
+
:param filter_user_profile_id: The ID of the user profile.
|
160
148
|
:param language: The language that describes the details of a resource. Resources available in different languages may differ from each other. <br><br> If lang is not passed, then the portal's default language is used.
|
161
|
-
:param
|
162
|
-
:param
|
163
|
-
:param dollar_filter_exclude_topic_ids: An array of topic IDs that will be excluded from the search. It includes articles that belong to the topic.
|
164
|
-
:param resource_type: Type of resource to be fetched.
|
149
|
+
:param filter_tags: An object where each key is a **Category Tag ID** (numeric string), and each value is an array of **Tag IDs** for that category.
|
150
|
+
:param filter_topic_ids: An array of topic IDs. It is used to restrict search results to specific topics.
|
165
151
|
:param article_custom_additional_attributes: One or more comma-separated names for article custom attributes defined by the user to be returned.
|
166
|
-
:param topic_custom_additional_attributes: One or more comma-separated names for topic custom attributes defined by the user to be returned.
|
167
152
|
:param pagenum: Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize.
|
168
153
|
:param pagesize: Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum.
|
169
154
|
:param retries: Override the default retry configuration for this method
|
@@ -184,14 +169,11 @@ class Search(BaseSDK):
|
|
184
169
|
request = models.AiSearchRequest(
|
185
170
|
q=q,
|
186
171
|
portal_id=portal_id,
|
187
|
-
|
172
|
+
filter_user_profile_id=filter_user_profile_id,
|
188
173
|
language=language,
|
189
|
-
|
190
|
-
|
191
|
-
dollar_filter_exclude_topic_ids=dollar_filter_exclude_topic_ids,
|
192
|
-
resource_type=resource_type,
|
174
|
+
filter_tags=filter_tags,
|
175
|
+
filter_topic_ids=filter_topic_ids,
|
193
176
|
article_custom_additional_attributes=article_custom_additional_attributes,
|
194
|
-
topic_custom_additional_attributes=topic_custom_additional_attributes,
|
195
177
|
pagenum=pagenum,
|
196
178
|
pagesize=pagesize,
|
197
179
|
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: egain-api-python
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9.2
|
@@ -46,6 +46,11 @@ The following Resources have predefined limits for specific access attributes fo
|
|
46
46
|
| |Number of articles to display in announcements | 25
|
47
47
|
| |Maximum related articles in portal setting | 100
|
48
48
|
| |Usage links and link groups setup for a portal | 25
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
For more information about the API: [Full SDK Documentation](https://github.com/eGain/egain-api-python)
|
49
54
|
<!-- End Summary [summary] -->
|
50
55
|
|
51
56
|
<!-- Start Table of Contents [toc] -->
|
@@ -161,7 +166,7 @@ with Egain(
|
|
161
166
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
162
167
|
) as egain:
|
163
168
|
|
164
|
-
res = egain.aiservices.retrieve.
|
169
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
165
170
|
"PROD-1234": [
|
166
171
|
"PROD-2000",
|
167
172
|
"PROD-2003",
|
@@ -193,7 +198,7 @@ async def main():
|
|
193
198
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
194
199
|
) as egain:
|
195
200
|
|
196
|
-
res = await egain.aiservices.retrieve.
|
201
|
+
res = await egain.aiservices.retrieve.retrieve_chunks_async(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
197
202
|
"PROD-1234": [
|
198
203
|
"PROD-2000",
|
199
204
|
"PROD-2003",
|
@@ -233,7 +238,7 @@ with Egain(
|
|
233
238
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
234
239
|
) as egain:
|
235
240
|
|
236
|
-
res = egain.aiservices.retrieve.
|
241
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
237
242
|
"PROD-1234": [
|
238
243
|
"PROD-2000",
|
239
244
|
"PROD-2003",
|
@@ -262,11 +267,11 @@ with Egain(
|
|
262
267
|
|
263
268
|
#### [aiservices.answers](docs/sdks/answers/README.md)
|
264
269
|
|
265
|
-
* [
|
270
|
+
* [get_best_answer](docs/sdks/answers/README.md#get_best_answer) - Get the best answer for a user query
|
266
271
|
|
267
272
|
#### [aiservices.retrieve](docs/sdks/retrieve/README.md)
|
268
273
|
|
269
|
-
* [
|
274
|
+
* [retrieve_chunks](docs/sdks/retrieve/README.md#retrieve_chunks) - Retrieve Chunks
|
270
275
|
|
271
276
|
### [content](docs/sdks/content/README.md)
|
272
277
|
|
@@ -454,7 +459,7 @@ with Egain(
|
|
454
459
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
455
460
|
) as egain:
|
456
461
|
|
457
|
-
res = egain.aiservices.retrieve.
|
462
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
458
463
|
"PROD-1234": [
|
459
464
|
"PROD-2000",
|
460
465
|
"PROD-2003",
|
@@ -484,7 +489,7 @@ with Egain(
|
|
484
489
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
485
490
|
) as egain:
|
486
491
|
|
487
|
-
res = egain.aiservices.retrieve.
|
492
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
488
493
|
"PROD-1234": [
|
489
494
|
"PROD-2000",
|
490
495
|
"PROD-2003",
|
@@ -606,7 +611,7 @@ with Egain(
|
|
606
611
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
607
612
|
) as egain:
|
608
613
|
|
609
|
-
res = egain.aiservices.retrieve.
|
614
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
610
615
|
"PROD-1234": [
|
611
616
|
"PROD-2000",
|
612
617
|
"PROD-2003",
|
@@ -636,7 +641,7 @@ with Egain(
|
|
636
641
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
637
642
|
) as egain:
|
638
643
|
|
639
|
-
res = egain.aiservices.retrieve.
|
644
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
640
645
|
"PROD-1234": [
|
641
646
|
"PROD-2000",
|
642
647
|
"PROD-2003",
|
@@ -665,7 +670,7 @@ with Egain(
|
|
665
670
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
666
671
|
) as egain:
|
667
672
|
|
668
|
-
res = egain.aiservices.retrieve.
|
673
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
|
669
674
|
"PROD-1234": [
|
670
675
|
"PROD-2000",
|
671
676
|
"PROD-2003",
|
@@ -1,21 +1,21 @@
|
|
1
1
|
egain_api_python/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
|
2
|
-
egain_api_python/_version.py,sha256=
|
2
|
+
egain_api_python/_version.py,sha256=n1Q7-jaCJjQ1-EGn14wmnDounRG5idtLJJyPJNu56VE,474
|
3
3
|
egain_api_python/aiservices.py,sha256=vFG7gOYnOknIMJvxgzD2dUFFqtlsD2WZoLrrb-YpbKM,787
|
4
|
-
egain_api_python/answers.py,sha256=
|
5
|
-
egain_api_python/articlelists.py,sha256=
|
4
|
+
egain_api_python/answers.py,sha256=WRLfG6ffVuNRzzOvm_JoV4xyt0-NZFdGaBFpXJ78wrg,13477
|
5
|
+
egain_api_python/articlelists.py,sha256=WV7Quyct196d0VwBHhqUBGYZX1GDIbWDisjW6Abyw5U,23622
|
6
6
|
egain_api_python/basesdk.py,sha256=C9Q_a4W3CiNITPndlliKSbD0TlZIkjQR7cfsxUKHDcc,12333
|
7
7
|
egain_api_python/connectorssearchevents.py,sha256=e3g1q3QhmlhGzVr4tJk95mKugmxlvt2RKV2MKj-83XU,24542
|
8
8
|
egain_api_python/content.py,sha256=mHxXP3x2KeXZRo7jTRkuyzIlykWZBQjPAM3G8wbmwAk,769
|
9
9
|
egain_api_python/escalation.py,sha256=VcFmwI2NM_sM8-kQOGXrntsJLf6ZJlSTObB5J4Spwj0,44469
|
10
|
-
egain_api_python/export.py,sha256=
|
10
|
+
egain_api_python/export.py,sha256=w_bJD0t3WRIBrWvb62vS4f8nVkHfFapJOGfgbisv11Q,27367
|
11
11
|
egain_api_python/federatedsearchevent.py,sha256=olW9ge-8-iEkQVBnORGepCCJbFtB_W_UarzDEWJoVJc,12972
|
12
12
|
egain_api_python/general.py,sha256=KbRoP-ImnlloqLmFDTFSY9K5VH5E2Cco9sjagt5-wh8,43791
|
13
13
|
egain_api_python/guidedhelp.py,sha256=Plywaswln2mtt6O74xIxxg_gxKC76oQGoTq_abSmkD8,151203
|
14
14
|
egain_api_python/health.py,sha256=RJvV-9zhwv8Dz-7rDDIqLjOnNhUOvScGxmKAphQqCGA,10584
|
15
15
|
egain_api_python/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
|
16
16
|
egain_api_python/import_.py,sha256=ar0W28BYPHz4x9C-8hTVQU415-tiZ9CJia8qBsgefu8,52145
|
17
|
-
egain_api_python/populararticles.py,sha256
|
18
|
-
egain_api_python/portal_article.py,sha256=
|
17
|
+
egain_api_python/populararticles.py,sha256=-FDlhyWYzfSPPEetlpHyzXqwSytj7_YD3-Zd0rSjRqo,16801
|
18
|
+
egain_api_python/portal_article.py,sha256=q7SQR-jjZrMpkNNZzAbtxyB8j2B4x7CsaUOUelQLUA4,254580
|
19
19
|
egain_api_python/portal_attachment.py,sha256=AvD1Kn-9nmySA6ntRx465IslvTVMEEkFiGdezYktrTA,19575
|
20
20
|
egain_api_python/portal_bookmark.py,sha256=a9VItJsqlU1wNyln9QVBiPh6bGzqGs0lzohyqhEk0wc,30776
|
21
21
|
egain_api_python/portal_sdk.py,sha256=yQtVYQojkFEXh6ymy7KepfWCaK_jhaBfEsSGeEZcCwQ,3800
|
@@ -24,10 +24,10 @@ egain_api_python/portal_topic.py,sha256=t14i2r7EhuQ_wAz3hSrEOWvCPm-74rQCh93gletz
|
|
24
24
|
egain_api_python/portal_userdetails.py,sha256=al0ZDoVRRIsnKKW0LCRn1Elirrc6hy2k2ddmcGcFosU,8723
|
25
25
|
egain_api_python/portal_userprofile.py,sha256=4f99l9zXAOmZBUW2pKWMHYYwoQk1H6gMCQXfhzap0Hk,18887
|
26
26
|
egain_api_python/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
27
|
-
egain_api_python/retrieve.py,sha256=
|
28
|
-
egain_api_python/sdk.py,sha256=
|
27
|
+
egain_api_python/retrieve.py,sha256=2Q-t2NtGKlHy3obOYfSPf_QK04hV_Bk5B55hb08tUUE,12956
|
28
|
+
egain_api_python/sdk.py,sha256=8kPIleOA9FXLIH62XTEIywbTM3qX5Bjat17_BaIvC3U,8527
|
29
29
|
egain_api_python/sdkconfiguration.py,sha256=461--GY6fkfbEhqlCxMeo77kveUiFq70riQQQT6o7R8,1747
|
30
|
-
egain_api_python/search.py,sha256=
|
30
|
+
egain_api_python/search.py,sha256=ptGb2v3kYjT0UQ2UeHMLnq05fjUQgS_4T320r5xYkqo,11043
|
31
31
|
egain_api_python/usermilestones.py,sha256=LG9SMVYrIqOVKL0m6DVJQPfpHIohlck1KvTLuf6gjFI,9758
|
32
32
|
egain_api_python/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
33
33
|
egain_api_python/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
@@ -36,12 +36,12 @@ egain_api_python/_hooks/types.py,sha256=cNaI6SrmEi7lq8Whft1SSPE6b6sCqD4msMSHCx85
|
|
36
36
|
egain_api_python/errors/__init__.py,sha256=JLEpVh1ACVJ8AtbfJot_DO6Qx3z0GlDnzXS_Sg8vK-E,2575
|
37
37
|
egain_api_python/errors/egaindefaulterror.py,sha256=jXs35rHSipG-9WLLmaLaJ_YghdH1qttfhrPWs10MRns,1293
|
38
38
|
egain_api_python/errors/egainerror.py,sha256=S_BIFBTaMEjG5KOhmmyjoEfRTDRfVMSaga694K6mFyI,949
|
39
|
-
egain_api_python/errors/gethealthop.py,sha256=
|
39
|
+
egain_api_python/errors/gethealthop.py,sha256=LUrUR9GYuppBmxwyfmU2ljRNd_r2Om924MP8laTuNJk,2616
|
40
40
|
egain_api_python/errors/no_response_error.py,sha256=Kb7hmMtDo72KrLSjUEDNeQxvzZiVxUjOZym8TPdZp5Y,462
|
41
41
|
egain_api_python/errors/responsevalidationerror.py,sha256=KpSSNBZAuiOCDeClbrbrxcTze8-jaaNigDXaSem1nqo,751
|
42
42
|
egain_api_python/errors/schemas_wserrorcommon.py,sha256=CMSpNcBSx97MLLNpw1Dx_sVz4GF38ocNOoINkYFrGYk,1610
|
43
43
|
egain_api_python/errors/wserrorcommon.py,sha256=Eo_Zv01PvBgw5U8DmCeZRc-0wQIZLtg8MCWX3vazeYI,1603
|
44
|
-
egain_api_python/models/__init__.py,sha256=
|
44
|
+
egain_api_python/models/__init__.py,sha256=vbyQGokuMKZYQFrNRj_SxAMVxU-fOjglIIFx_OoAlIs,86194
|
45
45
|
egain_api_python/models/acceptghsolutionop.py,sha256=9tDUzQcJ-8wQxn80rtlRQD3xEUaIZvgmN7lzTkYkaAQ,2040
|
46
46
|
egain_api_python/models/acceptlanguage.py,sha256=Xd_j9CzzaDUGpeObslxSSS0SGvKJjWkYLgk1jH7lu74,360
|
47
47
|
egain_api_python/models/accessibleportal.py,sha256=BD6xFjHlEmX7LBukCMmNnBzfY-hnJdAZvZZm9YkSkO8,1241
|
@@ -51,8 +51,8 @@ egain_api_python/models/addasreferenceop.py,sha256=wI6rSFt4a2HZeHiuhk2B4L2it07b_
|
|
51
51
|
egain_api_python/models/addbookmarkop.py,sha256=LKKQcTe_qJh2Y0PRJhqMLgvt6z_xV7V-6bp4aQE8FQ4,1692
|
52
52
|
egain_api_python/models/additionalsnippets.py,sha256=Vd98HJCxGPKlYMwp5n3oPoouZaLrUD7FSOxowwONClg,2070
|
53
53
|
egain_api_python/models/addtoreplyop.py,sha256=WLak-A5Q7_y9uLQmdqvmdfj6HZFDuqbWXC-E8kOIngo,2167
|
54
|
-
egain_api_python/models/aisearchop.py,sha256=
|
55
|
-
egain_api_python/models/aisearchresponse.py,sha256=
|
54
|
+
egain_api_python/models/aisearchop.py,sha256=FZ8RGf-igHBNJ8s7GLu4s_S7CD4XW-0NdxLkalvrfzQ,4697
|
55
|
+
egain_api_python/models/aisearchresponse.py,sha256=a_HVDEbWjiiXGz5wqAtJJ77Y5bWaxzhFUx5XtrIuApE,2069
|
56
56
|
egain_api_python/models/allaccessibleportals.py,sha256=xvALMCdc5raQhJzfK8DldxFtGWj5QDbD7sITzvkjSp4,864
|
57
57
|
egain_api_python/models/answer.py,sha256=juOV0pTDrvM6grUAhKAYycyZ00kkh-0W2XcquZFjQvw,514
|
58
58
|
egain_api_python/models/answeredquestion.py,sha256=-lTEc03Ovj0DOsQEg8EBlA_NMnr6ClJVrkNpYUXJe4g,3778
|
@@ -62,7 +62,7 @@ egain_api_python/models/answersresponse.py,sha256=qDtNqOgWFZShpd3klUidkL9nEKMLJJ
|
|
62
62
|
egain_api_python/models/article.py,sha256=S9X59MT9eOyfx3TXK0T9yD5960K8R-s29qlTHlJ5MwE,10337
|
63
63
|
egain_api_python/models/articleactivitylink.py,sha256=02gZ2OGyS_aegszu9A6kx7XqmTOhJeOEz9m48K3Dxi8,1617
|
64
64
|
egain_api_python/models/articleadditionalattributes.py,sha256=-3LofJNO9FsDDS5omTXXSk_zng3hSDYCfLpaL6Tb-NE,479
|
65
|
-
egain_api_python/models/articleaisearchresult.py,sha256=
|
65
|
+
egain_api_python/models/articleaisearchresult.py,sha256=jAmEMxDw5JkEd4pVM0uDEqYD_WNvpu4XylfYKB-iiQM,9477
|
66
66
|
egain_api_python/models/articleattachment.py,sha256=fHs37pfLLG5GV-Yb25Zf_mtc64-z9chnHrqiXPBMuUM,1351
|
67
67
|
egain_api_python/models/articlelist.py,sha256=GfamTI2ZVBCnTFqAYV8-a0r21bCm6pborXZFUDrQ_TE,1887
|
68
68
|
egain_api_python/models/articlelistresult.py,sha256=X4XOG3P79sVE1oB5kiEZ2EzRmN0QjHvmPNVHxcBc5jM,1550
|
@@ -78,7 +78,7 @@ egain_api_python/models/articlesearchresult.py,sha256=85u8LhC8jJIpLb0Leg8hmnyLpl
|
|
78
78
|
egain_api_python/models/articlesearchresults.py,sha256=Qk1CWuHTfdjM4XsgfPazfzqfxOBbiqU3vjyb8Nlqpmk,997
|
79
79
|
egain_api_python/models/articlesort.py,sha256=aI-7Ep_ZctFnRdns2U14XsbrXz10yK2gPDsWZF5szPo,216
|
80
80
|
egain_api_python/models/articlesortorder.py,sha256=uA_RO54CMTLVK1wFHcoMg7MkscX3qSEf1bEw2LtW-_k,221
|
81
|
-
egain_api_python/models/articletype.py,sha256=
|
81
|
+
egain_api_python/models/articletype.py,sha256=RnFiNbudE9PSMEY-H_aizYrQ7mzxMiSQOHYO2JHqOX4,1687
|
82
82
|
egain_api_python/models/articlewitheditions.py,sha256=DKLWgXyEKfSBAcHkciPEia9MgjfD4JpYirchIMZ9g2E,9634
|
83
83
|
egain_api_python/models/attachment.py,sha256=6j1DZ9aA0hi3OGr1nbcKDECBGIufljSoUkR8mp3quBo,911
|
84
84
|
egain_api_python/models/attachmentadditionalattributes.py,sha256=JelZFjAepmKiFmSCghVUsoe4pASrhoP6lbjlJduG3Hs,210
|
@@ -147,7 +147,7 @@ egain_api_python/models/edition.py,sha256=kpO2aVGS6hEoe277jPYfIzKuz7PqXmQhxgGytY
|
|
147
147
|
egain_api_python/models/editionwithcontent.py,sha256=NSpXy5YROWroTx-Nq5IA3dmBDGKOzskIc2vVwVf65BY,2692
|
148
148
|
egain_api_python/models/email.py,sha256=EnpG2RMm40C2czDfnHQI34AIPZq-WYdPl6CmLkhymdI,557
|
149
149
|
egain_api_python/models/exportcontentop.py,sha256=arsy00atMY2c8Y9vg_QIP8WgNSBYNhwl-rx5WfIZHU4,384
|
150
|
-
egain_api_python/models/exportstatus.py,sha256=
|
150
|
+
egain_api_python/models/exportstatus.py,sha256=ay0yU7c1NnKOmNqT_UcPq_KZbPLdSf18KEGVKo7OFJM,3493
|
151
151
|
egain_api_python/models/exportstatusop.py,sha256=zZEDpI1OEfFHzoaG2oZbe6GsrBAMUxUUyBFtG3Mmk_I,800
|
152
152
|
egain_api_python/models/feedbackarticleforsuggestion.py,sha256=gtAow23Etp6wKPH9YmZOav885Fae_UdMrZfTAGoBQ5A,1296
|
153
153
|
egain_api_python/models/folderbreadcrumb.py,sha256=jrhuNw7hFpy9FImodhWFwDBXhWeZF1yMDwEX7QUYql0,820
|
@@ -162,31 +162,32 @@ egain_api_python/models/getallquickpicksop.py,sha256=bpdzzegvvy_QNBToEXO6e0xiUW-
|
|
162
162
|
egain_api_python/models/getalltopicsop.py,sha256=ellblMT3aPumRnNRaTXvzXqbZaAgIR-SigdwMs4IS0w,6527
|
163
163
|
egain_api_python/models/getalluserprofilesop.py,sha256=MQjcq52x7gzLjgkTK1IRcGJRKBqDAXY-5hy8nO0LPWw,2251
|
164
164
|
egain_api_python/models/getancestortopicsop.py,sha256=ynUdbKmfzi4ZRNL1SLQE0fKIfr5nDDnkI6R6krhJs4U,6651
|
165
|
-
egain_api_python/models/getannouncementarticlesop.py,sha256=
|
165
|
+
egain_api_python/models/getannouncementarticlesop.py,sha256=3QX-IubAhj1yWApatcWeMiKcfYmYtiINXmFQYykfgVQ,7633
|
166
166
|
egain_api_python/models/getarticleattachmentbyidop.py,sha256=_zu6lq4Y5_6SRXr6WqZDn_5ezl7Uga6h8EiLUnz3ifs,1425
|
167
167
|
egain_api_python/models/getarticlebyidop.py,sha256=k_77pptG9uvUx_9qQde5JuczCwzWuuNiOdfKxzSmADk,16314
|
168
168
|
egain_api_python/models/getarticlebyidwitheditionsop.py,sha256=ZpAeRYolfMQmmcHZZdB2lBTgQXFCdK0zSOyky6qcT90,2039
|
169
169
|
egain_api_python/models/getarticleeditiondetailsop.py,sha256=5zcZDj2vXhS_UWPrANpdPSukiKg6ipSKr3bZjPq4WbA,2409
|
170
|
-
egain_api_python/models/getarticlelistdetailsop.py,sha256=
|
170
|
+
egain_api_python/models/getarticlelistdetailsop.py,sha256=qcXoG748wWq4wHlnvFzNERQZqrq3HxpGABS_H-s2hxQ,5723
|
171
171
|
egain_api_python/models/getarticlepermissionsbyidop.py,sha256=bgve9tugbsoSMwso2ShVZR9ZsBjtpr1X2AYylser2RU,1867
|
172
172
|
egain_api_python/models/getarticlepersonalizationop.py,sha256=mNirdQnZoFVZpxpmaWphUBEQ9QSF6foYX8BoaQ05xMQ,3274
|
173
173
|
egain_api_python/models/getarticleratingsop.py,sha256=O6rF8pKPFK08ToL3Ib3Qx4zzw4huHRFw0kBhAN7T4Ds,3587
|
174
|
-
egain_api_python/models/getarticlesintopicop.py,sha256=
|
174
|
+
egain_api_python/models/getarticlesintopicop.py,sha256=u3fcw9Y8LLkUulVzJPWL-jhMP4k6ND7OfpFEEaCw4Cs,8949
|
175
175
|
egain_api_python/models/getattachmentbyidinportalop.py,sha256=OUzIdSanWoDzNGwdGPcjRSKlOvTccE4zZGJfce-xxEk,2728
|
176
|
+
egain_api_python/models/getbestanswerop.py,sha256=TDDTRYVjc5y7mGxPVHq4qCrZ8gNhqUcIw01-HK1nW98,3627
|
176
177
|
egain_api_python/models/getbookmarkop.py,sha256=GBAVyKHZqqJDgazWDhhsmZ71JQX-leW9mqRpXv7KpKE,1399
|
177
178
|
egain_api_python/models/getcasebasereleasebyidop.py,sha256=CT3ukkOsJF_TZkr6qbtTxotzGMXnEbmezuRAAUYottY,2923
|
178
179
|
egain_api_python/models/getcasebyidop.py,sha256=_FqZFbM1lke2943ovzJ62aTUZ8d2PJknFKRoOqYrGb8,3452
|
179
180
|
egain_api_python/models/getchildtopicsop.py,sha256=F4COc4NpeluAtB0HpxhVn3VT5hpxMYY1ZOmbv8dBD10,7248
|
180
181
|
egain_api_python/models/getclusterbycasebasereleaseidop.py,sha256=iExPuVv2xkJG__naVhY3OPZ8PpYWzJVaQixYiU-iFm4,3561
|
181
|
-
egain_api_python/models/gethealthop.py,sha256=
|
182
|
+
egain_api_python/models/gethealthop.py,sha256=uLa_vSrYIUcrdPpWlg1Iua-owOqIVPA2PoGjqVkY6_I,6880
|
182
183
|
egain_api_python/models/getimportcontentop.py,sha256=cL70X2hlvwJqGVY3uOEi9ioAHUAZla42gxpUTD_vgRI,1329
|
183
184
|
egain_api_python/models/getmyportalsop.py,sha256=FBvOKn5otDldltDwKy_zxjqLpeFOrRcSkYX56Qn9rMo,4535
|
184
185
|
egain_api_python/models/getmysubscriptionop.py,sha256=_WddJ5lnn6K4jETDHm7JkmpHEDGYaOv2LEBJJwq0Iwk,6280
|
185
186
|
egain_api_python/models/getpendingcompliancearticlesop.py,sha256=4A28Guv0_Y1yPnMBtfktca8HZTpEdizU112QMGyMSj4,6165
|
186
|
-
egain_api_python/models/getpopulararticlesop.py,sha256=
|
187
|
+
egain_api_python/models/getpopulararticlesop.py,sha256=yXFJql2MPUyEKmwSZ8Y8eCmoxPV9NhXgQ_01E54kUTg,6929
|
187
188
|
egain_api_python/models/getportaldetailsbyidop.py,sha256=LidZjmrJgJ3sYaJQw3IzCQi6HCAdPDAdF4wLzN5t6ro,2255
|
188
189
|
egain_api_python/models/getrelatedarticlesforsuggestionop.py,sha256=HZBNiPJtevIEzgdSoGa_ltgXP5ozKa7yYCm4sqt7m5Y,4791
|
189
|
-
egain_api_python/models/getrelatedarticlesop.py,sha256=
|
190
|
+
egain_api_python/models/getrelatedarticlesop.py,sha256=YCRANNKjWYHFGyztfNlDuA7-zun6Ms8DALlvEwwwF5Y,8063
|
190
191
|
egain_api_python/models/getsuggestionattachmentbyidop.py,sha256=PaTLzDPtadQyz20zKi-5kBY9nkQcYMpZ28SjBw9kJmk,3426
|
191
192
|
egain_api_python/models/getsuggestionattachmentsop.py,sha256=Ims2q0VlWPPSWLK5DQLYfe2vg1I_xsg8YMix0_GD8Ts,1886
|
192
193
|
egain_api_python/models/getsuggestioncommentsop.py,sha256=HcGuOfcwZ7q6njOPHFHvCxnrqCKhjIIYF4TiIxtxO58,1880
|
@@ -200,11 +201,11 @@ egain_api_python/models/ghsearchresult.py,sha256=196TnbOwsidCIvNRkcQ5t3KxN5G4XWx
|
|
200
201
|
egain_api_python/models/ghstepsearchrequest.py,sha256=YOI4uwHRSo7GEAnaCPBJqB8Jov724_YfEMIHWPTjxZk,2593
|
201
202
|
egain_api_python/models/image.py,sha256=CZHnyUnUZOmgD1HcFoqZkijWlGxYmqf6YySV7sEnMHc,558
|
202
203
|
egain_api_python/models/importcontent.py,sha256=OaZaWPwqUCql16tN_lk6Y9mhe-oz8mTxLgUBfmraSXA,1956
|
203
|
-
egain_api_python/models/importstatus.py,sha256=
|
204
|
+
egain_api_python/models/importstatus.py,sha256=9kWayE6AemlTHsi_BQ7U0_tDS3WMNqcXRZ3EXLFlb1Q,4102
|
204
205
|
egain_api_python/models/kblanguage.py,sha256=6_zION2mgBq0TeoQeUapTL2tE6XY934o8j_u3IMl32A,1335
|
205
206
|
egain_api_python/models/kblanguagecode.py,sha256=JiBhlRUlsZMw5GFFnXU_mi0aGT1gPzz3fXJlyKijT6I,946
|
206
207
|
egain_api_python/models/kblanguages.py,sha256=VS6jKRTHrkm_9iJQxA3r-SuE6C1ZuiPEfhH7lnx62lw,614
|
207
|
-
egain_api_python/models/knowledgeexport.py,sha256=
|
208
|
+
egain_api_python/models/knowledgeexport.py,sha256=QKRyvHxOwECng33SNmbv4yaY0OMjHWwUy02PxJsxMZM,10485
|
208
209
|
egain_api_python/models/l10nstring.py,sha256=MIqPFeTv0tdZHVnv5LjKyn1SJlkArxkM4bw0lMnfEE4,710
|
209
210
|
egain_api_python/models/languagecode.py,sha256=b-iMr2KxaIpoiwB7d418SNVsPKvyQkDE6zkDCcUoaX8,602
|
210
211
|
egain_api_python/models/languagecode_parameter.py,sha256=V2UrwMPaeU9sMMZtBmN44YNB8v_m3RebHoxpP9C72rs,575
|
@@ -229,8 +230,6 @@ egain_api_python/models/phone.py,sha256=cpUx5FoFItZIliYP5oaXJR45GvVzeePTNfqDeqkZ
|
|
229
230
|
egain_api_python/models/portal.py,sha256=DIxPHAh6qRUcSYoXuw28VhRsuZRKZIls4nCiRFAMoOc,4182
|
230
231
|
egain_api_python/models/portalresult.py,sha256=nMnYZjFgnPazepAXXYAPKbFfM3lxJUjYQzSBVQnlFaw,798
|
231
232
|
egain_api_python/models/portalsettings.py,sha256=4ByElqpmR7sB_DR93gTUmw_GNSsSC7w3j8Bf848S67o,18473
|
232
|
-
egain_api_python/models/post_portalid_answersop.py,sha256=fzc13uBeb0m9nAQrUzkAcq75V_NFwphb8y1xtqD9w1M,3688
|
233
|
-
egain_api_python/models/post_portalid_retrieveop.py,sha256=bwUev4bMmUZLYj1Q4vJkUSfFhiofrro_VEUoacOSNeQ,3698
|
234
233
|
egain_api_python/models/profile.py,sha256=3kpi1zuk_yVjgLYzgnppX9wVdVOm11vFSQj64E-7Rs8,575
|
235
234
|
egain_api_python/models/profileresult.py,sha256=CKdhBRPws0XFFOgzWvTN0Z1qjgkfvA7pUHqH8PVDOMc,769
|
236
235
|
egain_api_python/models/publishprofile.py,sha256=WF2uAXZueLu8jBSqJTkrKvXwiiWZWLMoHGeVAGU-jQo,719
|
@@ -241,11 +240,11 @@ egain_api_python/models/quickpickrating.py,sha256=OwZU3xsJzPYLAtcJJuvHMkZCO8NQF0
|
|
241
240
|
egain_api_python/models/quickpickresult.py,sha256=YH0Ml5gq3yJvWOoDBFAW1XNPEomyHJXTuPLkv40tb-I,1037
|
242
241
|
egain_api_python/models/quickpickresults.py,sha256=kUHHWZjFgmwsNEox9ehGsgU5wcapm3qD4uz0kAlWeio,865
|
243
242
|
egain_api_python/models/ratearticleop.py,sha256=QQiRo2K35ctT4kjBS3ri6ImepxhIVagCanaREYP1zWg,3224
|
244
|
-
egain_api_python/models/referenceresponse.py,sha256=
|
243
|
+
egain_api_python/models/referenceresponse.py,sha256=I2x3FZtu6uLDJgpdT9HlFppsq5lG1UF1hPnSLpr_UIo,2149
|
245
244
|
egain_api_python/models/rejectghsolutionop.py,sha256=e24KKMYYRRKUeXmfQmuaVL0VqLEW0k6ntjdGoV5ZTXE,2040
|
246
245
|
egain_api_python/models/relatedquestions.py,sha256=-mrpY6GvMaywlW5xejN3L7CT36hGLsxfy6jqIsxtNH0,879
|
247
|
-
egain_api_python/models/resourcetype_parameter.py,sha256=yTMsVDm8ARXkpYbkSE_htpzLxD81uLGW1dErC8c7k4E,200
|
248
246
|
egain_api_python/models/restorequickpickop.py,sha256=N9fl3zebetUpOa3JEbzLnRcArqjXtTx_QPANUYXsgSU,2791
|
247
|
+
egain_api_python/models/retrievechunksop.py,sha256=T6QDYHccK8FxdSC8MIwBJi7CDDsD6OlnODMxvJYZkoc,3636
|
249
248
|
egain_api_python/models/retrieverequest.py,sha256=A9mhXNdX6_tp4LndHhlIaINBJz9HQSye37DepjJSw0o,1894
|
250
249
|
egain_api_python/models/retrieveresponse.py,sha256=ARO5wf-H6GZa6u81zq48p5iuBycgr25hlFDiYCKYTME,4264
|
251
250
|
egain_api_python/models/role.py,sha256=aEQXpao0y3T5WbKAY04XXtbUIrNOtDsiCeRdQ9lsDbA,597
|
@@ -260,7 +259,7 @@ egain_api_python/models/schemas_tags.py,sha256=Z1ZAiHqxbDpbxh_p7Jh-6mYPEir9riBpT
|
|
260
259
|
egain_api_python/models/schemas_wserrorcommon.py,sha256=R9OG3XOhiyet3uibAoDNGZPeq2rnPcHL0Nl0Y4OA8R0,424
|
261
260
|
egain_api_python/models/searchfilterattribute.py,sha256=Ih4EgldWKl-QPE9VRPspiDoaMcGuuzgqMgTC44ekp4Y,2512
|
262
261
|
egain_api_python/models/searchpriortoescalationop.py,sha256=sAiAszG3ywEqQ23Xm5US4OKSlSDraisRlUWNSS_vOyA,4807
|
263
|
-
egain_api_python/models/searchresult.py,sha256=
|
262
|
+
egain_api_python/models/searchresult.py,sha256=dzzwpooqj2MvAmxpdx8oguIs4DsEU-BhtP2YyXkQ_ng,3333
|
264
263
|
egain_api_python/models/searchsuggestionop.py,sha256=4tluMg5_fDxMXyNH1Oi4UKo5p3u4kcv2LpP-SA4iK-w,3792
|
265
264
|
egain_api_python/models/security.py,sha256=UqCkttTO29yuwhatMKhQEeEjjbD1FtXL_SAQTrDGsao,710
|
266
265
|
egain_api_python/models/selectuserprofileop.py,sha256=iQjtJlat8byVpk7YsE4fTfgLShwbNYaVov4p4JtV2wE,1703
|
@@ -289,7 +288,6 @@ egain_api_python/models/taggroups.py,sha256=FMLLq4NBSSUOAahqEleUssbBsq9XwRPZM-ek
|
|
289
288
|
egain_api_python/models/tags.py,sha256=ZCPWzau0CMRASEtCn2Y4S0O0wU-O0dEHvrnNGzTy11U,469
|
290
289
|
egain_api_python/models/topic.py,sha256=nx3m46bAV-ReIAqUdOz4nlJv2I8aKtrQvxJGpxNZDL0,4998
|
291
290
|
egain_api_python/models/topicadditionalattributes.py,sha256=sE_azWZvw_9bLwb9200rXZViQ98XJDkp7ooVm9YEjdI,460
|
292
|
-
egain_api_python/models/topicaisearchresult.py,sha256=sXw6_yNbX6EHln7HLNs0rD4zffoM10naoXfmLmEmLfM,2251
|
293
291
|
egain_api_python/models/topicbreadcrumb.py,sha256=MudWNVU8qprRbEoI96gwwb200IRL3fw4T2QCs692Ock,806
|
294
292
|
egain_api_python/models/topicresult.py,sha256=KfBlmR9eqd4kOc5yaluU2xMKlF0RypbGWhG2Bbt0AdU,857
|
295
293
|
egain_api_python/models/topicsummary.py,sha256=KcCtD-9URTZEKo6p1BlqsiyBE16JAg679c4GMY4vyoU,1230
|
@@ -325,8 +323,8 @@ egain_api_python/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7
|
|
325
323
|
egain_api_python/utils/unmarshal_json_response.py,sha256=nZEaLmlsWi3z3q8Qp7ZM2jgxizRcfOBA7l8GPJuv1SY,592
|
326
324
|
egain_api_python/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
327
325
|
egain_api_python/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
328
|
-
egain_api_python-0.1.
|
329
|
-
egain_api_python-0.1.
|
330
|
-
egain_api_python-0.1.
|
331
|
-
egain_api_python-0.1.
|
332
|
-
egain_api_python-0.1.
|
326
|
+
egain_api_python-0.1.3.dist-info/licenses/LICENSE,sha256=ICtvDBOvFUvPgUEGtnyxAarCTU0IASpQZdnv8QMnHlI,1062
|
327
|
+
egain_api_python-0.1.3.dist-info/METADATA,sha256=cM5zctFOfJCectQ57T_ILoelo0j8FHG00Y6wut-ZP5o,33896
|
328
|
+
egain_api_python-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
329
|
+
egain_api_python-0.1.3.dist-info/top_level.txt,sha256=SjFjGp6Ocutn5yM4tqZHMJwpuZxFzT6qiIcELk251PA,17
|
330
|
+
egain_api_python-0.1.3.dist-info/RECORD,,
|
@@ -1,67 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
from datetime import datetime
|
5
|
-
from egain_api_python.types import BaseModel
|
6
|
-
import pydantic
|
7
|
-
from typing import Optional
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
9
|
-
|
10
|
-
|
11
|
-
class TopicAISearchResultTypedDict(TypedDict):
|
12
|
-
r"""This schema contains general information about the topic."""
|
13
|
-
|
14
|
-
name: str
|
15
|
-
r"""Name of Topic."""
|
16
|
-
id: str
|
17
|
-
article_count_in_topic: NotRequired[int]
|
18
|
-
r"""Number of articles within the topic."""
|
19
|
-
article_count_in_topic_tree: NotRequired[int]
|
20
|
-
r"""Number of articles in this topic and all sub-topics."""
|
21
|
-
created_by: NotRequired[int]
|
22
|
-
r"""The ID of the user that created this resource."""
|
23
|
-
created_date: NotRequired[datetime]
|
24
|
-
department_id: NotRequired[str]
|
25
|
-
last_modified_by: NotRequired[int]
|
26
|
-
r"""The ID of the user that modified this resource."""
|
27
|
-
last_modified_date: NotRequired[datetime]
|
28
|
-
child_count: NotRequired[int]
|
29
|
-
|
30
|
-
|
31
|
-
class TopicAISearchResult(BaseModel):
|
32
|
-
r"""This schema contains general information about the topic."""
|
33
|
-
|
34
|
-
name: str
|
35
|
-
r"""Name of Topic."""
|
36
|
-
|
37
|
-
id: str
|
38
|
-
|
39
|
-
article_count_in_topic: Annotated[
|
40
|
-
Optional[int], pydantic.Field(alias="articleCountInTopic")
|
41
|
-
] = None
|
42
|
-
r"""Number of articles within the topic."""
|
43
|
-
|
44
|
-
article_count_in_topic_tree: Annotated[
|
45
|
-
Optional[int], pydantic.Field(alias="articleCountInTopicTree")
|
46
|
-
] = None
|
47
|
-
r"""Number of articles in this topic and all sub-topics."""
|
48
|
-
|
49
|
-
created_by: Annotated[Optional[int], pydantic.Field(alias="createdBy")] = None
|
50
|
-
r"""The ID of the user that created this resource."""
|
51
|
-
|
52
|
-
created_date: Annotated[Optional[datetime], pydantic.Field(alias="createdDate")] = (
|
53
|
-
None
|
54
|
-
)
|
55
|
-
|
56
|
-
department_id: Annotated[Optional[str], pydantic.Field(alias="departmentId")] = None
|
57
|
-
|
58
|
-
last_modified_by: Annotated[
|
59
|
-
Optional[int], pydantic.Field(alias="lastModifiedBy")
|
60
|
-
] = None
|
61
|
-
r"""The ID of the user that modified this resource."""
|
62
|
-
|
63
|
-
last_modified_date: Annotated[
|
64
|
-
Optional[datetime], pydantic.Field(alias="lastModifiedDate")
|
65
|
-
] = None
|
66
|
-
|
67
|
-
child_count: Annotated[Optional[int], pydantic.Field(alias="childCount")] = None
|
File without changes
|
File without changes
|
File without changes
|