glpi-python-client 0.6.7__tar.gz → 0.6.9__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 (174) hide show
  1. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/CHANGELOG.md +39 -0
  2. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/PKG-INFO +1 -1
  3. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/user_guide.rst +39 -0
  4. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/__init__.py +1 -1
  5. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/_ticket.py +132 -0
  6. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/_ticket.py +132 -0
  7. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/_ticket.py +30 -7
  8. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/pyproject.toml +1 -1
  9. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-asset-workflow/SKILL.md +1 -1
  10. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-client-setup/SKILL.md +1 -1
  11. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-contract-workflow/SKILL.md +1 -1
  12. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-document-workflow/SKILL.md +1 -1
  13. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-knowledge-base/SKILL.md +1 -1
  14. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-plugin-fields/SKILL.md +1 -1
  15. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-reporting-and-context/SKILL.md +1 -1
  16. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-team-members/SKILL.md +1 -1
  17. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-ticket-timeline/SKILL.md +1 -1
  18. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-ticket-workflow/SKILL.md +2 -1
  19. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/glpi-user-location-provisioning/SKILL.md +1 -1
  20. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/.gitignore +0 -0
  21. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/.pre-commit-config.yaml +0 -0
  22. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/.readthedocs.yaml +0 -0
  23. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/CONTRIBUTING.md +0 -0
  24. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/LICENSE +0 -0
  25. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/README.md +0 -0
  26. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/_static/.gitkeep +0 -0
  27. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/api_reference.rst +0 -0
  28. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/conf.py +0 -0
  29. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/development.md +0 -0
  30. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/development_rtd.rst +0 -0
  31. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/index.rst +0 -0
  32. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/installation.rst +0 -0
  33. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/publishing.md +0 -0
  34. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/publishing_rtd.rst +0 -0
  35. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/docs/sponsoring.rst +0 -0
  36. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/__init__.py +0 -0
  37. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/_concurrency.py +0 -0
  38. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/_testing.py +0 -0
  39. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/auth/__init__.py +0 -0
  40. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/auth/_v1_session.py +0 -0
  41. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/auth/auth.py +0 -0
  42. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/__init__.py +0 -0
  43. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/_base_client.py +0 -0
  44. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/__init__.py +0 -0
  45. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/administration/__init__.py +0 -0
  46. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/administration/_entity.py +0 -0
  47. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/administration/_group.py +0 -0
  48. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/administration/_user.py +0 -0
  49. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assets/__init__.py +0 -0
  50. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assets/_computer.py +0 -0
  51. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/__init__.py +0 -0
  52. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/_team.py +0 -0
  53. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/timeline/__init__.py +0 -0
  54. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/timeline/_document.py +0 -0
  55. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/timeline/_followup.py +0 -0
  56. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/timeline/_solution.py +0 -0
  57. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/assistance/timeline/_task.py +0 -0
  58. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/dropdowns/__init__.py +0 -0
  59. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/dropdowns/_contract_type.py +0 -0
  60. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/dropdowns/_location.py +0 -0
  61. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/knowledgebase/__init__.py +0 -0
  62. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/knowledgebase/_article.py +0 -0
  63. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/knowledgebase/_category.py +0 -0
  64. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/knowledgebase/_comment.py +0 -0
  65. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/knowledgebase/_revision.py +0 -0
  66. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/management/__init__.py +0 -0
  67. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/management/_contract.py +0 -0
  68. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/management/_document.py +0 -0
  69. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/plugins/__init__.py +0 -0
  70. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/api/plugins/_fields.py +0 -0
  71. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/client.py +0 -0
  72. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/__init__.py +0 -0
  73. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/_config.py +0 -0
  74. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/_constants.py +0 -0
  75. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/_filters.py +0 -0
  76. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/_http.py +0 -0
  77. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/_payloads.py +0 -0
  78. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/commons/_transport.py +0 -0
  79. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/custom/__init__.py +0 -0
  80. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/custom/_statistics.py +0 -0
  81. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_async/clients/custom/_ticket_context.py +0 -0
  82. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_errors.py +0 -0
  83. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/__init__.py +0 -0
  84. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/_concurrency.py +0 -0
  85. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/_testing.py +0 -0
  86. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/auth/__init__.py +0 -0
  87. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/auth/_v1_session.py +0 -0
  88. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/auth/auth.py +0 -0
  89. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/__init__.py +0 -0
  90. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/_base_client.py +0 -0
  91. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/__init__.py +0 -0
  92. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/administration/__init__.py +0 -0
  93. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/administration/_entity.py +0 -0
  94. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/administration/_group.py +0 -0
  95. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/administration/_user.py +0 -0
  96. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assets/__init__.py +0 -0
  97. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assets/_computer.py +0 -0
  98. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/__init__.py +0 -0
  99. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/_team.py +0 -0
  100. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/timeline/__init__.py +0 -0
  101. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/timeline/_document.py +0 -0
  102. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/timeline/_followup.py +0 -0
  103. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/timeline/_solution.py +0 -0
  104. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/assistance/timeline/_task.py +0 -0
  105. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/dropdowns/__init__.py +0 -0
  106. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/dropdowns/_contract_type.py +0 -0
  107. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/dropdowns/_location.py +0 -0
  108. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/knowledgebase/__init__.py +0 -0
  109. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/knowledgebase/_article.py +0 -0
  110. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/knowledgebase/_category.py +0 -0
  111. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/knowledgebase/_comment.py +0 -0
  112. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/knowledgebase/_revision.py +0 -0
  113. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/management/__init__.py +0 -0
  114. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/management/_contract.py +0 -0
  115. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/management/_document.py +0 -0
  116. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/plugins/__init__.py +0 -0
  117. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/api/plugins/_fields.py +0 -0
  118. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/client.py +0 -0
  119. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/__init__.py +0 -0
  120. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/_config.py +0 -0
  121. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/_constants.py +0 -0
  122. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/_filters.py +0 -0
  123. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/_http.py +0 -0
  124. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/_payloads.py +0 -0
  125. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/commons/_transport.py +0 -0
  126. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/custom/__init__.py +0 -0
  127. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/custom/_statistics.py +0 -0
  128. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/_sync/clients/custom/_ticket_context.py +0 -0
  129. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/content/__init__.py +0 -0
  130. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/content/conversion.py +0 -0
  131. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/__init__.py +0 -0
  132. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/_base.py +0 -0
  133. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/__init__.py +0 -0
  134. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/_common.py +0 -0
  135. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/_content.py +0 -0
  136. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/administration/__init__.py +0 -0
  137. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/administration/_entity.py +0 -0
  138. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/administration/_group.py +0 -0
  139. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/administration/_user.py +0 -0
  140. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/administration/_user_authorization.py +0 -0
  141. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assets/__init__.py +0 -0
  142. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assets/_computer.py +0 -0
  143. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assets/_contract_item.py +0 -0
  144. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/__init__.py +0 -0
  145. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/_team.py +0 -0
  146. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/timeline/__init__.py +0 -0
  147. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/timeline/_document.py +0 -0
  148. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/timeline/_followup.py +0 -0
  149. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/timeline/_solution.py +0 -0
  150. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/assistance/timeline/_task.py +0 -0
  151. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/dropdowns/__init__.py +0 -0
  152. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/dropdowns/_contract_type.py +0 -0
  153. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/dropdowns/_location.py +0 -0
  154. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/enums.py +0 -0
  155. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/knowledgebase/__init__.py +0 -0
  156. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/knowledgebase/_article.py +0 -0
  157. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/knowledgebase/_category.py +0 -0
  158. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/knowledgebase/_comment.py +0 -0
  159. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/knowledgebase/_revision.py +0 -0
  160. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/management/__init__.py +0 -0
  161. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/management/_contract.py +0 -0
  162. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/management/_contract_cost.py +0 -0
  163. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/management/_document.py +0 -0
  164. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/management/_document_item.py +0 -0
  165. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/plugins/__init__.py +0 -0
  166. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/api_schema/plugins/_fields.py +0 -0
  167. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/custom_schema/__init__.py +0 -0
  168. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/models/custom_schema/_ticket_context.py +0 -0
  169. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/py.typed +0 -0
  170. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/rsql.py +0 -0
  171. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/testing/__init__.py +0 -0
  172. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/testing/fixtures.py +0 -0
  173. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/glpi_python_client/testing/utils.py +0 -0
  174. {glpi_python_client-0.6.7 → glpi_python_client-0.6.9}/skills/README.md +0 -0
