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,37 @@
|
|
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 CreatedByTypedDict(TypedDict):
|
11
|
+
id: NotRequired[str]
|
12
|
+
r"""The ID of the user that created this resource."""
|
13
|
+
user_name: NotRequired[str]
|
14
|
+
r"""The resource creator's username."""
|
15
|
+
first_name: NotRequired[str]
|
16
|
+
r"""The resource creator's first name."""
|
17
|
+
middle_name: NotRequired[str]
|
18
|
+
r"""The resource creator's middle name."""
|
19
|
+
last_name: NotRequired[str]
|
20
|
+
r"""The resource creator's last name."""
|
21
|
+
|
22
|
+
|
23
|
+
class CreatedBy(BaseModel):
|
24
|
+
id: Optional[str] = None
|
25
|
+
r"""The ID of the user that created this resource."""
|
26
|
+
|
27
|
+
user_name: Annotated[Optional[str], pydantic.Field(alias="userName")] = None
|
28
|
+
r"""The resource creator's username."""
|
29
|
+
|
30
|
+
first_name: Annotated[Optional[str], pydantic.Field(alias="firstName")] = None
|
31
|
+
r"""The resource creator's first name."""
|
32
|
+
|
33
|
+
middle_name: Annotated[Optional[str], pydantic.Field(alias="middleName")] = None
|
34
|
+
r"""The resource creator's middle name."""
|
35
|
+
|
36
|
+
last_name: Annotated[Optional[str], pydantic.Field(alias="lastName")] = None
|
37
|
+
r"""The resource creator's last name."""
|
@@ -0,0 +1,85 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .kblanguagecode import KbLanguageCode
|
5
|
+
from egain_api_python.types import BaseModel
|
6
|
+
import pydantic
|
7
|
+
from typing import Literal
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
ResultType = Literal[
|
12
|
+
"external",
|
13
|
+
"internal",
|
14
|
+
]
|
15
|
+
r"""Only \"external\" or \"internal\" allowed"""
|
16
|
+
|
17
|
+
|
18
|
+
class CreateFederatedSearchEventTypedDict(TypedDict):
|
19
|
+
q: str
|
20
|
+
r"""The search string that was entered by the user"""
|
21
|
+
result_type: ResultType
|
22
|
+
r"""Only \"external\" or \"internal\" allowed"""
|
23
|
+
url: str
|
24
|
+
title: str
|
25
|
+
language_code: KbLanguageCode
|
26
|
+
r"""A short language code. A list of codes can be found below:
|
27
|
+
|
28
|
+
|Code|Description
|
29
|
+
|----|-----------
|
30
|
+
|en-US|English (United States)
|
31
|
+
|en-GB|English (United Kingdom)
|
32
|
+
|fr-FR|French (France)
|
33
|
+
|es-ES|Spanish (Spain)
|
34
|
+
|it-IT|Italian (Italy)
|
35
|
+
|de-DE|German (Germany)
|
36
|
+
|nl-NL|Dutch (Netherlands)
|
37
|
+
|pt-BR|Portuguese (Brazil)
|
38
|
+
|pt-PT|Portuguese (Portugal)
|
39
|
+
|da-DK|Danish (Denmark)
|
40
|
+
|sv-SE|Swedish (Sweden)
|
41
|
+
|ru-RU|Russian (Russia)
|
42
|
+
|fr-CA|French (Canada)
|
43
|
+
|zh-CN|Chinese (Simplified, China)
|
44
|
+
|ja-JP|Japanese (Japan)
|
45
|
+
|ko-KR|Korean (South Korea)
|
46
|
+
|nn-NO|Norwegian Nynorsk (Norway)
|
47
|
+
|
48
|
+
"""
|
49
|
+
|
50
|
+
|
51
|
+
class CreateFederatedSearchEvent(BaseModel):
|
52
|
+
q: str
|
53
|
+
r"""The search string that was entered by the user"""
|
54
|
+
|
55
|
+
result_type: Annotated[ResultType, pydantic.Field(alias="resultType")]
|
56
|
+
r"""Only \"external\" or \"internal\" allowed"""
|
57
|
+
|
58
|
+
url: str
|
59
|
+
|
60
|
+
title: str
|
61
|
+
|
62
|
+
language_code: Annotated[KbLanguageCode, pydantic.Field(alias="languageCode")]
|
63
|
+
r"""A short language code. A list of codes can be found below:
|
64
|
+
|
65
|
+
|Code|Description
|
66
|
+
|----|-----------
|
67
|
+
|en-US|English (United States)
|
68
|
+
|en-GB|English (United Kingdom)
|
69
|
+
|fr-FR|French (France)
|
70
|
+
|es-ES|Spanish (Spain)
|
71
|
+
|it-IT|Italian (Italy)
|
72
|
+
|de-DE|German (Germany)
|
73
|
+
|nl-NL|Dutch (Netherlands)
|
74
|
+
|pt-BR|Portuguese (Brazil)
|
75
|
+
|pt-PT|Portuguese (Portugal)
|
76
|
+
|da-DK|Danish (Denmark)
|
77
|
+
|sv-SE|Swedish (Sweden)
|
78
|
+
|ru-RU|Russian (Russia)
|
79
|
+
|fr-CA|French (Canada)
|
80
|
+
|zh-CN|Chinese (Simplified, China)
|
81
|
+
|ja-JP|Japanese (Japan)
|
82
|
+
|ko-KR|Korean (South Korea)
|
83
|
+
|nn-NO|Norwegian Nynorsk (Norway)
|
84
|
+
|
85
|
+
"""
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .createfederatedsearchevent import (
|
6
|
+
CreateFederatedSearchEvent,
|
7
|
+
CreateFederatedSearchEventTypedDict,
|
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 CreateFederatedSearchResultEventRequestTypedDict(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_federated_search_event: CreateFederatedSearchEventTypedDict
|
26
|
+
|
27
|
+
|
28
|
+
class CreateFederatedSearchResultEventRequest(BaseModel):
|
29
|
+
accept_language: Annotated[
|
30
|
+
AcceptLanguage,
|
31
|
+
pydantic.Field(alias="Accept-Language"),
|
32
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
33
|
+
]
|
34
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
35
|
+
|
36
|
+
portal_id: Annotated[
|
37
|
+
str,
|
38
|
+
pydantic.Field(alias="portalID"),
|
39
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
40
|
+
]
|
41
|
+
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."""
|
42
|
+
|
43
|
+
create_federated_search_event: Annotated[
|
44
|
+
CreateFederatedSearchEvent,
|
45
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
46
|
+
]
|
@@ -0,0 +1,20 @@
|
|
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
|
+
CREATE_IMPORT_OP_SERVERS = [
|
10
|
+
# Production Server
|
11
|
+
"https://${API_DOMAIN}/knowledge/contentmgr/v4",
|
12
|
+
]
|
13
|
+
|
14
|
+
|
15
|
+
class CreateImportResponseTypedDict(TypedDict):
|
16
|
+
headers: Dict[str, List[str]]
|
17
|
+
|
18
|
+
|
19
|
+
class CreateImportResponse(BaseModel):
|
20
|
+
headers: Dict[str, List[str]]
|
@@ -0,0 +1,20 @@
|
|
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
|
+
CREATE_IMPORT_VALIDATION_OP_SERVERS = [
|
10
|
+
# Production Server
|
11
|
+
"https://${API_DOMAIN}/knowledge/contentmgr/v4",
|
12
|
+
]
|
13
|
+
|
14
|
+
|
15
|
+
class CreateImportValidationResponseTypedDict(TypedDict):
|
16
|
+
headers: Dict[str, List[str]]
|
17
|
+
|
18
|
+
|
19
|
+
class CreateImportValidationResponse(BaseModel):
|
20
|
+
headers: Dict[str, List[str]]
|
@@ -0,0 +1,34 @@
|
|
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 CreateQuickpickTypedDict(TypedDict):
|
11
|
+
casebase_release_id: str
|
12
|
+
r"""The numerical ID of Live release of the Casebase."""
|
13
|
+
name: NotRequired[str]
|
14
|
+
r"""name of the quick pick"""
|
15
|
+
comment: NotRequired[str]
|
16
|
+
r"""comment about quick pick"""
|
17
|
+
link_to_activity: NotRequired[bool]
|
18
|
+
r"""indicates if quickpick is to be linked with activity"""
|
19
|
+
|
20
|
+
|
21
|
+
class CreateQuickpick(BaseModel):
|
22
|
+
casebase_release_id: Annotated[str, pydantic.Field(alias="casebaseReleaseId")]
|
23
|
+
r"""The numerical ID of Live release of the Casebase."""
|
24
|
+
|
25
|
+
name: Optional[str] = None
|
26
|
+
r"""name of the quick pick"""
|
27
|
+
|
28
|
+
comment: Optional[str] = None
|
29
|
+
r"""comment about quick pick"""
|
30
|
+
|
31
|
+
link_to_activity: Annotated[
|
32
|
+
Optional[bool], pydantic.Field(alias="linkToActivity")
|
33
|
+
] = None
|
34
|
+
r"""indicates if quickpick is to be linked with activity"""
|
@@ -0,0 +1,55 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .createquickpick import CreateQuickpick, CreateQuickpickTypedDict
|
6
|
+
from .languagequeryparameter import LanguageQueryParameter
|
7
|
+
from egain_api_python.types import BaseModel
|
8
|
+
from egain_api_python.utils import (
|
9
|
+
FieldMetadata,
|
10
|
+
HeaderMetadata,
|
11
|
+
PathParamMetadata,
|
12
|
+
QueryParamMetadata,
|
13
|
+
RequestMetadata,
|
14
|
+
)
|
15
|
+
import pydantic
|
16
|
+
from typing import Optional
|
17
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
18
|
+
|
19
|
+
|
20
|
+
class CreateQuickpickRequestTypedDict(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_quickpick: CreateQuickpickTypedDict
|
26
|
+
language: NotRequired[LanguageQueryParameter]
|
27
|
+
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>"""
|
28
|
+
|
29
|
+
|
30
|
+
class CreateQuickpickRequest(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_quickpick: Annotated[
|
46
|
+
CreateQuickpick,
|
47
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
48
|
+
]
|
49
|
+
|
50
|
+
language: Annotated[
|
51
|
+
Optional[LanguageQueryParameter],
|
52
|
+
pydantic.Field(alias="$lang"),
|
53
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
54
|
+
] = None
|
55
|
+
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>"""
|
@@ -0,0 +1,71 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .kblanguagecode import KbLanguageCode
|
5
|
+
from egain_api_python.types import BaseModel
|
6
|
+
import pydantic
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class CreateSearchResultEventForConnectorsTypedDict(TypedDict):
|
11
|
+
language_code: KbLanguageCode
|
12
|
+
r"""A short language code. A list of codes can be found below:
|
13
|
+
|
14
|
+
|Code|Description
|
15
|
+
|----|-----------
|
16
|
+
|en-US|English (United States)
|
17
|
+
|en-GB|English (United Kingdom)
|
18
|
+
|fr-FR|French (France)
|
19
|
+
|es-ES|Spanish (Spain)
|
20
|
+
|it-IT|Italian (Italy)
|
21
|
+
|de-DE|German (Germany)
|
22
|
+
|nl-NL|Dutch (Netherlands)
|
23
|
+
|pt-BR|Portuguese (Brazil)
|
24
|
+
|pt-PT|Portuguese (Portugal)
|
25
|
+
|da-DK|Danish (Denmark)
|
26
|
+
|sv-SE|Swedish (Sweden)
|
27
|
+
|ru-RU|Russian (Russia)
|
28
|
+
|fr-CA|French (Canada)
|
29
|
+
|zh-CN|Chinese (Simplified, China)
|
30
|
+
|ja-JP|Japanese (Japan)
|
31
|
+
|ko-KR|Korean (South Korea)
|
32
|
+
|nn-NO|Norwegian Nynorsk (Norway)
|
33
|
+
|
34
|
+
"""
|
35
|
+
q: str
|
36
|
+
r"""The string to use for the search."""
|
37
|
+
number_of_search_results: int
|
38
|
+
|
39
|
+
|
40
|
+
class CreateSearchResultEventForConnectors(BaseModel):
|
41
|
+
language_code: Annotated[KbLanguageCode, pydantic.Field(alias="languageCode")]
|
42
|
+
r"""A short language code. A list of codes can be found below:
|
43
|
+
|
44
|
+
|Code|Description
|
45
|
+
|----|-----------
|
46
|
+
|en-US|English (United States)
|
47
|
+
|en-GB|English (United Kingdom)
|
48
|
+
|fr-FR|French (France)
|
49
|
+
|es-ES|Spanish (Spain)
|
50
|
+
|it-IT|Italian (Italy)
|
51
|
+
|de-DE|German (Germany)
|
52
|
+
|nl-NL|Dutch (Netherlands)
|
53
|
+
|pt-BR|Portuguese (Brazil)
|
54
|
+
|pt-PT|Portuguese (Portugal)
|
55
|
+
|da-DK|Danish (Denmark)
|
56
|
+
|sv-SE|Swedish (Sweden)
|
57
|
+
|ru-RU|Russian (Russia)
|
58
|
+
|fr-CA|French (Canada)
|
59
|
+
|zh-CN|Chinese (Simplified, China)
|
60
|
+
|ja-JP|Japanese (Japan)
|
61
|
+
|ko-KR|Korean (South Korea)
|
62
|
+
|nn-NO|Norwegian Nynorsk (Norway)
|
63
|
+
|
64
|
+
"""
|
65
|
+
|
66
|
+
q: str
|
67
|
+
r"""The string to use for the search."""
|
68
|
+
|
69
|
+
number_of_search_results: Annotated[
|
70
|
+
int, pydantic.Field(alias="numberOfSearchResults")
|
71
|
+
]
|
@@ -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 .createsearchresulteventforconnectors import (
|
6
|
+
CreateSearchResultEventForConnectors,
|
7
|
+
CreateSearchResultEventForConnectorsTypedDict,
|
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 CreateSearchResultEventForConnectorsRequestTypedDict(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_search_result_event_for_connectors: (
|
26
|
+
CreateSearchResultEventForConnectorsTypedDict
|
27
|
+
)
|
28
|
+
|
29
|
+
|
30
|
+
class CreateSearchResultEventForConnectorsRequest(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_search_result_event_for_connectors: Annotated[
|
46
|
+
CreateSearchResultEventForConnectors,
|
47
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
48
|
+
]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .acceptlanguage import AcceptLanguage
|
5
|
+
from .attachmentupload import AttachmentUpload, AttachmentUploadTypedDict
|
6
|
+
from egain_api_python.types import BaseModel
|
7
|
+
from egain_api_python.utils import FieldMetadata, HeaderMetadata, RequestMetadata
|
8
|
+
import pydantic
|
9
|
+
from typing_extensions import Annotated, TypedDict
|
10
|
+
|
11
|
+
|
12
|
+
class CreateSignedURLRequestTypedDict(TypedDict):
|
13
|
+
accept_language: AcceptLanguage
|
14
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
15
|
+
attachment_upload: AttachmentUploadTypedDict
|
16
|
+
|
17
|
+
|
18
|
+
class CreateSignedURLRequest(BaseModel):
|
19
|
+
accept_language: Annotated[
|
20
|
+
AcceptLanguage,
|
21
|
+
pydantic.Field(alias="Accept-Language"),
|
22
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
23
|
+
]
|
24
|
+
r"""The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses)."""
|
25
|
+
|
26
|
+
attachment_upload: Annotated[
|
27
|
+
AttachmentUpload,
|
28
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
29
|
+
]
|
@@ -0,0 +1,126 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .attachmentforcreatesuggestion import (
|
5
|
+
AttachmentForCreateSuggestion,
|
6
|
+
AttachmentForCreateSuggestionTypedDict,
|
7
|
+
)
|
8
|
+
from .customattribute import CustomAttribute, CustomAttributeTypedDict
|
9
|
+
from egain_api_python.types import BaseModel
|
10
|
+
import pydantic
|
11
|
+
from typing import List, Literal, Optional
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
13
|
+
|
14
|
+
|
15
|
+
class RelatedArticleForCreateUpdateDeleteSuggestionTypedDict(TypedDict):
|
16
|
+
r"""The Article that the Suggestion was created for."""
|
17
|
+
|
18
|
+
id: NotRequired[str]
|
19
|
+
r"""The ID of a Related Article.<br><br>An Article ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
20
|
+
|
21
|
+
|
22
|
+
class RelatedArticleForCreateUpdateDeleteSuggestion(BaseModel):
|
23
|
+
r"""The Article that the Suggestion was created for."""
|
24
|
+
|
25
|
+
id: Optional[str] = None
|
26
|
+
r"""The ID of a Related Article.<br><br>An Article ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits."""
|
27
|
+
|
28
|
+
|
29
|
+
class CreateSuggestionAttachmentsTypedDict(TypedDict):
|
30
|
+
r"""Details of Attachments for the Suggestion."""
|
31
|
+
|
32
|
+
attachment: NotRequired[List[AttachmentForCreateSuggestionTypedDict]]
|
33
|
+
r"""The list of Attachments."""
|
34
|
+
|
35
|
+
|
36
|
+
class CreateSuggestionAttachments(BaseModel):
|
37
|
+
r"""Details of Attachments for the Suggestion."""
|
38
|
+
|
39
|
+
attachment: Optional[List[AttachmentForCreateSuggestion]] = None
|
40
|
+
r"""The list of Attachments."""
|
41
|
+
|
42
|
+
|
43
|
+
CreateSuggestionCode = Literal[
|
44
|
+
"en-US",
|
45
|
+
"en-GB",
|
46
|
+
"fr-FR",
|
47
|
+
"es-ES",
|
48
|
+
"it-IT",
|
49
|
+
"de-DE",
|
50
|
+
"nl-NL",
|
51
|
+
"pt-BR",
|
52
|
+
"pt-PT",
|
53
|
+
"da-DK",
|
54
|
+
"sv-SE",
|
55
|
+
"ru-RU",
|
56
|
+
"fr-CA",
|
57
|
+
"zh-CN",
|
58
|
+
"ja-JP",
|
59
|
+
"ko-KR",
|
60
|
+
]
|
61
|
+
r"""The code of the language."""
|
62
|
+
|
63
|
+
|
64
|
+
class CreateSuggestionLanguageTypedDict(TypedDict):
|
65
|
+
r"""The knowledge base language in which the Suggestion is created."""
|
66
|
+
|
67
|
+
code: CreateSuggestionCode
|
68
|
+
r"""The code of the language."""
|
69
|
+
|
70
|
+
|
71
|
+
class CreateSuggestionLanguage(BaseModel):
|
72
|
+
r"""The knowledge base language in which the Suggestion is created."""
|
73
|
+
|
74
|
+
code: CreateSuggestionCode
|
75
|
+
r"""The code of the language."""
|
76
|
+
|
77
|
+
|
78
|
+
class CreateSuggestionTypedDict(TypedDict):
|
79
|
+
r"""This schema contains information about a Suggestion."""
|
80
|
+
|
81
|
+
name: str
|
82
|
+
r"""The name of the Suggestion."""
|
83
|
+
content: str
|
84
|
+
r"""The content of the Suggestion."""
|
85
|
+
language: CreateSuggestionLanguageTypedDict
|
86
|
+
r"""The knowledge base language in which the Suggestion is created."""
|
87
|
+
description: NotRequired[str]
|
88
|
+
r"""The description of the Suggestion."""
|
89
|
+
feedback_article: NotRequired[
|
90
|
+
RelatedArticleForCreateUpdateDeleteSuggestionTypedDict
|
91
|
+
]
|
92
|
+
r"""The Article that the Suggestion was created for."""
|
93
|
+
attachments: NotRequired[CreateSuggestionAttachmentsTypedDict]
|
94
|
+
r"""Details of Attachments for the Suggestion."""
|
95
|
+
custom_attributes: NotRequired[List[CustomAttributeTypedDict]]
|
96
|
+
r"""The Custom Attributes of the Suggestion."""
|
97
|
+
|
98
|
+
|
99
|
+
class CreateSuggestion(BaseModel):
|
100
|
+
r"""This schema contains information about a Suggestion."""
|
101
|
+
|
102
|
+
name: str
|
103
|
+
r"""The name of the Suggestion."""
|
104
|
+
|
105
|
+
content: str
|
106
|
+
r"""The content of the Suggestion."""
|
107
|
+
|
108
|
+
language: CreateSuggestionLanguage
|
109
|
+
r"""The knowledge base language in which the Suggestion is created."""
|
110
|
+
|
111
|
+
description: Optional[str] = None
|
112
|
+
r"""The description of the Suggestion."""
|
113
|
+
|
114
|
+
feedback_article: Annotated[
|
115
|
+
Optional[RelatedArticleForCreateUpdateDeleteSuggestion],
|
116
|
+
pydantic.Field(alias="feedbackArticle"),
|
117
|
+
] = None
|
118
|
+
r"""The Article that the Suggestion was created for."""
|
119
|
+
|
120
|
+
attachments: Optional[CreateSuggestionAttachments] = None
|
121
|
+
r"""Details of Attachments for the Suggestion."""
|
122
|
+
|
123
|
+
custom_attributes: Annotated[
|
124
|
+
Optional[List[CustomAttribute]], pydantic.Field(alias="customAttributes")
|
125
|
+
] = None
|
126
|
+
r"""The Custom Attributes of the Suggestion."""
|
@@ -0,0 +1,76 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .kblanguagecode import KbLanguageCode
|
5
|
+
from egain_api_python.types import BaseModel
|
6
|
+
import pydantic
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class CreateViewedSearchResultEventForConnectorsTypedDict(TypedDict):
|
11
|
+
language_code: KbLanguageCode
|
12
|
+
r"""A short language code. A list of codes can be found below:
|
13
|
+
|
14
|
+
|Code|Description
|
15
|
+
|----|-----------
|
16
|
+
|en-US|English (United States)
|
17
|
+
|en-GB|English (United Kingdom)
|
18
|
+
|fr-FR|French (France)
|
19
|
+
|es-ES|Spanish (Spain)
|
20
|
+
|it-IT|Italian (Italy)
|
21
|
+
|de-DE|German (Germany)
|
22
|
+
|nl-NL|Dutch (Netherlands)
|
23
|
+
|pt-BR|Portuguese (Brazil)
|
24
|
+
|pt-PT|Portuguese (Portugal)
|
25
|
+
|da-DK|Danish (Denmark)
|
26
|
+
|sv-SE|Swedish (Sweden)
|
27
|
+
|ru-RU|Russian (Russia)
|
28
|
+
|fr-CA|French (Canada)
|
29
|
+
|zh-CN|Chinese (Simplified, China)
|
30
|
+
|ja-JP|Japanese (Japan)
|
31
|
+
|ko-KR|Korean (South Korea)
|
32
|
+
|nn-NO|Norwegian Nynorsk (Norway)
|
33
|
+
|
34
|
+
"""
|
35
|
+
q: str
|
36
|
+
r"""The string to use for the search."""
|
37
|
+
url: str
|
38
|
+
r"""The URL of the search result."""
|
39
|
+
title: str
|
40
|
+
r"""The title of the search result."""
|
41
|
+
|
42
|
+
|
43
|
+
class CreateViewedSearchResultEventForConnectors(BaseModel):
|
44
|
+
language_code: Annotated[KbLanguageCode, pydantic.Field(alias="languageCode")]
|
45
|
+
r"""A short language code. A list of codes can be found below:
|
46
|
+
|
47
|
+
|Code|Description
|
48
|
+
|----|-----------
|
49
|
+
|en-US|English (United States)
|
50
|
+
|en-GB|English (United Kingdom)
|
51
|
+
|fr-FR|French (France)
|
52
|
+
|es-ES|Spanish (Spain)
|
53
|
+
|it-IT|Italian (Italy)
|
54
|
+
|de-DE|German (Germany)
|
55
|
+
|nl-NL|Dutch (Netherlands)
|
56
|
+
|pt-BR|Portuguese (Brazil)
|
57
|
+
|pt-PT|Portuguese (Portugal)
|
58
|
+
|da-DK|Danish (Denmark)
|
59
|
+
|sv-SE|Swedish (Sweden)
|
60
|
+
|ru-RU|Russian (Russia)
|
61
|
+
|fr-CA|French (Canada)
|
62
|
+
|zh-CN|Chinese (Simplified, China)
|
63
|
+
|ja-JP|Japanese (Japan)
|
64
|
+
|ko-KR|Korean (South Korea)
|
65
|
+
|nn-NO|Norwegian Nynorsk (Norway)
|
66
|
+
|
67
|
+
"""
|
68
|
+
|
69
|
+
q: str
|
70
|
+
r"""The string to use for the search."""
|
71
|
+
|
72
|
+
url: str
|
73
|
+
r"""The URL of the search result."""
|
74
|
+
|
75
|
+
title: str
|
76
|
+
r"""The title of the search result."""
|