egain-api-python 0.1.1__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/__init__.py +17 -0
- egain_api_python/_hooks/__init__.py +5 -0
- egain_api_python/_hooks/registration.py +13 -0
- egain_api_python/_hooks/sdkhooks.py +76 -0
- egain_api_python/_hooks/types.py +112 -0
- egain_api_python/_version.py +15 -0
- egain_api_python/aiservices.py +23 -0
- egain_api_python/answers.py +281 -0
- egain_api_python/articlelists.py +469 -0
- egain_api_python/basesdk.py +368 -0
- egain_api_python/connectorssearchevents.py +537 -0
- egain_api_python/content.py +23 -0
- egain_api_python/errors/__init__.py +78 -0
- egain_api_python/errors/egaindefaulterror.py +40 -0
- egain_api_python/errors/egainerror.py +30 -0
- egain_api_python/errors/gethealthop.py +74 -0
- egain_api_python/errors/no_response_error.py +17 -0
- egain_api_python/errors/responsevalidationerror.py +27 -0
- egain_api_python/errors/schemas_wserrorcommon.py +51 -0
- egain_api_python/errors/wserrorcommon.py +49 -0
- egain_api_python/escalation.py +955 -0
- egain_api_python/export.py +487 -0
- egain_api_python/federatedsearchevent.py +287 -0
- egain_api_python/general.py +925 -0
- egain_api_python/guidedhelp.py +3373 -0
- egain_api_python/health.py +253 -0
- egain_api_python/httpclient.py +125 -0
- egain_api_python/import_.py +1161 -0
- egain_api_python/models/__init__.py +2136 -0
- egain_api_python/models/acceptghsolutionop.py +52 -0
- egain_api_python/models/acceptlanguage.py +23 -0
- egain_api_python/models/accessibleportal.py +37 -0
- egain_api_python/models/action.py +56 -0
- egain_api_python/models/actionsearch.py +92 -0
- egain_api_python/models/addasreferenceop.py +52 -0
- egain_api_python/models/addbookmarkop.py +43 -0
- egain_api_python/models/additionalsnippets.py +57 -0
- egain_api_python/models/addtoreplyop.py +52 -0
- egain_api_python/models/aisearchop.py +131 -0
- egain_api_python/models/aisearchresponse.py +67 -0
- egain_api_python/models/allaccessibleportals.py +28 -0
- egain_api_python/models/answer.py +21 -0
- egain_api_python/models/answeredquestion.py +125 -0
- egain_api_python/models/answerrange.py +41 -0
- egain_api_python/models/answersrequest.py +78 -0
- egain_api_python/models/answersresponse.py +93 -0
- egain_api_python/models/article.py +241 -0
- egain_api_python/models/articleactivitylink.py +62 -0
- egain_api_python/models/articleadditionalattributes.py +23 -0
- egain_api_python/models/articleaisearchresult.py +254 -0
- egain_api_python/models/articleattachment.py +44 -0
- egain_api_python/models/articlelist.py +48 -0
- egain_api_python/models/articlelistresult.py +38 -0
- egain_api_python/models/articlelistsresult.py +22 -0
- egain_api_python/models/articlepermissions.py +25 -0
- egain_api_python/models/articlepermissionsresult.py +27 -0
- egain_api_python/models/articlerating.py +51 -0
- egain_api_python/models/articleratingsresponse.py +28 -0
- egain_api_python/models/articleresult.py +159 -0
- egain_api_python/models/articleresultadditionalattributes.py +22 -0
- egain_api_python/models/articleresults.py +32 -0
- egain_api_python/models/articlesearchresult.py +243 -0
- egain_api_python/models/articlesearchresults.py +32 -0
- egain_api_python/models/articlesort.py +11 -0
- egain_api_python/models/articlesortorder.py +11 -0
- egain_api_python/models/articletype.py +56 -0
- egain_api_python/models/articlewitheditions.py +227 -0
- egain_api_python/models/attachment.py +31 -0
- egain_api_python/models/attachmentadditionalattributes.py +10 -0
- egain_api_python/models/attachmentcontent.py +57 -0
- egain_api_python/models/attachmentcontentresult.py +22 -0
- egain_api_python/models/attachmentforcreatesuggestion.py +25 -0
- egain_api_python/models/attachments.py +35 -0
- egain_api_python/models/attachmentsummary.py +37 -0
- egain_api_python/models/attachmentupload.py +20 -0
- egain_api_python/models/avertcustomerescalationop.py +44 -0
- egain_api_python/models/bookmark.py +57 -0
- egain_api_python/models/bookmarkresult.py +26 -0
- egain_api_python/models/bookmarkstatus.py +34 -0
- egain_api_python/models/case.py +158 -0
- egain_api_python/models/caseadditionalattributes.py +11 -0
- egain_api_python/models/caseanswer.py +21 -0
- egain_api_python/models/casebase.py +67 -0
- egain_api_python/models/casebaseresult.py +28 -0
- egain_api_python/models/casebasesearchsettings.py +26 -0
- egain_api_python/models/caselistresult.py +74 -0
- egain_api_python/models/caselistresults.py +28 -0
- egain_api_python/models/casequestion.py +16 -0
- egain_api_python/models/casequestiondetail.py +29 -0
- egain_api_python/models/casesearch.py +80 -0
- egain_api_python/models/clusterid.py +16 -0
- egain_api_python/models/clusterresult.py +37 -0
- egain_api_python/models/clusterresults.py +28 -0
- egain_api_python/models/comment.py +33 -0
- egain_api_python/models/comments.py +26 -0
- egain_api_python/models/completecustomerescalationop.py +44 -0
- egain_api_python/models/compliancearticleresult.py +166 -0
- egain_api_python/models/compliancearticleresultadditionalattributes.py +22 -0
- egain_api_python/models/compliancearticleresults.py +35 -0
- egain_api_python/models/complianceforarticle.py +59 -0
- egain_api_python/models/complyarticleop.py +40 -0
- egain_api_python/models/components_schemas_tag.py +25 -0
- egain_api_python/models/components_schemas_tagcategory.py +39 -0
- egain_api_python/models/components_schemas_taggroup.py +25 -0
- egain_api_python/models/configurableattribute.py +25 -0
- egain_api_python/models/configurableattributes.py +15 -0
- egain_api_python/models/contactperson.py +43 -0
- egain_api_python/models/contacts.py +21 -0
- egain_api_python/models/createbookmark.py +64 -0
- egain_api_python/models/createdby.py +37 -0
- egain_api_python/models/createfederatedsearchevent.py +85 -0
- egain_api_python/models/createfederatedsearchresulteventop.py +46 -0
- egain_api_python/models/createimportop.py +20 -0
- egain_api_python/models/createimportvalidationop.py +20 -0
- egain_api_python/models/createquickpick.py +34 -0
- egain_api_python/models/createquickpickop.py +55 -0
- egain_api_python/models/createsearchresulteventforconnectors.py +71 -0
- egain_api_python/models/createsearchresulteventforconnectorsop.py +48 -0
- egain_api_python/models/createsignedurlop.py +29 -0
- egain_api_python/models/createsuggestion.py +126 -0
- egain_api_python/models/createviewedsearchresulteventforconnectors.py +76 -0
- egain_api_python/models/createviewedsearchresultseventforconnectorsop.py +48 -0
- egain_api_python/models/customattribute.py +35 -0
- egain_api_python/models/deletebookmarkop.py +40 -0
- egain_api_python/models/deletesuggestionop.py +40 -0
- egain_api_python/models/department.py +21 -0
- egain_api_python/models/detailfield.py +32 -0
- egain_api_python/models/displayfield.py +27 -0
- egain_api_python/models/dynamiccluster.py +21 -0
- egain_api_python/models/dynamicsearch.py +40 -0
- egain_api_python/models/edition.py +79 -0
- egain_api_python/models/editionwithcontent.py +68 -0
- egain_api_python/models/email.py +21 -0
- egain_api_python/models/exportcontentop.py +14 -0
- egain_api_python/models/exportstatus.py +106 -0
- egain_api_python/models/exportstatusop.py +31 -0
- egain_api_python/models/feedbackarticleforsuggestion.py +34 -0
- egain_api_python/models/folderbreadcrumb.py +24 -0
- egain_api_python/models/foldersummary.py +29 -0
- egain_api_python/models/getacknowledgedcompliancearticlesop.py +119 -0
- egain_api_python/models/getallarticlelistsop.py +47 -0
- egain_api_python/models/getallcasebasesreleasesop.py +65 -0
- egain_api_python/models/getallcasesop.py +83 -0
- egain_api_python/models/getallportalsop.py +60 -0
- egain_api_python/models/getallprofilesinportalop.py +64 -0
- egain_api_python/models/getallquickpicksop.py +83 -0
- egain_api_python/models/getalltopicsop.py +132 -0
- egain_api_python/models/getalluserprofilesop.py +47 -0
- egain_api_python/models/getancestortopicsop.py +133 -0
- egain_api_python/models/getannouncementarticlesop.py +134 -0
- egain_api_python/models/getarticleattachmentbyidop.py +31 -0
- egain_api_python/models/getarticlebyidop.py +257 -0
- egain_api_python/models/getarticlebyidwitheditionsop.py +46 -0
- egain_api_python/models/getarticleeditiondetailsop.py +55 -0
- egain_api_python/models/getarticlelistdetailsop.py +115 -0
- egain_api_python/models/getarticlepermissionsbyidop.py +40 -0
- egain_api_python/models/getarticlepersonalizationop.py +73 -0
- egain_api_python/models/getarticleratingsop.py +74 -0
- egain_api_python/models/getarticlesintopicop.py +172 -0
- egain_api_python/models/getattachmentbyidinportalop.py +56 -0
- egain_api_python/models/getbookmarkop.py +31 -0
- egain_api_python/models/getcasebasereleasebyidop.py +64 -0
- egain_api_python/models/getcasebyidop.py +75 -0
- egain_api_python/models/getchildtopicsop.py +150 -0
- egain_api_python/models/getclusterbycasebasereleaseidop.py +74 -0
- egain_api_python/models/gethealthop.py +130 -0
- egain_api_python/models/getimportcontentop.py +46 -0
- egain_api_python/models/getmyportalsop.py +97 -0
- egain_api_python/models/getmysubscriptionop.py +115 -0
- egain_api_python/models/getpendingcompliancearticlesop.py +119 -0
- egain_api_python/models/getpopulararticlesop.py +133 -0
- egain_api_python/models/getportaldetailsbyidop.py +47 -0
- egain_api_python/models/getrelatedarticlesforsuggestionop.py +96 -0
- egain_api_python/models/getrelatedarticlesop.py +143 -0
- egain_api_python/models/getsuggestionattachmentbyidop.py +76 -0
- egain_api_python/models/getsuggestionattachmentsop.py +40 -0
- egain_api_python/models/getsuggestioncommentsop.py +40 -0
- egain_api_python/models/getsuggestionop.py +107 -0
- egain_api_python/models/gettagcategoriesforinterestforportalop.py +46 -0
- egain_api_python/models/gettopicbreadcrumbforarticleop.py +55 -0
- egain_api_python/models/getuserdetailsop.py +22 -0
- egain_api_python/models/getusermilestonesop.py +22 -0
- egain_api_python/models/ghsearchrequest.py +67 -0
- egain_api_python/models/ghsearchresult.py +75 -0
- egain_api_python/models/ghstepsearchrequest.py +64 -0
- egain_api_python/models/image.py +17 -0
- egain_api_python/models/importcontent.py +79 -0
- egain_api_python/models/importstatus.py +29 -0
- egain_api_python/models/kblanguage.py +63 -0
- egain_api_python/models/kblanguagecode.py +48 -0
- egain_api_python/models/kblanguages.py +22 -0
- egain_api_python/models/knowledgeexport.py +237 -0
- egain_api_python/models/l10nstring.py +22 -0
- egain_api_python/models/languagecode.py +39 -0
- egain_api_python/models/languagecode_parameter.py +39 -0
- egain_api_python/models/languagequeryparameter.py +39 -0
- egain_api_python/models/link.py +25 -0
- egain_api_python/models/makesuggestionop.py +44 -0
- egain_api_python/models/mandatorylanguagequeryparameter.py +38 -0
- egain_api_python/models/metadata.py +29 -0
- egain_api_python/models/milestone.py +21 -0
- egain_api_python/models/milestonename.py +26 -0
- egain_api_python/models/milestones.py +21 -0
- egain_api_python/models/modifiedby.py +37 -0
- egain_api_python/models/modifysuggestion.py +78 -0
- egain_api_python/models/modifysuggestionsop.py +44 -0
- egain_api_python/models/optionalarticleattributes.py +20 -0
- egain_api_python/models/order.py +10 -0
- egain_api_python/models/ownedby.py +37 -0
- egain_api_python/models/paginationinfo.py +32 -0
- egain_api_python/models/patchimportcontentvalidationop.py +46 -0
- egain_api_python/models/personalization.py +67 -0
- egain_api_python/models/phone.py +21 -0
- egain_api_python/models/portal.py +102 -0
- egain_api_python/models/portalresult.py +28 -0
- egain_api_python/models/portalsettings.py +398 -0
- egain_api_python/models/post_portalid_answersop.py +88 -0
- egain_api_python/models/post_portalid_retrieveop.py +88 -0
- egain_api_python/models/profile.py +26 -0
- egain_api_python/models/profileresult.py +24 -0
- egain_api_python/models/publishprofile.py +30 -0
- egain_api_python/models/publishview.py +38 -0
- egain_api_python/models/question.py +101 -0
- egain_api_python/models/questionandanswer.py +26 -0
- egain_api_python/models/quickpickrating.py +32 -0
- egain_api_python/models/quickpickresult.py +38 -0
- egain_api_python/models/quickpickresults.py +28 -0
- egain_api_python/models/ratearticleop.py +71 -0
- egain_api_python/models/referenceresponse.py +80 -0
- egain_api_python/models/rejectghsolutionop.py +52 -0
- egain_api_python/models/relatedquestions.py +28 -0
- egain_api_python/models/resourcetype_parameter.py +10 -0
- egain_api_python/models/restorequickpickop.py +63 -0
- egain_api_python/models/retrieverequest.py +47 -0
- egain_api_python/models/retrieveresponse.py +96 -0
- egain_api_python/models/role.py +26 -0
- egain_api_python/models/roletemplate.py +25 -0
- egain_api_python/models/schemas_answer.py +94 -0
- egain_api_python/models/schemas_customattribute.py +35 -0
- egain_api_python/models/schemas_link.py +27 -0
- egain_api_python/models/schemas_tag.py +21 -0
- egain_api_python/models/schemas_tagcategory.py +75 -0
- egain_api_python/models/schemas_taggroup.py +31 -0
- egain_api_python/models/schemas_tags.py +19 -0
- egain_api_python/models/schemas_wserrorcommon.py +17 -0
- egain_api_python/models/searchfilterattribute.py +61 -0
- egain_api_python/models/searchpriortoescalationop.py +108 -0
- egain_api_python/models/searchresult.py +101 -0
- egain_api_python/models/searchsuggestionop.py +93 -0
- egain_api_python/models/security.py +25 -0
- egain_api_python/models/selectuserprofileop.py +44 -0
- egain_api_python/models/sessioncontextvariable.py +17 -0
- egain_api_python/models/shorturl.py +32 -0
- egain_api_python/models/sortidname.py +10 -0
- egain_api_python/models/sortidnamedepartment.py +11 -0
- egain_api_python/models/stage.py +26 -0
- egain_api_python/models/startcustomerescalationop.py +66 -0
- egain_api_python/models/startescalationrequest.py +94 -0
- egain_api_python/models/startghsearchop.py +74 -0
- egain_api_python/models/startquestionandanswer.py +26 -0
- egain_api_python/models/stepghsearchop.py +62 -0
- egain_api_python/models/stringattributevalue.py +30 -0
- egain_api_python/models/structuredauthoringfields.py +33 -0
- egain_api_python/models/subscribearticleop.py +40 -0
- egain_api_python/models/suggestion.py +190 -0
- egain_api_python/models/suggestionadditionalattributes.py +11 -0
- egain_api_python/models/suggestionattachment.py +46 -0
- egain_api_python/models/suggestions.py +28 -0
- egain_api_python/models/tag.py +17 -0
- egain_api_python/models/tagcategoriesforinterest.py +22 -0
- egain_api_python/models/tagcategory.py +34 -0
- egain_api_python/models/taggroup.py +17 -0
- egain_api_python/models/taggroups.py +20 -0
- egain_api_python/models/tags.py +17 -0
- egain_api_python/models/topic.py +113 -0
- egain_api_python/models/topicadditionalattributes.py +20 -0
- egain_api_python/models/topicaisearchresult.py +67 -0
- egain_api_python/models/topicbreadcrumb.py +24 -0
- egain_api_python/models/topicresult.py +26 -0
- egain_api_python/models/topicsummary.py +31 -0
- egain_api_python/models/topictreenode.py +27 -0
- egain_api_python/models/topictreeresult.py +28 -0
- egain_api_python/models/unsubscribearticleop.py +55 -0
- egain_api_python/models/uploadattachmentop.py +36 -0
- egain_api_python/models/userdetails.py +44 -0
- egain_api_python/models/userprofile.py +33 -0
- egain_api_python/models/userprofiles.py +21 -0
- egain_api_python/models/userview.py +33 -0
- egain_api_python/models/validateimportcontent.py +58 -0
- egain_api_python/models/virtualcase.py +52 -0
- egain_api_python/models/workflow.py +21 -0
- egain_api_python/models/workflowmilestone.py +11 -0
- egain_api_python/models/wserrorcommon.py +17 -0
- egain_api_python/populararticles.py +287 -0
- egain_api_python/portal_article.py +4935 -0
- egain_api_python/portal_attachment.py +494 -0
- egain_api_python/portal_bookmark.py +707 -0
- egain_api_python/portal_sdk.py +88 -0
- egain_api_python/portal_suggestion.py +2283 -0
- egain_api_python/portal_topic.py +975 -0
- egain_api_python/portal_userdetails.py +211 -0
- egain_api_python/portal_userprofile.py +431 -0
- egain_api_python/py.typed +1 -0
- egain_api_python/retrieve.py +265 -0
- egain_api_python/sdk.py +216 -0
- egain_api_python/sdkconfiguration.py +50 -0
- egain_api_python/search.py +251 -0
- egain_api_python/types/__init__.py +21 -0
- egain_api_python/types/basemodel.py +39 -0
- egain_api_python/usermilestones.py +219 -0
- egain_api_python/utils/__init__.py +200 -0
- egain_api_python/utils/annotations.py +79 -0
- egain_api_python/utils/datetimes.py +23 -0
- egain_api_python/utils/enums.py +74 -0
- egain_api_python/utils/eventstreaming.py +248 -0
- egain_api_python/utils/forms.py +223 -0
- egain_api_python/utils/headers.py +136 -0
- egain_api_python/utils/logger.py +27 -0
- egain_api_python/utils/metadata.py +118 -0
- egain_api_python/utils/queryparams.py +205 -0
- egain_api_python/utils/requestbodies.py +66 -0
- egain_api_python/utils/retries.py +217 -0
- egain_api_python/utils/security.py +192 -0
- egain_api_python/utils/serializers.py +249 -0
- egain_api_python/utils/unmarshal_json_response.py +24 -0
- egain_api_python/utils/url.py +155 -0
- egain_api_python/utils/values.py +137 -0
- egain_api_python-0.1.1.dist-info/METADATA +827 -0
- egain_api_python-0.1.1.dist-info/RECORD +332 -0
- egain_api_python-0.1.1.dist-info/WHEEL +5 -0
- egain_api_python-0.1.1.dist-info/licenses/LICENSE +21 -0
- egain_api_python-0.1.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,74 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .languagequeryparameter import LanguageQueryParameter
|
6
|
+
from egain_api_python.types import BaseModel
|
7
|
+
from egain_api_python.utils import (
|
8
|
+
FieldMetadata,
|
9
|
+
HeaderMetadata,
|
10
|
+
PathParamMetadata,
|
11
|
+
QueryParamMetadata,
|
12
|
+
)
|
13
|
+
import pydantic
|
14
|
+
from typing import Optional
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
16
|
+
|
17
|
+
|
18
|
+
class GetClusterByCasebaseReleaseIDRequestTypedDict(TypedDict):
|
19
|
+
accept_language: AcceptLanguage
|
20
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
21
|
+
portal_id: str
|
22
|
+
r"""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."""
|
23
|
+
casebase_release_id: str
|
24
|
+
r"""The numerical ID of the Casebase Release for which details is to be fetched."""
|
25
|
+
language: NotRequired[LanguageQueryParameter]
|
26
|
+
r"""The language that describes the details of a resource. Resources available in different languages may differ from each other.<li>If <code>lang</code> is not passed, then the portal's default language is used.</li>"""
|
27
|
+
pagenum: NotRequired[int]
|
28
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
29
|
+
pagesize: NotRequired[int]
|
30
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."""
|
31
|
+
|
32
|
+
|
33
|
+
class GetClusterByCasebaseReleaseIDRequest(BaseModel):
|
34
|
+
accept_language: Annotated[
|
35
|
+
AcceptLanguage,
|
36
|
+
pydantic.Field(alias="Accept-Language"),
|
37
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
38
|
+
]
|
39
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
40
|
+
|
41
|
+
portal_id: Annotated[
|
42
|
+
str,
|
43
|
+
pydantic.Field(alias="portalID"),
|
44
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
45
|
+
]
|
46
|
+
r"""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."""
|
47
|
+
|
48
|
+
casebase_release_id: Annotated[
|
49
|
+
str,
|
50
|
+
pydantic.Field(alias="casebaseReleaseID"),
|
51
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
52
|
+
]
|
53
|
+
r"""The numerical ID of the Casebase Release for which details is to be fetched."""
|
54
|
+
|
55
|
+
language: Annotated[
|
56
|
+
Optional[LanguageQueryParameter],
|
57
|
+
pydantic.Field(alias="$lang"),
|
58
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
59
|
+
] = None
|
60
|
+
r"""The language that describes the details of a resource. Resources available in different languages may differ from each other.<li>If <code>lang</code> is not passed, then the portal's default language is used.</li>"""
|
61
|
+
|
62
|
+
pagenum: Annotated[
|
63
|
+
Optional[int],
|
64
|
+
pydantic.Field(alias="$pagenum"),
|
65
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
66
|
+
] = 1
|
67
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
68
|
+
|
69
|
+
pagesize: Annotated[
|
70
|
+
Optional[int],
|
71
|
+
pydantic.Field(alias="$pagesize"),
|
72
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
73
|
+
] = 10
|
74
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."""
|
@@ -0,0 +1,130 @@
|
|
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
|
+
from typing import Optional
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
GET_HEALTH_OP_SERVERS = [
|
11
|
+
# Production Server
|
12
|
+
"https://${API_DOMAIN}/knowledge/contentmgr/v4",
|
13
|
+
]
|
14
|
+
|
15
|
+
|
16
|
+
class GetHealthResponseTypedDict(TypedDict):
|
17
|
+
r"""## Service is Healthy
|
18
|
+
|
19
|
+
The Import Content service is operating normally with all components functioning as expected.
|
20
|
+
|
21
|
+
**Health Status Details:**
|
22
|
+
- **Overall Status**: Service is healthy and ready to process requests
|
23
|
+
|
24
|
+
**Response Information:**
|
25
|
+
- **Status**: Current health state (healthy, degraded, unhealthy)
|
26
|
+
- **Timestamp**: When health check was performed
|
27
|
+
- **Version**: Current API version
|
28
|
+
|
29
|
+
"""
|
30
|
+
|
31
|
+
status: NotRequired[str]
|
32
|
+
r"""**Health Status**
|
33
|
+
|
34
|
+
The overall health status of the service. Possible values:
|
35
|
+
- **healthy**: Service is operating normally
|
36
|
+
- **degraded**: Service is functional but with performance issues
|
37
|
+
- **unhealthy**: Service is experiencing critical issues
|
38
|
+
- **maintenance**: Service is under planned maintenance
|
39
|
+
|
40
|
+
"""
|
41
|
+
timestamp: NotRequired[datetime]
|
42
|
+
r"""**Health Check Timestamp**
|
43
|
+
|
44
|
+
The exact date and time when this health check was performed. This is useful for:
|
45
|
+
- Tracking health check frequency
|
46
|
+
- Correlating with other system events
|
47
|
+
- Monitoring health check response times
|
48
|
+
- Historical health trend analysis
|
49
|
+
|
50
|
+
"""
|
51
|
+
version: NotRequired[str]
|
52
|
+
r"""**API Version**
|
53
|
+
|
54
|
+
The current version of the Import Content API. This helps with:
|
55
|
+
- Version compatibility checking
|
56
|
+
- Feature availability verification
|
57
|
+
- Upgrade planning and coordination
|
58
|
+
- Support and troubleshooting
|
59
|
+
|
60
|
+
"""
|
61
|
+
uptime: NotRequired[str]
|
62
|
+
r"""**Service Uptime**
|
63
|
+
|
64
|
+
The total time the service has been running since the last restart. This metric is useful for:
|
65
|
+
- Service stability monitoring
|
66
|
+
- Maintenance scheduling
|
67
|
+
- Performance trend analysis
|
68
|
+
- Reliability assessment
|
69
|
+
|
70
|
+
"""
|
71
|
+
|
72
|
+
|
73
|
+
class GetHealthResponse(BaseModel):
|
74
|
+
r"""## Service is Healthy
|
75
|
+
|
76
|
+
The Import Content service is operating normally with all components functioning as expected.
|
77
|
+
|
78
|
+
**Health Status Details:**
|
79
|
+
- **Overall Status**: Service is healthy and ready to process requests
|
80
|
+
|
81
|
+
**Response Information:**
|
82
|
+
- **Status**: Current health state (healthy, degraded, unhealthy)
|
83
|
+
- **Timestamp**: When health check was performed
|
84
|
+
- **Version**: Current API version
|
85
|
+
|
86
|
+
"""
|
87
|
+
|
88
|
+
status: Optional[str] = None
|
89
|
+
r"""**Health Status**
|
90
|
+
|
91
|
+
The overall health status of the service. Possible values:
|
92
|
+
- **healthy**: Service is operating normally
|
93
|
+
- **degraded**: Service is functional but with performance issues
|
94
|
+
- **unhealthy**: Service is experiencing critical issues
|
95
|
+
- **maintenance**: Service is under planned maintenance
|
96
|
+
|
97
|
+
"""
|
98
|
+
|
99
|
+
timestamp: Optional[datetime] = None
|
100
|
+
r"""**Health Check Timestamp**
|
101
|
+
|
102
|
+
The exact date and time when this health check was performed. This is useful for:
|
103
|
+
- Tracking health check frequency
|
104
|
+
- Correlating with other system events
|
105
|
+
- Monitoring health check response times
|
106
|
+
- Historical health trend analysis
|
107
|
+
|
108
|
+
"""
|
109
|
+
|
110
|
+
version: Optional[str] = None
|
111
|
+
r"""**API Version**
|
112
|
+
|
113
|
+
The current version of the Import Content API. This helps with:
|
114
|
+
- Version compatibility checking
|
115
|
+
- Feature availability verification
|
116
|
+
- Upgrade planning and coordination
|
117
|
+
- Support and troubleshooting
|
118
|
+
|
119
|
+
"""
|
120
|
+
|
121
|
+
uptime: Optional[str] = None
|
122
|
+
r"""**Service Uptime**
|
123
|
+
|
124
|
+
The total time the service has been running since the last restart. This metric is useful for:
|
125
|
+
- Service stability monitoring
|
126
|
+
- Maintenance scheduling
|
127
|
+
- Performance trend analysis
|
128
|
+
- Reliability assessment
|
129
|
+
|
130
|
+
"""
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from egain_api_python.types import BaseModel
|
5
|
+
from egain_api_python.utils import FieldMetadata, PathParamMetadata
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
GET_IMPORT_CONTENT_OP_SERVERS = [
|
10
|
+
# Production Server
|
11
|
+
"https://${API_DOMAIN}/knowledge/contentmgr/v4",
|
12
|
+
]
|
13
|
+
|
14
|
+
|
15
|
+
class GetImportContentRequestTypedDict(TypedDict):
|
16
|
+
job_id: str
|
17
|
+
r"""**Job ID Parameter**
|
18
|
+
|
19
|
+
The unique identifier for the import or validation job. This ID was returned when the job was created via the Import or Validate API.
|
20
|
+
|
21
|
+
**Format:** UUID v4 (e.g., 7A84B875-6F75-4C7B-B137-0632B62DB0BD)
|
22
|
+
|
23
|
+
**Example Usage:**
|
24
|
+
```bash
|
25
|
+
GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status
|
26
|
+
```
|
27
|
+
|
28
|
+
"""
|
29
|
+
|
30
|
+
|
31
|
+
class GetImportContentRequest(BaseModel):
|
32
|
+
job_id: Annotated[
|
33
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
34
|
+
]
|
35
|
+
r"""**Job ID Parameter**
|
36
|
+
|
37
|
+
The unique identifier for the import or validation job. This ID was returned when the job was created via the Import or Validate API.
|
38
|
+
|
39
|
+
**Format:** UUID v4 (e.g., 7A84B875-6F75-4C7B-B137-0632B62DB0BD)
|
40
|
+
|
41
|
+
**Example Usage:**
|
42
|
+
```bash
|
43
|
+
GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status
|
44
|
+
```
|
45
|
+
|
46
|
+
"""
|
@@ -0,0 +1,97 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .mandatorylanguagequeryparameter import MandatoryLanguageQueryParameter
|
6
|
+
from .order import Order
|
7
|
+
from .sortidnamedepartment import SortIDNameDepartment
|
8
|
+
from egain_api_python.types import BaseModel
|
9
|
+
from egain_api_python.utils import FieldMetadata, HeaderMetadata, QueryParamMetadata
|
10
|
+
import pydantic
|
11
|
+
from typing import Optional
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
13
|
+
|
14
|
+
|
15
|
+
class GetMyPortalsRequestTypedDict(TypedDict):
|
16
|
+
accept_language: AcceptLanguage
|
17
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
18
|
+
language: MandatoryLanguageQueryParameter
|
19
|
+
r"""The language used for fetching the details of a resource. Resources available in different languages may differ from each other."""
|
20
|
+
department: NotRequired[str]
|
21
|
+
r"""The Name of the department for which portals are to be fetched"""
|
22
|
+
filter_text: NotRequired[str]
|
23
|
+
r"""Portal name starting with a specific character are considered to filter the result."""
|
24
|
+
short_url_template: NotRequired[str]
|
25
|
+
r"""The Name of the template used while creating Short URL."""
|
26
|
+
sort: NotRequired[SortIDNameDepartment]
|
27
|
+
r"""Objects returned in server response are sorted based on the attribute supplied under $sort. <br>_Default value_: name."""
|
28
|
+
order: NotRequired[Order]
|
29
|
+
r"""Common query parameter $order."""
|
30
|
+
pagenum: NotRequired[int]
|
31
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
32
|
+
pagesize: NotRequired[int]
|
33
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum.<br>Valid range of 5-75<br>_Default value_: 25"""
|
34
|
+
|
35
|
+
|
36
|
+
class GetMyPortalsRequest(BaseModel):
|
37
|
+
accept_language: Annotated[
|
38
|
+
AcceptLanguage,
|
39
|
+
pydantic.Field(alias="Accept-Language"),
|
40
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
41
|
+
]
|
42
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
43
|
+
|
44
|
+
language: Annotated[
|
45
|
+
MandatoryLanguageQueryParameter,
|
46
|
+
pydantic.Field(alias="$lang"),
|
47
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
48
|
+
]
|
49
|
+
r"""The language used for fetching the details of a resource. Resources available in different languages may differ from each other."""
|
50
|
+
|
51
|
+
department: Annotated[
|
52
|
+
Optional[str],
|
53
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
54
|
+
] = None
|
55
|
+
r"""The Name of the department for which portals are to be fetched"""
|
56
|
+
|
57
|
+
filter_text: Annotated[
|
58
|
+
Optional[str],
|
59
|
+
pydantic.Field(alias="filterText"),
|
60
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
61
|
+
] = None
|
62
|
+
r"""Portal name starting with a specific character are considered to filter the result."""
|
63
|
+
|
64
|
+
short_url_template: Annotated[
|
65
|
+
Optional[str],
|
66
|
+
pydantic.Field(alias="shortUrlTemplate"),
|
67
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
68
|
+
] = None
|
69
|
+
r"""The Name of the template used while creating Short URL."""
|
70
|
+
|
71
|
+
sort: Annotated[
|
72
|
+
Optional[SortIDNameDepartment],
|
73
|
+
pydantic.Field(alias="$sort"),
|
74
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
75
|
+
] = None
|
76
|
+
r"""Objects returned in server response are sorted based on the attribute supplied under $sort. <br>_Default value_: name."""
|
77
|
+
|
78
|
+
order: Annotated[
|
79
|
+
Optional[Order],
|
80
|
+
pydantic.Field(alias="$order"),
|
81
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
82
|
+
] = None
|
83
|
+
r"""Common query parameter $order."""
|
84
|
+
|
85
|
+
pagenum: Annotated[
|
86
|
+
Optional[int],
|
87
|
+
pydantic.Field(alias="$pagenum"),
|
88
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
89
|
+
] = 1
|
90
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
91
|
+
|
92
|
+
pagesize: Annotated[
|
93
|
+
Optional[int],
|
94
|
+
pydantic.Field(alias="$pagesize"),
|
95
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
96
|
+
] = 25
|
97
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum.<br>Valid range of 5-75<br>_Default value_: 25"""
|
@@ -0,0 +1,115 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .articleresultadditionalattributes import ArticleResultAdditionalAttributes
|
6
|
+
from .workflowmilestone import WorkflowMilestone
|
7
|
+
from egain_api_python.types import BaseModel
|
8
|
+
from egain_api_python.utils import (
|
9
|
+
FieldMetadata,
|
10
|
+
HeaderMetadata,
|
11
|
+
PathParamMetadata,
|
12
|
+
QueryParamMetadata,
|
13
|
+
)
|
14
|
+
import pydantic
|
15
|
+
from typing import List, Optional
|
16
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
17
|
+
|
18
|
+
|
19
|
+
class GetMySubscriptionRequestTypedDict(TypedDict):
|
20
|
+
accept_language: AcceptLanguage
|
21
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
22
|
+
portal_id: str
|
23
|
+
r"""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."""
|
24
|
+
workflow_milestone: NotRequired[WorkflowMilestone]
|
25
|
+
r"""For agents with the View Author Portal or View Staging Portal actions, this determines which version of the Article is returned.<li>'Authoring' returns the most recent version of an Article checked-in by an author.</li><li>'Staging' returns the updated version currently being processed in a workflow.</li><li>'Publish' returns the most recently published version.</li>"""
|
26
|
+
pagenum: NotRequired[int]
|
27
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
28
|
+
pagesize: NotRequired[int]
|
29
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."""
|
30
|
+
article_result_additional_attributes: NotRequired[
|
31
|
+
List[ArticleResultAdditionalAttributes]
|
32
|
+
]
|
33
|
+
r"""The attributes of an Article to be returned *in addition to* the default list of attributes, listed below. Multiple additional attributes can be specified using a comma-separated list. Passing 'all' will return all attributes.
|
34
|
+
|
35
|
+
#### Default Attributes
|
36
|
+
These Article attributes are always returned:
|
37
|
+
|
38
|
+
| Name | Description
|
39
|
+
| ---- | -----------
|
40
|
+
| id | The ID of the Article.
|
41
|
+
| name | The name of the Article.
|
42
|
+
| articleType | The Article Type and its attributes.
|
43
|
+
| createdBy | The ID, first name, middle name and last name of the user that created the Article.
|
44
|
+
| createdDate | The date that the Article was created.
|
45
|
+
| hasAttachments | True: The Article has one or more attachments.<br>False: The Article does not have any attachments.
|
46
|
+
| languageCode | The language code of the Article language.
|
47
|
+
| modifiedBy | The ID, first name, middle name and last name of the user that last modified the Article.
|
48
|
+
| modifiedDate | The date that the Article was last modified on.
|
49
|
+
| link | The link object, used to retrieve the details of the Article.
|
50
|
+
| versionId | The ID of the Article version that is returned.
|
51
|
+
|
52
|
+
"""
|
53
|
+
|
54
|
+
|
55
|
+
class GetMySubscriptionRequest(BaseModel):
|
56
|
+
accept_language: Annotated[
|
57
|
+
AcceptLanguage,
|
58
|
+
pydantic.Field(alias="Accept-Language"),
|
59
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
60
|
+
]
|
61
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
62
|
+
|
63
|
+
portal_id: Annotated[
|
64
|
+
str,
|
65
|
+
pydantic.Field(alias="portalID"),
|
66
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
67
|
+
]
|
68
|
+
r"""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."""
|
69
|
+
|
70
|
+
workflow_milestone: Annotated[
|
71
|
+
Optional[WorkflowMilestone],
|
72
|
+
pydantic.Field(alias="workflowMilestone"),
|
73
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
74
|
+
] = None
|
75
|
+
r"""For agents with the View Author Portal or View Staging Portal actions, this determines which version of the Article is returned.<li>'Authoring' returns the most recent version of an Article checked-in by an author.</li><li>'Staging' returns the updated version currently being processed in a workflow.</li><li>'Publish' returns the most recently published version.</li>"""
|
76
|
+
|
77
|
+
pagenum: Annotated[
|
78
|
+
Optional[int],
|
79
|
+
pydantic.Field(alias="$pagenum"),
|
80
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
81
|
+
] = 1
|
82
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
83
|
+
|
84
|
+
pagesize: Annotated[
|
85
|
+
Optional[int],
|
86
|
+
pydantic.Field(alias="$pagesize"),
|
87
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
88
|
+
] = 10
|
89
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."""
|
90
|
+
|
91
|
+
article_result_additional_attributes: Annotated[
|
92
|
+
Optional[List[ArticleResultAdditionalAttributes]],
|
93
|
+
pydantic.Field(alias="articleResultAdditionalAttributes"),
|
94
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
95
|
+
] = None
|
96
|
+
r"""The attributes of an Article to be returned *in addition to* the default list of attributes, listed below. Multiple additional attributes can be specified using a comma-separated list. Passing 'all' will return all attributes.
|
97
|
+
|
98
|
+
#### Default Attributes
|
99
|
+
These Article attributes are always returned:
|
100
|
+
|
101
|
+
| Name | Description
|
102
|
+
| ---- | -----------
|
103
|
+
| id | The ID of the Article.
|
104
|
+
| name | The name of the Article.
|
105
|
+
| articleType | The Article Type and its attributes.
|
106
|
+
| createdBy | The ID, first name, middle name and last name of the user that created the Article.
|
107
|
+
| createdDate | The date that the Article was created.
|
108
|
+
| hasAttachments | True: The Article has one or more attachments.<br>False: The Article does not have any attachments.
|
109
|
+
| languageCode | The language code of the Article language.
|
110
|
+
| modifiedBy | The ID, first name, middle name and last name of the user that last modified the Article.
|
111
|
+
| modifiedDate | The date that the Article was last modified on.
|
112
|
+
| link | The link object, used to retrieve the details of the Article.
|
113
|
+
| versionId | The ID of the Article version that is returned.
|
114
|
+
|
115
|
+
"""
|
@@ -0,0 +1,119 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .compliancearticleresultadditionalattributes import (
|
6
|
+
ComplianceArticleResultAdditionalAttributes,
|
7
|
+
)
|
8
|
+
from .languagequeryparameter import LanguageQueryParameter
|
9
|
+
from egain_api_python.types import BaseModel
|
10
|
+
from egain_api_python.utils import (
|
11
|
+
FieldMetadata,
|
12
|
+
HeaderMetadata,
|
13
|
+
PathParamMetadata,
|
14
|
+
QueryParamMetadata,
|
15
|
+
)
|
16
|
+
import pydantic
|
17
|
+
from typing import List, Optional
|
18
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
19
|
+
|
20
|
+
|
21
|
+
class GetPendingComplianceArticlesRequestTypedDict(TypedDict):
|
22
|
+
accept_language: AcceptLanguage
|
23
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
24
|
+
portal_id: str
|
25
|
+
r"""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."""
|
26
|
+
compliance_article_result_additional_attributes: NotRequired[
|
27
|
+
List[ComplianceArticleResultAdditionalAttributes]
|
28
|
+
]
|
29
|
+
r"""The attributes of an Article to be returned *in addition to* the default list of attributes, listed below. Multiple additional attributes can be specified using a comma-separated list. Passing 'all' will return all attributes.
|
30
|
+
|
31
|
+
#### Default Attributes
|
32
|
+
These Article attributes are always returned:
|
33
|
+
|
34
|
+
| Name | Description
|
35
|
+
| ---- | -----------
|
36
|
+
| id | The ID of the Article.
|
37
|
+
| name | The name of the Article.
|
38
|
+
| updateSummary | Summary of the Article update.
|
39
|
+
| articleType | The Article Type and its attributes.
|
40
|
+
| createdBy | The ID, first name, middle name and last name of the user that created the Article.
|
41
|
+
| createdDate | The date that the Article was created.
|
42
|
+
| hasAttachments | True: The Article has one or more attachments.<br>False: The Article does not have any attachments.
|
43
|
+
| languageCode | The language code of the Article language.
|
44
|
+
| modifiedBy | The ID, first name, middle name and last name of the user that last modified the Article.
|
45
|
+
| modifiedDate | The date that the Article was last modified on.
|
46
|
+
| link | The link object, used to retrieve the details of the Article.
|
47
|
+
| versionId | The ID of the Article version that is returned.
|
48
|
+
|
49
|
+
"""
|
50
|
+
language: NotRequired[LanguageQueryParameter]
|
51
|
+
r"""The language that describes the details of a resource. Resources available in different languages may differ from each other.<li>If <code>lang</code> is not passed, then the portal's default language is used.</li>"""
|
52
|
+
pagenum: NotRequired[int]
|
53
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
54
|
+
pagesize: NotRequired[int]
|
55
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."""
|
56
|
+
|
57
|
+
|
58
|
+
class GetPendingComplianceArticlesRequest(BaseModel):
|
59
|
+
accept_language: Annotated[
|
60
|
+
AcceptLanguage,
|
61
|
+
pydantic.Field(alias="Accept-Language"),
|
62
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
63
|
+
]
|
64
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
65
|
+
|
66
|
+
portal_id: Annotated[
|
67
|
+
str,
|
68
|
+
pydantic.Field(alias="portalID"),
|
69
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
70
|
+
]
|
71
|
+
r"""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."""
|
72
|
+
|
73
|
+
compliance_article_result_additional_attributes: Annotated[
|
74
|
+
Optional[List[ComplianceArticleResultAdditionalAttributes]],
|
75
|
+
pydantic.Field(alias="complianceArticleResultAdditionalAttributes"),
|
76
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
77
|
+
] = None
|
78
|
+
r"""The attributes of an Article to be returned *in addition to* the default list of attributes, listed below. Multiple additional attributes can be specified using a comma-separated list. Passing 'all' will return all attributes.
|
79
|
+
|
80
|
+
#### Default Attributes
|
81
|
+
These Article attributes are always returned:
|
82
|
+
|
83
|
+
| Name | Description
|
84
|
+
| ---- | -----------
|
85
|
+
| id | The ID of the Article.
|
86
|
+
| name | The name of the Article.
|
87
|
+
| updateSummary | Summary of the Article update.
|
88
|
+
| articleType | The Article Type and its attributes.
|
89
|
+
| createdBy | The ID, first name, middle name and last name of the user that created the Article.
|
90
|
+
| createdDate | The date that the Article was created.
|
91
|
+
| hasAttachments | True: The Article has one or more attachments.<br>False: The Article does not have any attachments.
|
92
|
+
| languageCode | The language code of the Article language.
|
93
|
+
| modifiedBy | The ID, first name, middle name and last name of the user that last modified the Article.
|
94
|
+
| modifiedDate | The date that the Article was last modified on.
|
95
|
+
| link | The link object, used to retrieve the details of the Article.
|
96
|
+
| versionId | The ID of the Article version that is returned.
|
97
|
+
|
98
|
+
"""
|
99
|
+
|
100
|
+
language: Annotated[
|
101
|
+
Optional[LanguageQueryParameter],
|
102
|
+
pydantic.Field(alias="$lang"),
|
103
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
104
|
+
] = None
|
105
|
+
r"""The language that describes the details of a resource. Resources available in different languages may differ from each other.<li>If <code>lang</code> is not passed, then the portal's default language is used.</li>"""
|
106
|
+
|
107
|
+
pagenum: Annotated[
|
108
|
+
Optional[int],
|
109
|
+
pydantic.Field(alias="$pagenum"),
|
110
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
111
|
+
] = 1
|
112
|
+
r"""Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."""
|
113
|
+
|
114
|
+
pagesize: Annotated[
|
115
|
+
Optional[int],
|
116
|
+
pydantic.Field(alias="$pagesize"),
|
117
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
118
|
+
] = 10
|
119
|
+
r"""Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."""
|