@@ -4,6 +4,45 @@ All notable changes to this project are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## 0.6.9 — 2026-11-10
8
+
9
+ A fix for GLPI 12. GLPI 12.0.1 sends a ticket's `ola_ttr` and `ola_tto` as an
10
+ empty array, `[]`, when the ticket has no OLA. Its own v2.3 contract, like
11
+ GLPI 11, declares a nullable object there. `GetTicket` refused the array, so
12
+ every ticket read and every ticket search raised `ValidationError` against a
13
+ GLPI 12 server.
14
+
15
+ ### Fixed
16
+
17
+ - **All six SLA and OLA references of `GetTicket`** (`sla_ttr`, `sla_tto`,
18
+ `sla_level_ttr`, `ola_ttr`, `ola_tto`, `ola_level_ttr`) read an empty array as
19
+ `None`. An object and `null` read as before. Nothing else changes.
20
+
21
+ ## 0.6.8 — 2026-11-02
22
+
23
+ A minor addition: a way to write or clear a ticket's take-into-account stamp,
24
+ through the legacy v1 API. GLPI stamps the date on the first write by an
25
+ account allowed to take a ticket into account, so a connector that writes to a
26
+ ticket it has just created leaves a time-to-own of nearly zero. The v2 `Ticket`
27
+ schema exposes the date as read-only and ignores `_do_not_compute_takeintoaccount`.
28
+ Both helpers need `v1_base_url` / `v1_user_token` and raise `RuntimeError`
29
+ without them. Existing methods are unchanged.
30
+
31
+ ### Added
32
+
33
+ - **`change_ticket_take_into_account(ticket_id, *, take_into_account_date,
34
+ take_into_account_duration, do_not_compute=True, disable_notifications=True)`**
35
+ on both clients. It writes the ticket's take-into-account date (an aware
36
+ value is converted to `server_timezone`) and its duration in seconds. GLPI
37
+ writes a null date whenever the duration is 0. `do_not_compute` sends
38
+ `_do_not_compute_takeintoaccount` and `disable_notifications` sends
39
+ `_disablenotif`; a `False` flag is left out of the request, because GLPI
40
+ tests `_disablenotif` for presence. A refused write raises
41
+ `GlpiProtocolError`.
42
+ - **`clear_ticket_take_into_account(ticket_id, *, do_not_compute=True,
43
+ disable_notifications=True)`** on both clients: the change above with a null
44
+ date and a 0 duration.
45
+
7
46
  ## 0.6.7 — 2026-10-30
