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,48 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .createviewedsearchresulteventforconnectors import (
|
6
|
+
CreateViewedSearchResultEventForConnectors,
|
7
|
+
CreateViewedSearchResultEventForConnectorsTypedDict,
|
8
|
+
)
|
9
|
+
from egain_api_python.types import BaseModel
|
10
|
+
from egain_api_python.utils import (
|
11
|
+
FieldMetadata,
|
12
|
+
HeaderMetadata,
|
13
|
+
PathParamMetadata,
|
14
|
+
RequestMetadata,
|
15
|
+
)
|
16
|
+
import pydantic
|
17
|
+
from typing_extensions import Annotated, TypedDict
|
18
|
+
|
19
|
+
|
20
|
+
class CreateViewedSearchResultsEventForConnectorsRequestTypedDict(TypedDict):
|
21
|
+
accept_language: AcceptLanguage
|
22
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
23
|
+
portal_id: str
|
24
|
+
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."""
|
25
|
+
create_viewed_search_result_event_for_connectors: (
|
26
|
+
CreateViewedSearchResultEventForConnectorsTypedDict
|
27
|
+
)
|
28
|
+
|
29
|
+
|
30
|
+
class CreateViewedSearchResultsEventForConnectorsRequest(BaseModel):
|
31
|
+
accept_language: Annotated[
|
32
|
+
AcceptLanguage,
|
33
|
+
pydantic.Field(alias="Accept-Language"),
|
34
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
35
|
+
]
|
36
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
37
|
+
|
38
|
+
portal_id: Annotated[
|
39
|
+
str,
|
40
|
+
pydantic.Field(alias="portalID"),
|
41
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
42
|
+
]
|
43
|
+
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."""
|
44
|
+
|
45
|
+
create_viewed_search_result_event_for_connectors: Annotated[
|
46
|
+
CreateViewedSearchResultEventForConnectors,
|
47
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
48
|
+
]
|
@@ -0,0 +1,35 @@
|
|
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 typing import List, Literal, Optional
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
CustomAttributeType = Literal[
|
10
|
+
"STRING",
|
11
|
+
"INTEGER",
|
12
|
+
"BOOLEAN",
|
13
|
+
"DATETIME",
|
14
|
+
]
|
15
|
+
r"""The custom attribute's type."""
|
16
|
+
|
17
|
+
|
18
|
+
class CustomAttributeTypedDict(TypedDict):
|
19
|
+
name: NotRequired[str]
|
20
|
+
r"""The custom attribute's name."""
|
21
|
+
value: NotRequired[List[str]]
|
22
|
+
r"""The custom attribute's values."""
|
23
|
+
type: NotRequired[CustomAttributeType]
|
24
|
+
r"""The custom attribute's type."""
|
25
|
+
|
26
|
+
|
27
|
+
class CustomAttribute(BaseModel):
|
28
|
+
name: Optional[str] = None
|
29
|
+
r"""The custom attribute's name."""
|
30
|
+
|
31
|
+
value: Optional[List[str]] = None
|
32
|
+
r"""The custom attribute's values."""
|
33
|
+
|
34
|
+
type: Optional[CustomAttributeType] = None
|
35
|
+
r"""The custom attribute's type."""
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from egain_api_python.types import BaseModel
|
6
|
+
from egain_api_python.utils import FieldMetadata, HeaderMetadata, PathParamMetadata
|
7
|
+
import pydantic
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class DeletebookmarkRequestTypedDict(TypedDict):
|
12
|
+
accept_language: AcceptLanguage
|
13
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
14
|
+
portal_id: str
|
15
|
+
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."""
|
16
|
+
bookmark_id: str
|
17
|
+
r"""The ID of the bookmark."""
|
18
|
+
|
19
|
+
|
20
|
+
class DeletebookmarkRequest(BaseModel):
|
21
|
+
accept_language: Annotated[
|
22
|
+
AcceptLanguage,
|
23
|
+
pydantic.Field(alias="Accept-Language"),
|
24
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
25
|
+
]
|
26
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
27
|
+
|
28
|
+
portal_id: Annotated[
|
29
|
+
str,
|
30
|
+
pydantic.Field(alias="portalID"),
|
31
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
32
|
+
]
|
33
|
+
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."""
|
34
|
+
|
35
|
+
bookmark_id: Annotated[
|
36
|
+
str,
|
37
|
+
pydantic.Field(alias="bookmarkID"),
|
38
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
39
|
+
]
|
40
|
+
r"""The ID of the bookmark."""
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from egain_api_python.types import BaseModel
|
6
|
+
from egain_api_python.utils import FieldMetadata, HeaderMetadata, PathParamMetadata
|
7
|
+
import pydantic
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class DeleteSuggestionRequestTypedDict(TypedDict):
|
12
|
+
accept_language: AcceptLanguage
|
13
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
14
|
+
portal_id: str
|
15
|
+
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."""
|
16
|
+
suggestion_id: str
|
17
|
+
r"""The ID of the Suggestion.<br><br>A Suggestion ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
18
|
+
|
19
|
+
|
20
|
+
class DeleteSuggestionRequest(BaseModel):
|
21
|
+
accept_language: Annotated[
|
22
|
+
AcceptLanguage,
|
23
|
+
pydantic.Field(alias="Accept-Language"),
|
24
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
25
|
+
]
|
26
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
27
|
+
|
28
|
+
portal_id: Annotated[
|
29
|
+
str,
|
30
|
+
pydantic.Field(alias="portalID"),
|
31
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
32
|
+
]
|
33
|
+
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."""
|
34
|
+
|
35
|
+
suggestion_id: Annotated[
|
36
|
+
str,
|
37
|
+
pydantic.Field(alias="suggestionID"),
|
38
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
39
|
+
]
|
40
|
+
r"""The ID of the Suggestion.<br><br>A Suggestion ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
@@ -0,0 +1,21 @@
|
|
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 typing import Optional
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
class DepartmentTypedDict(TypedDict):
|
10
|
+
id: NotRequired[str]
|
11
|
+
r"""ID of department"""
|
12
|
+
name: NotRequired[str]
|
13
|
+
r"""Name of Department"""
|
14
|
+
|
15
|
+
|
16
|
+
class Department(BaseModel):
|
17
|
+
id: Optional[str] = None
|
18
|
+
r"""ID of department"""
|
19
|
+
|
20
|
+
name: Optional[str] = None
|
21
|
+
r"""Name of Department"""
|
@@ -0,0 +1,32 @@
|
|
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
|
+
import pydantic
|
6
|
+
from typing import Optional
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class DetailFieldTypedDict(TypedDict):
|
11
|
+
id: NotRequired[str]
|
12
|
+
r"""The ID of the Detail Field.<br>The ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
13
|
+
detail_link: NotRequired[str]
|
14
|
+
r"""link of the detail"""
|
15
|
+
detail_type: NotRequired[str]
|
16
|
+
r"""type of the detail"""
|
17
|
+
field_name: NotRequired[str]
|
18
|
+
r"""name of the field"""
|
19
|
+
|
20
|
+
|
21
|
+
class DetailField(BaseModel):
|
22
|
+
id: Optional[str] = None
|
23
|
+
r"""The ID of the Detail Field.<br>The ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
24
|
+
|
25
|
+
detail_link: Annotated[Optional[str], pydantic.Field(alias="detailLink")] = None
|
26
|
+
r"""link of the detail"""
|
27
|
+
|
28
|
+
detail_type: Annotated[Optional[str], pydantic.Field(alias="detailType")] = None
|
29
|
+
r"""type of the detail"""
|
30
|
+
|
31
|
+
field_name: Annotated[Optional[str], pydantic.Field(alias="fieldName")] = None
|
32
|
+
r"""name of the field"""
|
@@ -0,0 +1,27 @@
|
|
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
|
+
import pydantic
|
6
|
+
from typing import Any, Optional
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class DisplayFieldTypedDict(TypedDict):
|
11
|
+
id: NotRequired[str]
|
12
|
+
r"""The ID of the Display Field.<br>The ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
13
|
+
content: NotRequired[str]
|
14
|
+
r"""content in bytes. 2 MB max"""
|
15
|
+
field_name: NotRequired[Any]
|
16
|
+
r"""name of the field"""
|
17
|
+
|
18
|
+
|
19
|
+
class DisplayField(BaseModel):
|
20
|
+
id: Optional[str] = None
|
21
|
+
r"""The ID of the Display Field.<br>The ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
22
|
+
|
23
|
+
content: Optional[str] = None
|
24
|
+
r"""content in bytes. 2 MB max"""
|
25
|
+
|
26
|
+
field_name: Annotated[Optional[Any], pydantic.Field(alias="fieldName")] = None
|
27
|
+
r"""name of the field"""
|
@@ -0,0 +1,21 @@
|
|
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 typing import Optional
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
class DynamicClusterTypedDict(TypedDict):
|
10
|
+
id: NotRequired[str]
|
11
|
+
r"""Id of the cluster"""
|
12
|
+
title: NotRequired[str]
|
13
|
+
r"""name of the cluster"""
|
14
|
+
|
15
|
+
|
16
|
+
class DynamicCluster(BaseModel):
|
17
|
+
id: Optional[str] = None
|
18
|
+
r"""Id of the cluster"""
|
19
|
+
|
20
|
+
title: Optional[str] = None
|
21
|
+
r"""name of the cluster"""
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .dynamiccluster import DynamicCluster, DynamicClusterTypedDict
|
5
|
+
from .virtualcase import VirtualCase, VirtualCaseTypedDict
|
6
|
+
from egain_api_python.types import BaseModel
|
7
|
+
import pydantic
|
8
|
+
from typing import List, Optional
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
10
|
+
|
11
|
+
|
12
|
+
class DynamicSearchTypedDict(TypedDict):
|
13
|
+
dynamic_cluster: NotRequired[List[DynamicClusterTypedDict]]
|
14
|
+
r"""clusters in search"""
|
15
|
+
parent_cluster_id: NotRequired[str]
|
16
|
+
r"""Parent cluster"""
|
17
|
+
type: NotRequired[str]
|
18
|
+
r"""type of search"""
|
19
|
+
virtual_case: NotRequired[List[VirtualCaseTypedDict]]
|
20
|
+
r"""cases in search"""
|
21
|
+
|
22
|
+
|
23
|
+
class DynamicSearch(BaseModel):
|
24
|
+
dynamic_cluster: Annotated[
|
25
|
+
Optional[List[DynamicCluster]], pydantic.Field(alias="dynamicCluster")
|
26
|
+
] = None
|
27
|
+
r"""clusters in search"""
|
28
|
+
|
29
|
+
parent_cluster_id: Annotated[
|
30
|
+
Optional[str], pydantic.Field(alias="parentClusterId")
|
31
|
+
] = None
|
32
|
+
r"""Parent cluster"""
|
33
|
+
|
34
|
+
type: Optional[str] = None
|
35
|
+
r"""type of search"""
|
36
|
+
|
37
|
+
virtual_case: Annotated[
|
38
|
+
Optional[List[VirtualCase]], pydantic.Field(alias="virtualCase")
|
39
|
+
] = None
|
40
|
+
r"""cases in search"""
|
@@ -0,0 +1,79 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .link import Link, LinkTypedDict
|
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 EditionPublishProfileTypedDict(TypedDict):
|
12
|
+
r"""The publish view associated with this edition."""
|
13
|
+
|
14
|
+
id: str
|
15
|
+
r"""The ID of the guided help profile.<br>
|
16
|
+
1 will always be the **system profile**.
|
17
|
+
|
18
|
+
"""
|
19
|
+
name: str
|
20
|
+
r"""The name of the profile."""
|
21
|
+
|
22
|
+
|
23
|
+
class EditionPublishProfile(BaseModel):
|
24
|
+
r"""The publish view associated with this edition."""
|
25
|
+
|
26
|
+
id: str
|
27
|
+
r"""The ID of the guided help profile.<br>
|
28
|
+
1 will always be the **system profile**.
|
29
|
+
|
30
|
+
"""
|
31
|
+
|
32
|
+
name: str
|
33
|
+
r"""The name of the profile."""
|
34
|
+
|
35
|
+
|
36
|
+
class EditionTypedDict(TypedDict):
|
37
|
+
r"""This schema contains information about an article edition."""
|
38
|
+
|
39
|
+
id: NotRequired[str]
|
40
|
+
r"""The ID of the article edition.<br>An edition ID is composed of a 4-letter prefix, followed by a dash and 4-15 digits."""
|
41
|
+
name: NotRequired[str]
|
42
|
+
r"""The alphanumeric name of the edition."""
|
43
|
+
is_content_edition: NotRequired[bool]
|
44
|
+
r"""<li>The presence of this element indicates that this edition is the one corresponding to the returned content.</li>
|
45
|
+
<li>This can only be true for at most one <edition> element in the list of editions.</li>
|
46
|
+
<li>This parameter must only be returned if article content is returned as well.</li>
|
47
|
+
<li>The only allowed value is *true*. The absence of this parameter in the response indicates *false*.</li>
|
48
|
+
"""
|
49
|
+
publish_profile: NotRequired[EditionPublishProfileTypedDict]
|
50
|
+
r"""The publish view associated with this edition."""
|
51
|
+
link: NotRequired[LinkTypedDict]
|
52
|
+
r"""Defines the relationship between this resource and another object."""
|
53
|
+
|
54
|
+
|
55
|
+
class Edition(BaseModel):
|
56
|
+
r"""This schema contains information about an article edition."""
|
57
|
+
|
58
|
+
id: Optional[str] = None
|
59
|
+
r"""The ID of the article edition.<br>An edition ID is composed of a 4-letter prefix, followed by a dash and 4-15 digits."""
|
60
|
+
|
61
|
+
name: Optional[str] = None
|
62
|
+
r"""The alphanumeric name of the edition."""
|
63
|
+
|
64
|
+
is_content_edition: Annotated[
|
65
|
+
Optional[bool], pydantic.Field(alias="isContentEdition")
|
66
|
+
] = None
|
67
|
+
r"""<li>The presence of this element indicates that this edition is the one corresponding to the returned content.</li>
|
68
|
+
<li>This can only be true for at most one <edition> element in the list of editions.</li>
|
69
|
+
<li>This parameter must only be returned if article content is returned as well.</li>
|
70
|
+
<li>The only allowed value is *true*. The absence of this parameter in the response indicates *false*.</li>
|
71
|
+
"""
|
72
|
+
|
73
|
+
publish_profile: Annotated[
|
74
|
+
Optional[EditionPublishProfile], pydantic.Field(alias="publishProfile")
|
75
|
+
] = None
|
76
|
+
r"""The publish view associated with this edition."""
|
77
|
+
|
78
|
+
link: Optional[Link] = None
|
79
|
+
r"""Defines the relationship between this resource and another object."""
|
@@ -0,0 +1,68 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .link import Link, LinkTypedDict
|
5
|
+
from .publishprofile import PublishProfile, PublishProfileTypedDict
|
6
|
+
from .schemas_tagcategory import SchemasTagCategory, SchemasTagCategoryTypedDict
|
7
|
+
from egain_api_python.types import BaseModel
|
8
|
+
import pydantic
|
9
|
+
from typing import List, Optional
|
10
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
11
|
+
|
12
|
+
|
13
|
+
class EditionWithContentAccessTagsTypedDict(TypedDict):
|
14
|
+
tag_category: NotRequired[List[SchemasTagCategoryTypedDict]]
|
15
|
+
r"""An array of tag categories. Note that the total number of tag categories cannot exceed 20."""
|
16
|
+
|
17
|
+
|
18
|
+
class EditionWithContentAccessTags(BaseModel):
|
19
|
+
tag_category: Annotated[
|
20
|
+
Optional[List[SchemasTagCategory]], pydantic.Field(alias="tagCategory")
|
21
|
+
] = None
|
22
|
+
r"""An array of tag categories. Note that the total number of tag categories cannot exceed 20."""
|
23
|
+
|
24
|
+
|
25
|
+
class EditionWithContentTypedDict(TypedDict):
|
26
|
+
r"""This schema contains information about article edition."""
|
27
|
+
|
28
|
+
id: NotRequired[str]
|
29
|
+
r"""ID of the edition."""
|
30
|
+
name: NotRequired[str]
|
31
|
+
r"""Name of the edition."""
|
32
|
+
publish_profile: NotRequired[PublishProfileTypedDict]
|
33
|
+
r"""This schema contains information about Profile."""
|
34
|
+
content: NotRequired[str]
|
35
|
+
r"""The raw content of the article. The maximum allowed Article content size is 5 MB."""
|
36
|
+
content_text: NotRequired[str]
|
37
|
+
r"""Plain text version of the content. The maximum allowed Article content size is 5 MB."""
|
38
|
+
access_tags: NotRequired[EditionWithContentAccessTagsTypedDict]
|
39
|
+
link: NotRequired[LinkTypedDict]
|
40
|
+
r"""Defines the relationship between this resource and another object."""
|
41
|
+
|
42
|
+
|
43
|
+
class EditionWithContent(BaseModel):
|
44
|
+
r"""This schema contains information about article edition."""
|
45
|
+
|
46
|
+
id: Optional[str] = None
|
47
|
+
r"""ID of the edition."""
|
48
|
+
|
49
|
+
name: Optional[str] = None
|
50
|
+
r"""Name of the edition."""
|
51
|
+
|
52
|
+
publish_profile: Annotated[
|
53
|
+
Optional[PublishProfile], pydantic.Field(alias="publishProfile")
|
54
|
+
] = None
|
55
|
+
r"""This schema contains information about Profile."""
|
56
|
+
|
57
|
+
content: Optional[str] = None
|
58
|
+
r"""The raw content of the article. The maximum allowed Article content size is 5 MB."""
|
59
|
+
|
60
|
+
content_text: Annotated[Optional[str], pydantic.Field(alias="contentText")] = None
|
61
|
+
r"""Plain text version of the content. The maximum allowed Article content size is 5 MB."""
|
62
|
+
|
63
|
+
access_tags: Annotated[
|
64
|
+
Optional[EditionWithContentAccessTags], pydantic.Field(alias="accessTags")
|
65
|
+
] = None
|
66
|
+
|
67
|
+
link: Optional[Link] = None
|
68
|
+
r"""Defines the relationship between this resource and another object."""
|
@@ -0,0 +1,21 @@
|
|
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
|
+
import pydantic
|
6
|
+
from typing import Optional
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class EmailTypedDict(TypedDict):
|
11
|
+
r"""Email"""
|
12
|
+
|
13
|
+
email_address: NotRequired[str]
|
14
|
+
r"""Email address of customer"""
|
15
|
+
|
16
|
+
|
17
|
+
class Email(BaseModel):
|
18
|
+
r"""Email"""
|
19
|
+
|
20
|
+
email_address: Annotated[Optional[str], pydantic.Field(alias="emailAddress")] = None
|
21
|
+
r"""Email address of customer"""
|
@@ -0,0 +1,14 @@
|
|
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 typing import Dict, List
|
6
|
+
from typing_extensions import TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
class ExportContentResponseTypedDict(TypedDict):
|
10
|
+
headers: Dict[str, List[str]]
|
11
|
+
|
12
|
+
|
13
|
+
class ExportContentResponse(BaseModel):
|
14
|
+
headers: Dict[str, List[str]]
|
@@ -0,0 +1,106 @@
|
|
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 Literal, Optional
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
ExportStatusStatus = Literal[
|
12
|
+
"Pending",
|
13
|
+
"In Progress",
|
14
|
+
"Successful",
|
15
|
+
"Failed",
|
16
|
+
]
|
17
|
+
|
18
|
+
|
19
|
+
class ProgressTypedDict(TypedDict):
|
20
|
+
r"""Details about the job's progress."""
|
21
|
+
|
22
|
+
processed: NotRequired[int]
|
23
|
+
r"""The number of items processed so far."""
|
24
|
+
total: NotRequired[int]
|
25
|
+
r"""The total number of items to process."""
|
26
|
+
percentage: NotRequired[float]
|
27
|
+
r"""The percentage of the job that is complete."""
|
28
|
+
|
29
|
+
|
30
|
+
class Progress(BaseModel):
|
31
|
+
r"""Details about the job's progress."""
|
32
|
+
|
33
|
+
processed: Optional[int] = None
|
34
|
+
r"""The number of items processed so far."""
|
35
|
+
|
36
|
+
total: Optional[int] = None
|
37
|
+
r"""The total number of items to process."""
|
38
|
+
|
39
|
+
percentage: Optional[float] = None
|
40
|
+
r"""The percentage of the job that is complete."""
|
41
|
+
|
42
|
+
|
43
|
+
class ResultsTypedDict(TypedDict):
|
44
|
+
r"""Breakdown of completed job results."""
|
45
|
+
|
46
|
+
successful: NotRequired[int]
|
47
|
+
r"""The count of successfully processed items."""
|
48
|
+
warnings: NotRequired[int]
|
49
|
+
r"""The count of items with warnings."""
|
50
|
+
errors: NotRequired[int]
|
51
|
+
r"""The count of items with errors."""
|
52
|
+
|
53
|
+
|
54
|
+
class Results(BaseModel):
|
55
|
+
r"""Breakdown of completed job results."""
|
56
|
+
|
57
|
+
successful: Optional[int] = None
|
58
|
+
r"""The count of successfully processed items."""
|
59
|
+
|
60
|
+
warnings: Optional[int] = None
|
61
|
+
r"""The count of items with warnings."""
|
62
|
+
|
63
|
+
errors: Optional[int] = None
|
64
|
+
r"""The count of items with errors."""
|
65
|
+
|
66
|
+
|
67
|
+
class ExportStatusTypedDict(TypedDict):
|
68
|
+
status: ExportStatusStatus
|
69
|
+
progress: NotRequired[ProgressTypedDict]
|
70
|
+
r"""Details about the job's progress."""
|
71
|
+
start_time: NotRequired[datetime]
|
72
|
+
r"""The timestamp when the job started."""
|
73
|
+
estimated_completion: NotRequired[datetime]
|
74
|
+
r"""The estimated timestamp when the job is expected to finish."""
|
75
|
+
failure_time: NotRequired[datetime]
|
76
|
+
r"""The timestamp when the job failed."""
|
77
|
+
results: NotRequired[ResultsTypedDict]
|
78
|
+
r"""Breakdown of completed job results."""
|
79
|
+
error: NotRequired[str]
|
80
|
+
r"""A description of the job failure reason."""
|
81
|
+
|
82
|
+
|
83
|
+
class ExportStatus(BaseModel):
|
84
|
+
status: ExportStatusStatus
|
85
|
+
|
86
|
+
progress: Optional[Progress] = None
|
87
|
+
r"""Details about the job's progress."""
|
88
|
+
|
89
|
+
start_time: Annotated[Optional[datetime], pydantic.Field(alias="startTime")] = None
|
90
|
+
r"""The timestamp when the job started."""
|
91
|
+
|
92
|
+
estimated_completion: Annotated[
|
93
|
+
Optional[datetime], pydantic.Field(alias="estimatedCompletion")
|
94
|
+
] = None
|
95
|
+
r"""The estimated timestamp when the job is expected to finish."""
|
96
|
+
|
97
|
+
failure_time: Annotated[Optional[datetime], pydantic.Field(alias="failureTime")] = (
|
98
|
+
None
|
99
|
+
)
|
100
|
+
r"""The timestamp when the job failed."""
|
101
|
+
|
102
|
+
results: Optional[Results] = None
|
103
|
+
r"""Breakdown of completed job results."""
|
104
|
+
|
105
|
+
error: Optional[str] = None
|
106
|
+
r"""A description of the job failure reason."""
|
@@ -0,0 +1,31 @@
|
|
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
|
+
import pydantic
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class ExportStatusRequestTypedDict(TypedDict):
|
11
|
+
job_id: str
|
12
|
+
r"""**Example Usage:**
|
13
|
+
```bash
|
14
|
+
GET /content/export/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status
|
15
|
+
```
|
16
|
+
|
17
|
+
"""
|
18
|
+
|
19
|
+
|
20
|
+
class ExportStatusRequest(BaseModel):
|
21
|
+
job_id: Annotated[
|
22
|
+
str,
|
23
|
+
pydantic.Field(alias="jobID"),
|
24
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
25
|
+
]
|
26
|
+
r"""**Example Usage:**
|
27
|
+
```bash
|
28
|
+
GET /content/export/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status
|
29
|
+
```
|
30
|
+
|
31
|
+
"""
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .articleresult import ArticleResult, ArticleResultTypedDict
|
5
|
+
from egain_api_python.types import BaseModel
|
6
|
+
import pydantic
|
7
|
+
from typing import List, Optional
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class FeedbackArticleForSuggestionTypedDict(TypedDict):
|
12
|
+
r"""This schema contains information about a Suggestion."""
|
13
|
+
|
14
|
+
id: NotRequired[str]
|
15
|
+
r"""The ID of the Suggestion. A Suggestion ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
16
|
+
name: NotRequired[str]
|
17
|
+
r"""The name of the Suggestion."""
|
18
|
+
related_articles: NotRequired[List[ArticleResultTypedDict]]
|
19
|
+
r"""Related Articles for the Suggestion."""
|
20
|
+
|
21
|
+
|
22
|
+
class FeedbackArticleForSuggestion(BaseModel):
|
23
|
+
r"""This schema contains information about a Suggestion."""
|
24
|
+
|
25
|
+
id: Optional[str] = None
|
26
|
+
r"""The ID of the Suggestion. A Suggestion ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
27
|
+
|
28
|
+
name: Optional[str] = None
|
29
|
+
r"""The name of the Suggestion."""
|
30
|
+
|
31
|
+
related_articles: Annotated[
|
32
|
+
Optional[List[ArticleResult]], pydantic.Field(alias="relatedArticles")
|
33
|
+
] = None
|
34
|
+
r"""Related Articles for the Suggestion."""
|