egain-api-python 0.1.9__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. {egain_api_python-0.1.9/src/egain_api_python.egg-info → egain_api_python-0.2.1}/PKG-INFO +118 -208
  2. egain_api_python-0.2.1/README.md +691 -0
  3. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/pyproject.toml +1 -1
  4. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/_version.py +2 -2
  5. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/aiservices.py +5 -0
  6. egain_api_python-0.2.1/src/egain_api_python/aiservices_prompt.py +279 -0
  7. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/answers.py +20 -14
  8. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/content.py +0 -3
  9. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/__init__.py +5 -5
  10. egain_api_python-0.2.1/src/egain_api_python/errors/executepromptop.py +35 -0
  11. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/schemas_wserrorcommon.py +1 -1
  12. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/export.py +46 -20
  13. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/general.py +2 -2
  14. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/import_.py +48 -78
  15. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/__init__.py +170 -185
  16. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/additionalsnippets.py +17 -9
  17. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/aisearchop.py +20 -10
  18. egain_api_python-0.2.1/src/egain_api_python/models/aisearchresponse.py +36 -0
  19. egain_api_python-0.2.1/src/egain_api_python/models/aispaginationinfo.py +32 -0
  20. egain_api_python-0.2.1/src/egain_api_python/models/aitopicbreadcrumb.py +24 -0
  21. egain_api_python-0.2.1/src/egain_api_python/models/aitopicsummary.py +25 -0
  22. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/answersrequest.py +9 -2
  23. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/answersresponse.py +15 -4
  24. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleaisearchresult.py +31 -54
  25. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlewitheditions.py +4 -2
  26. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/cancelimportop.py +1 -1
  27. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createimportjobop.py +1 -1
  28. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createimportvalidationjobop.py +1 -1
  29. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createsuggestion.py +13 -1
  30. egain_api_python-0.2.1/src/egain_api_python/models/datasourcecredentials.py +32 -0
  31. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/edition.py +2 -8
  32. egain_api_python-0.2.1/src/egain_api_python/models/executeprompt.py +92 -0
  33. egain_api_python-0.2.1/src/egain_api_python/models/executepromptop.py +35 -0
  34. egain_api_python-0.2.1/src/egain_api_python/models/executepromptresponse.py +58 -0
  35. egain_api_python-0.1.9/src/egain_api_python/models/uploadattachmentop.py → egain_api_python-0.2.1/src/egain_api_python/models/exportcontentop.py +16 -14
  36. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getalltopicsop.py +9 -0
  37. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticleeditiondetailsop.py +2 -2
  38. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getbestanswerop.py +23 -13
  39. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getimportstatusop.py +1 -1
  40. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getmyportalsop.py +2 -2
  41. egain_api_python-0.2.1/src/egain_api_python/models/getprompttemplatebyidop.py +95 -0
  42. egain_api_python-0.2.1/src/egain_api_python/models/getprompttemplatesop.py +121 -0
  43. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/importcontent.py +3 -13
  44. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/knowledgeexport.py +19 -16
  45. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/languagecode_parameter.py +11 -0
  46. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/languagequeryparameter.py +11 -0
  47. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/mandatorylanguagequeryparameter.py +12 -0
  48. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/portal.py +2 -2
  49. egain_api_python-0.2.1/src/egain_api_python/models/prompttemplate.py +150 -0
  50. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/publishprofile.py +2 -8
  51. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/referenceresponse.py +3 -3
  52. egain_api_python-0.2.1/src/egain_api_python/models/replacement.py +16 -0
  53. egain_api_python-0.2.1/src/egain_api_python/models/requiredlanguagecode.py +40 -0
  54. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/retrievechunksop.py +23 -13
  55. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/retrieverequest.py +9 -2
  56. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/retrieveresponse.py +15 -4
  57. egain_api_python-0.2.1/src/egain_api_python/models/searchreplacement.py +36 -0
  58. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/searchresult.py +29 -7
  59. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/searchsuggestionop.py +2 -2
  60. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/shorturl.py +2 -2
  61. egain_api_python-0.2.1/src/egain_api_python/models/staticreplacement.py +30 -0
  62. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestion.py +24 -1
  63. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/validateimportcontent.py +3 -13
  64. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_article.py +6 -4
  65. egain_api_python-0.1.9/src/egain_api_python/health.py → egain_api_python-0.2.1/src/egain_api_python/portal_attachment.py +99 -97
  66. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_sdk.py +0 -3
  67. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_suggestion.py +2 -2
  68. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_topic.py +6 -0
  69. egain_api_python-0.1.9/src/egain_api_python/portal_attachment.py → egain_api_python-0.2.1/src/egain_api_python/prompt.py +110 -157
  70. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/retrieve.py +16 -10
  71. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/sdk.py +4 -0
  72. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/search.py +43 -21
  73. {egain_api_python-0.1.9 → egain_api_python-0.2.1/src/egain_api_python.egg-info}/PKG-INFO +118 -208
  74. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/SOURCES.txt +17 -17
  75. egain_api_python-0.1.9/README.md +0 -781
  76. egain_api_python-0.1.9/src/egain_api_python/errors/gethealthop.py +0 -88
  77. egain_api_python-0.1.9/src/egain_api_python/escalation.py +0 -955
  78. egain_api_python-0.1.9/src/egain_api_python/models/aisearchresponse.py +0 -63
  79. egain_api_python-0.1.9/src/egain_api_python/models/articlesearchresult.py +0 -243
  80. egain_api_python-0.1.9/src/egain_api_python/models/articlesearchresults.py +0 -32
  81. egain_api_python-0.1.9/src/egain_api_python/models/avertcustomerescalationop.py +0 -44
  82. egain_api_python-0.1.9/src/egain_api_python/models/completecustomerescalationop.py +0 -44
  83. egain_api_python-0.1.9/src/egain_api_python/models/contactperson.py +0 -43
  84. egain_api_python-0.1.9/src/egain_api_python/models/contacts.py +0 -21
  85. egain_api_python-0.1.9/src/egain_api_python/models/email.py +0 -21
  86. egain_api_python-0.1.9/src/egain_api_python/models/exportcontentop.py +0 -14
  87. egain_api_python-0.1.9/src/egain_api_python/models/gethealthop.py +0 -257
  88. egain_api_python-0.1.9/src/egain_api_python/models/optionalarticleattributes.py +0 -20
  89. egain_api_python-0.1.9/src/egain_api_python/models/phone.py +0 -21
  90. egain_api_python-0.1.9/src/egain_api_python/models/searchpriortoescalationop.py +0 -108
  91. egain_api_python-0.1.9/src/egain_api_python/models/startcustomerescalationop.py +0 -66
  92. egain_api_python-0.1.9/src/egain_api_python/models/startescalationrequest.py +0 -94
  93. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/LICENSE +0 -0
  94. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/setup.cfg +0 -0
  95. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/__init__.py +0 -0
  96. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/__init__.py +0 -0
  97. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/registration.py +0 -0
  98. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/sdkhooks.py +0 -0
  99. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/types.py +0 -0
  100. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/articlelists.py +0 -0
  101. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/basesdk.py +0 -0
  102. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/connectorssearchevents.py +0 -0
  103. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/egaindefaulterror.py +0 -0
  104. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/egainerror.py +0 -0
  105. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/no_response_error.py +0 -0
  106. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/responsevalidationerror.py +0 -0
  107. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/errors/wserrorcommon.py +0 -0
  108. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/federatedsearchevent.py +0 -0
  109. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/guidedhelp.py +0 -0
  110. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/httpclient.py +0 -0
  111. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/acceptghsolutionop.py +0 -0
  112. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/acceptlanguage.py +0 -0
  113. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/accessibleportal.py +0 -0
  114. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/action.py +0 -0
  115. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/actionsearch.py +0 -0
  116. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/addasreferenceop.py +0 -0
  117. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/addbookmarkop.py +0 -0
  118. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/addtoreplyop.py +0 -0
  119. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/allaccessibleportals.py +0 -0
  120. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/answer.py +0 -0
  121. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/answeredquestion.py +0 -0
  122. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/answerrange.py +0 -0
  123. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/article.py +0 -0
  124. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleactivitylink.py +0 -0
  125. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleadditionalattributes.py +0 -0
  126. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleattachment.py +0 -0
  127. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlelist.py +0 -0
  128. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlelistresult.py +0 -0
  129. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlelistsresult.py +0 -0
  130. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlepermissions.py +0 -0
  131. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlepermissionsresult.py +0 -0
  132. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlerating.py +0 -0
  133. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleratingsresponse.py +0 -0
  134. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleresult.py +0 -0
  135. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleresultadditionalattributes.py +0 -0
  136. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articleresults.py +0 -0
  137. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlesort.py +0 -0
  138. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articlesortorder.py +0 -0
  139. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/articletype.py +0 -0
  140. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachment.py +0 -0
  141. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentadditionalattributes.py +0 -0
  142. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentcontent.py +0 -0
  143. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentcontentresult.py +0 -0
  144. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentforcreatesuggestion.py +0 -0
  145. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachments.py +0 -0
  146. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentsummary.py +0 -0
  147. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentupload.py +0 -0
  148. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/bookmark.py +0 -0
  149. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/bookmarkresult.py +0 -0
  150. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/bookmarkstatus.py +0 -0
  151. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/case.py +0 -0
  152. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/caseadditionalattributes.py +0 -0
  153. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/caseanswer.py +0 -0
  154. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/casebase.py +0 -0
  155. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/casebaseresult.py +0 -0
  156. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/casebasesearchsettings.py +0 -0
  157. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/caselistresult.py +0 -0
  158. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/caselistresults.py +0 -0
  159. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/casequestion.py +0 -0
  160. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/casequestiondetail.py +0 -0
  161. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/casesearch.py +0 -0
  162. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/clusterid.py +0 -0
  163. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/clusterresult.py +0 -0
  164. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/clusterresults.py +0 -0
  165. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/comment.py +0 -0
  166. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/comments.py +0 -0
  167. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/compliancearticleresult.py +0 -0
  168. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/compliancearticleresultadditionalattributes.py +0 -0
  169. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/compliancearticleresults.py +0 -0
  170. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/complianceforarticle.py +0 -0
  171. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/complyarticleop.py +0 -0
  172. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/components_schemas_tag.py +0 -0
  173. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/components_schemas_tagcategory.py +0 -0
  174. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/components_schemas_taggroup.py +0 -0
  175. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/configurableattribute.py +0 -0
  176. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/configurableattributes.py +0 -0
  177. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createbookmark.py +0 -0
  178. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createdby.py +0 -0
  179. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createfederatedsearchevent.py +0 -0
  180. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createfederatedsearchresulteventop.py +0 -0
  181. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createquickpick.py +0 -0
  182. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createquickpickop.py +0 -0
  183. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createsearchresulteventforconnectors.py +0 -0
  184. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createsearchresulteventforconnectorsop.py +0 -0
  185. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createsignedurlop.py +0 -0
  186. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createviewedsearchresulteventforconnectors.py +0 -0
  187. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/createviewedsearchresultseventforconnectorsop.py +0 -0
  188. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/customattribute.py +0 -0
  189. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/deletebookmarkop.py +0 -0
  190. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/deletesuggestionop.py +0 -0
  191. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/department.py +0 -0
  192. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/detailfield.py +0 -0
  193. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/displayfield.py +0 -0
  194. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/dynamiccluster.py +0 -0
  195. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/dynamicsearch.py +0 -0
  196. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/editionwithcontent.py +0 -0
  197. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/exportstatus.py +0 -0
  198. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/exportstatusop.py +0 -0
  199. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/feedbackarticleforsuggestion.py +0 -0
  200. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/folderbreadcrumb.py +0 -0
  201. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/foldersummary.py +0 -0
  202. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getacknowledgedcompliancearticlesop.py +0 -0
  203. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getallarticlelistsop.py +0 -0
  204. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getallcasebasesreleasesop.py +0 -0
  205. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getallcasesop.py +0 -0
  206. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getallportalsop.py +0 -0
  207. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getallprofilesinportalop.py +0 -0
  208. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getallquickpicksop.py +0 -0
  209. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getalluserprofilesop.py +0 -0
  210. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getancestortopicsop.py +0 -0
  211. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getannouncementarticlesop.py +0 -0
  212. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticleattachmentbyidop.py +0 -0
  213. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlebyidop.py +0 -0
  214. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlebyidwitheditionsop.py +0 -0
  215. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlelistdetailsop.py +0 -0
  216. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlepermissionsbyidop.py +0 -0
  217. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlepersonalizationop.py +0 -0
  218. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticleratingsop.py +0 -0
  219. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlesintopicop.py +0 -0
  220. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getattachmentbyidinportalop.py +0 -0
  221. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getbookmarkop.py +0 -0
  222. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getcasebasereleasebyidop.py +0 -0
  223. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getcasebyidop.py +0 -0
  224. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getchildtopicsop.py +0 -0
  225. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getclusterbycasebasereleaseidop.py +0 -0
  226. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getmysubscriptionop.py +0 -0
  227. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getpendingcompliancearticlesop.py +0 -0
  228. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getpopulararticlesop.py +0 -0
  229. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getportaldetailsbyidop.py +0 -0
  230. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getrelatedarticlesforsuggestionop.py +0 -0
  231. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getrelatedarticlesop.py +0 -0
  232. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestionattachmentbyidop.py +0 -0
  233. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestionattachmentsop.py +0 -0
  234. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestioncommentsop.py +0 -0
  235. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestionop.py +0 -0
  236. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/gettagcategoriesforinterestforportalop.py +0 -0
  237. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/gettopicbreadcrumbforarticleop.py +0 -0
  238. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getuserdetailsop.py +0 -0
  239. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/getusermilestonesop.py +0 -0
  240. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/ghsearchrequest.py +0 -0
  241. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/ghsearchresult.py +0 -0
  242. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/ghstepsearchrequest.py +0 -0
  243. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/image.py +0 -0
  244. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/importstatus.py +0 -0
  245. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/kblanguage.py +0 -0
  246. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/kblanguagecode.py +0 -0
  247. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/kblanguages.py +0 -0
  248. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/l10nstring.py +0 -0
  249. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/languagecode.py +0 -0
  250. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/link.py +0 -0
  251. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/makesuggestionop.py +0 -0
  252. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/metadata.py +0 -0
  253. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/milestone.py +0 -0
  254. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/milestonename.py +0 -0
  255. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/milestones.py +0 -0
  256. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/modifiedby.py +0 -0
  257. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/modifysuggestion.py +0 -0
  258. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/modifysuggestionsop.py +0 -0
  259. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/order.py +0 -0
  260. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/ownedby.py +0 -0
  261. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/paginationinfo.py +0 -0
  262. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/personalization.py +0 -0
  263. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/portalresult.py +0 -0
  264. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/portalsettings.py +0 -0
  265. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/profile.py +0 -0
  266. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/profileresult.py +0 -0
  267. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/publishview.py +0 -0
  268. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/question.py +0 -0
  269. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/questionandanswer.py +0 -0
  270. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/quickpickrating.py +0 -0
  271. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/quickpickresult.py +0 -0
  272. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/quickpickresults.py +0 -0
  273. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/ratearticleop.py +0 -0
  274. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/rejectghsolutionop.py +0 -0
  275. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/relatedquestions.py +0 -0
  276. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/restorequickpickop.py +0 -0
  277. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/role.py +0 -0
  278. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/roletemplate.py +0 -0
  279. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_answer.py +0 -0
  280. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_customattribute.py +0 -0
  281. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_link.py +0 -0
  282. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_tag.py +0 -0
  283. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_tagcategory.py +0 -0
  284. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_taggroup.py +0 -0
  285. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_tags.py +0 -0
  286. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_wserrorcommon.py +0 -0
  287. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/searchfilterattribute.py +0 -0
  288. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/security.py +0 -0
  289. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/selectuserprofileop.py +0 -0
  290. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/sessioncontextvariable.py +0 -0
  291. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/sortidname.py +0 -0
  292. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/sortidnamedepartment.py +0 -0
  293. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/stage.py +0 -0
  294. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/startghsearchop.py +0 -0
  295. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/startquestionandanswer.py +0 -0
  296. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/stepghsearchop.py +0 -0
  297. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/stringattributevalue.py +0 -0
  298. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/structuredauthoringfields.py +0 -0
  299. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/subscribearticleop.py +0 -0
  300. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestionadditionalattributes.py +0 -0
  301. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestionattachment.py +0 -0
  302. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestions.py +0 -0
  303. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/tag.py +0 -0
  304. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/tagcategoriesforinterest.py +0 -0
  305. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/tagcategory.py +0 -0
  306. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/taggroup.py +0 -0
  307. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/taggroups.py +0 -0
  308. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/tags.py +0 -0
  309. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topic.py +0 -0
  310. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topicadditionalattributes.py +0 -0
  311. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topicbreadcrumb.py +0 -0
  312. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topicresult.py +0 -0
  313. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topicsummary.py +0 -0
  314. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topictreenode.py +0 -0
  315. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/topictreeresult.py +0 -0
  316. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/unsubscribearticleop.py +0 -0
  317. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/userdetails.py +0 -0
  318. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/userprofile.py +0 -0
  319. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/userprofiles.py +0 -0
  320. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/userview.py +0 -0
  321. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/virtualcase.py +0 -0
  322. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/workflow.py +0 -0
  323. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/workflowmilestone.py +0 -0
  324. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/models/wserrorcommon.py +0 -0
  325. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/populararticles.py +0 -0
  326. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_bookmark.py +0 -0
  327. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_userdetails.py +0 -0
  328. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/portal_userprofile.py +0 -0
  329. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/py.typed +0 -0
  330. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/sdkconfiguration.py +0 -0
  331. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/types/__init__.py +0 -0
  332. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/types/basemodel.py +0 -0
  333. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/usermilestones.py +0 -0
  334. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/__init__.py +0 -0
  335. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/annotations.py +0 -0
  336. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/datetimes.py +0 -0
  337. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/enums.py +0 -0
  338. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/eventstreaming.py +0 -0
  339. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/forms.py +0 -0
  340. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/headers.py +0 -0
  341. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/logger.py +0 -0
  342. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/metadata.py +0 -0
  343. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/queryparams.py +0 -0
  344. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/requestbodies.py +0 -0
  345. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/retries.py +0 -0
  346. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/security.py +0 -0
  347. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/serializers.py +0 -0
  348. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/unmarshal_json_response.py +0 -0
  349. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/url.py +0 -0
  350. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python/utils/values.py +0 -0
  351. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/dependency_links.txt +0 -0
  352. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/requires.txt +0 -0
  353. {egain_api_python-0.1.9 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: egain-api-python
3
- Version: 0.1.9
3
+ Version: 0.2.1
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -71,7 +71,6 @@ For more information about the API: [Full SDK Documentation](https://github.com/
71
71
  * [SDK Example Usage](#sdk-example-usage)
72
72
  * [Authentication](#authentication)
73
73
  * [Available Resources and Operations](#available-resources-and-operations)
74
- * [File uploads](#file-uploads)
75
74
  * [Retries](#retries)
76
75
  * [Error Handling](#error-handling)
77
76
  * [Server Selection](#server-selection)
@@ -175,7 +174,7 @@ with Egain(
175
174
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
176
175
  ) as egain:
177
176
 
178
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
177
+ res = egain.aiservices.retrieve.retrieve_chunks(q="What is a loan?", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-1030", filter_tags={
179
178
  "PROD-1234": [
180
179
  "PROD-2000",
181
180
  "PROD-2003",
@@ -185,7 +184,7 @@ with Egain(
185
184
  ],
186
185
  }, channel={
187
186
  "name": "Eight Bank Website",
188
- })
187
+ }, event_id="6154589f-b43f-4471-b2c7-92c6c888a664", client_session_id="6154589f-b43f-4471-b2c7-92c6c888a643", session_id="6154589f-b43f-4471-b2c7-92c6c888a689")
189
188
 
190
189
  # Handle response
191
190
  print(res)
@@ -207,7 +206,7 @@ async def main():
207
206
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
208
207
  ) as egain:
209
208
 
210
- res = await egain.aiservices.retrieve.retrieve_chunks_async(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
209
+ res = await egain.aiservices.retrieve.retrieve_chunks_async(q="What is a loan?", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-1030", filter_tags={
211
210
  "PROD-1234": [
212
211
  "PROD-2000",
213
212
  "PROD-2003",
@@ -217,7 +216,7 @@ async def main():
217
216
  ],
218
217
  }, channel={
219
218
  "name": "Eight Bank Website",
220
- })
219
+ }, event_id="6154589f-b43f-4471-b2c7-92c6c888a664", client_session_id="6154589f-b43f-4471-b2c7-92c6c888a643", session_id="6154589f-b43f-4471-b2c7-92c6c888a689")
221
220
 
222
221
  # Handle response
223
222
  print(res)
@@ -247,17 +246,7 @@ with Egain(
247
246
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
248
247
  ) as egain:
249
248
 
250
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
251
- "PROD-1234": [
252
- "PROD-2000",
253
- "PROD-2003",
254
- ],
255
- "PROD-2005": [
256
- "PROD-2007",
257
- ],
258
- }, channel={
259
- "name": "Eight Bank Website",
260
- })
249
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
261
250
 
262
251
  # Handle response
263
252
  print(res)
@@ -271,177 +260,148 @@ with Egain(
271
260
  <details open>
272
261
  <summary>Available methods</summary>
273
262
 
274
- #### [aiservices.answers](docs/sdks/answers/README.md)
263
+ #### [aiservices.answers](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/answers/README.md)
275
264
 
276
- * [get_best_answer](docs/sdks/answers/README.md#get_best_answer) - Get the best answer for a user query
265
+ * [get_best_answer](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/answers/README.md#get_best_answer) - Generate an Answer
277
266
 
278
- #### [aiservices.retrieve](docs/sdks/retrieve/README.md)
267
+ #### [aiservices.prompt](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/aiservicesprompt/README.md)
279
268
 
280
- * [retrieve_chunks](docs/sdks/retrieve/README.md#retrieve_chunks) - Retrieve Chunks
269
+ * [execute_prompt](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/aiservicesprompt/README.md#execute_prompt) - Execute a predefined prompt
281
270
 
282
- #### [content.health](docs/sdks/health/README.md)
271
+ #### [aiservices.retrieve](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/retrieve/README.md)
283
272
 
284
- * [get_health](docs/sdks/health/README.md#get_health) - Check service health status
273
+ * [retrieve_chunks](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/retrieve/README.md#retrieve_chunks) - Retrieve Chunks
285
274
 
286
- #### [content.import_](docs/sdks/import/README.md)
275
+ #### [content.import_](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md)
287
276
 
288
- * [create_import_job](docs/sdks/import/README.md#create_import_job) - Import content from external sources by creating an import job
289
- * [get_import_status](docs/sdks/import/README.md#get_import_status) - Get the current status of an import or validation job
290
- * [create_import_validation_job](docs/sdks/import/README.md#create_import_validation_job) - Validate content structure and format before import by creating an import validation job
291
- * [cancel_import](docs/sdks/import/README.md#cancel_import) - Cancel an import or validation job
277
+ * [create_import_job](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#create_import_job) - Create Import Job
278
+ * [get_import_status](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#get_import_status) - Get Job Status
279
+ * [create_import_validation_job](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#create_import_validation_job) - Create Validation Job
280
+ * [cancel_import](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#cancel_import) - Cancel Job
292
281
 
293
- #### [portal.article](docs/sdks/portalarticle/README.md)
282
+ #### [portal.article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md)
294
283
 
295
- * [get_article_by_id](docs/sdks/portalarticle/README.md#get_article_by_id) - Get Article by ID
296
- * [get_article_by_id_with_editions](docs/sdks/portalarticle/README.md#get_article_by_id_with_editions) - Get Article By ID with Editions
297
- * [get_article_edition_details](docs/sdks/portalarticle/README.md#get_article_edition_details) - Get Article Edition Details
298
- * [add_to_reply](docs/sdks/portalarticle/README.md#add_to_reply) - Add Article to Reply
299
- * [add_as_reference](docs/sdks/portalarticle/README.md#add_as_reference) - Add as Reference
300
- * [get_articles_in_topic](docs/sdks/portalarticle/README.md#get_articles_in_topic) - Get Articles in Topic
301
- * [get_article_attachment_by_id](docs/sdks/portalarticle/README.md#get_article_attachment_by_id) - Get Article Attachment By ID
302
- * [get_attachment_by_id_in_portal](docs/sdks/portalarticle/README.md#get_attachment_by_id_in_portal) - Get Article Attachment in Portal
303
- * [get_related_articles](docs/sdks/portalarticle/README.md#get_related_articles) - Get Related Articles
304
- * [get_announcement_articles](docs/sdks/portalarticle/README.md#get_announcement_articles) - Get Announcement Articles
305
- * [get_article_ratings](docs/sdks/portalarticle/README.md#get_article_ratings) - Get Article Ratings
306
- * [rate_article](docs/sdks/portalarticle/README.md#rate_article) - Rate an Article
307
- * [get_pending_compliance_articles](docs/sdks/portalarticle/README.md#get_pending_compliance_articles) - Get Pending Article Compliances
308
- * [get_acknowledged_compliance_articles](docs/sdks/portalarticle/README.md#get_acknowledged_compliance_articles) - Get Acknowledged Article Compliances
309
- * [comply_article](docs/sdks/portalarticle/README.md#comply_article) - Comply With an Article
310
- * [get_my_subscription](docs/sdks/portalarticle/README.md#get_my_subscription) - My Subscription
311
- * [subscribe_article](docs/sdks/portalarticle/README.md#subscribe_article) - Subscribe to an Article
312
- * [unsubscribe_article](docs/sdks/portalarticle/README.md#unsubscribe_article) - Unsubscribe to an Article
313
- * [get_article_permissions_by_id](docs/sdks/portalarticle/README.md#get_article_permissions_by_id) - Get Article Permissions By ID
314
- * [get_article_personalization](docs/sdks/portalarticle/README.md#get_article_personalization) - Get Article Personalization Details
284
+ * [get_article_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_by_id) - Get Article by ID
285
+ * [get_article_by_id_with_editions](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_by_id_with_editions) - Get Article By ID with Editions
286
+ * [get_article_edition_details](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_edition_details) - Get Article Edition Details
287
+ * [add_to_reply](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#add_to_reply) - Add Article to Reply
288
+ * [add_as_reference](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#add_as_reference) - Add as Reference
289
+ * [get_articles_in_topic](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_articles_in_topic) - Get Articles in Topic
290
+ * [get_article_attachment_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_attachment_by_id) - Get Article Attachment By ID
291
+ * [get_attachment_by_id_in_portal](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_attachment_by_id_in_portal) - Get Article Attachment in Portal
292
+ * [get_related_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_related_articles) - Get Related Articles
293
+ * [get_announcement_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_announcement_articles) - Get Announcement Articles
294
+ * [get_article_ratings](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_ratings) - Get Article Ratings
295
+ * [rate_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#rate_article) - Rate an Article
296
+ * [get_pending_compliance_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_pending_compliance_articles) - Get Pending Article Compliances
297
+ * [get_acknowledged_compliance_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_acknowledged_compliance_articles) - Get Acknowledged Article Compliances
298
+ * [comply_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#comply_article) - Comply With an Article
299
+ * [get_my_subscription](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_my_subscription) - My Subscription
300
+ * [subscribe_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#subscribe_article) - Subscribe to an Article
301
+ * [unsubscribe_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#unsubscribe_article) - Unsubscribe to an Article
302
+ * [get_article_permissions_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_permissions_by_id) - Get Article Permissions By ID
303
+ * [get_article_personalization](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_personalization) - Get Article Personalization Details
315
304
 
316
- #### [portal.articlelists](docs/sdks/articlelists/README.md)
305
+ #### [portal.articlelists](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/articlelists/README.md)
317
306
 
318
- * [get_all_article_lists](docs/sdks/articlelists/README.md#get_all_article_lists) - Get All Article Lists
319
- * [get_article_list_details](docs/sdks/articlelists/README.md#get_article_list_details) - Get Article List by ID
307
+ * [get_all_article_lists](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/articlelists/README.md#get_all_article_lists) - Get All Article Lists
308
+ * [get_article_list_details](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/articlelists/README.md#get_article_list_details) - Get Article List by ID
320
309
 
321
- #### [portal.attachment](docs/sdks/portalattachment/README.md)
310
+ #### [portal.attachment](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalattachment/README.md)
322
311
 
323
- * [create_signed_url](docs/sdks/portalattachment/README.md#create_signed_url) - Generate Signed URL to Upload API
324
- * [upload_attachment](docs/sdks/portalattachment/README.md#upload_attachment) - Upload Attachment
312
+ * [create_signed_url](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalattachment/README.md#create_signed_url) - Generate Signed URL to Upload API
325
313
 
326
- #### [portal.bookmark](docs/sdks/portalbookmark/README.md)
314
+ #### [portal.bookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md)
327
315
 
328
- * [addbookmark](docs/sdks/portalbookmark/README.md#addbookmark) - Add a Bookmark
329
- * [getbookmark](docs/sdks/portalbookmark/README.md#getbookmark) - Get All Bookmarks for a Portal
330
- * [deletebookmark](docs/sdks/portalbookmark/README.md#deletebookmark) - Delete a Bookmark
316
+ * [addbookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md#addbookmark) - Add a Bookmark
317
+ * [getbookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md#getbookmark) - Get All Bookmarks for a Portal
318
+ * [deletebookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md#deletebookmark) - Delete a Bookmark
331
319
 
332
- #### [portal.connectorssearchevents](docs/sdks/connectorssearchevents/README.md)
320
+ #### [portal.connectorssearchevents](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/connectorssearchevents/README.md)
333
321
 
334
- * [create_search_result_event_for_connectors](docs/sdks/connectorssearchevents/README.md#create_search_result_event_for_connectors) - Event for Search Using Connectors
335
- * [create_viewed_search_results_event_for_connectors](docs/sdks/connectorssearchevents/README.md#create_viewed_search_results_event_for_connectors) - Event for Viewed Search Results Using Connectors
322
+ * [create_search_result_event_for_connectors](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/connectorssearchevents/README.md#create_search_result_event_for_connectors) - Event for Search Using Connectors
323
+ * [create_viewed_search_results_event_for_connectors](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/connectorssearchevents/README.md#create_viewed_search_results_event_for_connectors) - Event for Viewed Search Results Using Connectors
336
324
 
337
- #### [portal.escalation](docs/sdks/escalation/README.md)
325
+ #### [portal.export](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/export/README.md)
338
326
 
339
- * [start_customer_escalation](docs/sdks/escalation/README.md#start_customer_escalation) - Start Customer Escalation
340
- * [search_prior_to_escalation](docs/sdks/escalation/README.md#search_prior_to_escalation) - Search Prior To Customer Escalation
341
- * [complete_customer_escalation](docs/sdks/escalation/README.md#complete_customer_escalation) - Complete Customer Escalation
342
- * [avert_customer_escalation](docs/sdks/escalation/README.md#avert_customer_escalation) - Avert Customer Escalation
327
+ * [export_content](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/export/README.md#export_content) - Export Knowledge
328
+ * [export_status](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/export/README.md#export_status) - Get Export Job Status
343
329
 
344
- #### [portal.export](docs/sdks/export/README.md)
330
+ #### [portal.federatedsearchevent](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/federatedsearchevent/README.md)
345
331
 
346
- * [export_content](docs/sdks/export/README.md#export_content) - Export Knowledge
347
- * [export_status](docs/sdks/export/README.md#export_status) - Get Export Job Status
332
+ * [create_federated_search_result_event](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/federatedsearchevent/README.md#create_federated_search_result_event) - Event For Viewed Federated Search Result
348
333
 
349
- #### [portal.federatedsearchevent](docs/sdks/federatedsearchevent/README.md)
334
+ #### [portal.general](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md)
350
335
 
351
- * [create_federated_search_result_event](docs/sdks/federatedsearchevent/README.md#create_federated_search_result_event) - Event For Viewed Federated Search Result
336
+ * [get_all_portals](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_all_portals) - Get All Portals
337
+ * [get_my_portals](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_my_portals) - Get All Portals Accessible To User
338
+ * [get_portal_details_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_portal_details_by_id) - Get Portal Details By ID
339
+ * [get_tag_categories_for_interest_for_portal](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_tag_categories_for_interest_for_portal) - Get Tag Categories for Interest for a Portal
352
340
 
353
- #### [portal.general](docs/sdks/general/README.md)
341
+ #### [portal.guidedhelp](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md)
354
342
 
355
- * [get_all_portals](docs/sdks/general/README.md#get_all_portals) - Get All Portals
356
- * [get_my_portals](docs/sdks/general/README.md#get_my_portals) - Get All Portals Accessible To User
357
- * [get_portal_details_by_id](docs/sdks/general/README.md#get_portal_details_by_id) - Get Portal Details By ID
358
- * [get_tag_categories_for_interest_for_portal](docs/sdks/general/README.md#get_tag_categories_for_interest_for_portal) - Get Tag Categories for Interest for a Portal
343
+ * [get_all_casebases_releases](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_casebases_releases) - Get Available Casebases Releases
344
+ * [get_casebase_release_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_casebase_release_by_id) - Get Details of a Casebase Release
345
+ * [get_cluster_by_casebase_release_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_cluster_by_casebase_release_id) - Get Cluster Details of a Casebase Release
346
+ * [get_all_profiles_in_portal](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_profiles_in_portal) - Get All Profiles Available in Portal
347
+ * [start_gh_search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#start_gh_search) - Start a Guided Help Search
348
+ * [step_gh_search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#step_gh_search) - Perform a Step in a Guided Help Search
349
+ * [get_all_cases](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_cases) - Get All Cases of a Cluster in Release
350
+ * [get_case_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_case_by_id) - Get Details of a Case
351
+ * [accept_gh_solution](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#accept_gh_solution) - Accept Solution
352
+ * [reject_gh_solution](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#reject_gh_solution) - Reject Solution
353
+ * [create_quickpick](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#create_quickpick) - Create Quickpick
354
+ * [get_all_quick_picks](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_quick_picks) - Get All Quickpicks for a Portal
355
+ * [restore_quickpick](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#restore_quickpick) - Resume a Quickpick
359
356
 
360
- #### [portal.guidedhelp](docs/sdks/guidedhelp/README.md)
357
+ #### [portal.populararticles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/populararticles/README.md)
361
358
 
362
- * [get_all_casebases_releases](docs/sdks/guidedhelp/README.md#get_all_casebases_releases) - Get Available Casebases Releases
363
- * [get_casebase_release_by_id](docs/sdks/guidedhelp/README.md#get_casebase_release_by_id) - Get Details of a Casebase Release
364
- * [get_cluster_by_casebase_release_id](docs/sdks/guidedhelp/README.md#get_cluster_by_casebase_release_id) - Get Cluster Details of a Casebase Release
365
- * [get_all_profiles_in_portal](docs/sdks/guidedhelp/README.md#get_all_profiles_in_portal) - Get All Profiles Available in Portal
366
- * [start_gh_search](docs/sdks/guidedhelp/README.md#start_gh_search) - Start a Guided Help Search
367
- * [step_gh_search](docs/sdks/guidedhelp/README.md#step_gh_search) - Perform a Step in a Guided Help Search
368
- * [get_all_cases](docs/sdks/guidedhelp/README.md#get_all_cases) - Get All Cases of a Cluster in Release
369
- * [get_case_by_id](docs/sdks/guidedhelp/README.md#get_case_by_id) - Get Details of a Case
370
- * [accept_gh_solution](docs/sdks/guidedhelp/README.md#accept_gh_solution) - Accept Solution
371
- * [reject_gh_solution](docs/sdks/guidedhelp/README.md#reject_gh_solution) - Reject Solution
372
- * [create_quickpick](docs/sdks/guidedhelp/README.md#create_quickpick) - Create Quickpick
373
- * [get_all_quick_picks](docs/sdks/guidedhelp/README.md#get_all_quick_picks) - Get All Quickpicks for a Portal
374
- * [restore_quickpick](docs/sdks/guidedhelp/README.md#restore_quickpick) - Resume a Quickpick
359
+ * [getpopulararticles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/populararticles/README.md#getpopulararticles) - Get Popular Articles
375
360
 
376
- #### [portal.populararticles](docs/sdks/populararticles/README.md)
361
+ #### [portal.search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/search/README.md)
377
362
 
378
- * [getpopulararticles](docs/sdks/populararticles/README.md#getpopulararticles) - Get Popular Articles
363
+ * [ai_search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/search/README.md#ai_search) - Hybrid Search
379
364
 
380
- #### [portal.search](docs/sdks/search/README.md)
365
+ #### [portal.suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md)
381
366
 
382
- * [ai_search](docs/sdks/search/README.md#ai_search) - Get the best search results for a user query
367
+ * [make_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#make_suggestion) - Make a Suggestion
368
+ * [modify_suggestions](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#modify_suggestions) - Modify Suggestion
369
+ * [search_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#search_suggestion) - Get Suggestion by Status
370
+ * [get_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion) - Get Suggestion by ID
371
+ * [delete_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#delete_suggestion) - Delete a Suggestion
372
+ * [get_related_articles_for_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_related_articles_for_suggestion) - Get Related Articles for Suggestion
373
+ * [get_suggestion_comments](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_comments) - Get Suggestion Comments
374
+ * [get_suggestion_attachments](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_attachments) - Get Suggestion Attachments
375
+ * [get_suggestion_attachment_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_attachment_by_id) - Get Suggestion Attachment by ID
383
376
 
384
- #### [portal.suggestion](docs/sdks/portalsuggestion/README.md)
377
+ #### [portal.topic](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md)
385
378
 
386
- * [make_suggestion](docs/sdks/portalsuggestion/README.md#make_suggestion) - Make a Suggestion
387
- * [modify_suggestions](docs/sdks/portalsuggestion/README.md#modify_suggestions) - Modify Suggestion
388
- * [search_suggestion](docs/sdks/portalsuggestion/README.md#search_suggestion) - Get Suggestion by Status
389
- * [get_suggestion](docs/sdks/portalsuggestion/README.md#get_suggestion) - Get Suggestion by ID
390
- * [delete_suggestion](docs/sdks/portalsuggestion/README.md#delete_suggestion) - Delete a Suggestion
391
- * [get_related_articles_for_suggestion](docs/sdks/portalsuggestion/README.md#get_related_articles_for_suggestion) - Get Related Articles for Suggestion
392
- * [get_suggestion_comments](docs/sdks/portalsuggestion/README.md#get_suggestion_comments) - Get Suggestion Comments
393
- * [get_suggestion_attachments](docs/sdks/portalsuggestion/README.md#get_suggestion_attachments) - Get Suggestion Attachments
394
- * [get_suggestion_attachment_by_id](docs/sdks/portalsuggestion/README.md#get_suggestion_attachment_by_id) - Get Suggestion Attachment by ID
379
+ * [get_topic_breadcrumb_for_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#get_topic_breadcrumb_for_article) - Get Topic Breadcrumb for Article
380
+ * [getchildtopics](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#getchildtopics) - Get Immediate Child Topics
381
+ * [getancestortopics](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#getancestortopics) - Get All Ancestor Topics
382
+ * [getalltopics](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#getalltopics) - Get All Topics
395
383
 
396
- #### [portal.topic](docs/sdks/portaltopic/README.md)
384
+ #### [portal.userdetails](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserdetails/README.md)
397
385
 
398
- * [get_topic_breadcrumb_for_article](docs/sdks/portaltopic/README.md#get_topic_breadcrumb_for_article) - Get Topic Breadcrumb for Article
399
- * [getchildtopics](docs/sdks/portaltopic/README.md#getchildtopics) - Get Immediate Child Topics
400
- * [getancestortopics](docs/sdks/portaltopic/README.md#getancestortopics) - Get All Ancestor Topics
401
- * [getalltopics](docs/sdks/portaltopic/README.md#getalltopics) - Get All Topics
386
+ * [get_user_details](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserdetails/README.md#get_user_details) - Get User Details
402
387
 
403
- #### [portal.userdetails](docs/sdks/portaluserdetails/README.md)
388
+ #### [portal.usermilestones](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/usermilestones/README.md)
404
389
 
405
- * [get_user_details](docs/sdks/portaluserdetails/README.md#get_user_details) - Get User Details
390
+ * [get_user_milestones](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/usermilestones/README.md#get_user_milestones) - Get User Milestones
406
391
 
407
- #### [portal.usermilestones](docs/sdks/usermilestones/README.md)
392
+ #### [portal.userprofile](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserprofile/README.md)
408
393
 
409
- * [get_user_milestones](docs/sdks/usermilestones/README.md#get_user_milestones) - Get User Milestones
394
+ * [get_all_user_profiles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserprofile/README.md#get_all_user_profiles) - Get All User Profiles Assigned to User
395
+ * [select_user_profile](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserprofile/README.md#select_user_profile) - Select User Profile
410
396
 
411
- #### [portal.userprofile](docs/sdks/portaluserprofile/README.md)
397
+ ### [prompt](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/prompt/README.md)
412
398
 
413
- * [get_all_user_profiles](docs/sdks/portaluserprofile/README.md#get_all_user_profiles) - Get All User Profiles Assigned to User
414
- * [select_user_profile](docs/sdks/portaluserprofile/README.md#select_user_profile) - Select User Profile
399
+ * [get_prompt_templates](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/prompt/README.md#get_prompt_templates) - Get Prompt Templates
400
+ * [get_prompt_template_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/prompt/README.md#get_prompt_template_by_id) - Get Prompt Template By ID
415
401
 
416
402
  </details>
417
403
  <!-- End Available Resources and Operations [operations] -->
418
404
 
419
- <!-- Start File uploads [file-upload] -->
420
- ## File uploads
421
-
422
- Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
423
-
424
- > [!TIP]
425
- >
426
- > For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
427
- >
428
-
429
- ```python
430
- from egain_api_python import Egain
431
- import os
432
-
433
-
434
- with Egain(
435
- access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
436
- ) as egain:
437
-
438
- egain.portal.attachment.upload_attachment(accept_language="en-US", signature="<value>", request_body=open("example.file", "rb"))
439
-
440
- # Use the SDK ...
441
-
442
- ```
443
- <!-- End File uploads [file-upload] -->
444
-
445
405
  <!-- Start Retries [retries] -->
446
406
  ## Retries
447
407
 
@@ -458,17 +418,7 @@ with Egain(
458
418
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
459
419
  ) as egain:
460
420
 
461
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
462
- "PROD-1234": [
463
- "PROD-2000",
464
- "PROD-2003",
465
- ],
466
- "PROD-2005": [
467
- "PROD-2007",
468
- ],
469
- }, channel={
470
- "name": "Eight Bank Website",
471
- },
421
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False,
472
422
  RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
473
423
 
474
424
  # Handle response
@@ -488,17 +438,7 @@ with Egain(
488
438
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
489
439
  ) as egain:
490
440
 
491
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
492
- "PROD-1234": [
493
- "PROD-2000",
494
- "PROD-2003",
495
- ],
496
- "PROD-2005": [
497
- "PROD-2007",
498
- ],
499
- }, channel={
500
- "name": "Eight Bank Website",
501
- })
441
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
502
442
 
503
443
  # Handle response
504
444
  print(res)
@@ -509,7 +449,7 @@ with Egain(
509
449
  <!-- Start Error Handling [errors] -->
510
450
  ## Error Handling
511
451
 
512
- [`EgainError`](./src/egain_api_python/errors/egainerror.py) is the base class for all HTTP error responses. It has the following properties:
452
+ [`EgainError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/egainerror.py) is the base class for all HTTP error responses. It has the following properties:
513
453
 
514
454
  | Property | Type | Description |
515
455
  | ------------------ | ---------------- | --------------------------------------------------------------------------------------- |
@@ -523,7 +463,6 @@ with Egain(
523
463
  ### Example
524
464
  ```python
525
465
  from egain_api_python import Egain, errors
526
- from egain_api_python.utils import parse_datetime
527
466
  import os
528
467
 
529
468
 
@@ -533,14 +472,7 @@ with Egain(
533
472
  res = None
534
473
  try:
535
474
 
536
- res = egain.content.import_.create_import_job(data_source={
537
- "type": "AWS S3 bucket",
538
- "path": "s3://mybucket/myfolder/",
539
- "region": "us-east-1",
540
- "credentials": {},
541
- }, operation="import", schedule_time={
542
- "date_": parse_datetime("2024-03-01T10:00:00.000Z"),
543
- })
475
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
544
476
 
545
477
  # Handle response
546
478
  print(res)
@@ -555,17 +487,15 @@ with Egain(
555
487
  print(e.raw_response)
556
488
 
557
489
  # Depending on the method different errors may be thrown
558
- if isinstance(e, errors.WSErrorCommon):
559
- print(e.data.code) # str
560
- print(e.data.developer_message) # str
561
- print(e.data.details) # Optional[List[models.WSErrorCommonDetail]]
562
- print(e.data.user_message) # Optional[str]
490
+ if isinstance(e, errors.BadRequestError):
491
+ print(e.data.code) # Optional[int]
492
+ print(e.data.developer_message) # Optional[str]
563
493
  ```
564
494
 
565
495
  ### Error Classes
566
496
  **Primary errors:**
567
- * [`EgainError`](./src/egain_api_python/errors/egainerror.py): The base class for HTTP error responses.
568
- * [`WSErrorCommon`](./src/egain_api_python/errors/wserrorcommon.py): Bad Request. *
497
+ * [`EgainError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/egainerror.py): The base class for HTTP error responses.
498
+ * [`WSErrorCommon`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/wserrorcommon.py): Bad Request. *
569
499
 
570
500
  <details><summary>Less common errors (7)</summary>
571
501
 
@@ -577,10 +507,10 @@ with Egain(
577
507
  * [`httpx.TimeoutException`](https://www.python-httpx.org/exceptions/#httpx.TimeoutException): HTTP request timed out.
578
508
 
579
509
 
580
- **Inherit from [`EgainError`](./src/egain_api_python/errors/egainerror.py)**:
581
- * [`SchemasWSErrorCommon`](./src/egain_api_python/errors/schemaswserrorcommon.py): Preconditions failed. Status code `412`. Applicable to 2 of 79 methods.*
582
- * [`ServiceUnavailableError`](./src/egain_api_python/errors/serviceunavailableerror.py): ## Service is Unhealthy The Import Content service is experiencing critical issues and may not be able to process requests properly. **Health Status Details:** - **Overall Status**: Service is unhealthy and may not function correctly **Response Information:** - **Status**: Current health state (unhealthy) - **Timestamp**: When health check was performed - **Version**: Current API version - **Issues**: List of detected health problems. Status code `503`. Applicable to 1 of 79 methods.*
583
- * [`ResponseValidationError`](./src/egain_api_python/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
510
+ **Inherit from [`EgainError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/egainerror.py)**:
511
+ * [`SchemasWSErrorCommon`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/schemaswserrorcommon.py): Not acceptable. Applicable to 4 of 76 methods.*
512
+ * [`BadRequestError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/badrequesterror.py): Bad Request. Status code `400`. Applicable to 1 of 76 methods.*
513
+ * [`ResponseValidationError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
584
514
 
585
515
  </details>
586
516
 
@@ -603,17 +533,7 @@ with Egain(
603
533
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
604
534
  ) as egain:
605
535
 
606
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
607
- "PROD-1234": [
608
- "PROD-2000",
609
- "PROD-2003",
610
- ],
611
- "PROD-2005": [
612
- "PROD-2007",
613
- ],
614
- }, channel={
615
- "name": "Eight Bank Website",
616
- })
536
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
617
537
 
618
538
  # Handle response
619
539
  print(res)
@@ -632,17 +552,7 @@ with Egain(
632
552
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
633
553
  ) as egain:
634
554
 
635
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", filter_user_profile_id="PROD-3210", language="en-US", filter_tags={
636
- "PROD-1234": [
637
- "PROD-2000",
638
- "PROD-2003",
639
- ],
640
- "PROD-2005": [
641
- "PROD-2007",
642
- ],
643
- }, channel={
644
- "name": "Eight Bank Website",
645
- }, server_url="https://api.aidev.egain.cloud/core/aiservices/v4")
555
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False, server_url="https://api.aidev.egain.cloud/core/aiservices/v4")
646
556
 
647
557
  # Handle response
648
558
  print(res)