8
47
 
9
48
  A minor addition: group recursion and a user's profile/entity authorizations,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: glpi-python-client
3
- Version: 0.6.7
3
+ Version: 0.6.9
4
4
  Summary: A typed Python client for GLPI ITSM APIs.
5
5
  Project-URL: Homepage, https://github.com/baraline/glpi_python_client
6
6
  Project-URL: Documentation, https://glpi-python-client.readthedocs.io/en/latest/
@@ -617,6 +617,45 @@ worked.
617
617
  rows = await client.list_user_authorizations(2568)
618
618
  await client.update_user_authorization(rows[0].id, entity_id=493, recursive=True)
619
619
 
620
+ Writing the take-into-account stamp
621
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
622
+
623
+ GLPI stamps ``take_into_account_date`` on a ticket the first time an account
624
+ allowed to take it into account writes to it, which makes the time-to-own
625
+ statistic nearly zero for a ticket a connector has just created. The v2
626
+ ``Ticket`` schema exposes the date as read-only and ignores the
627
+ ``_do_not_compute_takeintoaccount`` flag, so both helpers below go through the
628
+ legacy v1 session (``v1_base_url`` and ``v1_user_token``); without one they
629
+ raise ``RuntimeError``, and a refused write raises ``GlpiProtocolError``.
630
+
631
+ * ``change_ticket_take_into_account(ticket_id, *, take_into_account_date,
632
+ take_into_account_duration, do_not_compute=True, disable_notifications=True)``
633
+ writes the date (an aware value is converted to ``server_timezone``, a
634
+ naive one is taken as already on it) and the duration in seconds. GLPI
635
+ writes a null date whenever the duration is 0.
636
+ * ``clear_ticket_take_into_account(ticket_id, *, do_not_compute=True,
637
+ disable_notifications=True)`` is that change with a null date and a 0
638
+ duration.
639
+
640
+ ``do_not_compute`` sends ``_do_not_compute_takeintoaccount``, which keeps GLPI
641
+ from stamping the ticket again in the same write; with it off, a clear made
642
+ by an account allowed to take the ticket into account is undone at once.
643
+ ``disable_notifications`` sends ``_disablenotif``, which suppresses the
644
+ "ticket updated" notification. GLPI tests ``_disablenotif`` for presence, so a
645
+ ``False`` flag is left out of the request rather than sent as ``false``. Read
646
+ the result back with ``get_ticket`` (``take_into_account_date`` and
647
+ ``take_into_account_duration``).
648
+
649
+ .. code-block:: python
650
+
651
+ await client.clear_ticket_take_into_account(321)
652
+ await client.change_ticket_take_into_account(
653
+ 321,
654
+ take_into_account_date=datetime(2026, 11, 2, 9, 30, tzinfo=UTC),
655
+ take_into_account_duration=600,
656
+ disable_notifications=False,
657
+ )
658
+
620
659
  Documents linked to a followup
621
660
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
622
661
 
@@ -138,7 +138,7 @@ from glpi_python_client.rsql import (
138
138
  date_window,
139
139
  )
140
140
 
141
- __version__ = "0.6.7"
141
+ __version__ = "0.6.9"
142
142
 
143
143
  __all__ = [
144
144
  "AsyncGlpiClient",
@@ -7,8 +7,12 @@ GLPI ticket resource using the ``api_schema`` Pydantic models.
7
7
  from __future__ import annotations
8
8
 
9
9
  from collections.abc import AsyncIterator
10
+ from datetime import datetime
10
11
 
11
12
  from glpi_python_client._async.clients.commons._constants import TICKET_ENDPOINT, GlpiId
13
+ from glpi_python_client._async.clients.commons._payloads import (
14
+ ensure_v1_write_accepted,
15
+ )
12
16
  from glpi_python_client._async.clients.commons._transport import TransportMixin
13
17
  from glpi_python_client.models.api_schema.assistance._ticket import (
14
18
  DeleteTicket,
@@ -17,6 +21,8 @@ from glpi_python_client.models.api_schema.assistance._ticket import (
17
21
  PostTicket,
18
22
  )
19
23
 
24
+ _V1_TICKET_FEATURE_LABEL = "take-into-account writes"
25
+
20
26
 
21
27
  class TicketMixin(TransportMixin):
22
28
  """CRUD helpers for ``/Assistance/Ticket``.
@@ -240,5 +246,131 @@ class TicketMixin(TransportMixin):
240
246
  delete_model_cls=DeleteTicket,
241
247
  )
242
248
 
249
+ async def change_ticket_take_into_account(
250
+ self,
251
+ ticket_id: GlpiId,
252
+ *,
253
+ take_into_account_date: datetime | None,
254
+ take_into_account_duration: int,
255
+ do_not_compute: bool = True,
256
+ disable_notifications: bool = True,
257
+ ) -> None:
258
+ """Write the take-into-account stamp of one ticket.
259
+
260
+ GLPI stamps ``take_into_account_date`` on the first write made by an
261
+ account allowed to take a ticket into account (and when a group is
262
+ assigned). The v2 ``Ticket`` schema exposes the date as read-only and
263
+ silently ignores ``_do_not_compute_takeintoaccount``, so the write
264
+ goes through the legacy v1 API, which requires
265
+ ``v1_base_url``/``v1_user_token`` to be configured (pointing at the
266
+ legacy ``apirest.php``). GLPI records the change in the ticket
267
+ history either way.
268
+
269
+ Parameters
270
+ ----------
271
+ ticket_id : int | str
272
+ Identifier of the ticket.
273
+ take_into_account_date : datetime | None
274
+ New take-into-account instant (v1 ``takeintoaccountdate``), or
275
+ ``None`` for no stamp. An aware value is converted to the
276
+ server's clock; a naive one is taken to be on it already. GLPI
277
+ writes ``null`` instead whenever the duration is ``0``.
278
+ take_into_account_duration : int
279
+ Seconds from creation to the take-into-account (v1
280
+ ``takeintoaccount_delay_stat``). GLPI treats ``0`` as "not taken
281
+ into account".
282
+ do_not_compute : bool, optional
283
+ ``True`` (the default) sends ``_do_not_compute_takeintoaccount``
284
+ so GLPI keeps the values written. With ``False`` and a zero
285
+ duration, an account allowed to take the ticket into account
286
+ stamps it again with the current time in the same write.
287
+ disable_notifications : bool, optional
288
+ ``True`` (the default) sends ``_disablenotif``, which suppresses
289
+ the "ticket updated" notification.
290
+
291
+ Raises
292
+ ------
293
+ RuntimeError
294
+ When no legacy v1 session is configured on the client.
295
+ GlpiStatusError
296
+ When the legacy API returns a non-success status.
297
+ GlpiProtocolError
298
+ When the legacy API answers that the update was refused.
299
+ """
300
+
301
+ v1 = self._require_v1_session(_V1_TICKET_FEATURE_LABEL)
302
+ stamp: str | None = None
303
+ if take_into_account_date is not None:
304
+ if take_into_account_date.tzinfo is not None:
305
+ take_into_account_date = take_into_account_date.astimezone(
306
+ self.server_timezone
307
+ )
308
+ stamp = take_into_account_date.strftime("%Y-%m-%d %H:%M:%S")
309
+ update: dict[str, object] = {
310
+ "id": int(ticket_id),
311
+ "takeintoaccountdate": stamp,
312
+ "takeintoaccount_delay_stat": take_into_account_duration,
313
+ }
314
+ # GLPI reads ``_disablenotif`` with isset(), so a False flag must be absent.
315
+ if do_not_compute:
316
+ update["_do_not_compute_takeintoaccount"] = True
317
+ if disable_notifications:
318
+ update["_disablenotif"] = True
319
+ payload = await v1.request_json(
320
+ "PUT",
321
+ f"Ticket/{ticket_id}",
322
+ json_body={"input": update},
323
+ failure_message=(
324
+ f"Failed to write the take-into-account stamp of ticket {ticket_id}"
325
+ ),
326
+ )
327
+ ensure_v1_write_accepted(
328
+ payload, f"Writing the take-into-account stamp of ticket {ticket_id}"
329
+ )
330
+
331
+ async def clear_ticket_take_into_account(
332
+ self,
333
+ ticket_id: GlpiId,
334
+ *,
335
+ do_not_compute: bool = True,
336
+ disable_notifications: bool = True,
337
+ ) -> None:
338
+ """Clear the take-into-account stamp of one ticket.
339
+
340
+ The stamp collapses the time-to-own statistic to nearly zero for a
341
+ ticket a connector has just created and written to. This is
342
+ :meth:`change_ticket_take_into_account` with a ``None`` date and a
343
+ ``0`` duration, so it has the same v1 requirement.
344
+
345
+ Parameters
346
+ ----------
347
+ ticket_id : int | str
348
+ Identifier of the ticket.
349
+ do_not_compute : bool, optional
350
+ ``True`` (the default) keeps GLPI from stamping the ticket again
351
+ in the same write. ``False`` lets an account allowed to take the
352
+ ticket into account undo the clear at once.
353
+ disable_notifications : bool, optional
354
+ ``True`` (the default) suppresses the "ticket updated"
355
+ notification.
356
+
357
+ Raises
358
+ ------
359
+ RuntimeError
360
+ When no legacy v1 session is configured on the client.
361
+ GlpiStatusError
362
+ When the legacy API returns a non-success status.
363
+ GlpiProtocolError
364
+ When the legacy API answers that the update was refused.
365
+ """
366
+
367
+ await self.change_ticket_take_into_account(
368
+ ticket_id,
369
+ take_into_account_date=None,
370
+ take_into_account_duration=0,
371
+ do_not_compute=do_not_compute,
372
+ disable_notifications=disable_notifications,
373
+ )
374
+
243
375
 
244
376
  __all__ = ["TicketMixin"]
@@ -7,8 +7,12 @@ GLPI ticket resource using the ``api_schema`` Pydantic models.
7
7
  from __future__ import annotations
8
8
 
9
9
  from collections.abc import Iterator
10
+ from datetime import datetime
10
11
 
11
12
  from glpi_python_client._sync.clients.commons._constants import TICKET_ENDPOINT, GlpiId
13
+ from glpi_python_client._sync.clients.commons._payloads import (
14
+ ensure_v1_write_accepted,
15
+ )
12
16
  from glpi_python_client._sync.clients.commons._transport import TransportMixin
13
17
  from glpi_python_client.models.api_schema.assistance._ticket import (
14
18
  DeleteTicket,
@@ -17,6 +21,8 @@ from glpi_python_client.models.api_schema.assistance._ticket import (
17
21
  PostTicket,
18
22
  )
19
23
 
24
+ _V1_TICKET_FEATURE_LABEL = "take-into-account writes"
25
+
20
26
 
21
27
  class TicketMixin(TransportMixin):
22
28
  """CRUD helpers for ``/Assistance/Ticket``.
@@ -240,5 +246,131 @@ class TicketMixin(TransportMixin):
240
246
  delete_model_cls=DeleteTicket,
241
247
  )
242
248
 
249
+ def change_ticket_take_into_account(
250
+ self,
251
+ ticket_id: GlpiId,
252
+ *,
253
+ take_into_account_date: datetime | None,
254
+ take_into_account_duration: int,
255
+ do_not_compute: bool = True,
256
+ disable_notifications: bool = True,
257
+ ) -> None:
258
+ """Write the take-into-account stamp of one ticket.
259
+
260
+ GLPI stamps ``take_into_account_date`` on the first write made by an
261
+ account allowed to take a ticket into account (and when a group is
262
+ assigned). The v2 ``Ticket`` schema exposes the date as read-only and
263
+ silently ignores ``_do_not_compute_takeintoaccount``, so the write
264
+ goes through the legacy v1 API, which requires
265
+ ``v1_base_url``/``v1_user_token`` to be configured (pointing at the
266
+ legacy ``apirest.php``). GLPI records the change in the ticket
267
+ history either way.
268
+
269
+ Parameters
270
+ ----------
271
+ ticket_id : int | str
272
+ Identifier of the ticket.
273
+ take_into_account_date : datetime | None
274
+ New take-into-account instant (v1 ``takeintoaccountdate``), or
275
+ ``None`` for no stamp. An aware value is converted to the
276
+ server's clock; a naive one is taken to be on it already. GLPI
277
+ writes ``null`` instead whenever the duration is ``0``.
278
+ take_into_account_duration : int
279
+ Seconds from creation to the take-into-account (v1
280
+ ``takeintoaccount_delay_stat``). GLPI treats ``0`` as "not taken
281
+ into account".
282
+ do_not_compute : bool, optional
283
+ ``True`` (the default) sends ``_do_not_compute_takeintoaccount``
284
+ so GLPI keeps the values written. With ``False`` and a zero
285
+ duration, an account allowed to take the ticket into account
286
+ stamps it again with the current time in the same write.
287
+ disable_notifications : bool, optional
288
+ ``True`` (the default) sends ``_disablenotif``, which suppresses
289
+ the "ticket updated" notification.
290
+
291
+ Raises
292
+ ------
293
+ RuntimeError
294
+ When no legacy v1 session is configured on the client.
295
+ GlpiStatusError
296
+ When the legacy API returns a non-success status.
297
+ GlpiProtocolError
298
+ When the legacy API answers that the update was refused.
299
+ """
300
+
301
+ v1 = self._require_v1_session(_V1_TICKET_FEATURE_LABEL)
302
+ stamp: str | None = None
303
+ if take_into_account_date is not None:
304
+ if take_into_account_date.tzinfo is not None:
305
+ take_into_account_date = take_into_account_date.astimezone(
306
+ self.server_timezone
307
+ )
308
+ stamp = take_into_account_date.strftime("%Y-%m-%d %H:%M:%S")
309
+ update: dict[str, object] = {
310
+ "id": int(ticket_id),
311
+ "takeintoaccountdate": stamp,
312
+ "takeintoaccount_delay_stat": take_into_account_duration,
313
+ }
314
+ # GLPI reads ``_disablenotif`` with isset(), so a False flag must be absent.
315
+ if do_not_compute:
316
+ update["_do_not_compute_takeintoaccount"] = True
317
+ if disable_notifications:
318
+ update["_disablenotif"] = True
319
+ payload = v1.request_json(
320
+ "PUT",
321
+ f"Ticket/{ticket_id}",
322
+ json_body={"input": update},
323
+ failure_message=(
324
+ f"Failed to write the take-into-account stamp of ticket {ticket_id}"
325
+ ),
326
+ )
327
+ ensure_v1_write_accepted(
328
+ payload, f"Writing the take-into-account stamp of ticket {ticket_id}"
329
+ )
330
+
331
+ def clear_ticket_take_into_account(
332
+ self,
333
+ ticket_id: GlpiId,
334
+ *,
335
+ do_not_compute: bool = True,
336
+ disable_notifications: bool = True,
337
+ ) -> None:
338
+ """Clear the take-into-account stamp of one ticket.
339
+
340
+ The stamp collapses the time-to-own statistic to nearly zero for a
341
+ ticket a connector has just created and written to. This is
342
+ :meth:`change_ticket_take_into_account` with a ``None`` date and a
343
+ ``0`` duration, so it has the same v1 requirement.
344
+
345
+ Parameters
346
+ ----------
347
+ ticket_id : int | str
348
+ Identifier of the ticket.
349
+ do_not_compute : bool, optional
350
+ ``True`` (the default) keeps GLPI from stamping the ticket again
351
+ in the same write. ``False`` lets an account allowed to take the
352
+ ticket into account undo the clear at once.
353
+ disable_notifications : bool, optional
354
+ ``True`` (the default) suppresses the "ticket updated"
355
+ notification.
356
+
357
+ Raises
358
+ ------
359
+ RuntimeError
360
+ When no legacy v1 session is configured on the client.
361
+ GlpiStatusError
362
+ When the legacy API returns a non-success status.
363
+ GlpiProtocolError
364
+ When the legacy API answers that the update was refused.
365
+ """
366
+
367
+ self.change_ticket_take_into_account(
368
+ ticket_id,
369
+ take_into_account_date=None,
370
+ take_into_account_duration=0,
371
+ do_not_compute=do_not_compute,
372
+ disable_notifications=disable_notifications,
373
+ )
374
+
243
375
 
244
376
  __all__ = ["TicketMixin"]
@@ -22,6 +22,9 @@ from __future__ import annotations
22
22
 
23
23
  from datetime import datetime
24
24
  from functools import cached_property
25
+ from typing import Annotated
26
+
27
+ from pydantic import BeforeValidator
25
28
 
26
29
  from glpi_python_client.models._base import GlpiModel
27
30
  from glpi_python_client.models.api_schema._common import (
@@ -41,6 +44,24 @@ from glpi_python_client.models.api_schema.enums import (
41
44
  )
42
45
 
43
46
 
47
+ def _empty_list_as_none(value: object) -> object:
48
+ """Read an empty JSON array as an absent reference.
49
+
50
+ GLPI 12 sends ``ola_ttr`` and ``ola_tto`` as ``[]`` on a ticket with no
51
+ OLA, where its own v2.3 contract, like GLPI 11, declares a nullable
52
+ ``{"id", "name"}`` object. Every SLA and OLA reference of
53
+ :class:`GetTicket` reads through this, so the same quirk on any of them
54
+ cannot fail a ticket read. Every other value is passed on unchanged.
55
+ """
56
+
57
+ if isinstance(value, list) and not value:
58
+ return None
59
+ return value
60
+
61
+
62
+ _LevelAgreementRef = Annotated[IdNameRef | None, BeforeValidator(_empty_list_as_none)]
63
+
64
+
44
65
  class _TicketTeamMember(GlpiModel):
45
66
  """One inline team-member entry of the ``Ticket.team`` array.
46
67
 
@@ -158,7 +179,9 @@ class GetTicket(GlpiModel):
158
179
  sla_level_ttr : IdNameRef | None, optional
159
180
  SLA level escalation step for time-to-resolve.
160
181
  ola_level_ttr : IdNameRef | None, optional
161
- OLA level escalation step for time-to-resolve.
182
+ OLA level escalation step for time-to-resolve. On all six SLA and
183
+ OLA references an empty array reads as :data:`None`: GLPI 12 sends
184
+ ``[]`` for ``ola_ttr`` and ``ola_tto`` on a ticket with no OLA.
162
185
  sla_waiting_duration : int | None, optional
163
186
  Total SLA waiting duration in seconds (contract field
164
187
  ``sla_waiting_duration`` — ``Total SLA waiting duration in
@@ -217,12 +240,12 @@ class GetTicket(GlpiModel):
217
240
  request_type: IdNameRef | None = None
218
241
  take_into_account_date: datetime | None = None
219
242
  take_into_account_duration: int | None = None
220
- sla_ttr: IdNameRef | None = None
221
- sla_tto: IdNameRef | None = None
222
- ola_ttr: IdNameRef | None = None
223
- ola_tto: IdNameRef | None = None
224
- sla_level_ttr: IdNameRef | None = None
225
- ola_level_ttr: IdNameRef | None = None
243
+ sla_ttr: _LevelAgreementRef = None
244
+ sla_tto: _LevelAgreementRef = None
245
+ ola_ttr: _LevelAgreementRef = None
246
+ ola_tto: _LevelAgreementRef = None
247
+ sla_level_ttr: _LevelAgreementRef = None
248
+ ola_level_ttr: _LevelAgreementRef = None
226
249
  sla_waiting_duration: int | None = None
227
250
  ola_waiting_duration: int | None = None
228
251
  ola_ttr_begin_date: datetime | None = None
@@ -35,7 +35,7 @@ exclude = [
35
35
 
36
36
  [project]
37
37
  name = "glpi-python-client"
38
- version = "0.6.7"
38
+ version = "0.6.9"
39
39
  description = "A typed Python client for GLPI ITSM APIs."
40
40
  readme = "README.md"
41
41
  requires-python = ">=3.11"
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and credentials allowed to read or write assets."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Asset Workflow
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to a GLPI v2 API, and valid GLPI credentials."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Client Setup
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and credentials allowed to read or write contracts."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Contract Workflow
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and v1 credentials configured on the client for binary uploads."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Document Workflow
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and — for category writes only — a legacy v1 session (v1_base_url + v1_user_token)."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Knowledge Base
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, the GLPI Fields plugin installed server-side, and a legacy v1 session (v1_base_url + v1_user_token) — every method in this family goes over the v1 API."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Plugin Fields
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and credentials allowed to read tickets, tasks, users, entities, and timeline records."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Reporting And Context
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and credentials allowed to manage ticket teams."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Team Members
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, and network access to the GLPI v2 API."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Ticket Timeline
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and credentials accepted by GlpiClient."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI Ticket Workflow
@@ -21,6 +21,7 @@ Use this skill for ticket reads and writes through the public client. Tickets li
21
21
  4. For updates, build a `PatchTicket` containing only the fields you intend to change and call `await client.update_ticket(ticket_id, ticket)`. The method returns `None`.
22
22
  5. For deletes, call `await client.delete_ticket(ticket_id, force=True|False|None)`. `force=True` permanently deletes; `False`/`None` move the record to the trash.
23
23
  6. Refetch with `get_ticket()` when the task needs a populated model after a write.
24
+ 7. GLPI stamps `take_into_account_date` on the first write by an account allowed to take a ticket into account, so a ticket you just created and wrote to reads as taken into account at once. v2 cannot clear it (the field is read-only and `_do_not_compute_takeintoaccount` is ignored), so call `await client.clear_ticket_take_into_account(ticket_id)`, or `await client.change_ticket_take_into_account(ticket_id, take_into_account_date=..., take_into_account_duration=...)` to write a stamp (an aware date is converted to `server_timezone`; a 0 duration makes GLPI write a null date). Both go through the legacy v1 session: they need `v1_base_url` / `v1_user_token` and raise `RuntimeError` without them, and a refused write raises `GlpiProtocolError`. Both take `do_not_compute=True` (sends `_do_not_compute_takeintoaccount`, so GLPI does not stamp the ticket again in the same write) and `disable_notifications=True` (sends `_disablenotif`, no "ticket updated" notification); a `False` flag is left out of the request, because GLPI tests `_disablenotif` for presence.
24
25
 
25
26
  ## Examples
26
27
 
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: "Requires Python 3.11+, glpi-python-client, network access to the GLPI v2 API, and credentials allowed to read or write users, locations, and entities."
6
6
  metadata:
7
7
  package: glpi-python-client
8
- version: "0.6.7"
8
+ version: "0.6.9"
9
9
  ---
10
10
 
11
11
  # GLPI User, Location, And Entity Provisioning